-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.php
More file actions
68 lines (58 loc) · 1.75 KB
/
index.php
File metadata and controls
68 lines (58 loc) · 1.75 KB
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
<?php
session_start();
require_once('src/sessioncheck.php');
require_once('src/pdo_connect.php');
require_once('src/datecheck.php');
if(isset($_SESSION['player_id']) && !empty($_SESSION['player_id'])) {
echo '<script type="text/javascript">window.location.href="./src/home.php"</script>';
}
?>
<!DOCTYPE HTML>
<html>
<head>
<title>
SuperContest 2019
</title>
<link rel="preload" href="./css/fonts/tecmo-bowl-body.woff2" as="font" type="font/woff2" crossorigin>
<link rel="preload" href="./css/fonts/tecmo-bowl-headline.woff2" as="font" type="font/woff2" crossorigin>
<link rel="preload" href="./css/fonts/francisco-serial-light-regular.woff2" as="font" type="font/woff2" crossorigin>
<meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" />
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Expires" content="0" />
<link rel="stylesheet" type="text/css" href="./css/style.css">
<meta name="viewport" content="width=device-width">
</head>
<body class="starBack">
<div class="wrapper">
<div class='menuContainer'>
<div class='redHead'>
TECMO<span style='font-size:0.75rem'>®</span>
</div>
<div class='testcaps'>
<div>SUPER</div>
<div>CONTEST</div>
</div>
<div class='menu'>
<a href="src/login.php">Login</a>
<?php
if($weekmarker < 3){
echo "<a href='src/register.php'>Register</a>";
}
?>
<a href="src/passreset.php">Change Password</a>
</div>
<div class='legal'>
<div>
TM and © TECMO LTD 2019
</div>
<div>
LICENSED BY
</div>
<div>
VANDELAY INDUSTRIES, INC.
</div>
</div>
</div>
</div>
</body>
</html>