diff --git a/public/header.php b/public/header.php index c5e6d98..792e2e4 100644 --- a/public/header.php +++ b/public/header.php @@ -11,14 +11,14 @@ // Destroy the session and redirect to login session_unset(); session_destroy(); - header("Location: login.php"); + header("Location: /login.php"); exit(); } } // Update last activity timestamp $_SESSION['last_activity'] = time(); } else { - header("Location: login.php"); + header("Location: /login.php"); exit(); } diff --git a/public/login.php b/public/login.php index 3a2382d..ea877dd 100644 --- a/public/login.php +++ b/public/login.php @@ -1,105 +1,98 @@ + - - - - - - - - - + + SCF Processing Login + + + + -
-
-
-
Staff Login - +
+
+
+ Staff Login - if ($login === 'false') { - echo '

Login failed. Please try again.

'; - } - - - - - ?> -
- - - -
-
-
account_circle - + + + + + + +
+
+
+
+ lock + + +
+
-?> - - + +
-
-
-
lock - - -
-
- - -
+
-
-
- - - - - - - - - - + + + \ No newline at end of file diff --git a/public/refile/include/refresh.php b/public/refile/include/refresh.php index 3307e94..0774484 100644 --- a/public/refile/include/refresh.php +++ b/public/refile/include/refresh.php @@ -1,20 +1,18 @@ \ No newline at end of file + resetTimer(); + \ No newline at end of file