-
Notifications
You must be signed in to change notification settings - Fork 0
/
viewadmin.php
78 lines (75 loc) · 2.76 KB
/
viewadmin.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
<?php
include("includes/header.php");
?>
<div id="templatemo_main">
<div id="sidebar" class="float_l">
<div class="sidebar_box"><span class="bottom"></span>
<h3>Categories</h3>
<div class="content">
<ul class="sidebar_list">
<li class="first"><a href="#">Aenean varius nulla</a></li>
<li><a href="#">Cras mattis arcu</a></li>
<li><a href="#">Donec turpis ipsum</a></li>
<li><a href="#">Fusce sodales mattis</a></li>
<li><a href="#">Maecenas et mauris</a></li>
<li><a href="#">Mauris nulla tortor</a></li>
<li><a href="#">Nulla odio ipsum</a></li>
<li><a href="#">Nunc ac viverra nibh</a></li>
<li><a href="#">Praesent id venenatis</a></li>
<li><a href="#">Quisque odio velit</a></li>
<li><a href="#">Suspendisse posuere</a></li>
<li><a href="#">Tempus lacus risus</a></li>
<li><a href="#">Ut tincidunt imperdiet</a></li>
<li><a href="#">Vestibulum eleifend</a></li>
<li class="last"><a href="#">Velit mi rutrum diam</a></li>
</ul>
</div>
</div>
</div>
<div id="content" class="float_r">
<h2>View Admin</h2>
<form id="form3" name="form1" method="post" action="">
<p>
<label for="fname" class="left"> </label>
<label for="patname">Search Name</label>
<input type="text" name="patname" id="patname" />
<label for="group">By</label>
<select name="group" id="group">
</select>
Search
<input type="submit" name="search" id="search" value="Search" />
</p>
<table width="458" border="1">
<tr>
<td width="155">Admin Name</td>
<td width="146">Branch</td>
<td width="135">Contact No</td>
</tr>
<?php
while($row = mysqli_fetch_array($result))
{
echo "<tr>";
echo "<td>" . $row[fname] . "</td>";
echo "<td>" . $row[lname] . "</td>";
echo "<td>" . $row[gender] . "</td>";
echo "<td>" . $row[dob] . "</td>";
echo "<td>" . $row[contact] . "</td>";
echo "</tr>";
}
?>
<tr>
<td> </td>
<td> </td>
<td> </td>
</tr>
</table>
<p> </p>
</form>
</form>
</div>
</div>
<div class="cleaner"></div>
</div>
<?php
include("includes/footer.php");
?>