<ul class="nav">
    <li><a href="dashboard.php">Dashboard</a></li>
    <li><a href="manage_students.php">Manage Students</a></li>
    <li><a href="manage_results.php">Results Approval</a></li>

    <?php if ($_SESSION['role'] == 'admin'): ?>
        <li class="menu-divider">Finance & Security</li>
        <li><a href="generate_pins.php">Generate Result PINs</a></li>
        <li><a href="pin_logs.php">View PIN Usage</a></li>
    <?php endif; ?>

    <li><a href="logout.php">Logout</a></li>
</ul>