diff options
Diffstat (limited to 'pages/poll.php')
-rwxr-xr-x | pages/poll.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/pages/poll.php b/pages/poll.php index 3099e32..e228712 100755 --- a/pages/poll.php +++ b/pages/poll.php | |||
@@ -53,7 +53,7 @@ if (!isset($_GET['id'])) | |||
53 | $question .= '....'; | 53 | $question .= '....'; |
54 | } | 54 | } |
55 | $template->adds_block('POLL', array( 'ID' => $getpolls3[$i]['id'], | 55 | $template->adds_block('POLL', array( 'ID' => $getpolls3[$i]['id'], |
56 | 'QUESTION' => htmlentities(stripslashes($question)), | 56 | 'QUESTION' => doAprilFoolsDay(htmlentities(stripslashes($question))), |
57 | 'WEEK' => date('F jS Y', strtotime($getpolls3[$i]['week'])), | 57 | 'WEEK' => date('F jS Y', strtotime($getpolls3[$i]['week'])), |
58 | 'EVEN' => (($i % 2 == 1) ? ' class="even"' : ''))); | 58 | 'EVEN' => (($i % 2 == 1) ? ' class="even"' : ''))); |
59 | $i++; | 59 | $i++; |
@@ -97,10 +97,10 @@ if (!isset($_GET['id'])) | |||
97 | $template->adds_block('COMPLETE', array( 'RSS' => parseText(stripslashes($getpoll3['text'])), | 97 | $template->adds_block('COMPLETE', array( 'RSS' => parseText(stripslashes($getpoll3['text'])), |
98 | 'AUTHOR' => $getrss3['author'], | 98 | 'AUTHOR' => $getrss3['author'], |
99 | 'DATE' => date("F jS Y \a\\t g:i:s a",strtotime($getpoll3['week'])), | 99 | 'DATE' => date("F jS Y \a\\t g:i:s a",strtotime($getpoll3['week'])), |
100 | 'OPTION1' => stripslashes($getpoll3['option1']), | 100 | 'OPTION1' => doAprilFoolsDay(stripslashes($getpoll3['option1'])), |
101 | 'OPTION2' => stripslashes($getpoll3['option2']), | 101 | 'OPTION2' => doAprilFoolsDay(stripslashes($getpoll3['option2'])), |
102 | 'OPTION3' => stripslashes($getpoll3['option3']), | 102 | 'OPTION3' => doAprilFoolsDay(stripslashes($getpoll3['option3'])), |
103 | 'OPTION4' => stripslashes($getpoll3['option4']), | 103 | 'OPTION4' => doAprilFoolsDay(stripslashes($getpoll3['option4'])), |
104 | 'CLICKS1' => $getpoll3['clicks1'], | 104 | 'CLICKS1' => $getpoll3['clicks1'], |
105 | 'CLICKS2' => $getpoll3['clicks2'], | 105 | 'CLICKS2' => $getpoll3['clicks2'], |
106 | 'CLICKS3' => $getpoll3['clicks3'], | 106 | 'CLICKS3' => $getpoll3['clicks3'], |