Closed norhusna closed 3 years ago
Admin Login
Staff Login
<?php include("../functions.php");
if((isset($_SESSION['uid']) && isset($_SESSION['username']) && isset($_SESSION['user_level'])) ) {
if($_SESSION['user_level'] == "admin") {
header("Location: index.php");
}
}
?>
<!DOCTYPE html>
<?php include("../functions.php");
if((isset($_SESSION['uid']) && isset($_SESSION['username']) && isset($_SESSION['user_level'])) ) {
if($_SESSION['user_level'] == "staff") {
header("Location: index.php");
}
}
?>
<!DOCTYPE html>
the change request updated
Reason for change: The registration system helps users log in and make online ordering.