'; foreach($games as $gameid => $displayed_name) { if ($gi == $gameid) $r.='\n"; else $r.='\n"; } $r.="\n"; return $r; } //variables if(isset($_REQUEST["a"])) $a = $_REQUEST["a"]; else $a="portal"; if(isset($_REQUEST["gi"])) $gi = $_REQUEST["gi"]; else $gi=""; // the key is the gameid/login and the value is the "display name" // the display name is the string one should display $games = array(); //loads gameid and display_names (used to display all games in a list or a select) loadGames(); if($a=="admin") session_start(); ?>
portal concept . highscore(".$games[$gi].") . serverlist(".$games[$gi].") $selection_with_form | "; ?>