forked from Hasinish/bracusync
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.php
More file actions
45 lines (40 loc) · 1.45 KB
/
Copy pathindex.php
File metadata and controls
45 lines (40 loc) · 1.45 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
<?php
session_start();
require_once 'connect.php';
if (!isset($_SESSION['user_id'])) {
header("Location: Login/loginpage.php");
exit();
} ?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>BracuSync — Home</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="bg-overlay"></div>
<main>
<header>
<h1>BracuSync</h1>
<p>Your portal to connect and collaborate</p>
</header>
<nav>
<a href="index.php" class="active">Home</a>
<a href="Profile_dashboard/profile.php">Profile</a>
<a href="lost_and_found/lost_and_foundpage.php">Lost And Found</a>
<a href="Resource_Repository/resourcepage.php">Resource Repository</a>
<a href="search_user.php">Search User</a>
<a href="logout.php">Logout</a>
</nav>
<div class="container">
<h1>Welcome, <?= ($_SESSION['username']); ?> to BracuSync!</h1>
<p>This is a simple and secure platform for students to log in, register, and access services easily. Get started by going to your profile and editing your routine, adding courses, and find out what's happeing in your groups.</p>
</div>
</main>
<footer class="site-footer">
© 2025 Brac University. All rights reserved.
</footer>
</body>
</html>