. //////////////////////////////////////////////////////////////////////////////// // Last modified 21/jul/2012 by cassio@ime.usp.br ob_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"); header ("Content-Type: text/html; charset=utf-8"); session_start(); if(!isset($_POST['noflush'])) ob_end_flush(); //$loc = $_SESSION['loc']; //$locr = $_SESSION['locr']; $loc = $locr = ".."; $runphp = "run.php"; $runeditphp = "runedit.php"; require_once("$locr/globals.php"); require_once("$locr/db.php"); if(!isset($_POST['noflush'])) { require_once("$locr/version.php"); echo "Admin's Page\n"; echo "\n"; echo "\n"; } //echo ""; if(!ValidSession()) { InvalidSession("admin/index.php"); ForceLoad("$loc/index.php"); } if($_SESSION["usertable"]["usertype"] != "admin") { IntrusionNotify("admin/index.php"); ForceLoad("$loc/index.php"); } if(!isset($_POST['noflush'])) { echo "\n"; echo "\n"; echo "
"; echo "\"\""; echo "BOCA"; echo "\n"; echo "Username: " . $_SESSION["usertable"]["userfullname"] . " (site=".$_SESSION["usertable"]["usersitenumber"].")
\n"; list($clockstr,$clocktype)=siteclock(); echo "
 ".$clockstr." 
\n"; echo "\n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; //echo "
RunsScoreClarificationsUsersProblemsLanguagesAnswersExport

\n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo "
TasksSiteContestLogsReportsBackupsOptionsLogout
\n"; } ?>