#'), array('&', '<', '>'),$gamename); //Get Game ID $row = $db->sql_fetchrow($db->sql_query("SELECT game_id from ".$prefix."_bbgames WHERE game_scorevar='$gamename'")); $gid = intval($row['game_id']); } elseif (isset($HTTP_POST_VARS['arcade_hash']) ) { $gamehash = str_replace("\'","''",$HTTP_POST_VARS['arcade_hash']); $gamehash= preg_replace(array('#&(?!(\#[0-9]+;))#', '#<#', '#>#'), array('&', '<', '>'),$gamehash); $result=$db->sql_query("SELECT game_id from ".$prefix."_bbgamehash WHERE gamehash_id='$gamehash' LIMIT 1"); if (!$result) { die($prefix."_bbgamehash : pas de result: $gamehash"); } $row=$db->sql_fetchrow($result); $gid=$row["game_id"]; }else { header($header_location . "modules.php?name=Forums&file=arcade"); exit; } if (isset($HTTP_POST_VARS['score'])){ $gamescore = intval($HTTP_POST_VARS['score']); } $ThemeSel = get_theme(); echo "\n\n\n"; echo "
"; echo ""; echo ""; echo "
"; echo ""; exit; ?>