ob_end_flush(); require_once '../version.php'; require_once "../globals.php"; require_once "../db.php"; $runteam = 'run.php'; echo "<html><head><title>Team's Page</title>\n"; echo "<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\">\n"; echo "<link rel=stylesheet href=\"../Css.php\" type=\"text/css\">\n"; ?> <!-- Latest compiled and minified CSS --> <link rel="stylesheet" href="/assets/bootstrap/css/bootstrap.min.css"> <!-- Latest compiled and minified JavaScript --> <script src="/assets/bootstrap/js/bootstrap.min.js"></script> <?php //echo "<meta http-equiv=\"refresh\" content=\"60\" />"; if (!ValidSession()) { InvalidSession("team/index.php"); ForceLoad("../index.php"); } if ($_SESSION["usertable"]["usertype"] != "team") { IntrusionNotify("team/index.php"); ForceLoad("../index.php"); } ?> <div class="container"> <!-- <nav class="navbar navbar-default"> <div class="container-fluid"> <div class="navbar-header"> <a class="navbar-brand" href="/team/index.php">
header("Cache-Control: no-cache, must-revalidate"); header("Pragma: no-cache"); header("Content-Type: text/html; charset=utf-8"); session_start(); $_SESSION["loc"] = dirname($_SERVER['PHP_SELF']); if ($_SESSION["loc"] == "/") { $_SESSION["loc"] = ""; } $_SESSION["locr"] = dirname(__FILE__); if ($_SESSION["locr"] == "/") { $_SESSION["locr"] = ""; } require_once "globals.php"; require_once "db.php"; if (!isset($_GET["name"])) { if (ValidSession()) { DBLogOut($_SESSION["usertable"]["contestnumber"], $_SESSION["usertable"]["usersitenumber"], $_SESSION["usertable"]["usernumber"], $_SESSION["usertable"]["username"] == 'admin'); } session_unset(); session_destroy(); session_start(); $_SESSION["loc"] = dirname($_SERVER['PHP_SELF']); if ($_SESSION["loc"] == "/") { $_SESSION["loc"] = ""; } $_SESSION["locr"] = dirname(__FILE__); if ($_SESSION["locr"] == "/") { $_SESSION["locr"] = ""; } } if (isset($_GET["getsessionid"])) {