-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvolnav.php
58 lines (47 loc) · 1.3 KB
/
volnav.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
52
53
54
55
56
57
58
<html>
<head>
<title> </title>
<style>
a{
padding: 1.3em;
text-decoration: none;
color: #284c54;
text-align : center;
}
*{
background-color:#e8e4e4;
}
h1{
text-align: center;
}
a:hover{
color: yellow;
}
.bold{
font-size:1.2em;
font-weight:bold;
}
hr{
border-width: 0.2em;
}
</style>
</head>
<body>
<h1> APATH </h1>
<hr>
<br><br>
<?php
$current_page = basename($_SERVER['PHP_SELF']);
echo '
<nav style="text-align: center; color: green; font-size: 1.5em;">
<a href="volunteerhome.php" class="' . ($current_page == "volunteerhome.php" ? "bold" : "") . '">Home</a>
<a href="volunteerprofile.php" class="' . ($current_page == "volunteerprofile.php" ? "bold" : "") . '">Personal Profile</a>
<a href="volunteercar.php" class="' . ($current_page == "volunteercar.php" ? "bold" : "") . '">Car Info</a>
<a href="checkpickupneed.php" class="' . ($current_page == "checkpickupneed.php" ? "bold" : "") . '">Check Pickup Need</a>
<a href="pickupassignment.php" class="' . ($current_page == "pickupassignment.php" ? "bold" : "") . '">Pickup Assignment</a>
<a href="logout.php" class="' . ($current_page == "logout.php" ? "bold" : "") . '">Logout</a>
</nav>
';
?>
</body>
</html>