<?php
session_start();
require_once 'includes/config.php';
require_once 'includes/auth.php';
require_once 'includes/functions.php';

echo "<h2>Debug Auth Functions</h2>";
echo "isLoggedIn: " . (isLoggedIn() ? 'true' : 'false') . "<br>";
echo "isAdmin: " . (isAdmin() ? 'true' : 'false') . "<br>";
echo "isPenguji: " . (isPenguji() ? 'true' : 'false') . "<br>";

echo "<h2>Session Data</h2>";
echo "<pre>";
print_r($_SESSION);
echo "</pre>";
?>