. //////////////////////////////////////////////////////////////////////////////// ob_start(); session_start(); header ("Expires: " . gmdate("D, d M Y H:i:s") . " GMT"); header ("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); header ("Cache-Control: no-cache, must-revalidate"); header ("Pragma: no-cache"); //$locr = $_SESSION['locr']; //$loc = $_SESSION['loc']; $loc = $locr = "../.."; require_once($locr . "/globals.php"); require_once($locr."/db.php"); require_once($locr."/freport.php"); if(isset($_GET['webcastcode']) && ctype_alnum($_GET['webcastcode'])) { header ("Content-transfer-encoding: binary\n"); header ("Content-type: application/force-download"); ob_end_flush(); } else { header ("Content-Type: text/html; charset=utf-8"); require $locr.'/version.php'; if(!ValidSession()) { InvalidSession($_SERVER['PHP_SELF']); ForceLoad($loc."/index.php"); } if($_SESSION["usertable"]["usertype"] != "admin") { IntrusionNotify($_SERVER['PHP_SELF']); ForceLoad($loc."/index.php"); } ob_end_flush(); echo "Report Page\n"; echo "\n"; echo "\n"; $contest=$_SESSION["usertable"]["contestnumber"]; if(($ct = DBContestInfo($contest)) == null) ForceLoad($loc."/index.php"); $site=$_SESSION["usertable"]["usersitenumber"]; if(($st = DBSiteInfo($contest,$site)) == null) ForceLoad($loc."/index.php"); echo "\n"; echo "\n"; echo "
"; echo "\"\""; echo "BOCA"; echo "\n"; echo $ct["contestname"] . " - " . $st["sitename"] . "
\n"; } ?>