-
Notifications
You must be signed in to change notification settings - Fork 0
/
show-queue.php
116 lines (116 loc) · 8.66 KB
/
show-queue.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
<?php
include "views/header.php";
include "controller/anak-controller.php";
include "controller/kandungan-controller.php";
?>
<script type="text/javascript">
var antrian = setInterval(
function(){
$('#antrian').load('show-queue.php').fadeIn("slow");
}, 1000);
</script>
<div class="content mt-3">
<div class="animated fadeIn">
<div class="row">
<div class="col-lg-12">
<div class="card">
<div class="card-header">
<strong>Poli Anak</strong>
</div>
<div class="card-body">
<table class="table">
<thead>
<tr>
<th scope="col"><center>Dokter</th>
<th scope="col"><center>Antrian</th>
<th scope="col"><center>Total</th>
<th scope="col"><center>Dilayani</th>
</tr>
</thead>
<tbody>
<div id="antrian">
<tr>
<td><center>
<?php
if(!$anak_nama_dokter){
?>
Tutup
<?php
}else{
?>
<?php echo $anak_nama_dokter?>
<?php
}
?>
</td>
<td><center>A<?php echo $anak_ant; ?></td>
<td><center><?php echo $anak_max; ?></td>
<td><center><?php echo $anak_ant;?></td>
</tr>
</div>
</tbody>
</table>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-lg-12">
<div class="card">
<div class="card-header">
<strong>Poli Kandungan</strong>
</div>
<div class="card-body">
<table class="table">
<thead>
<tr>
<th scope="col"><center>Dokter</th>
<th scope="col"><center>Antrian</th>
<th scope="col"><center>Total</th>
<th scope="col"><center>Dilayani</th>
</tr>
</thead>
<tbody>
<div id="antrian">
<tr>
<td><center>
<?php
if(!$kandungan_nama_dokter){
?>
Tutup
<?php
}else{
?>
<?php echo $kandungan_nama_dokter?>
<?php
}
?>
</td>
<td><center>B<?php echo $kandungan_ant; ?></td>
<td><center><?php echo $kandungan_max; ?></td>
<td><center><?php echo $kandungan_ant;?></td>
</tr>
</div>
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
</div>
<nav class="nav-bottom">
<a href="help" class="nav-bottom__link">
<i class="material-icons nav-bottom__icon">help_outline</i>
<span class="nav-bottom__text">Help</span>
</a>
<a href="https://pendaftaran.rskiarachmi.co.id/" class="nav-bottom__link nav-bottom__link--active">
<i class="material-icons nav__icon">dashboard</i>
<span class="nav-bottom__text">Home</span>
</a>
<a href="https://pendaftaran.rskiarachmi.co.id/" class="nav-bottom__link">
<i class="material-icons nav-bottom__icon">arrow_back</i>
<span class="nav-bottom__text">Back</span>
</a>
</nav>
<?php include "views/footer.php"; ?>