-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.php
129 lines (101 loc) · 5.12 KB
/
index.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
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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
<?php
ob_start();
session_start();
require_once 'dbconnect.php';
?>
<!--
/$$$$$$ /$$$$$$$ /$$$$$$$ /$$$$$$ /$$ /$$ /$$$$$$ /$$ /$$ /$$$$$$ /$$$$$$$ /$$$$$$$$ /$$$$$$ /$$ /$$
|_ $$_/| $$__ $$| $$__ $$ /$$__ $$| $$ | $$|_ $$_/| $$$ /$$$ |_ $$_/| $$__ $$| $$_____//$$__ $$| $$$ | $$
| $$ | $$ \ $$| $$ \ $$| $$ \ $$| $$ | $$ | $$ | $$$$ /$$$$ | $$ | $$ \ $$| $$ | $$ \ $$| $$$$| $$
| $$ | $$$$$$$ | $$$$$$$/| $$$$$$$$| $$$$$$$$ | $$ | $$ $$/$$ $$ | $$ | $$$$$$$/| $$$$$ | $$$$$$$$| $$ $$ $$
| $$ | $$__ $$| $$__ $$| $$__ $$| $$__ $$ | $$ | $$ $$$| $$ | $$ | $$__ $$| $$__/ | $$__ $$| $$ $$$$
| $$ | $$ \ $$| $$ \ $$| $$ | $$| $$ | $$ | $$ | $$\ $ | $$ | $$ | $$ \ $$| $$ | $$ | $$| $$\ $$$
/$$$$$$| $$$$$$$/| $$ | $$| $$ | $$| $$ | $$ /$$$$$$| $$ \/ | $$ /$$$$$$| $$ | $$| $$ | $$ | $$| $$ \ $$
|______/|_______/ |__/ |__/|__/ |__/|__/ |__/|______/|__/ |__/ |______/|__/ |__/|__/ |__/ |__/|__/ \__/
/$$$$$$ /$$$$$$$ /$$ /$$ /$$$$$$ /$$$$$$$ /$$$$$$$$ /$$$$$$ /$$$$$$
|_ $$_/| $$__ $$| $$ | $$ /$$__ $$ | $$__ $$| $$_____/ /$$__ $$ /$$__ $$
| $$ | $$ \ $$| $$ | $$| $$ \__/ | $$ \ $$| $$ | $$ \__/| $$ \ $$
| $$ | $$$$$$$/| $$$$$$$$| $$$$$$ | $$ | $$| $$$$$ | $$ | $$$$$$$$
| $$ | $$__ $$| $$__ $$ \____ $$ | $$ | $$| $$__/ | $$ | $$__ $$
| $$ | $$ \ $$| $$ | $$ /$$ \ $$ | $$ | $$| $$ | $$ $$| $$ | $$
/$$$$$$| $$ | $$| $$ | $$| $$$$$$/ | $$$$$$$/| $$$$$$$$| $$$$$$/| $$ | $$
|______/|__/ |__/|__/ |__/ \______/ |_______/ |________/ \______/ |__/ |__/
-->
<html>
<head>
<title> IRHS DECA </title>
<link rel="icon" href="img/favicon.ico" sizes="16x16">
<!-- Add jQuery library -->
<link rel="stylesheet" href="css/cssmenu/styles.css">
<link rel="stylesheet" type="text/css" href="css/main.css"></link>
<meta charset='utf-8'>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons">
<link rel="stylesheet" href="https://code.getmdl.io/1.1.3/material.blue_grey-red.min.css">
</head>
<body>
<div id="wrapper">
<!-- Mobile menu -->
<div id="mobile_menu">
<img id="menu-logo" src="img/logo2.png" height="40" align="left">
<img id="menu-bars" src="img/menu_bars.png" height="32" align="right">
</div>
<!-- Mobile dropdown -->
<ul id="mobile_dropdown" style="display: none;">
<li><a href='index.php'><span>Home</span></a></li>
<li class="active"><a href='about.php'><span>About DECA</span></a></li>
<li><a href='events.php'><span>Events</span></a></li>
<li><a href='dashboard.php'><span>Dashboard</span></a></li>
<li><a href='announcements.php'><span>Announcements</span></a></li>
<li><a href='dates.php'><span>Schedules</span></a></li>
<!-- If user is logged in, show corresponding menus -->
<?php if( !isset($_SESSION['user']) ) { ?>
<li><a href='register.php'><span>Register</span></a></li>
<li class='last'><a href='login.php'><span>Login</span></a></li>
<?php } else { ?>
<li><a href='exams.php'><span>Exams</span></a></li>
<li class='last'><a href='logout.php?logout'><span>Logout</span></a></li>
<?php
}
?>
</ul>
<!-- Desktop menu -->
<div id='cssmenu'>
<ul>
<li class="active"><a href='index.php'><span>Home</span></a></li>
<li><a href='about.php'><span>About DECA</span></a></li>
<li><a href='events.php'><span>Events</span></a></li>
<li><a href='dashboard.php'><span>Dashboard</span></a></li>
<li><a href='announcements.php'><span>Announcements</span></a></li>
<li><a href='dates.php'><span>Schedules</span></a></li>
<!-- If user is logged in, show corresponding menus -->
<?php if( !isset($_SESSION['user']) ) { ?>
<li><a href='register.php'><span>Register</span></a></li>
<li class='last'><a href='login.php'><span>Login</span></a></li>
<?php } else { ?>
<li><a href='exams.php'><span>Exams</span></a></li>
<li class='last'><a href='logout.php?logout'><span>Logout</span></a></li>
<?php
}
?>
</ul>
</div>
<!-- logo and title -->
<div class="content2">
<img id="logo" src="img/logo2.png" width="22%"/>
<img id="center-text" src="img/title.PNG" width="22%"/>
</div>
<!-- footer -->
<div class="footer" id="index_footer">
<img id="altlogo" src="img/logo_alt.png" align="left"/>
<img id="fbimg" src="img/facebook-box.png" align="right"/>
<h6><a href="http://www.irhsdeca.xyz" style="color: white;">Ibrahim Irfan</a></h6>
</div>
</div>
</body>
<script type="text/javascript" src="http://code.jquery.com/jquery-latest.min.js"></script>
<script type="text/javascript" src="js/main.js"></script>
<script defer src="https://code.getmdl.io/1.1.3/material.min.js"></script>
<script type="text/javascript" src="js/menu.js"></script>
</html>