perbaikan penomoran

parent d986651d
......@@ -39,8 +39,7 @@
<div class="checkout-right">
<table class="timetable_sub">
<thead>
<tr>
<th>No.</th>
<tr>
<th>ID</th>
<th>Judul</th>
<th>Tanngal Dibuat</th>
......@@ -54,7 +53,6 @@
while($data = mysqli_fetch_array($tampil)) {
?>
<tr class="rem1">
<td class="invert"><?php echo $no++; ?></td>
<td class="invert"><?php echo $data['id_artikel']; ?></td>
<td class="invert"><?php echo $data['judul_artikel']; ?></td>
<td class="invert"><?php echo $data['tanggal_dibuat']; ?></td>
......@@ -82,13 +80,13 @@
<?php
if( isset($_SESSION['administrator'])){
echo '
<tr><td colspan="6" align="center" style="background-color:#ffffff"><b> Tambah Artikel </b></td>
<tr><td colspan="5" align="center" style="background-color:#ffffff"><b> Tambah Artikel </b></td>
<td><a href="addarticle.php"><img src="images/tambah.png" /></td></tr></table>
';
}
else {
echo '
<tr><td colspan="7" align="center" style="background-color:#ffffff"> Data buku kosong ! </td></tr></table>
<tr><td colspan="6" align="center" style="background-color:#ffffff"> Data buku kosong ! </td></tr></table>
';
}
?>
......
......@@ -48,8 +48,7 @@
<div class="checkout-right">
<table class="timetable_sub">
<thead>
<tr>
<th>No.</th>
<tr>
<th>ISBN</th>
<th>Judul</th>
<th>Pengarang</th>
......@@ -68,7 +67,6 @@
while($data = mysqli_fetch_array($tampil)) {
?>
<tr class="rem1">
<td class="invert"><?php echo $no++; ?></td>
<td class="invert"><?php echo $data['isbn']; ?></td>
<td class="invert"><?php echo $data['judul']; ?></td>
<td class="invert"><?php echo $data['pengarang']; ?></td>
......@@ -101,13 +99,13 @@
<?php
if( isset($_SESSION['administrator'])){
echo '
<tr><td colspan="11" align="center" style="background-color:#ffffff"><b> Tambah Data Buku </b></td>
<tr><td colspan="10" align="center" style="background-color:#ffffff"><b> Tambah Data Buku </b></td>
<td><a href="addbook.php"><img src="images/tambah.png" /></td></tr></table>
';
}
else {
echo '
<tr><td colspan="12" align="center" style="background-color:#ffffff"> Data buku kosong ! </td></tr></table>
<tr><td colspan="11" align="center" style="background-color:#ffffff"> Data buku kosong ! </td></tr></table>
';
}
?>
......
......@@ -40,7 +40,6 @@
<table class="timetable_sub">
<thead>
<tr>
<th>No.</th>
<th>ID</th>
<th>Pengirim</th>
<th>Komentar</th>
......@@ -53,7 +52,6 @@
while($data = mysqli_fetch_array($tampil)) {
?>
<tr class="rem1">
<td class="invert"><?php echo $no++; ?></td>
<td class="invert"><?php echo $data['id_komentar']; ?></td>
<td class="invert"><?php echo $data['nama_pengirim']; ?></td>
<td class="invert"><?php echo $data['komentar']; ?></td>
......@@ -77,7 +75,7 @@
}
else {
echo '
<tr><td colspan="6" align="center" style="background-color:#ffffff"> Data komentar kosong ! </td></tr></table>
<tr><td colspan="5" align="center" style="background-color:#ffffff"> Data komentar kosong ! </td></tr></table>
';
}
?>
......
......@@ -28,7 +28,7 @@
<table class="col-md-3">
<tr>
<br>
<td>Jumlah Data Pelanggan</td>
<td>Jumlah Pelanggan</td>
<td>: <b><?php echo $jum; ?></b></td>
</tr>
</table>
......@@ -40,7 +40,6 @@
<table class="timetable_sub">
<thead>
<tr>
<th>No.</th>
<th>ID Pelanggan</th>
<th>Nama Lengkap</th>
<th>Alamat</th>
......@@ -54,7 +53,6 @@
while($data = mysqli_fetch_array($tampil)) {
?>
<tr class="rem1">
<td class="invert"><?php echo $no++; ?></td>
<td class="invert"><?php echo $data['id_user']; ?></td>
<td class="invert"><?php echo $data['nama_lengkap']; ?></td>
<td class="invert"><?php echo $data['alamat']; ?></td>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment