From a9aa438ea0558eb0044cf1e54a9190ddb41b65e5 Mon Sep 17 00:00:00 2001 From: cassio Date: Tue, 2 Jul 2013 09:44:46 +0400 Subject: restructuring of boca's git --- boca-1.5.1/src/admin/report/header.php | 65 ---------------------------------- 1 file changed, 65 deletions(-) delete mode 100644 boca-1.5.1/src/admin/report/header.php (limited to 'boca-1.5.1/src/admin/report/header.php') diff --git a/boca-1.5.1/src/admin/report/header.php b/boca-1.5.1/src/admin/report/header.php deleted file mode 100644 index 1d191de..0000000 --- a/boca-1.5.1/src/admin/report/header.php +++ /dev/null @@ -1,65 +0,0 @@ -. -//////////////////////////////////////////////////////////////////////////////// -// Last modified 05/aug/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(); -ob_end_flush(); -//$locr = $_SESSION['locr']; -//$loc = $_SESSION['loc']; -$loc = $locr = "../.."; - -require $locr.'/version.php'; -require_once($locr . "/globals.php"); -if(!ValidSession()) { - InvalidSession($_SERVER['PHP_SELF']); - ForceLoad($loc."/index.php"); -} -if($_SESSION["usertable"]["usertype"] != "admin") { - IntrusionNotify($_SERVER['PHP_SELF']); - ForceLoad($loc."/index.php"); -} - -require_once($locr."/db.php"); -require_once($locr."/freport.php"); - -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"; -?> -- cgit v1.2.3