add semakin imut
This commit is contained in:
@@ -0,0 +1,119 @@
|
||||
<!DOCTYPE html>
|
||||
<?php
|
||||
include "model/koneksi.php";
|
||||
include "header.php";
|
||||
if (empty($_SESSION['hak_akses']) && empty($_GET['isearch'])) {
|
||||
?>
|
||||
<script language="JavaScript">
|
||||
document.location = 'index.php';
|
||||
</script>
|
||||
<?php
|
||||
}
|
||||
|
||||
$hak_akses = $_SESSION['hak_akses'];
|
||||
$nama_login = $_SESSION['nama'];
|
||||
?>
|
||||
<html>
|
||||
|
||||
|
||||
|
||||
<body>
|
||||
|
||||
<div class="page-wrapper">
|
||||
|
||||
<!-- section -->
|
||||
|
||||
<div class="container-fluid" style="margin-top: 5pt;">
|
||||
|
||||
<div class="table-responsive ">
|
||||
<!-- Page Heading -->
|
||||
<table class="table table-stripped table-hover datatab">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>No</th>
|
||||
<th>Triage / Kode</th>
|
||||
<th>Nama</th>
|
||||
<th>Register</th>
|
||||
<th>SMF</th>
|
||||
<th>Status Keluar</th>
|
||||
<th>Waktu Tunggu</th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
<?php
|
||||
include "model/dashboard.php";
|
||||
|
||||
$no = 1;
|
||||
while ($data = mysqli_fetch_assoc($query)) {
|
||||
|
||||
?>
|
||||
<tr style="font-size: 10pt;">
|
||||
<td>
|
||||
<a href="dataview.php?id_pasien=<?php echo $data['id_pasien']; ?>"><?= $no++ ?></a>
|
||||
</td>
|
||||
|
||||
<td>
|
||||
<?php echo $data['triage']; ?> | <?php echo $data['nik']; ?>
|
||||
</td>
|
||||
<td id="search_nama">
|
||||
<a class="btn btn-light" href="dataview.php?id_pasien=<?php echo $data['id_pasien']; ?>&st=<?= $data['status_tunggu'] ?>"><?= $data['nama'] ?></a>
|
||||
</td>
|
||||
<td><?php echo $data['register']; ?></td>
|
||||
<td><?php echo $data['smf']; ?></td>
|
||||
|
||||
<td id="status_keluar">
|
||||
<?= $data['status_keluar'] ?>
|
||||
|
||||
</td>
|
||||
|
||||
<td>
|
||||
<span><?php echo $data['waiting'] ?></span>
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
|
||||
<?php
|
||||
}
|
||||
|
||||
?>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
<?php
|
||||
|
||||
// tutup koneksi
|
||||
mysqli_close($open);
|
||||
?>
|
||||
<!-- Optional JavaScript; choose one of the two! -->
|
||||
|
||||
<!-- Option 1: Bootstrap Bundle with Popper -->
|
||||
<!-- <script src="js/bootstrap.bundle.min.js" integrity="sha384-MrcW6ZMFYlzcLA8Nl+NtUVF0sA7MsXsP1UyJoMp4YLEuNSfAP+JcXn/tWtIaxVXM" crossorigin="anonymous"></script> -->
|
||||
|
||||
<!-- Option 2: Separate Popper and Bootstrap JS -->
|
||||
|
||||
<!-- <script src="js/popper.min.js" integrity="sha384-IQsoLXl5PILFhosVNubq5LC7Qb9DXgDA9i+tQ8Zj3iwWAwPtgFTxbJ8NT4GN1R8p" crossorigin="anonymous"></script> -->
|
||||
<!-- <script src="js/bootstrap.min.js" integrity="sha384-cVKIPhGWiC2Al4u+LWgxfKTRIcfu0JTxR+EQDz/bgldoEyl4H0zUF0QKbrJ0EcQF" crossorigin="anonymous"></script> -->
|
||||
|
||||
<!-- Page level custom scripts -->
|
||||
|
||||
<!-- <script src="js/jquery-1.12.0.min.js"></script> -->
|
||||
<!-- <script src="js/jquery.dataTables.min.js"></script> -->
|
||||
<script>
|
||||
$(document).ready(function() {
|
||||
$('.datatab').DataTable();
|
||||
});
|
||||
</script>
|
||||
|
||||
<script>
|
||||
$(document).on('click', 'btn-back', function() {
|
||||
window.location.reload();
|
||||
|
||||
});
|
||||
</script>
|
||||
|
||||
<?php include "footer.php"; ?>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
Reference in New Issue
Block a user