. //////////////////////////////////////////////////////////////////////////////// // Last modified 29/aug/2017 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(); ob_end_flush(); require_once('../version.php'); require_once("../globals.php"); require_once("../db.php"); echo "Staff's Page\n"; echo "\n"; echo "\n"; //echo ""; if(!ValidSession()) { InvalidSession("staff/index.php"); ForceLoad("../index.php"); } if($_SESSION["usertable"]["usertype"] != "staff" && $_SESSION["usertable"]["usertype"] != "admin") { IntrusionNotify("staff/index.php"); ForceLoad("../index.php"); } echo "\n"; 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"; if(($s = DBSiteInfo($_SESSION["usertable"]["contestnumber"], $_SESSION["usertable"]["usersitenumber"])) == null) ForceLoad("../index.php"); //$task = DBOpenTasksInSites($_SESSION["usertable"]["contestnumber"], $s["sitetasking"]); //$nr=count($task); echo "\n"; echo " \n"; echo " \n"; //echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo "
TasksTasks ($nr)ScoreRunsStatisticsOptionsLogout
\n"; ?>