-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathevents.php
155 lines (129 loc) · 6.61 KB
/
events.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
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
<?php
ob_start();
session_start();
require_once 'dbconnect.php';
// redirect to login if not logged in
if( !isset($_SESSION['user']) ) {
header("Location: login.php");
exit;
}
?>
<!--
/$$$$$$ /$$$$$$$ /$$$$$$$ /$$$$$$ /$$ /$$ /$$$$$$ /$$ /$$ /$$$$$$ /$$$$$$$ /$$$$$$$$ /$$$$$$ /$$ /$$
|_ $$_/| $$__ $$| $$__ $$ /$$__ $$| $$ | $$|_ $$_/| $$$ /$$$ |_ $$_/| $$__ $$| $$_____//$$__ $$| $$$ | $$
| $$ | $$ \ $$| $$ \ $$| $$ \ $$| $$ | $$ | $$ | $$$$ /$$$$ | $$ | $$ \ $$| $$ | $$ \ $$| $$$$| $$
| $$ | $$$$$$$ | $$$$$$$/| $$$$$$$$| $$$$$$$$ | $$ | $$ $$/$$ $$ | $$ | $$$$$$$/| $$$$$ | $$$$$$$$| $$ $$ $$
| $$ | $$__ $$| $$__ $$| $$__ $$| $$__ $$ | $$ | $$ $$$| $$ | $$ | $$__ $$| $$__/ | $$__ $$| $$ $$$$
| $$ | $$ \ $$| $$ \ $$| $$ | $$| $$ | $$ | $$ | $$\ $ | $$ | $$ | $$ \ $$| $$ | $$ | $$| $$\ $$$
/$$$$$$| $$$$$$$/| $$ | $$| $$ | $$| $$ | $$ /$$$$$$| $$ \/ | $$ /$$$$$$| $$ | $$| $$ | $$ | $$| $$ \ $$
|______/|_______/ |__/ |__/|__/ |__/|__/ |__/|______/|__/ |__/ |______/|__/ |__/|__/ |__/ |__/|__/ \__/
/$$$$$$ /$$$$$$$ /$$ /$$ /$$$$$$ /$$$$$$$ /$$$$$$$$ /$$$$$$ /$$$$$$
|_ $$_/| $$__ $$| $$ | $$ /$$__ $$ | $$__ $$| $$_____/ /$$__ $$ /$$__ $$
| $$ | $$ \ $$| $$ | $$| $$ \__/ | $$ \ $$| $$ | $$ \__/| $$ \ $$
| $$ | $$$$$$$/| $$$$$$$$| $$$$$$ | $$ | $$| $$$$$ | $$ | $$$$$$$$
| $$ | $$__ $$| $$__ $$ \____ $$ | $$ | $$| $$__/ | $$ | $$__ $$
| $$ | $$ \ $$| $$ | $$ /$$ \ $$ | $$ | $$| $$ | $$ $$| $$ | $$
/$$$$$$| $$ | $$| $$ | $$| $$$$$$/ | $$$$$$$/| $$$$$$$$| $$$$$$/| $$ | $$
|______/|__/ |__/|__/ |__/ \______/ |_______/ |________/ \______/ |__/ |__/
-->
<html>
<head>
<title> IRHS DECA </title>
<link rel="icon" href="img/favicon.ico" sizes="16x16">
<!-- Add jQuery library -->
<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="css/cssmenu/styles.css">
<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">
<link rel="stylesheet" href="fancybox/source/jquery.fancybox.css?v=2.1.5" type="text/css" media="screen" />
<link rel="stylesheet" href="fancybox/source/helpers/jquery.fancybox-buttons.css?v=1.0.5" type="text/css" media="screen" />
<link rel="stylesheet" href="fancybox/source/helpers/jquery.fancybox-thumbs.css?v=1.0.7" type="text/css" media="screen" />
</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>
<?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><a href='index.php'><span>Home</span></a></li>
<li><a href='about.php'><span>About DECA</span></a></li>
<li class="active"><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>
<?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>
</br>
<div class="content">
<!-- Table breadcrumbs -->
<div class="breadcrumb">
<table class="breadcrumb">
<tr>
<td id="allTypes"> </td>
<td id="slash1" style="display: none;">/</td>
<td id="type"></td>
<td id="slash2" style="display: none;">/</td>
<td id="cluster"> </td>
</tr>
</table>
</div>
<!-- Table with fancybox modal -->
<h4 id="table-title"></h4>
<table class="mdl-data-table mdl-js-data-table" id="table" width="100%">
<tbody>
<div class="fancybox" rel="group" id="event_popup"> </div>
</tbody>
</table>
</div>
<!-- Footer -->
<div class="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.ibrahimirfan.com" 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 defer src="https://code.getmdl.io/1.1.3/material.min.js"></script>
<script type="text/javascript" src="js/resources.js"></script>
<script type="text/javascript" src="js/menu.js"></script>
<script type="text/javascript" src="fancybox/lib/jquery.mousewheel-3.0.6.pack.js"></script>
<script type="text/javascript" src="fancybox/source/jquery.fancybox.pack.js?v=2.1.5"></script>
<script type="text/javascript" src="fancybox/source/helpers/jquery.fancybox-buttons.js?v=1.0.5"></script>
<script type="text/javascript" src="fancybox/source/helpers/jquery.fancybox-media.js?v=1.0.6"></script>
<script type="text/javascript" src="fancybox/source/helpers/jquery.fancybox-thumbs.js?v=1.0.7"></script>
</html>