31 lines
844 B
PHP
31 lines
844 B
PHP
<?php
|
|
require_once 'auth.php';
|
|
|
|
// Restrict access to Administrators
|
|
if ($_SESSION['user']['role'] !== 'Administrator') {
|
|
header('Location: index.php');
|
|
exit;
|
|
}
|
|
|
|
$page_title = 'Operators';
|
|
|
|
require_once 'partials/header.php';
|
|
?>
|
|
|
|
<div class="container-fluid">
|
|
<div class="d-flex justify-content-between align-items-center">
|
|
<h1 class="h3 mb-0 text-gray-800"><?php echo htmlspecialchars($page_title); ?></h1>
|
|
<div>
|
|
<a href="index.php" class="btn btn-secondary mr-2">
|
|
<i data-feather="arrow-left" class="mr-1"></i> Kembali
|
|
</a>
|
|
<button class="btn btn-primary"><i data-feather="plus" class="mr-2"></i>Add Operator</button>
|
|
</div>
|
|
</div>
|
|
<hr>
|
|
<p>Operator management page content goes here.</p>
|
|
|
|
</div>
|
|
|
|
<?php require_once 'partials/footer.php'; ?>
|