21 lines
436 B
PHP
21 lines
436 B
PHP
<?php
|
|
require_once 'auth.php';
|
|
|
|
// Restrict access to Administrators
|
|
if ($_SESSION['user']['role'] !== 'Administrator') {
|
|
header('Location: index.php');
|
|
exit;
|
|
}
|
|
|
|
$page_title = 'Pengaturan';
|
|
|
|
require_once 'partials/header.php';
|
|
?>
|
|
|
|
<div class="container-fluid">
|
|
<h1 class="h3 mb-4 text-gray-800"><?php echo $page_title; ?></h1>
|
|
<p>Settings page content goes here.</p>
|
|
</div>
|
|
|
|
<?php require_once 'partials/footer.php'; ?>
|