Repository navigation
Expand file tree
/
Copy pathheader.php
More file actions
executable file
·42 lines (38 loc) · 1.41 KB
/
Copy pathheader.php
File metadata and controls
executable file
·42 lines (38 loc) · 1.41 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
<?php
// This is a placeholder for the session start and any other logic that was in the original header.
// session_start(); // Uncomment if you have session-based logic for navigation
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Car Parking System</title>
<link rel="stylesheet" href="css/style.css">
<link rel="icon" href="img/favicon.png" type="image/png">
</head>
<body>
<header>
<nav class="apple-nav">
<ul class="apple-nav-list">
<li class="apple-nav-logo">
<a href="index.php" style="display: flex; align-items: center; gap: 8px;">
<img src="img/favicon.png" alt="CPS Logo" style="height: 20px; width: auto;">
CPS
</a>
</li>
<li><a href="index.php">Home</a></li>
<?php if (isset($_SESSION['log'])): ?>
<li><a href="dashboard.php">Dashboard</a></li>
<li><a href="book.php">Book Slot</a></li>
<li><a href="logout.php">Logout</a></li>
<?php
else: ?>
<li><a href="signin.php">Sign In</a></li>
<li><a href="signup.php">Sign Up</a></li>
<?php
endif; ?>
</ul>
</nav>
</header>
<main class="main-container">