-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathheader.php
More file actions
120 lines (97 loc) · 3.09 KB
/
Copy pathheader.php
File metadata and controls
120 lines (97 loc) · 3.09 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
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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
<?php
#admin version
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"] == "Search Person Addhar")
echo'<a href="Search Person Addhar.php" class = "active">Search Person Addhar</a>';
else
echo'<a href="Search Person Addhar.php">Search Person Addhar</a>';
echo '</li><li class="tabs">';
if ($_SESSION["tab"] == "Update Person")
echo'<a href="Update Person.php" class = "active">Update Person</a>';
else
echo'<a href="Update Person.php">Update 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"] == "List Donors")
echo'<a href="List Donors.php" class = "active">List Donors</a>';
else
echo'<a href="List Donors.php">List Donors</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">';
if ($_SESSION["tab"] == "Delete User")
echo'<a href="Delete User.php" class = "active">Delete User</a>';
else
echo'<a href="Delete User.php">Delete User</a>';
echo '</li><li class="tabs">';
?>
</ul>
</center>
<div class="contents">