Files
2026-10-19 15:22:52 -07:00

26 lines
517 B
PHP

<?php
//
// Verify that a valid admin user is logged before allowing access to this page
//
// Verify that user session is active
if (SessionActive() != 1) {
$error_message = "Your Session Has Expired";
include "login.html";
exit();
}
// Check if user is logged in
if (! UserLoggedIn()) {
$error_message = "You Are Not Logged In";
include "login.html";
exit();
}
// Set up local variables
$current_user_name = $_SESSION['UserInfo']['first_name'] . " " . $_SESSION['UserInfo']['last_name'];
?>