Help Us Choose A Girl's Name - Vote now!

  • We have selected a short list of names from all submissions
  • We now ask that you vote for your favorite name
  • Click on the (o) next to the name, then click [Vote] button
  • You can only vote once, so choose carefully
  • You can also first look at the complete list of name submissions
    Show me the complete list of names that were proposed

  • "); if(!strlen($posted_name)) {echo("Vote for one of these names");} echo("Meaning
    U.S.
    popularity
    Swiss
    popularity
    "); echo(""); //echo ("
    "); echo("
    "); echo(" "); echo(""); for ($i=1; $i<=$totalnames; $i=$i+1) { echo (""); if(!strlen($posted_name)) { echo(""); } //echo (" "); //echo ("   " . $nametext[$i] . " Matthews "); echo ("   " . $nametext[$i] . " Matthews"); echo (" " . $namemeaning[$i] . ""); echo(""); if(strlen($posted_name)) {for ($j=1; $j<=intval(100*$namevotes[$i]/$totalvotes); $j=$j+1) {echo(""); } if($totalvotes) {$percent=intval(100*$namevotes[$i]/$totalvotes);} else {$percent=0;} echo(" (" . $percent . "%)   "); } } echo ("
    "); if(!strlen($posted_name)) {echo("

    Tell us who you are (optional): 

    "); } else {echo("Total votes: " . $totalvotes); } echo ("

    "); echo(""); } function update_the_list($newname) { global $totalvotes; global $totalnames; global $nametext; global $namevotes; global $namemeaning; $name_exists=0; for ($i=1; $i<=$totalnames; $i=$i+1) { if (strcmp($nametext[$i], $newname)==0) { $namevotes[$i]=$namevotes[$i]+1; $totalvotes=$totalvotes+1; $name_exists=1; } } if($name_exists==0) { $totalnames=$totalnames+1; $nametext[$totalnames]=$newname; $namevotes[$totalnames]=1; $totalvotes=$totalvotes+1; echo("". $newname ." added to list!

    "); } else {echo(" You voted for " . $newname ." !

    "); } //--- rewrite the file contents $myFile = "shortlist.txt"; $fh = fopen($myFile, 'w+') or die("can't open file"); for ($i=1; $i<=$totalnames; $i=$i+1) { fwrite($fh, $nametext[$i]); fwrite($fh, "\r\n"); fwrite($fh, $namemeaning[$i]); fwrite($fh, "\r\n"); fwrite($fh, $namevotes[$i]); fwrite($fh, "\r\n"); } fclose($fh); $myFile = "votesip.txt"; $user_name = $_POST['explanation']; $fh = fopen($myFile, 'a') or die("can't open file"); $ipaddress = $_SERVER['REMOTE_ADDR'] . ";" . $_SERVER['remote_HOST']; fwrite($fh, $newname . ";" . $user_name . ";" .$ipaddress . ";" . date("m/d/y;H:i:s;e") . "\r\n"); fclose($fh); } ?>
    Send us a note: name@melix.info