diff options
-rw-r--r-- | banner/4get-default.png | bin | 30756 -> 21969 bytes | |||
-rw-r--r-- | favicon.ico | bin | 393 -> 193 bytes | |||
-rw-r--r-- | lib/classic.png | bin | 7623 -> 358 bytes | |||
-rw-r--r-- | lib/favicon404.png | bin | 807 -> 744 bytes | |||
-rw-r--r-- | lib/img404.png | bin | 4549 -> 216 bytes | |||
-rw-r--r-- | oracles/calc.php | 2 | ||||
-rw-r--r-- | oracles/time.php | 3 | ||||
-rw-r--r-- | static/icon/amazon.png | bin | 1228 -> 1223 bytes | |||
-rw-r--r-- | static/icon/facebook.png | bin | 574 -> 555 bytes | |||
-rw-r--r-- | static/icon/gamespot.png | bin | 1739 -> 1663 bytes | |||
-rw-r--r-- | static/icon/github.png | bin | 511 -> 508 bytes | |||
-rw-r--r-- | static/icon/imdb.png | bin | 1287 -> 1259 bytes | |||
-rw-r--r-- | static/icon/instagram.png | bin | 1827 -> 1804 bytes | |||
-rw-r--r-- | static/icon/itunes.png | bin | 1725 -> 1721 bytes | |||
-rw-r--r-- | static/icon/quora.png | bin | 841 -> 835 bytes | |||
-rw-r--r-- | static/icon/soundcloud.png | bin | 602 -> 592 bytes | |||
-rw-r--r-- | static/icon/steam.png | bin | 629 -> 622 bytes | |||
-rw-r--r-- | static/icon/wikipedia.png | bin | 1085 -> 1068 bytes | |||
-rw-r--r-- | static/icon/youtube.png | bin | 1335 -> 1316 bytes |
19 files changed, 3 insertions, 2 deletions
diff --git a/banner/4get-default.png b/banner/4get-default.png Binary files differindex 5b549d0..c075175 100644 --- a/banner/4get-default.png +++ b/banner/4get-default.png diff --git a/favicon.ico b/favicon.ico Binary files differindex e5c1fbc..a54beb0 100644 --- a/favicon.ico +++ b/favicon.ico diff --git a/lib/classic.png b/lib/classic.png Binary files differindex 3d2b8fc..d2c9609 100644 --- a/lib/classic.png +++ b/lib/classic.png diff --git a/lib/favicon404.png b/lib/favicon404.png Binary files differindex 7540694..fa8f4d1 100644 --- a/lib/favicon404.png +++ b/lib/favicon404.png diff --git a/lib/img404.png b/lib/img404.png Binary files differindex 4549dee..e8588cf 100644 --- a/lib/img404.png +++ b/lib/img404.png diff --git a/oracles/calc.php b/oracles/calc.php index bcc127b..833749e 100644 --- a/oracles/calc.php +++ b/oracles/calc.php @@ -118,7 +118,7 @@ class calculator extends oracle { if (count($tokens) > 0 && $tokens[0][0] == "o" || $tokens[count($tokens)-1][0] == "o") { throw new Exception("Error Processing Request", 1); } - if (in_array(["g", "("], $tokens)) { + while (in_array(["g", "("], $tokens)) { $first_open = array_search(["g", "("], $tokens); $enclosedality = 1; for ($i = $first_open+1; $i < count($tokens); $i++) { diff --git a/oracles/time.php b/oracles/time.php index 57af093..954bc60 100644 --- a/oracles/time.php +++ b/oracles/time.php @@ -8,7 +8,7 @@ class time extends oracle { $prompts = [ "what", "time", "is", "it", "right", "now", "the", "current", - "get" + "get", "date" ]; $q = str_replace(",", "", $q); $q = str_replace("?", "", $q); @@ -37,6 +37,7 @@ class time extends oracle { date_default_timezone_set($timezone); return [ "The time in ".$timezone => date("H:i:s"), + " " => date("l, F jS"), "" => "include the string \"tz:XXX\" to use timezone XXX" ]; } diff --git a/static/icon/amazon.png b/static/icon/amazon.png Binary files differindex 85c9454..043a7e2 100644 --- a/static/icon/amazon.png +++ b/static/icon/amazon.png diff --git a/static/icon/facebook.png b/static/icon/facebook.png Binary files differindex 794458d..0ae3137 100644 --- a/static/icon/facebook.png +++ b/static/icon/facebook.png diff --git a/static/icon/gamespot.png b/static/icon/gamespot.png Binary files differindex 8c66a7d..3453e07 100644 --- a/static/icon/gamespot.png +++ b/static/icon/gamespot.png diff --git a/static/icon/github.png b/static/icon/github.png Binary files differindex 81ea36c..f78f0c0 100644 --- a/static/icon/github.png +++ b/static/icon/github.png diff --git a/static/icon/imdb.png b/static/icon/imdb.png Binary files differindex 348c259..d8ccb2f 100644 --- a/static/icon/imdb.png +++ b/static/icon/imdb.png diff --git a/static/icon/instagram.png b/static/icon/instagram.png Binary files differindex db9cabe..41d9bf2 100644 --- a/static/icon/instagram.png +++ b/static/icon/instagram.png diff --git a/static/icon/itunes.png b/static/icon/itunes.png Binary files differindex b8652eb..99a1dff 100644 --- a/static/icon/itunes.png +++ b/static/icon/itunes.png diff --git a/static/icon/quora.png b/static/icon/quora.png Binary files differindex 1b39044..00746b3 100644 --- a/static/icon/quora.png +++ b/static/icon/quora.png diff --git a/static/icon/soundcloud.png b/static/icon/soundcloud.png Binary files differindex 4e93f41..a12ba39 100644 --- a/static/icon/soundcloud.png +++ b/static/icon/soundcloud.png diff --git a/static/icon/steam.png b/static/icon/steam.png Binary files differindex 03671d9..ab3e73d 100644 --- a/static/icon/steam.png +++ b/static/icon/steam.png diff --git a/static/icon/wikipedia.png b/static/icon/wikipedia.png Binary files differindex 7324c9e..b3e778e 100644 --- a/static/icon/wikipedia.png +++ b/static/icon/wikipedia.png diff --git a/static/icon/youtube.png b/static/icon/youtube.png Binary files differindex 2e068c8..542d7f0 100644 --- a/static/icon/youtube.png +++ b/static/icon/youtube.png |