-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathheader.php
More file actions
87 lines (76 loc) · 2.77 KB
/
header.php
File metadata and controls
87 lines (76 loc) · 2.77 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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
<?php
session_start();
require_once ("config.php");
require_once ("database.php");
require_once ("user.php");
require_once ("session.php");
?>
<!DOCTYPE html>
<html lang="en" class="no-js">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Ultimate Tic Tac Toe</title>
<meta name="description" content="Ultimate Tic Tac Toe" />
<meta name="keywords" content="ultimate tic tac toe, tryst iitd" />
<meta name="author" content="Tryst IITD" />
<link rel="shortcut icon" href="../favicon.ico">
<link rel="stylesheet" type="text/css" href="css/normalize.css" />
<link rel="stylesheet" type="text/css" href="css/demo.css" />
<link rel="stylesheet" type="text/css" href="css/component.css" />
<script src="js/modernizr.custom.js"></script>
</head>
<style type="text/css">
.error{
width: 100%;
margin-top: 5%;
text-align: center;
position: absolute;
color: red;
font-size: 20px;
}
</style>
<body>
<div class="container">
<ul id="gn-menu" class="gn-menu-main">
<li class="gn-trigger">
<a class="gn-icon gn-icon-menu"><span>Menu</span></a>
<nav class="gn-menu-wrapper">
<div class="gn-scroller">
<ul class="gn-menu">
<li>
<a class="gn-icon gn-icon-article" href="index.php">Home</a>
</li>
<li>
<a class="gn-icon gn-icon-pictures" href = "leaderboard.php">LeaderBoard</a>
</li>
<li><a class="gn-icon gn-icon-cog" href = "rules.php">Rules</a></li>
<li><a class="gn-icon gn-icon-help" href = "contact.php">Contact Us</a></li>
</ul>
</div><!-- /gn-scroller -->
</nav>
</li>
<?php
echo '<li><a class="codrops-icon codrops-icon-prev" href="uttt.php"><span>Ultimate Tic Tac Toe</span></a></li>';
?>
<li><a class="codrops-icon codrops-icon-prev" href="https://www.facebook.com/events/604348266319290/"><span>Facebook</span></a></li>
<li><a class="codrops-icon codrops-icon-prev" href="http://tryst-iitd.com"><span>Tryst</span></a></li>
<?php
if (!$session->is_logged_in ()) {
echo '<li style="float:right;"><a class="codrops-icon codrops-icon-drop" href="register.php"><span>Register</span></a></li>';
echo '<li style="float:right;"><a class="codrops-icon codrops-icon-drop" href="login.php"><span>Login</span></a></li>';
}
else {
echo '<li style="float:right;"><a class="codrops-icon codrops-icon-drop"href="logout.php"><span>Logout</span></a></li>';
}
?>
</ul>
</div><!-- /container -->
<script src="js/classie.js"></script>
<script src="js/gnmenu.js"></script>
<script>
new gnMenu( document.getElementById( 'gn-menu' ) );
</script>
</body>
</html>