summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--banner/4get-default.pngbin30756 -> 21969 bytes
-rw-r--r--favicon.icobin393 -> 193 bytes
-rw-r--r--lib/classic.pngbin7623 -> 358 bytes
-rw-r--r--lib/favicon404.pngbin807 -> 744 bytes
-rw-r--r--lib/img404.pngbin4549 -> 216 bytes
-rw-r--r--oracles/calc.php2
-rw-r--r--oracles/time.php3
-rw-r--r--static/icon/amazon.pngbin1228 -> 1223 bytes
-rw-r--r--static/icon/facebook.pngbin574 -> 555 bytes
-rw-r--r--static/icon/gamespot.pngbin1739 -> 1663 bytes
-rw-r--r--static/icon/github.pngbin511 -> 508 bytes
-rw-r--r--static/icon/imdb.pngbin1287 -> 1259 bytes
-rw-r--r--static/icon/instagram.pngbin1827 -> 1804 bytes
-rw-r--r--static/icon/itunes.pngbin1725 -> 1721 bytes
-rw-r--r--static/icon/quora.pngbin841 -> 835 bytes
-rw-r--r--static/icon/soundcloud.pngbin602 -> 592 bytes
-rw-r--r--static/icon/steam.pngbin629 -> 622 bytes
-rw-r--r--static/icon/wikipedia.pngbin1085 -> 1068 bytes
-rw-r--r--static/icon/youtube.pngbin1335 -> 1316 bytes
19 files changed, 3 insertions, 2 deletions
diff --git a/banner/4get-default.png b/banner/4get-default.png
index 5b549d0..c075175 100644
--- a/banner/4get-default.png
+++ b/banner/4get-default.png
Binary files differ
diff --git a/favicon.ico b/favicon.ico
index e5c1fbc..a54beb0 100644
--- a/favicon.ico
+++ b/favicon.ico
Binary files differ
diff --git a/lib/classic.png b/lib/classic.png
index 3d2b8fc..d2c9609 100644
--- a/lib/classic.png
+++ b/lib/classic.png
Binary files differ
diff --git a/lib/favicon404.png b/lib/favicon404.png
index 7540694..fa8f4d1 100644
--- a/lib/favicon404.png
+++ b/lib/favicon404.png
Binary files differ
diff --git a/lib/img404.png b/lib/img404.png
index 4549dee..e8588cf 100644
--- a/lib/img404.png
+++ b/lib/img404.png
Binary files differ
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
index 85c9454..043a7e2 100644
--- a/static/icon/amazon.png
+++ b/static/icon/amazon.png
Binary files differ
diff --git a/static/icon/facebook.png b/static/icon/facebook.png
index 794458d..0ae3137 100644
--- a/static/icon/facebook.png
+++ b/static/icon/facebook.png
Binary files differ
diff --git a/static/icon/gamespot.png b/static/icon/gamespot.png
index 8c66a7d..3453e07 100644
--- a/static/icon/gamespot.png
+++ b/static/icon/gamespot.png
Binary files differ
diff --git a/static/icon/github.png b/static/icon/github.png
index 81ea36c..f78f0c0 100644
--- a/static/icon/github.png
+++ b/static/icon/github.png
Binary files differ
diff --git a/static/icon/imdb.png b/static/icon/imdb.png
index 348c259..d8ccb2f 100644
--- a/static/icon/imdb.png
+++ b/static/icon/imdb.png
Binary files differ
diff --git a/static/icon/instagram.png b/static/icon/instagram.png
index db9cabe..41d9bf2 100644
--- a/static/icon/instagram.png
+++ b/static/icon/instagram.png
Binary files differ
diff --git a/static/icon/itunes.png b/static/icon/itunes.png
index b8652eb..99a1dff 100644
--- a/static/icon/itunes.png
+++ b/static/icon/itunes.png
Binary files differ
diff --git a/static/icon/quora.png b/static/icon/quora.png
index 1b39044..00746b3 100644
--- a/static/icon/quora.png
+++ b/static/icon/quora.png
Binary files differ
diff --git a/static/icon/soundcloud.png b/static/icon/soundcloud.png
index 4e93f41..a12ba39 100644
--- a/static/icon/soundcloud.png
+++ b/static/icon/soundcloud.png
Binary files differ
diff --git a/static/icon/steam.png b/static/icon/steam.png
index 03671d9..ab3e73d 100644
--- a/static/icon/steam.png
+++ b/static/icon/steam.png
Binary files differ
diff --git a/static/icon/wikipedia.png b/static/icon/wikipedia.png
index 7324c9e..b3e778e 100644
--- a/static/icon/wikipedia.png
+++ b/static/icon/wikipedia.png
Binary files differ
diff --git a/static/icon/youtube.png b/static/icon/youtube.png
index 2e068c8..542d7f0 100644
--- a/static/icon/youtube.png
+++ b/static/icon/youtube.png
Binary files differ