-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.php
46 lines (38 loc) · 877 Bytes
/
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
<?php
require_once "../core/database.php";
session_start();
if (!isset($_SESSION['uid']) && !isset($_COOKIE['remember_me'])) {
header("location: ../index.php");
}
?>
<!DOCTYPE html>
<html lang="en">
<head>
<?php
include "commonADMIN/head.php"
?>
</head>
<body class="hold-transition sidebar-mini layout-fixed">
<div class="wrapper">
<?php
require_once "commonADMIN/sidebar.php"
?>
<!-- Content Wrapper. Contains page content -->
<div class="content-wrapper">
</div>
<!-- /.content-wrapper -->
<!-- Control Sidebar -->
<aside class="control-sidebar control-sidebar-dark">
<!-- Control sidebar content goes here -->
</aside>
<!-- /.control-sidebar -->
</div>
<!-- ./wrapper -->
<?php
require_once "commonADMIN/footer.php";
?>
<?php
require_once "commonADMIN/commonfooter.php";
?>
</body>
</html>