| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- <?php
- $host = $_SERVER['SERVER_NAME'];
- if($host == "62.4.16.133")
- {
- die();
- }
- @ob_start();
- session_start();
- require_once("config.php");
- if(!isset($_SESSION["playersqlid"]))
- {
- header("location: ./login");
- exit;
- }
- $username = $_SESSION['username'];
- $playersqlid = $_SESSION['playersqlid'];
- $quiz = $_SESSION['quiz'];
- /*if(!$quiz)
- {
- if($_SERVER['REQUEST_URI'] != "/panel/quiz")
- {
- echo '<script>window.location.href = "./panel/quiz";</script>';
- exit;
- }
- }*/
- $adminlevel = $_SESSION['adminlevel'];
- $charss = $_SESSION['characters'];
- $playeremail = $_SESSION['playeremail'];
- $namechanges = $_SESSION['namechanges'];
- $phonechanges = $_SESSION['phonechanges'];
- $discord_auth = $_SESSION['discord_auth'];
- $forum_auth = $_SESSION['forum_auth'];
- $donaterank = $_SESSION['donaterank'];
- $averagehours = $_SESSION['averagehours'];
- $notif_count = 0;
- ?>
|