-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
36 lines (34 loc) · 1001 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
<?php
session_start();
?>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=Edge">
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
<title>
<?php
if ($_SESSION['status'] === '') {
header('location:login.php?message=ditolak');
};
?>
<?= ucfirst($_SESSION['level']); ?> |
<?php echo ucfirst($_GET['page']); ?>
</title>
<?php include "include/link.php" ?>
</head>
<body class="theme-red">
<?php include "koneksi.php"; ?>
<!-- hapus baris include/loader jika load page terus agar terlihat errornya:) -->
<?php include "include/loader.php" ?>
<?php include "include/topbar.php" ?>
<section>
<?php include "include/sidebar.php" ?>
</section>
<section class="content">
<?php include "content.php"; ?>
</section>
<?php include "include/script.php" ?>
</body>
</html>