First Commit
This commit is contained in:
1 parent
5eb9dd037d
commit
2e62c0e60b
11877 files changed
+2035312
No files matched your search
@@ -0,0 +1,25 @@
|
||||
<?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'];
|
||||
|
||||
?>
|
||||
Reference in new issue
Block a user