RepInfo - Weekly Survey




Program News

April, 2007
RepInfo Patch v2.1.2 - fixed several errors with cnc3 and other small modifications and improvments

March, 2007
RepInfo v2.1 - full version released

February, 2007
RepInfo v2.1 beta2 - good news (read more)

January, 2007
I've created a statistics page, so anyone can know how many users does RepInfo have



Donate using Paypal



Google Search
Google
Web Home Page

"; $dir = dir($path."/polldata"); //Create a directory object to the current directory $polls = array(); $ids = array(); $delete = array("poll_",".txt"); $i = 0; while($dir_entry = $dir->read()){ if(strstr($dir_entry,"poll")){ $polls[$i] = $dir_entry; $id = str_replace($delete, "", $dir_entry); $ids[$i] = $id; $i++; } } if($i == 0){ echo "".$nopoll.""; } else{ if($random_display){ srand((double)microtime()*1000000); $pollid = rand(0,count($polls)-1); } else{ if(isset($_GET['showpoll'])){ $pollid = $_GET['showpoll']; if(empty($polls[$pollid])) $pollid = 0; } else{ if(!isset($_POST['pollid'])) $pollid = 0; else $pollid = intval($_POST['pollid']); } } $pollfile = $path."/polldata/".$polls[$pollid]; $ipfile = $path."/polldata/ips_".$ids[$pollid].".php"; include($pollfile); if(isset($_POST['vote'])){ include("submit_vote.php"); submitVote($_POST['vote']); } else{ // check that they have voted or not $ip = fopen($ipfile, "r"); if(filesize($ipfile)) $contents = fread($ip, filesize($ipfile)); else {$contents = ""; }; $remote = $_SERVER['REMOTE_ADDR']; if ((stristr($remote, $localhost)!== false) || (stristr($myIPbase, substr($remote,0,8))!== false)) { $itsme = "true"; } else { $itsme = "false"; } //if($itsme=="true") {echo " - ME - ";} else {echo "fuck";} if(($itsme=="true") || (stristr($contents,$remote) !== false)){ $ask = stripslashes($ask); echo "$ask
"; if(isset($_GET['voted'])) echo "Thank you for your vote"; else echo "
$voted_already"; for($i=0;$i
$a[$i] (".$v[$i]." votes - ".$percentage."%)
\n"; //if(round(($v[$i] / $total) * 80, 0) > 0) echo ""; echo ""; //if(round(($v[$i] / $b_total) * 80, 0) > 0) echo ""; } } echo "

"; if(!$random_display) printNextPoll($pollid); } else{ $ask = stripslashes($ask); //echo "$ask
\n\n"; echo "$ask
"; echo "
\n\n"; echo "\n"; for($i = 0;$i< count($a);$i++){ $a[$i] = stripslashes($a[$i]); if($a[$i] != ""){ echo " \n"; echo " \n"; echo " \n"; echo " \n"; } } echo "
\n"; echo " \n"; echo " "; echo "$a[$i]"; echo "
\n\n"; echo "\n"; echo "\n"; echo "
\n"; echo "
\n\n"; if(!$random_display) printNextPoll($pollid); } } } echo "".$total." "; if($total == "1") echo "Vote"; else echo "Votes"; echo "
"; // Please, please, please keep this line intact to spread the word about the FREE CJ Dynamic Poll - Thank you : ) //echo "$view_archive"; //echo "
CJ Dynamic Poll V$version"; function printNextPoll($pollid){ global $path; $nextpoll = $pollid + 1; $prevpoll = $pollid - 1; $dir = dir($path."/polldata"); //Create a directory object to the current directory $polls = array(); $i = 0; while($dir_entry = $dir->read()){ if(strstr($dir_entry,"poll")){ $polls[$i] = $dir_entry; $i++; } } if(!empty($polls[$prevpoll])) echo "<< Prev Poll  
"; if(!empty($polls[$nextpoll])) echo "Next Poll >>
"; } ?>

Thanks Michael Weissenbacher for hosting. Copyright © 2006, Saurman. All Rights Reserved.