require_once 'go_usersettings.class.php'; require_once 'go_game.class.php'; require_once 'go_publicgame.class.php'; $LOG = Config::getLogObject(); /* is this a fresh invoke or based on user selection */ $action = $_GET['action']; if (!empty($action)) { $params['publicgameid'] = $_GET['publicgameid']; $publicGameID = $_GET['publicgameid']; } //if /* print_r( $_GET); */ include 'gohtmlhead.php'; include 'goheader.php'; $gameObject = new goPublicGame($publicGameID); $gameObject->setOutputFlag('xml'); //echo($gameObject); // present page to customize the game if ($action = 'customize') { } echo '<div id="gameblock">'; echo '<p>Event Name :' . $gameObject->getEventName() . '</p>'; echo '<p>Event Date:' . $gameObject->getEventDate() . '</p>'; echo '<input type="radio" name="teams" value="' . $gameObject->getVisitingTeamID() . '"/>' . $gameObject->getVisitingTeam(); echo '<input type="radio" name="teams" value="' . $gameObject->getHomeTeamID() . '"/>' . $gameObject->getHomeTeam(); echo '</div>'; include 'gofooter.php'; ob_end_flush(); exit;