-
Notifications
You must be signed in to change notification settings - Fork 1
/
disqualified.php
36 lines (35 loc) · 1.2 KB
/
disqualified.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<?php
session_start();
require $_SERVER['DOCUMENT_ROOT'].'/cryptic/inc/autoload.php';
require $_SERVER['DOCUMENT_ROOT'].'/cryptic/classes/LoginHelper.php';
$log = new LoginHelper($db);
if ($log->isLoggedIn()){
if ($log->isActive($_SESSION['user_id'])) {
header("Location: ".SITE_URL);
}
}
?>
<!DOCTYPE html>
<html>
<head>
<title>Cryptic Hunt</title>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="<?php echo SSTATIC; ?>css/bootstrap.min.css" rel="stylesheet">
<link href="<?php echo SSTATIC; ?>css/font-awesome.min.css" rel="stylesheet">
<link href="<?php echo SSTATIC; ?>css/style.css" rel="stylesheet">
</head>
<body>
<?php include 'inc/nav.php';?>
<section class="main-section">
<div class="container">
<h2>You're Disqualified</h2>
<h3 class="text-center">If you think this is by mistake, please contact us.</h3><br>
</div>
</section>
<script type="text/javascript" src="<?php echo SSTATIC; ?>js/jquery.min.js"></script>
<script type="text/javascript" src="<?php echo SSTATIC; ?>js/bootstrap.min.js"></script>
<script type="text/javascript" src="<?php echo SSTATIC; ?>js/sb-admin-2.js"></script>
</body>
</html>