-
Notifications
You must be signed in to change notification settings - Fork 0
/
student-dashboard.php
executable file
·699 lines (615 loc) · 50.6 KB
/
student-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
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
<?php
require 'connection.php';
session_start();
$role = $_SESSION['sess_userrole'];
$email = $_SESSION['sess_email'];
if(!isset($email) || $role!="student"){
header('Location: index.php?err=2');
}
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="">
<meta name="author" content="">
<title>SRIS - Student Dashboard</title>
<!-- Custom fonts for this template-->
<link href="vendor/fontawesome-free/css/all.min.css" rel="stylesheet" type="text/css">
<link
href="https://fonts.googleapis.com/css?family=Nunito:200,200i,300,300i,400,400i,600,600i,700,700i,800,800i,900,900i"
rel="stylesheet">
<!-- Custom styles for this template-->
<link href="css/sb-admin-2.min.css" rel="stylesheet">
<!-- Custom styles for this page -->
<link href="vendor/datatables/dataTables.bootstrap4.min.css" rel="stylesheet">
<style>
/*Styes for the Profile Picture*/
.image {
background: url(#) 50% 50% no-repeat; /* 50% 50% centers image in div */
object-fit: cover;
width: 250px;
height: 205px;
}
</style>
</head>
<body id="page-top">
<!-- Page Wrapper -->
<div id="wrapper">
<!-- Sidebar -->
<?php include 'navigation-student.php'; ?>
<!-- End of Sidebar -->
<!-- Content Wrapper -->
<div id="content-wrapper" class="d-flex flex-column">
<!-- Main Content -->
<div id="content">
<!-- Topbar -->
<?php include 'top-bar.php'; ?>
<!-- End of Topbar -->
<!-- Begin Page Content -->
<div class="container-fluid">
<!-- Page Heading -->
<div class="d-sm-flex align-items-center justify-content-between mb-4">
<h1 class="h3 mb-4 text-gray-800">Student Dashboard</h1>
</div>
<!--Header summary-->
<?php require 'header-summary-student.php'; ?>
<div class="card">
<div class="card-header border-bottom">
<ul class="nav nav-tabs card-header-tabs" id="cardTab" role="tablist">
<li class="nav-item">
<a class="nav-link active" id="overview-tab" href="#overview" data-toggle="tab" role="tab" aria-controls="overview" aria-selected="false">Profile</a>
</li>
<li class="nav-item">
<a class="nav-link" id="example-tab" href="#bills" data-toggle="tab" role="tab" aria-controls="example" aria-selected="true">Bills</a>
</li>
<li class="nav-item">
<a class="nav-link" id="example-tab" href="#payments" data-toggle="tab" role="tab" aria-controls="example" aria-selected="false">Payments</a>
</li>
<li class="nav-item">
<a class="nav-link" id="" href="#document" data-toggle="tab" role="tab" aria-controls="document" aria-selected="false">Documents</a>
</li>
</ul>
</div>
<div class="card-body">
<div class="tab-content" id="cardTabContent">
<div class="tab-pane fade show active" id="overview" role="tabpanel" aria-labelledby="overview-tab">
<h5 class="card-title">My Profile</h5>
<div class="row">
<!-- SECOND CARD -->
<div class="col-xl-3 col-lg-5">
<div class="card shadow mb-4">
<!-- Card Header - Dropdown -->
<div
class="card-header py-3 d-flex flex-row align-items-center justify-content-between">
<h6 class="m-0 font-weight-bold text-primary">Profile Picture</h6>
<?php
if(isset($_GET['success'])){
echo "<label class='alert-success small'>Picture Uploaded</label>";
}else if (isset($_GET['failed'])){
echo "<label class='alert-warning'>Upload Failed</label>";
}else if(isset($_GET['format'])){
echo "<label class='alert-warning'>Upload an Image</label>";
}else if(isset($_GET['name'])){
echo "<label class='alert-warning'>Name Error</label>";
}else if(isset($_GET['no_name'])){
echo "<label class='alert-warning'>Name is not set</label>";
}
?>
</div>
<!-- Profile Picture -->
<div class="card-body">
<div class="row">
<div class="col-sm-12">
<?php
$sql = "SELECT picture from student_profile WHERE email = '$email'";
$query = mysqli_query($conn, $sql);
$row = mysqli_fetch_assoc($query);
if(mysqli_num_rows($query)>=1){
echo '<img class="image img-profile rounded-circle img-thumbnail img-fluid"
src="img/student/' . $row['picture'] . '" alt="Picture">';
}else{
echo '<img class="image img-profile rounded-circle img-thumbnail img-fluid"
src="img/undraw_profile_3.svg" alt="Picture">';
}
?>
<hr>
<?php
$sql = "SELECT * FROM student_profile where email = '$email'";
$query = mysqli_query($conn, $sql);
if(mysqli_num_rows($query)>=1){
echo '<button type="file" class="btn btn-primary btn-block" data-toggle="modal"
data-target="#profileFormUpload">
Change Picture </button>';
}else{
echo '<button type="file" class="btn btn-primary btn-block" data-toggle="modal"
data-target="#profileForm">
Upload Picture </button>';
}
?>
<!-- PROFILE UPLOAD MODAL-->
<div class="modal fade" id="profileForm" role="dialog">
<div class="modal-dialog">
<!-- Modal content-->
<div class="modal-content">
<div class="modal-header">
<div class="card-header">
<div class="row block">
<h5 class="modal-title">Profile Upload</h5>
<button type="button" class="close" data-dismiss="modal">×</button>
</div>
</div>
</div>
<div class="card-body">
<form method="POST" action="student-profile-upload.php" id="profile-form" enctype="multipart/form-data">
<div class="form-group">
<input type="file" name="profile" class="input-group"/>
<hr>
<input class="btn btn-primary btn-block" name="submit" value="submit" type="submit"></input>
</div>
</form>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>
<!-- PROFILE UPLOAD MODAL-->
<div class="modal fade" id="profileFormUpload" role="dialog">
<div class="modal-dialog">
<!-- Modal content-->
<div class="modal-content">
<div class="modal-header">
<div class="card-header">
<div class="row block">
<h5 class="modal-title">Profile Edit</h5>
<button type="button" class="close" data-dismiss="modal">×</button>
</div>
</div>
</div>
<div class="card-body">
<form method="POST" action="student-profile-edit.php" id="profile-form" enctype="multipart/form-data">
<div class="form-group">
<input type="file" name="profile" class="input-group"/>
<hr>
<input class="btn btn-primary btn-block" name="submit" value="submit" type="submit"></input>
</div>
</form>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- PROFILE DETAILS -->
<div class="col-xl-9 col-lg-7">
<div class="card shadow mb-4">
<!-- Card Header - Dropdown -->
<div class="card-header py-3 d-flex flex-row align-items-center justify-content-between">
<h6 class="m-0 font-weight-bold text-primary">Personal Details</h6>
</div>
<!-- Card Body -->
<div class="card-body">
<form class="user" method="post" action="student-registration-upload.php">
<div class="form-group row">
<?php
$sql = "SELECT * FROM student, course, sponsor WHERE sponsor.sponsor_id = student.sponsor_id
AND course.course_id = student.course_id AND student.email = '$email'";
$sql_results = mysqli_query($conn, $sql);
$row = mysqli_fetch_assoc($sql_results);
?>
<div class="col-sm-4 mb-3 mb-sm-0">
<label for="f_name">First Name</label>
<input type="text" id="f_name" name="f_name" class="form-control"
placeholder="<?php echo $row['f_name']; ?>" readonly>
</div>
<div class="col-sm-4 mb-3 mb-sm-0">
<label for="m_name">Middle Name</label>
<input type="text" name="m_name" class="form-control" id="m_name"
placeholder="<?php echo $row['m_name']; ?>" readonly>
</div>
<div class="col-sm-4">
<label for="l_name">Last Name</label>
<input type="text" name="l_name" class="form-control" id="l_name"
placeholder="<?php echo $row['l_name']; ?>" readonly>
</div>
</div>
<div class="form-group row">
<div class="col-sm-4 mb-3 mb-sm-0">
<label for="gender">Gender</label>
<input type="sex" class="form-control " name="gender"
id="gender" placeholder="<?php echo $row['sex']; ?>" readonly>
</div>
<div class="col-sm-4">
<label for="marital">Marital Status</label>
<input type="marital" class="form-control" name="marital"
id="marital" placeholder="<?php echo $row['marital_status']; ?>" readonly>
</div>
<div class="col-sm-4">
<label for="date">Birth Date</label>
<input type="text" class="form-control" name="date"
id="date" placeholder="<?php echo $row['dob']; ?>" readonly>
</div>
</div>
<div class="form-group row">
<div class="col-sm-4">
<label for="reg_no">Registration Number</label>
<input type="text" class="form-control" id="reg_no" name="reg_no"
placeholder="<?php echo $row['student_id']; ?>" readonly>
</div>
<div class="col-sm-4">
<label for="phone">Phone Number</label>
<input type="text" class="form-control" id="phone" name="phone"
placeholder="<?php echo $row['phone']; ?>" required>
</div>
<div class="col-sm-4">
<label for="email">Email Address</label>
<input type="email" class="form-control" id="email" name="email"
placeholder="<?php echo $row['email']; ?>" readonly>
</div>
</div>
<div class="form-group row">
<div class="col-sm-4 mb-3 mb-sm-0">
<label for="address">Address</label>
<input type="address" class="form-control" name="address"
id="address" placeholder="<?php echo $row['address']; ?>" required="true">
</div>
<div class="col-sm-4">
<label for="nationality">Nationality</label>
<input type="country" class="form-control" name="nationality"
id="nationality" placeholder="<?php echo $row['nationality']; ?>" readonly>
</div>
<div class="col-sm-4">
<label for="course">Programme</label>
<input type="text" class="form-control" name="course"
id="nationality" placeholder="<?php echo $row['course_short_form']; ?>" readonly>
</div>
</div>
<div class="form-group row">
<div class="col-sm-4 mb-3 mb-sm-0">
<label for="cohort">Cohort</label>
<input type="number" class="form-control"
id="cohort" placeholder="<?php echo $row['cohort']; ?>" readonly>
</div>
<div class="col-sm-4">
<label for="l_name">Sponsorship</label>
<select class = "selectpicker form-control" id = "sponsor" name="sponsor">
<!-- FETCH LIST FROM THE DB -->
<option value="" disabled selected hidden><?php echo $row['name']; ?></option>
<option>Private</option>
<option>Scholarship</option>
<option>Divorced</option>
</select>
</div>
<div class="col-sm-4">
<!-- FETCH LIST FROM THE DB -->
<label for="l_name">Study Type</label>
<input type="text" class="form-control"
id="study_type" placeholder="<?php echo $row['study_type']; ?>" readonly>
</div>
</div>
<div class="row">
<div class="col-sm-3">
<a type="submit" href="#" class="btn btn-primary btn-block">
Save Changes
</a>
</div>
</div>
</form>
</div>
</div>
</div>
</div>
</div>
<div class="tab-pane fade" id="bills" role="tabpanel" aria-labelledby="example-tab">
<h5 class="card-title">Bills</h5>
<!-- STUDENTS BILLS-->
<div class="card shadow mb-4">
<div class="card-header py-6">
<div class="row">
<div class="col-md-10 m-0 font-weight-bold text-primary">
<h4>Pending Bills</h4>
<div class="font-weight-bold text-success">
<?php
if(isset($_GET['success'])){
$_SESSION['message'] = 'Your bill has been created';
$message = $_SESSION['message'];
echo $message;
}
?>
</div>
</div>
<div class="col-md-2 m-0 float-right">
<button class="btn btn-primary btn-sm float-right" data-toggle="modal" data-target="#billForm">Create Bill</button>
</div>
</div>
</div>
<div class="card-body">
<div class="table-responsive">
<table class="table table-bordered" id="dataTable" width="100%" cellspacing="0">
<thead>
<tr>
<th>Bill Name</th>
<th>Control Number</th>
<th>Date Created</th>
<th>Amount</th>
<th>Status</th>
<th>Action</th>
</tr>
</thead>
<tbody>
<?php
$sql = "SELECT * FROM `student_bill_view` where email = '$email' && status='pending'";
if ($sql_results = mysqli_query($conn, $sql)){
while($row = mysqli_fetch_assoc($sql_results)){
echo "<tr>";
echo "<td>".$row['bill_name']." </td>";
echo "<td>".$row['control_no']." </td>";
echo "<td>".$row['date_created']." </td>";
echo "<td>".$row['amount']." </td>";
echo "<td><span class='badge badge-warning'>".$row['status']."</span></td>";
echo "<td><button class='btn btn-success btn-sm btn-block'> Pay </button></td>";
echo "</tr>";
}
}
?>
</tbody>
</table>
</div>
</div>
</div>
</div>
<div class="tab-pane fade" id="payments" role="tabpanel" aria-labelledby="example-tab">
<h5 class="card-title">Payments</h5>
<!-- STUDENTS' PAYMENTS-->
<div class="card shadow mb-4">
<div class="card-header py-6">
<div class="row">
<div class="col-md-10 m-0 font-weight-bold text-primary">
<h4>Paid Bills</h4>
<div class="font-weight-bold text-success">
<?php
if(isset($_GET['bill-id'])){
$_SESSION['message'] = 'Your bill has been paid';
$message = $_SESSION['message'];
echo $message;
}
?>
</div>
</div>
</div>
</div>
<div class="card-body">
<div class="table-responsive">
<table class="table table-bordered" id="dataTable" width="100%" cellspacing="0">
<thead>
<tr>
<th>Bill Name</th>
<th>Control Number</th>
<th>Date Created</th>
<th>Amount</th>
<th>Status</th>
<th>Action</th>
</tr>
</thead>
<tbody>
<?php
$sql = "SELECT * FROM `student_bill_view` where email = '$email' && status='paid'";
if ($sql_results = mysqli_query($conn, $sql)){
while($row = mysqli_fetch_assoc($sql_results)){
echo "<tr>";
echo "<td>".$row['bill_name']." </td>";
echo "<td>".$row['control_no']." </td>";
echo "<td>".$row['date_created']." </td>";
echo "<td>".$row['amount']." </td>";
echo "<td><span class='badge badge-warning'>".$row['status']."</span></td>";
echo "<td><button class='btn btn-success btn-sm btn-block'> Print </button></td>";
echo "</tr>";
}
}
?>
</tbody>
</table>
</div>
</div>
</div>
</div>
<div class="tab-pane fade" id="document" role="tabpanel" aria-labelledby="document-tab">
<h5 class="card-title">Documents</h5>
<div class="card shadow mb-4 card-header-actions">
<div class="card-header">My Documents
<?php
if(isset($_GET['success'])){
echo "<label class='alert-success small'>Document Uploaded</label>";
}else if (isset($_GET['failed'])){
echo "<label class='alert-warning'>Document Upload Failed</label>";
}else if (isset($_GET['none'])){
echo "<label class='alert-warning'>No file</label>";
}else if (isset($_GET['problem'])){
echo "<label class='alert-warning'>There is a problem with a file</label>";
}else if(isset($_GET['deleted'])){
echo "<label class='alert-warning'>A file has been deleted</label>";
}else if(isset($_GET['deleted_failed'])){
echo "<label class='alert-warning small'>Deletion failed</label>";
}
?>
<button class="btn btn-primary btn-sm float-right" data-toggle="modal" data-target="#doc-upload">Upload</button>
</div>
<div class="card-body">
<div class="table-responsive">
<table class="table table-bordered" id="dataTable" width="100%" cellspacing="0">
<thead>
<tr>
<th>File Name</th>
<th>Document Category</th>
<th>Document Type</th>
<th>Status</th>
<th>Actions</th>
</tr>
</thead>
<tbody>
<?php
$sql = "SELECT * FROM document_category, document_type, student_document, student
where document_category.document_category_id = document_type.document_category_id
AND document_type.document_type_id = student_document.document_type_id AND
student.student_id = student_document.student_id AND email = '$email'";
if($student_results = mysqli_query($conn, $sql)){
while ($row = mysqli_fetch_assoc($student_results)) {
echo "<tr>";
echo "<td>".$row['document_type']." </td>";
echo "<td>".$row['document_cat']." </td>";
echo "<td>".$row['document_type']." </td>";
echo "<td> <span class='badge badge-success'>Uploaded</span></td>";
echo "<td><a href='documents/$row[file]' target='_blank'><i class='fas fa-eye fa-sm'></i></a>  ";
echo "<a href='student-delete-document.php?file=".$row['file']."'><i class='fas fa-trash-alt fa-sm'></i></a>  ";
echo "<a href='documents/$row[file]' download><i class='fas fa-download fa-sm'></i></a>  ";
echo "<a href='#'><i class='fas fa-ellipsis-v fa-sm'></i></a>";
echo "</td>";
echo "</tr>";
}
}
?>
<!-- DOCUMENT UPLOAD TOGGLE-->
<div id="doc-upload" class="modal" role="dialog">
<div class="modal-dialog">
<!-- Modal content-->
<div class="modal-content">
<div class="modal-header">
<div class="card-header">
<div class="row block">
<h5 class="modal-title">Document Upload</h5>
<button type="button" class="close" data-dismiss="modal">×</button>
</div>
</div>
</div>
<div class="card-body">
<form method="post" action="student-upload-document-action.php" enctype="multipart/form-data">
<div class="form-group">
<label for="student">This is you Uploading</label>
<select name="student" class="form-control" id="student">
<?php
$sql = "SELECT * from student WHERE email = '$email'";
if($sql_results = mysqli_query($conn, $sql)){
while($row = mysqli_fetch_assoc($sql_results)){
echo "<option name='student' value=".$row['student_id'].">".$row['f_name']." ".$row['l_name']."</option>";
}
}
?>
</select>
</div>
<div class="form-group">
<label for="doc-type">Document Type</label>
<select name="doc-type" class="form-control" id="bill">
<?php
$sql = "SELECT * from document_type";
if($sql_results = mysqli_query($conn, $sql)){
while($row = mysqli_fetch_assoc($sql_results)){
echo "<option value=".$row['document_type_id'].">".$row['document_type']."</option>";
}
}
?>
</select>
</div>
<div class="form-group">
<label>File | </label><label class="text-danger small"> PDF only</label>
<input class="form-control" name="file" type="file" accept="application/pdf">
</div>
<input class="btn btn-primary btn-sm" type="submit" name="submit" value="submit"></input>
</form>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<!--BILL FORM MODEL-->
<div id="billForm" class="modal fade" role="dialog">
<div class="modal-dialog">
<!-- Modal content-->
<div class="modal-content">
<div class="modal-header">
<div class="card-header">
<div class="row block">
<h5 class="modal-title">Bill</h5>
<button type="button" class="close" data-dismiss="modal">×</button>
</div>
</div>
</div>
<div class="card-body">
<form method = "POST" action="student-bill-post.php">
<div class="form-group">
<label for="bill">Choose Bill</label>
<select class="form-control" id="bill" name="bill">
<?php
$sql = "SELECT * from bill";
if($sql_results = mysqli_query($conn, $sql)){
while($row = mysqli_fetch_assoc($sql_results)){
echo "<option name='bill' value=".$row['bill_id'].">".$row['bill_name']."</option>";
}
}
?>
</select>
</div>
<div class="form-group">
<label for="amount">Amount</label>
<input class="form-control" id="amount" name="amount" type="number" placeholder="Enter Amount">
</div>
<button class="btn btn-primary btn-sm" type="submit">Create</button>
</form>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>
</div>
<!-- /.container-fluid -->
</div>
<!-- End of Main Content -->
<!-- Footer -->
<?php include 'footer.php'; ?>
<!-- End of Footer -->
</div>
<!-- End of Content Wrapper -->
</div>
<!-- End of Page Wrapper -->
<!-- Scroll to Top Button-->
<a class="scroll-to-top rounded" href="#page-top">
<i class="fas fa-angle-up"></i>
</a>
<!-- Logout Modal-->
<?php include 'logout-modal.php'; ?>
<!-- Bootstrap core JavaScript-->
<script src="vendor/jquery/jquery.min.js"></script>
<script src="vendor/bootstrap/js/bootstrap.bundle.min.js"></script>
<!-- Core plugin JavaScript-->
<script src="vendor/jquery-easing/jquery.easing.min.js"></script>
<!-- Page level plugins -->
<script src="vendor/datatables/jquery.dataTables.min.js"></script>
<script src="vendor/datatables/dataTables.bootstrap4.min.js"></script>
<!-- Custom scripts for all pages-->
<script src="js/sb-admin-2.min.js"></script>
<!-- Page level custom scripts -->
<script src="js/demo/datatables-demo.js"></script>
</body>
</html>