<?php require __DIR__ . '/_bootstrap.php'; ?>
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8" />
  <meta name="viewport" content="width=device-width, initial-scale=1" />
  <title>Admin Panel</title>
  <link rel="icon" type="image/svg+xml" href="/public/img/umis_logo.svg">
  <link rel="stylesheet" href="<?php echo url_for('/public/css/admin.css'); ?>">
</head>
<body>
  <div class="layout">
    <aside class="sidebar">
      <div class="brand">
        <img src="<?php echo url_for('/public/img/umis_logo.svg'); ?>" alt="Logo" />
        <span>Admin</span>
      </div>
      <nav>
        <a href="<?php echo url_for('/admin/dashboard.php'); ?>" class="<?php echo basename($_SERVER['SCRIPT_NAME'])==='dashboard.php'?'active':''; ?>">Dashboard</a>
        <a href="<?php echo url_for('/admin/students.php'); ?>" class="<?php echo basename($_SERVER['SCRIPT_NAME'])==='students.php'?'active':''; ?>">Students</a>
        <a href="<?php echo url_for('/admin/admins.php'); ?>" class="<?php echo basename($_SERVER['SCRIPT_NAME'])==='admins.php'?'active':''; ?>">Admins</a>
        <a href="<?php echo url_for('/admin/logout.php'); ?>">Logout</a>
      </nav>
    </aside>
    <main class="content">
