-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathout-stock-blood-list.php
More file actions
68 lines (63 loc) · 2.21 KB
/
out-stock-blood-list.php
File metadata and controls
68 lines (63 loc) · 2.21 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
<?php
include('connection.php');
session_start();
$un=$_SESSION['un'];
if(!$un)
{
header("Location:index.php");
}
?>
<!DOCTYPE html>
<html>
<head>
<title>Out Of Stock Blood List</title>
<link rel="stylesheet" type="text/css" href="css/s1.css">
<style type="text/css">
td{
width: 200px;
height: 40px;
}
</style>
</head>
<body>
<div id="full">
<div id="inner_full">
<div id="header">
<h2><a href="admin-home.php" style="text-decoration: none;color: white;">Blood Bank Management System</a></h2>
</div>
<div id="body">
<br>
<h1>Exchanged Blood List</h1>
<center>
<div id="form">
<table>
<tr>
<td><center><b><font color="blue">Name</font></center></td>
<td><center><b><font color="blue">Mobile Number</font></center></td>
<td><center><b><font color="blue">Blood Group</font></center></td>
</tr>
<?php
$q=$db->query("SELECT * FROM out_stock_b");
while($r1=$q->fetch(PDO::FETCH_OBJ))
{
?>
<tr>
<td><center><?=$r1->name;?></center></td>
<td><center><?=$r1->mno;?></center></td>
<td><center><?=$r1->bname;?></center></td>
</tr>
<?php
}
?>
</table>
</div>
</center>
</div> <!-- Close #body -->
<div id="footer">
<h4 align="center">Copyright@myprojecthd</h4>
<p align="center"><a href="logout.php"><font color="white">Logout</font></a></p>
</div>
</div> <!-- Close #inner_full -->
</div> <!-- Close #full -->
</body>
</html>