-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.php
263 lines (251 loc) · 12.7 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
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
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
<?php
include './particles/init.php';
if (isset($_SESSION['loggedin']) && $_SESSION['loggedin'] == true) {
} else {
header("Location:./login.php");
exit();
}
?>
<!doctype html>
<html class="no-js" lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<title>Dashboard | Quiz Arcade</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- favicon
============================================ -->
<link rel="shortcut icon" type="image/png" href="img/logosn2.png">
<!-- Google Fonts
============================================ -->
<link href="https://fonts.googleapis.com/css?family=Roboto:100,300,400,700,900" rel="stylesheet">
<!-- Bootstrap CSS
============================================ -->
<link rel="stylesheet" href="./css/bootstrap.min.css">
<!-- Bootstrap CSS
============================================ -->
<link rel="stylesheet" href="css/font-awesome.min.css">
<!-- hashir Icon CSS
============================================ -->
<link rel="stylesheet" href="css/hashir-icon.css">
<!-- owl.carousel CSS
============================================ -->
<link rel="stylesheet" href="css/owl.carousel.css">
<link rel="stylesheet" href="css/owl.theme.css">
<link rel="stylesheet" href="css/owl.transitions.css">
<!-- animate CSS
============================================ -->
<link rel="stylesheet" href="css/animate.css">
<!-- normalize CSS
============================================ -->
<link rel="stylesheet" href="css/normalize.css">
<!-- meanmenu icon CSS
============================================ -->
<link rel="stylesheet" href="css/meanmenu.min.css">
<!-- main CSS
============================================ -->
<link rel="stylesheet" href="css/main.css">
<!-- morrisjs CSS
============================================ -->
<link rel="stylesheet" href="css/morrisjs/morris.css">
<!-- mCustomScrollbar CSS
============================================ -->
<link rel="stylesheet" href="css/scrollbar/jquery.mCustomScrollbar.min.css">
<!-- metisMenu CSS
============================================ -->
<link rel="stylesheet" href="css/metisMenu/metisMenu.min.css">
<link rel="stylesheet" href="css/metisMenu/metisMenu-vertical.css">
<!-- calendar CSS
============================================ -->
<link rel="stylesheet" href="css/calendar/fullcalendar.min.css">
<link rel="stylesheet" href="css/calendar/fullcalendar.print.min.css">
<!-- style CSS
============================================ -->
<link rel="stylesheet" href="style.css">
<!-- responsive CSS
============================================ -->
<link rel="stylesheet" href="css/responsive.css">
<!-- modernizr JS
============================================ -->
<script src="js/vendor/modernizr-2.8.3.min.js"></script>
<script src="https://kit.fontawesome.com/b01bd35356.js" crossorigin="anonymous"></script>
</head>
<body>
<!--[if lt IE 8]>
<p class="browserupgrade">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> to improve your experience.</p>
<![endif]-->
<!-- Php for side bar -->
<?php
echo include './particles/sidebar.php';
?>
<!-- Start Welcome area -->
<div class="all-content-wrapper">
<!-- Header -->
<?php
include './particles/header.php';
?>
<!-- Mobile Menu end -->
<div class="breadcome-area " style="margin-top: 5vh;">
<div class="container-fluid">
<div class="row">
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
<div class="breadcome-list">
<div class="row">
<div class="col-lg-6 col-md-6 col-sm-6 col-xs-6">
<div class="breadcomb-wp">
<div class="breadcomb-icon">
<i class="icon hashir-home"></i>
</div>
<div class="breadcomb-ctn">
<h2>Dashboard</h2>
<p>Welcome <b> <?php
echo $admin = $_SESSION['userName'];
?> </b> <span class="bread-ntd">to Admin Dashboard</span></p>
</div>
</div>
</div>
<div class="col-lg-6 col-md-6 col-sm-6 col-xs-6">
<div class="breadcomb-report">
<button data-toggle="tooltip" data-placement="left" title="Download Report"
class="btn"><i class="icon hashir-download"></i></button>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="section-admin container-fluid">
<div class="row admin text-center">
<div class="col-md-12">
<div class="row">
<div class="col-lg-3 col-md-3 col-sm-3 col-xs-12">
<div class="admin-content analysis-progrebar-ctn res-mg-t-15">
<h4 class="text-left text-uppercase"><b>Total Students</b></h4>
<div class="row vertical-center-box vertical-center-box-tablet">
<div class="col-xs-3 mar-bot-15 text-left">
<label class="label bg-green">30% <i class="fa fa-level-up"
aria-hidden="true"></i></label>
</div>
<div class="col-xs-9 cus-gh-hd-pro">
<h2 class="text-right no-margin">300</h2>
</div>
</div>
<div class="progress progress-mini">
<div style="width: 78%;" class="progress-bar bg-green"></div>
</div>
</div>
</div>
<div class="col-lg-3 col-md-3 col-sm-3 col-xs-12" style="margin-bottom:1px;">
<div class="admin-content analysis-progrebar-ctn res-mg-t-30">
<h4 class="text-left text-uppercase"><b>Total Test</b></h4>
<div class="row vertical-center-box vertical-center-box-tablet">
<div class="text-left col-xs-3 mar-bot-15">
<label class="label bg-red">15% <i class="fa fa-level-down"
aria-hidden="true"></i></label>
</div>
<div class="col-xs-9 cus-gh-hd-pro">
<h2 class="text-right no-margin">3000</h2>
</div>
</div>
<div class="progress progress-mini">
<div style="width: 38%;" class="progress-bar progress-bar-danger bg-red"></div>
</div>
</div>
</div>
<div class="col-lg-3 col-md-3 col-sm-3 col-xs-12">
<div class="admin-content analysis-progrebar-ctn res-mg-t-30">
<h4 class="text-left text-uppercase"><b>Total Category</b></h4>
<div class="row vertical-center-box vertical-center-box-tablet">
<div class="text-left col-xs-3 mar-bot-15">
<label class="label bg-blue">50% <i class="fa fa-level-up"
aria-hidden="true"></i></label>
</div>
<div class="col-xs-9 cus-gh-hd-pro">
<h2 class="text-right no-margin">50</h2>
</div>
</div>
<div class="progress progress-mini">
<div style="width: 60%;" class="progress-bar bg-blue"></div>
</div>
</div>
</div>
<div class="col-lg-3 col-md-3 col-sm-3 col-xs-12">
<div class="admin-content analysis-progrebar-ctn res-mg-t-30">
<h4 class="text-left text-uppercase"><b>Total Questions</b></h4>
<div class="row vertical-center-box vertical-center-box-tablet">
<div class="text-left col-xs-3 mar-bot-15">
<label class="label bg-purple">80% <i class="fa fa-level-up"
aria-hidden="true"></i></label>
</div>
<div class="col-xs-9 cus-gh-hd-pro">
<h2 class="text-right no-margin">1500</h2>
</div>
</div>
<div class="progress progress-mini">
<div style="width: 60%;" class="progress-bar bg-purple"></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- jquery
============================================ -->
<script src="js/vendor/jquery-1.12.4.min.js"></script>
<!-- bootstrap JS
============================================ -->
<script src="js/bootstrap.min.js"></script>
<!-- wow JS
============================================ -->
<script src="js/wow.min.js"></script>
<!-- price-slider JS
============================================ -->
<script src="js/jquery-price-slider.js"></script>
<!-- meanmenu JS
============================================ -->
<script src="js/jquery.meanmenu.js"></script>
<!-- owl.carousel JS
============================================ -->
<script src="js/owl.carousel.min.js"></script>
<!-- sticky JS
============================================ -->
<script src="js/jquery.sticky.js"></script>
<!-- scrollUp JS
============================================ -->
<script src="js/jquery.scrollUp.min.js"></script>
<!-- mCustomScrollbar JS
============================================ -->
<script src="js/scrollbar/jquery.mCustomScrollbar.concat.min.js"></script>
<script src="js/scrollbar/mCustomScrollbar-active.js"></script>
<!-- metisMenu JS
============================================ -->
<script src="js/metisMenu/metisMenu.min.js"></script>
<script src="js/metisMenu/metisMenu-active.js"></script>
<!-- sparkline JS
============================================ -->
<script src="js/sparkline/jquery.sparkline.min.js"></script>
<script src="js/sparkline/jquery.charts-sparkline.js"></script>
<!-- calendar JS
============================================ -->
<script src="js/calendar/moment.min.js"></script>
<script src="js/calendar/fullcalendar.min.js"></script>
<script src="js/calendar/fullcalendar-active.js"></script>
<!-- float JS
============================================ -->
<script src="js/flot/jquery.flot.js"></script>
<script src="js/flot/jquery.flot.resize.js"></script>
<script src="js/flot/curvedLines.js"></script>
<script src="js/flot/flot-active.js"></script>
<!-- plugins JS
============================================ -->
<script src="js/plugins.js"></script>
<!-- main JS
============================================ -->
<script src="js/main.js"></script>
</div>
</body>
</html>