-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcodex
90 lines (54 loc) · 2.16 KB
/
codex
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
//Dash board Template Code
<?php
session_start();
error_reporting(0);
if (!isset($_SESSION['logged_in'])) {
header("Location: ../home?e=Session Expired.. Please Login to Proceed!!");
exit();
}
else {
// Session Data for the Administrator
error_reporting(E_ALL & E_NOTICE);
include 'classes/dbclass.php';
//Session Data
$id = $_SESSION['ID'];
$username = $_SESSION['username'];
$user_role = $_SESSION['role'];
$user_email = $_SESSION['email'];
}
?><!-- Header Files -->
<?php include_once 'includes/header.php'; ?>
<?php include_once 'includes/navigation.php'; ?>
<!-- Header Files -->
<!-- Database Files -->
<!-- Database Files -->
<!-- Wrapper Starts-->
<div id="wrapper">
<!-- Page Content Starts -->
<div id="page-wrapper">
<div class="container-fluid">
<!-- Error Alert -->
<div class="dashboard_alert">
<?php include_once 'includes/errors.php'; ?>
</div>
<!-- Error Alert -->
<!--Dashboard Content -->
<div class="row">
<div class="col-lg-12">
<h1 class="page-header">Page Name</h1>
</div>
</div>
<!--Dashboard Content -->
</div>
</div>
<!-- Page Content Ends-->
</div>
<!-- Wrapper Ends-->
<?php include_once 'includes/footer.php'; ?>
<?php ?>
<div class="well">
<h4>DataTables Usage Information</h4>
<p>DataTables is a very flexible, advanced tables plugin for jQuery. In SB Admin, we are using a specialized version of DataTables built for Bootstrap 3.
We have also customized the table headings to use Font Awesome icons in place of images. For complete documentation on DataTables, visit their website at <a target="_blank" href="https://datatables.net/">https://datatables.net/</a>.</p>
<a class="btn btn-default btn-lg btn-block" target="_blank" href="https://datatables.net/">View DataTables Documentation</a>
</div>