A game from Empire Interactive A game from Empire Interactive A game from Empire Interactive
World Wide Highscores
Submit new score

"9")) { $score_text=substr($score_text,0,$i).substr($score_text,$i+1,strlen($score_text)-$i-1); } else $i=$i+1; } return $score_text; } function text_out ($caption, $message, $width) { echo "\n"; echo "\n"; echo "\n"; echo "
\n"; echo "".$caption."
\n"; echo $message."\n"; echo "
\n"; echo "
\n"; } if ($_REQUEST["step"]==1) { if ((strlen($_REQUEST["player_id"])==0) or (strlen($_REQUEST["passwd"])==0) or (strlen($_REQUEST["scorecode"])==0)) { $_REQUEST["step"]=0; $_REQUEST["nError"]=1; } } if ($_REQUEST["step"]==1) { $query="SELECT idx,player,email FROM players WHERE userid=\"".$_REQUEST["player_id"]."\" AND passhash=\"".md5($_REQUEST["passwd"])."\""; $result = mysql_query("$query"); if ($result) { $nFound=0; while ($resarray = mysql_fetch_array($result)) { $nFound=1; $query="INSERT INTO temp (p_idx,datum,info,score_code,verified) VALUES ("; $query=$query.$resarray["idx"]; $query=$query.",CURDATE(),\"".$_REQUEST["hi_comments"]."\",\"".$_REQUEST["scorecode"]."\",0)"; $result2 = mysql_query("$query"); if ($result2) { text_out("Status: OK","Submitted successfully",270); echo "
\n"; echo "\n"; echo "\n"; echo "
\n"; echo "\n"; echo "
\n"; echo "
\n"; echo "
\n"; } else { text_out("Status: ERROR","An error occured on submitting the highscore.",230); } } mysql_free_result($result); if ($nFound==0) { text_out("Status: ERROR","Wrong username or password.",230); echo "
\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "
\n"; echo "
\n"; } } else { text_out("Status: ERROR","There was an error on accessing the database. Please try again later.",250); } } else { echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "
\n"; echo "Enter your score code
Score Code:
Comment
your score
(optional)
User-ID: Password:\n"; echo "\n"; echo "
\n"; echo "\n"; echo "\n"; echo "
\n"; echo "You have to type in your score code (press both flipper buttons after the game to get it)!\n"; echo "The score will then be checked and after this check it will be visible in the highscore lists.\n"; echo "
\n"; echo "
\n"; echo "
\n"; echo "\n"; echo "\n"; echo "\n"; echo "
\n"; echo "Submit score (The Web)
\n"; echo "\n"; echo "\n"; echo "\n"; echo "
\n"; echo "
\n"; } ?>
New to this site?
Modify your account
Pro Pinball, The Web, Timeshock!, Big Race USA and Fantastic Journey are trademarks of Empire Interactive.
All other trademarks and logos are the property of their respective owners.
Copyright (c) 2013 by Andreas 'Ante' Grabher