-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathabout.php
51 lines (43 loc) · 1.96 KB
/
about.php
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
46
47
48
49
50
51
<?php
session_start();
require_once 'connection.php';
$regId = $_GET['regId'] ?? null;
// Display user's registration number
if ($regId) {
echo "Your registration number is: " . htmlspecialchars($regId);
} else {
echo "Registration number not found.";
}
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>About Us</title>
<!-- Include Bootstrap CSS -->
<link href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css" rel="stylesheet">
</head>
<body>
<nav class="navbar navbar-expand-lg navbar-dark bg-dark">
<a class="navbar-brand" href="#">
<img src="Assets/UoJ_logo.png" width="30" height="30" class="d-inline-block align-top" alt="">
Laboratory Management
</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNavAltMarkup" aria-controls="navbarNavAltMarkup" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarNavAltMarkup">
<div class="navbar-nav ml-auto">
<a class="nav-item nav-link" href="user.php?regId=<?= htmlspecialchars($regId) ?>">Home</a>
<a class="nav-item nav-link" href="equipment.php?regId=<?= htmlspecialchars($regId) ?>">Equipments</a>
<a class="nav-item nav-link active" href="#">About <span class="sr-only">(current)</span></a>
<a class="nav-item nav-link" href="contact.php?regId=<?= htmlspecialchars($regId) ?>">Contact</a>
</div>
</div>
</nav>
<div class="container mt-4">
<h2>About Us</h2>
<p>Welcome to the Laboratory Management System. Our mission is to provide efficient and reliable laboratory equipment management for students and staff. We are committed to ensuring that all equipment is available and maintained properly.</p>
</div>
</body>
</html>