-
Notifications
You must be signed in to change notification settings - Fork 0
/
billinginfo.php
123 lines (118 loc) · 4.2 KB
/
billinginfo.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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
<?php
session_start();
include("includes/header.php");
include("includes/conn.php");
$result= mysqli_query($con,"SELECT * FROM admin where admin_id=$_SESSION[admin_id]");
$resbranch= mysqli_query($con,"SELECT * from branch where branch_id=$_SESSION[branch_id]");
$rows = mysqli_fetch_array($resbranch)
?>
<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>Patient Payment Information</h2>
<form id="form" name="form1" method="post" action="">
<p>
<label for="fname2" class="left"> </label>
</p>
<table width="547" border="0">
<tr>
<td width="136"><label for="patname">Branch Name:</label></td>
<td width="150"><?php echo $rows[branch_name];?></td>
<td width="104">Doctor Name:</td>
<td width="139"><label for="group"></label></td>
</tr>
<tr>
<td><label for="patname">Patient Name:</label></td>
<td><label for="patname"></label>
<input type="text" name="patname" id="patname" /></td>
<td> </td>
<td> </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>";
}
?>
</table>
<table width="300" border="1">
<tr>
<td width="139">Date</td>
<td width="145"> </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>Product Name</td>
<td> </td>
</tr>
<tr>
<td>Total Amount</td>
<td> </td>
</tr>
<tr>
<td>Advance Payment</td>
<td> </td>
</tr>
<tr>
<td>Pending Amount</td>
<td> </td>
</tr>
<tr>
<td>Status</td>
<td> </td>
</tr>
</table>
<p> </p>
<p> </p>
</form>
<h1> </h1><form id="form3" name="form1" method="post" action="">
<p> </p>
</form>
</form>
</div>
</div>
<div class="cleaner"></div>
</div>
<?php
include("includes/footer.php");
?>