diff --git a/dashboard.php b/dashboard.php new file mode 100644 index 0000000..52e4c12 --- /dev/null +++ b/dashboard.php @@ -0,0 +1,56 @@ + + + + + + + Dashboard + + + +
+
+

Dashboard

+ Logout +
+ +

Welcome, !

+ +
+

Event Schedule

+

(Coming soon)

+ + + + + + + + + + + + + + + + + + + + + + + +
#EventDateTime
1Team Meeting2025-09-0110:00 AM
2Project Deadline2025-09-055:00 PM
+
+
+ + diff --git a/index.php b/index.php index f7ae6b8..c5a797c 100644 --- a/index.php +++ b/index.php @@ -1,5 +1,13 @@ '/']); +session_start(); + +if (isset($_SESSION['user'])) { + header('Location: dashboard.php'); + exit; +} + @ini_set('display_errors', '1'); @error_reporting(E_ALL); @date_default_timezone_set('UTC'); @@ -94,6 +102,7 @@ $now = date('Y-m-d H:i:s');

Welcome!

Your project is ready to conquer the peaks.

PHP version:

+

Logout