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/poll-results.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/poll-results.php')
-rwxr-xr-x | pages/poll-results.php | 49 |
1 files changed, 0 insertions, 49 deletions
diff --git a/pages/poll-results.php b/pages/poll-results.php deleted file mode 100755 index e2fe154..0000000 --- a/pages/poll-results.php +++ /dev/null | |||
@@ -1,49 +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/poll-results.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($_GET['id'])) && (is_numeric($_GET['id'])) && ($_GET['id'] >= 1) && ($_GET['id'] <= 4)) | ||
26 | { | ||
27 | $getip = "SELECT * FROM didpollalready WHERE ip = \"" . $_SERVER['REMOTE_ADDR'] . "\""; | ||
28 | $getip2 = mysql_query($getip); | ||
29 | $getip3 = mysql_fetch_array($getip2); | ||
30 | |||
31 | if ($getip3['ip'] != $_SERVER['REMOTE_ADDR']) | ||
32 | { | ||
33 | $setip = "INSERT INTO didpollalready SET ip = \"" . $_SERVER['REMOTE_ADDR'] . "\""; | ||
34 | $setip2 = mysql_query($setip); | ||
35 | $getpoll = "SELECT * FROM polloftheweek ORDER BY id DESC LIMIT 0,1"; | ||
36 | $getpoll2 = mysql_query($getpoll); | ||
37 | $getpoll3 = mysql_fetch_array($getpoll2); | ||
38 | $setpoll = "UPDATE polloftheweek SET clicks" . $_GET['id'] . " = " . ($getpoll3['clicks' . $_GET['id']]+1) . " WHERE id = " . $getpoll3['id']; | ||
39 | $setpoll2 = mysql_query($setpoll); | ||
40 | |||
41 | die(getPollOfTheWeek()); | ||
42 | } else { | ||
43 | generateError('404'); | ||
44 | } | ||
45 | } else { | ||
46 | generateError('404'); | ||
47 | } | ||
48 | |||
49 | ?> | ||