-
Notifications
You must be signed in to change notification settings - Fork 19
/
Copy pathheader.php
96 lines (76 loc) · 2.27 KB
/
header.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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
<?php
include('connection.php');
echo '
<!DOCTYPE html>
<html>
<head>
<title>
Blood Bank Management System
</title>
<link rel="stylesheet" type="text/css" href="css/main.css">
</head>
<body>
<div class="header">
<div class ="title">
<img src="res/images/logo.png" height = "45" width="45" align="top">
BLOOD BANK MANAGEMENT SYSTEM
</div><br>
<a href="logout.php">
<button class="btn logout">
Logout
</button></a>
</div>
<div class="container">
<center>
<ul class="tabsWraper">
<li class="tabs">';
if ($_SESSION["tab"] == "Home")
echo'<a href="Home.php" class = "active">Home</a>';
else
echo'<a href="Home.php">Home</a>';
echo '</li><li class="tabs">';
if ($_SESSION["tab"] == "Add Person")
echo'<a href="Add Person.php" class = "active">Add Person</a>';
else
echo'<a href="Add Person.php">Add Person</a>';
echo '</li><li class="tabs">';
if ($_SESSION["tab"] == "Search Person")
echo'<a href="Search Person.php" class = "active">Search Person</a>';
else
echo'<a href="Search Person.php">Search Person</a>';
echo '</li><li class="tabs">';
if ($_SESSION["tab"] == "New Donation")
echo'<a href="New Donation.php" class = "active">New Donation</a>';
else
echo'<a href="New Donation.php">New Donation</a>';
echo '</li><li class="tabs">';
if ($_SESSION["tab"] == "New Receive")
echo'<a href="New Receive.php" class = "active">New Receive</a>';
else
echo'<a href="New Receive.php">New Receive</a>';
echo '</li><li class="tabs">';
if ($_SESSION["tab"] == "Check Stock")
echo'<a href="Check Stock.php" class = "active">Check Stock</a>';
else
echo'<a href="Check Stock.php">Check Stock</a>';
echo '</li><li class="tabs">';
if ($_SESSION["tab"] == "Donation History")
echo'<a href="Donation History.php" class = "active">Donation History</a>';
else
echo'<a href="Donation History.php">Donation History</a>';
echo '</li><li class="tabs">';
if ($_SESSION["tab"] == "Receiving History")
echo'<a href="Receiving History.php" class = "active">Receiving History</a>';
else
echo'<a href="Receiving History.php">Receiving History</a>';
echo '</li><li class="tabs">';
if ($_SESSION["tab"] == "Add User")
echo'<a href="Add User.php" class = "active">Add User</a>';
else
echo'<a href="Add User.php">Add User</a>';
echo '</li><li class="tabs">';
?>
</ul>
</center>
<div class="contents">