27 lines
690 B
PHP
27 lines
690 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">
|
|
|
|
<div class="d-flex justify-content-between align-items-center mb-4">
|
|
<h1 class="h3 mb-0 text-gray-800"><?php echo htmlspecialchars($page_title); ?></h1>
|
|
<a href="index.php" class="btn btn-secondary">
|
|
<i data-feather="arrow-left" class="mr-2"></i>Kembali ke Dashboard
|
|
</a>
|
|
</div>
|
|
<p>Settings page content goes here.</p>
|
|
</div>
|
|
|
|
<?php require_once 'partials/footer.php'; ?>
|