-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathadmin.php
More file actions
48 lines (46 loc) · 1.47 KB
/
admin.php
File metadata and controls
48 lines (46 loc) · 1.47 KB
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
<?php
/*
Fill in phpVariables with values from Database later.
*/
session_start();
require_once("config.php");
if(!isset($_SESSION['sess_user_id'])){
header('Location: login.php');
}
?>
<html>
<head>
<title> <?= $webTitle; ?> </title>
<?php $page = "admin" //setting page for include ?>
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- Calling JS -->
<!-- Latest compiled and minified Jquery JavaScript -->
<script src="js/jquery.min.js"></script>
<!-- Bootstrap 4 and Tether -->
<script src="js/tether/tether.min.js"></script>
<script src="js/bootstrap/bootstrap.min.js"></script>
<!-- Custom JS -->
<script src="js/Navjs.js"></script>
<!-- End Of JS -->
<!-- Bootstrap 4, Tether, Fontawesome -->
<link rel="stylesheet" href="css/tether/tether.min.css">
<link rel="stylesheet" href="css/bootstrap/bootstrap.min.css">
<link rel="stylesheet" href="css/fontawesome/font-awesome.min.css">
<link rel="stylesheet" href="css/social.css">
<!-- Custom CSS -->
<link rel="stylesheet" href="css/style.css">
</head>
<body>
<?php @include_once "views/social.php"; ?>
<div class="container" style="width:95%;">
<div class="row">
<div class="wrapper">
<?php include_once "views/nav/index.php" ?>
<?php include_once "views/$page/index.php" ?>
</div>
</div>
</div>
</body>
</html>