diff options
| author | Starla Insigna <starla4444@gmail.com> | 2011-01-30 14:10:39 -0500 |
|---|---|---|
| committer | Starla Insigna <starla4444@gmail.com> | 2011-01-30 14:10:39 -0500 |
| commit | a4976f966f0de5abc11235e8decb760ad79ecad1 (patch) | |
| tree | 1c1ec1c5fd31a66b543bd9f092a1295de5bbdd42 /pages/polloftheweek.php | |
| parent | 74db7a24d9c2230b104979f4e4981c57ff73de71 (diff) | |
| download | fourisland-a4976f966f0de5abc11235e8decb760ad79ecad1.tar.gz fourisland-a4976f966f0de5abc11235e8decb760ad79ecad1.tar.bz2 fourisland-a4976f966f0de5abc11235e8decb760ad79ecad1.zip | |
Removed deleted files from previous commit
Wow, that took a long time to notice.
Diffstat (limited to 'pages/polloftheweek.php')
| -rwxr-xr-x | pages/polloftheweek.php | 56 |
1 files changed, 0 insertions, 56 deletions
| diff --git a/pages/polloftheweek.php b/pages/polloftheweek.php deleted file mode 100755 index 0410151..0000000 --- a/pages/polloftheweek.php +++ /dev/null | |||
| @@ -1,56 +0,0 @@ | |||
| 1 | <?php | ||
| 2 | /* | ||
| 3 | 444444444 | ||
| 4 | 4::::::::4 | ||
| 5 | 4:::::::::4 | ||
| 6 | 4::::44::::4 | ||
| 7 | 4::::4 4::::4 Four Island | ||
| 8 | 4::::4 4::::4 | ||
| 9 | 4::::4 4::::4 Written and maintained by Starla Insigna | ||
| 10 | 4::::444444::::444 | ||
| 11 | 4::::::::::::::::4 pages/polloftheweek.php | ||
| 12 | 4444444444:::::444 | ||
| 13 | 4::::4 Please do not use, reproduce or steal the | ||
| 14 | 4::::4 contents of this file without explicit | ||
| 15 | 4::::4 permission from Hatkirby. | ||
| 16 | 44::::::44 | ||
| 17 | 4::::::::4 | ||
| 18 | 4444444444 | ||
| 19 | */ | ||
| 20 | |||
| 21 | if (!defined('S_INCLUDE_FILE')) {define('S_INCLUDE_FILE',1);} | ||
| 22 | |||
| 23 | require('headerproc.php'); | ||
| 24 | |||
| 25 | if (!isset($forceDisplay)) | ||
| 26 | { | ||
| 27 | $getpoll = "SELECT * FROM polloftheweek ORDER BY id DESC LIMIT 0,1"; | ||
| 28 | } else { | ||
| 29 | $getpoll = "SELECT * FROM polloftheweek WHERE id = " . $forceDisplay; | ||
| 30 | } | ||
| 31 | $getpoll2 = mysql_query($getpoll); | ||
| 32 | $getpoll3 = mysql_fetch_array($getpoll2); | ||
| 33 | |||
| 34 | $template->add('QUESTION', $getpoll3['question']); | ||
| 35 | $template->add('OPTION1', $getpoll3['option1']); | ||
| 36 | $template->add('OPTION2', $getpoll3['option2']); | ||
| 37 | $template->add('OPTION3', $getpoll3['option3']); | ||
| 38 | $template->add('OPTION4', $getpoll3['option4']); | ||
| 39 | |||
| 40 | $getip = "SELECT * FROM didpollalready WHERE ip = \"" . $_SERVER['REMOTE_ADDR'] . "\""; | ||
| 41 | $getip2 = mysql_query($getip); | ||
| 42 | $getip3 = mysql_fetch_array($getip2); | ||
| 43 | |||
| 44 | if (($getip3['ip'] != $_SERVER['REMOTE_ADDR']) && (!isset($forceDisplay))) | ||
| 45 | { | ||
| 46 | $template->adds_block('FORM',array('exi'=>1)); | ||
| 47 | } else { | ||
| 48 | $template->adds_block('DISPLAY',array('exi'=>1)); | ||
| 49 | |||
| 50 | $template->add('PERCENT1', getpercent($getpoll3,'1')); | ||
| 51 | $template->add('PERCENT2', getpercent($getpoll3,'2')); | ||
| 52 | $template->add('PERCENT3', getpercent($getpoll3,'3')); | ||
| 53 | $template->add('PERCENT4', getpercent($getpoll3,'4')); | ||
| 54 | } | ||
| 55 | |||
| 56 | ?> | ||
