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.0/src/admin/header.php | 88 ----------------------------------------- 1 file changed, 88 deletions(-) delete mode 100644 boca-1.5.0/src/admin/header.php (limited to 'boca-1.5.0/src/admin/header.php') diff --git a/boca-1.5.0/src/admin/header.php b/boca-1.5.0/src/admin/header.php deleted file mode 100644 index c308059..0000000 --- a/boca-1.5.0/src/admin/header.php +++ /dev/null @@ -1,88 +0,0 @@ -. -//////////////////////////////////////////////////////////////////////////////// -// 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"; -} -?> -- cgit v1.2.3