-
Notifications
You must be signed in to change notification settings - Fork 0
/
dashboard.php
333 lines (221 loc) · 14.4 KB
/
dashboard.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
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
<?php
session_start();
include("includes/db.php");
if(!isset($_SESSION['admin_email'])){
echo "<script>window.open('login.php','_self')</script>";
}else{
?>
<div class="row"><!-- row no: 1 begin -->
<div class="col-lg-12"><!-- col-lg-12 begin -->
<h1 class="page-header"> Dashboard </h1>
<ol class="breadcrumb"><!-- breadcrumb begin -->
<li class="active"><!-- active begin -->
<i class="fa fa-dashboard"></i> Dashboard
</li><!-- active finish -->
</ol><!-- breadcrumb finish -->
</div><!-- col-lg-12 finish -->
</div><!-- row no: 1 finish -->
<div class="row"><!-- row no: 2 begin -->
<div class="col-lg-3 col-md-6"><!-- col-lg-3 col-md-6 begin -->
<div class="panel panel-primary"><!-- panel panel-primary begin -->
<div class="panel-heading"><!-- panel-heading begin -->
<div class="row"><!-- panel-heading row begin -->
<div class="col-xs-3"><!-- col-xs-3 begin -->
<i class="fa fa-tasks fa-5x"></i>
</div><!-- col-xs-3 finish -->
<div class="col-xs-9 text-right"><!-- col-xs-9 text-right begin -->
<div class="huge"> 18 </div>
<div> Products </div>
</div><!-- col-xs-9 text-right finish -->
</div><!-- panel-heading row finish -->
</div><!-- panel-heading finish -->
<a href="index.php?view_products"><!-- a href begin -->
<div class="panel-footer"><!-- panel-footer begin -->
<span class="pull-left"><!-- pull-left begin -->
View Details
</span><!-- pull-left finish -->
<span class="pull-right"><!-- pull-right begin -->
<i class="fa fa-arrow-circle-right"></i>
</span><!-- pull-right finish -->
<div class="clearfix"></div>
</div><!-- panel-footer finish -->
</a><!-- a href finish -->
</div><!-- panel panel-primary finish -->
</div><!-- col-lg-3 col-md-6 finish -->
<div class="col-lg-3 col-md-6"><!-- col-lg-3 col-md-6 begin -->
<div class="panel panel-success"><!-- panel panel-green begin -->
<div class="panel-heading"><!-- panel-heading begin -->
<div class="row"><!-- panel-heading row begin -->
<div class="col-xs-3"><!-- col-xs-3 begin -->
<i class="fa fa-users fa-5x"></i>
</div><!-- col-xs-3 finish -->
<div class="col-xs-9 text-right"><!-- col-xs-9 text-right begin -->
<div class="huge"> 0 </div>
<div> Customers </div>
</div><!-- col-xs-9 text-right finish -->
</div><!-- panel-heading row finish -->
</div><!-- panel-heading finish -->
<a href="index.php?view_customers"><!-- a href begin -->
<div class="panel-footer"><!-- panel-footer begin -->
<span class="pull-left"><!-- pull-left begin -->
View Details
</span><!-- pull-left finish -->
<span class="pull-right"><!-- pull-right begin -->
<i class="fa fa-arrow-circle-right"></i>
</span><!-- pull-right finish -->
<div class="clearfix"></div>
</div><!-- panel-footer finish -->
</a><!-- a href finish -->
</div><!-- panel panel-green finish -->
</div><!-- col-lg-3 col-md-6 finish -->
<div class="col-lg-3 col-md-6"><!-- col-lg-3 col-md-6 begin -->
<div class="panel panel-info"><!-- panel panel-yellow begin -->
<div class="panel-heading"><!-- panel-heading begin -->
<div class="row"><!-- panel-heading row begin -->
<div class="col-xs-3"><!-- col-xs-3 begin -->
<i class="fa fa-tags fa-5x"></i>
</div><!-- col-xs-3 finish -->
<div class="col-xs-9 text-right"><!-- col-xs-9 text-right begin -->
<div class="huge"> 6 </div>
<div> Categories </div>
</div><!-- col-xs-9 text-right finish -->
</div><!-- panel-heading row finish -->
</div><!-- panel-heading finish -->
<a href="index.php?view_cats"><!-- a href begin -->
<div class="panel-footer"><!-- panel-footer begin -->
<span class="pull-left"><!-- pull-left begin -->
View Details
</span><!-- pull-left finish -->
<span class="pull-right"><!-- pull-right begin -->
<i class="fa fa-arrow-circle-right"></i>
</span><!-- pull-right finish -->
<div class="clearfix"></div>
</div><!-- panel-footer finish -->
</a><!-- a href finish -->
</div><!-- panel panel-yellow finish -->
</div><!-- col-lg-3 col-md-6 finish -->
<div class="col-lg-3 col-md-6"><!-- col-lg-3 col-md-6 begin -->
<div class="panel panel-danger"><!-- panel panel-red begin -->
<div class="panel-heading"><!-- panel-heading begin -->
<div class="row"><!-- panel-heading row begin -->
<div class="col-xs-3"><!-- col-xs-3 begin -->
<i class="fa fa-shopping-cart fa-5x"></i>
</div><!-- col-xs-3 finish -->
<div class="col-xs-9 text-right"><!-- col-xs-9 text-right begin -->
<div class="huge"> 4 </div>
<div> Orders </div>
</div><!-- col-xs-9 text-right finish -->
</div><!-- panel-heading row finish -->
</div><!-- panel-heading finish -->
<a href="index.php?orders"><!-- a href begin -->
<div class="panel-footer"><!-- panel-footer begin -->
<span class="pull-left"><!-- pull-left begin -->
View Details
</span><!-- pull-left finish -->
<span class="pull-right"><!-- pull-right begin -->
<i class="fa fa-arrow-circle-right"></i>
</span><!-- pull-right finish -->
<div class="clearfix"></div>
</div><!-- panel-footer finish -->
</a><!-- a href finish -->
</div><!-- panel panel-red finish -->
</div><!-- col-lg-3 col-md-6 finish -->
</div><!-- row no: 2 finish -->
<div class="row"><!-- row no: 3 begin -->
<div class="col-lg-8"><!-- col-lg-8 begin -->
<div class="panel panel-primary"><!-- panel panel-primary begin -->
<div class="panel-heading"><!-- panel-heading begin -->
<h3 class="panel-title"><!-- panel-title begin -->
<i class="fa fa-money fa-fw"></i> New Orders
</h3><!-- panel-title finish -->
</div><!-- panel-heading finish -->
<div class="panel-body"><!-- panel-body begin -->
<div class="table-responsive"><!-- table-responsive begin -->
<table class="table table-hover table-striped table-bordered"><!-- table table-hover table-striped table-bordered begin -->
<thead><!-- thead begin -->
<tr><!-- th begin -->
<th> Order No: </th>
<th> Customer Email: </th>
<th> Product Name: </th>
<th> Product Qty: </th>
<th>Company name:</th>
<th> Status: </th>
<th>Edit:</th>
</tr><!-- th finish -->
</thead><!-- thead finish -->
<tbody><!-- tbody begin -->
<tr><!-- tr begin -->
<td> 23 </td>
<td> [email protected] </td>
<td> Iphone x black </td>
<td> 5 </td>
<td>TFC Loans</td>
<td> Approved </td>
<td>
<a href="#" class="btn btn-info btn-sm">
<span class="glyphicon glyphicon-remove"></span> Edit
</a>
</td>
</tr><!-- tr finish -->
<tr><!-- tr begin -->
<td> 42 </td>
<td> [email protected] </td>
<td> Gap white T-shirt</td>
<td> 13 </td>
<td> GAB </td>
<td> Pending </td>
<td>
<a href="#" class="btn btn-info btn-sm">
<span class="glyphicon glyphicon-remove"></span> Edit
</a>
</td>
</tr><!-- tr finish -->
<tr><!-- tr begin -->
<td> 56 </td>
<td> [email protected] </td>
<td> American Movie </td>
<td> 7 </td>
<td> Powered Tech</td>
<td> Pending </td>
<td>
<a href="#" class="btn btn-info btn-sm">
<span class="glyphicon glyphicon-remove"></span> Edit
</a>
</td>
</tr><!-- tr finish -->
</tbody><!-- tbody finish -->
</table><!-- table table-hover table-striped table-bordered finish -->
</div><!-- table-responsive finish -->
<div class="text-right"><!-- text-right begin -->
<a href="index.php?orders"><!-- a href begin -->
View All Orders <i class="fa fa-arrow-circle-right"></i>
</a><!-- a href finish -->
</div><!-- text-right finish -->
</div><!-- panel-body finish -->
</div><!-- panel panel-primary finish -->
</div><!-- col-lg-8 finish -->
<div class="col-md-4"><!-- col-md-4 begin -->
<div class="panel"><!-- panel begin -->
<div class="panel-body"><!-- panel-body begin -->
<div class="mb-md thumb-info"><!-- mb-md thumb-info begin -->
<img src="images/photo.png" alt="admin-thumb-info" class="rounded img-responsive">
</div><!-- mb-md thumb-info finish -->
<div class="mb-md"><!-- mb-md begin -->
<div class="widget-content-expanded"><!-- widget-content-expanded begin -->
<i class="fa fa-user"></i> <span> Ali Akbari </span> Software Developer <br/>
<i class="fa fa-envelope"></i> <span> Email: </span> [email protected] <br/>
</div><!-- widget-content-expanded finish -->
<hr class="dotted short">
<h5 class="text-muted"> About Me</h5>
<p><!-- p begin -->
Founder of UltraRate Software Development Company, hardworking and determined professional over 7 years of Technology and Business experiences,
passionate for new challenges, coding, social activity and sports
<br/>
<a href="#"> LinkedIn </a> <br/>
</p><!-- p finish -->
</div><!-- mb-md finish -->
</div><!-- panel-body finish -->
</div><!-- panel finish -->
</div><!-- col-md-4 finish -->
</div><!-- row no: 3 finish -->
<?php } ?>