-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnurse-home.php
113 lines (106 loc) · 6.36 KB
/
nurse-home.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
<?php
include("include/nurse-header.php");
?>
<!--MAIN Content-->
<!-- <div class="row clearfix">
<div class="col-lg-4 col-md-4 col-sm-12 text-center">
<div class="card overflowhidden">
<div class="body">
<h2 class="m-t-0 m-b-5">58</h2>
<p class="text-muted">General Appoinment Received</p>
</div>
<span id="linecustom1">10,20,45,68,12,34,65,12,93,45</span>
</div>
</div>
<div class="col-lg-4 col-md-4 col-sm-12 text-center">
<div class="card overflowhidden">
<div class="body">
<h2 class="m-t-0 m-b-5">40</h2>
<p class="text-muted ">Today's Total Admit </p>
</div>
<span id="linecustom2">21,42,51,63,25,34,31,65,24,15</span>
</div>
</div>
<div class="col-lg-4 col-md-4 col-sm-12 text-center">
<div class="card overflowhidden">
<div class="body">
<h2 class="m-t-0 m-b-5">18</h2>
<p class="text-muted">Today's Discharge</p>
</div>
<span id="linecustom3">1,5,3,6,6,3,6,8,4,2</span>
</div>
</div>
</div> -->
<div class="row clearfix">
<div class="col-lg-12">
<div class="card">
<div class="header">
<h2>Patient Status</h2>
</div>
<div class="body">
<div class="table-responsive ">
<table class="table m-b-0 table table-hover js-basic-example dataTable table-custom">
<thead class="thead-light">
<tr>
<th>Patient ID</th>
<th>Patients Name</th>
<th>Adress</th>
<th>Admit Date</th>
<th>Priority</th>
<th>Discription</th>
<th>Status</th>
</tr>
</thead>
<tbody>
<?php
$result = mysqli_query($conn,"SELECT * FROM hospital.admitpatients,hospital.patient where hospital.admitpatients.pid=hospital.patient.pid");
if($result){
while($row=mysqli_fetch_assoc($result)){
echo"
<tr>
<td>". $row['pid'] ."</td>
<td><span>". $row['name'] ."</span></td>
<td><span class='text-info'>". $row['caddress'] ."</span></td>
<td>". $row['dateTime'] ."</td>
<td><span class='badge badge-danger'>". $row['priority'] ."</span></td>
<td>". $row['admitDiscription'] ."</td>
</td>
<td><span class='badge badge-danger'>". $row['status'] ."</span></td>
</tr>";
}
}
?>
<!-- <tr>
<td>2</td>
<td><span>Jack Bird</span></td>
<td><span class="text-info">123 6th St. Melbourne, FL 32904</span></td>
<td>Sept 13, 2017</td>
<td><span class="badge badge-warning">MEDIUM</span></td>
<td><div class="progress progress-xs">
<div class="progress-bar-warning" role="progressbar" aria-valuenow="60" aria-valuemin="0" aria-valuemax="100" style="width: 100%;"> <span class="sr-only">100% Complete</span> </div>
</div>
</td>
<td><span class="badge badge-warning">Under Observ</span></td>
</tr>
<tr>
<td>3</td>
<td><span>Dean Otto</span></td>
<td><span class="text-info">123 6th St. Melbourne, FL 32904</span></td>
<td>Sept 13, 2017</td>
<td><span class="badge badge-success">LOW</span></td>
<td><div class="progress progress-xs">
<div class="progress-bar progress-bar-success" role="progressbar" aria-valuenow="15" aria-valuemin="0" aria-valuemax="100" style="width: 15%;"> <span class="sr-only">15% Complete</span> </div>
</div>
</td>
<td><span class="badge badge-success">Discharge</span></td>
</tr> -->
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
<?php
include("include/nurse-footer.php");
?>