summary refs log tree commit diff stats
path: root/pages/quotes.php
diff options
context:
space:
mode:
authorStarla Insigna <hatkirby@fourisland.com>2010-03-28 09:42:25 -0400
committerStarla Insigna <hatkirby@fourisland.com>2010-03-28 09:42:25 -0400
commitec5b2499fff7cd30e1c221dbd63b37ef507d41b8 (patch)
tree33155a39a545717958a45593c84cbbca4051bd4e /pages/quotes.php
parent93d3209110d435d43cc9016aa6cf4acff6028011 (diff)
downloadfourisland-ec5b2499fff7cd30e1c221dbd63b37ef507d41b8.tar.gz
fourisland-ec5b2499fff7cd30e1c221dbd63b37ef507d41b8.tar.bz2
fourisland-ec5b2499fff7cd30e1c221dbd63b37ef507d41b8.zip
Added April Fools Day joke
Diffstat (limited to 'pages/quotes.php')
-rwxr-xr-xpages/quotes.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/pages/quotes.php b/pages/quotes.php index 4fce952..1d380bb 100755 --- a/pages/quotes.php +++ b/pages/quotes.php
@@ -236,7 +236,7 @@ function quote_generation($query, $origin, $page = 1, $quote_limit = 50, $page_l
236 $template->add_ref($curID,'QUOTES',array( 'NUMBER' => $getquotes3[$i]['id'], 236 $template->add_ref($curID,'QUOTES',array( 'NUMBER' => $getquotes3[$i]['id'],
237 'RATING' => $getquotes3[$i]['rating'], 237 'RATING' => $getquotes3[$i]['rating'],
238 'DATE' => ($getquotes3[$i]['date'] != 0 ? date('F jS Y \a\\t g:i:s a', $getquotes3[$i]['date']) : ''), 238 'DATE' => ($getquotes3[$i]['date'] != 0 ? date('F jS Y \a\\t g:i:s a', $getquotes3[$i]['date']) : ''),
239 'QUOTE' => str_replace("\n","<br />",htmlentities(stripslashes($getquotes3[$i]['quote']))), 239 'QUOTE' => doAprilFoolsDay(str_replace("\n","<br />",htmlentities(stripslashes($getquotes3[$i]['quote'])))),
240 'COMMENTS' => $comments)); 240 'COMMENTS' => $comments));
241 241
242 if (($gettrack3['ip'] != $_SERVER['REMOTE_ADDR']) || (array_search($getquotes3[$i]['id'],$trackArr) === FALSE)) 242 if (($gettrack3['ip'] != $_SERVER['REMOTE_ADDR']) || (array_search($getquotes3[$i]['id'],$trackArr) === FALSE))