diff options
-rwxr-xr-x | includes/functions.php | 1 | ||||
-rwxr-xr-x | theme/polloftheweek.tpl | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/includes/functions.php b/includes/functions.php index f0dad53..516b0ee 100755 --- a/includes/functions.php +++ b/includes/functions.php | |||
@@ -331,6 +331,7 @@ function getPollOfTheWeek($id = -1) | |||
331 | $getpoll2 = mysql_query($getpoll); | 331 | $getpoll2 = mysql_query($getpoll); |
332 | $getpoll3 = mysql_fetch_array($getpoll2); | 332 | $getpoll3 = mysql_fetch_array($getpoll2); |
333 | 333 | ||
334 | $potw->add('ID', $getpoll3['id']); | ||
334 | $potw->add('QUESTION', doAprilFoolsDay(stripslashes(htmlentities($getpoll3['question'])))); | 335 | $potw->add('QUESTION', doAprilFoolsDay(stripslashes(htmlentities($getpoll3['question'])))); |
335 | $potw->add('OPTION1', doAprilFoolsDay(stripslashes(htmlentities($getpoll3['option1'])))); | 336 | $potw->add('OPTION1', doAprilFoolsDay(stripslashes(htmlentities($getpoll3['option1'])))); |
336 | $potw->add('OPTION2', doAprilFoolsDay(stripslashes(htmlentities($getpoll3['option2'])))); | 337 | $potw->add('OPTION2', doAprilFoolsDay(stripslashes(htmlentities($getpoll3['option2'])))); |
diff --git a/theme/polloftheweek.tpl b/theme/polloftheweek.tpl index 2969487..dfbc772 100755 --- a/theme/polloftheweek.tpl +++ b/theme/polloftheweek.tpl | |||
@@ -1,7 +1,7 @@ | |||
1 | <!--BEGIN FORM--> | 1 | <!--BEGIN FORM--> |
2 | <div id="potw-ajax"> | 2 | <div id="potw-ajax"> |
3 | <span style="font-size: 16px; text-align: center"> | 3 | <span style="font-size: 16px; text-align: center"> |
4 | <!--QUESTION--> | 4 | <a href="/poll/<!--ID-->.php"><!--QUESTION--></a> |
5 | </span> | 5 | </span> |
6 | 6 | ||
7 | <br /> | 7 | <br /> |
@@ -32,7 +32,7 @@ | |||
32 | 32 | ||
33 | <!--BEGIN DISPLAY--> | 33 | <!--BEGIN DISPLAY--> |
34 | <span style="font-size: 16px; text-align: center"> | 34 | <span style="font-size: 16px; text-align: center"> |
35 | <!--QUESTION--> | 35 | <a href="/poll/<!--ID-->.php"><!--QUESTION--></a> |
36 | </span> | 36 | </span> |
37 | 37 | ||
38 | <table width="100%" border="0" style="font-size: 12px"> | 38 | <table width="100%" border="0" style="font-size: 12px"> |