perbaikan

parent a1ebea99
......@@ -1318,6 +1318,10 @@ ul.faq {
padding: 2em;
box-shadow: 0px 0px 5px #b2afaf;
}
.agileinfo_single {
padding: 1.2em;
box-shadow: 0px 0px 1px #b2afaf;
}
/*-- Ratings --*/
.rating1 {
direction:ltr;
......
......@@ -27,11 +27,14 @@
<form action="editarticle_process.php" method="POST" enctype="multipart/form-data">
<input type="hidden" name="id" placeholder="id_artikel" value="<?php echo $data['id_artikel'] ?>" >
<b> Judul Artikel : </b>
<input type="text" name="judul_artikel" style="width:100%" placeholder="Judul Artikel" value="<?php echo $data['judul_artikel'] ?>" ><br>
<input type="text" name="judul_artikel" style="width:100%" placeholder="Judul Artikel" value="<?php echo $data['judul_artikel'] ?>" required/><br>
<b> Isi Artikel : </b>
<textarea name="isi_artikel" style="width:100%; height:450px" placeholder="<?php echo $data['isi_artikel'] ?>" value="<?php echo $data['isi_artikel'] ?>"></textarea><br>
<b> File Gambar : </b>
<input type="file" name="gambar_artikel" value=" ">
<textarea name="isi_artikel" style="width:100%; height:450px" placeholder="<?php echo $data['isi_artikel'] ?>" value="<?php echo $data['isi_artikel'] ?>"required></textarea><br>
<b> File Gambar : <br></b>
<div class="col-md-3 agileinfo_single">
<img src="<?php echo $data['gambar_artikel']; ?>" class="img-responsive" required/>
</div><br><br><br><br><br><br><br><br><br>
<input type="file" name="gambar_artikel" value="<?php echo $data['gambar_artikel']; ?>" required/>
<input type="submit" name="edit" value="edit">
</form>
</div>
......
......@@ -26,24 +26,27 @@
?>
<form action="editbook_process.php" method="POST" enctype="multipart/form-data">
<input type="hidden" name="id" placeholder="ISBN" value="<?php echo $data['isbn'] ?>" >
<b>Judul Buku : </b>
<b>Judul Buku : </b>
<input type="text" name="judul" placeholder="Judul Buku" value="<?php echo $data['judul'] ?>" >
<b><br>Nama Pengarang :</b>
<input type="text" name="pengarang" placeholder="Nama Pengarang" value="<?php echo $data['pengarang'] ?>" >
<b><br>Nama Penerbit :</b>
<input type="text" name="penerbit" placeholder="Nama Penerbit" value="<?php echo $data['penerbit'] ?>" >
<b><br>Kategori Buku :</b>
<input type="text" name="kategori" placeholder="Kategori Buku" value="<?php echo $data['kategori'] ?>" >
<b><br>Tahun Terbit :</b>
<input type="text" name="tahun" placeholder="Tahun Terbit" value="<?php echo $data['tahun'] ?>" >
<b><br>Harga per Eksemplar :</b>
<input type="text" name="harga" placeholder="Harga per Eksemplar" value="<?php echo $data['harga'] ?>" >
<b><br>Jumlah Tersedia :</b>
<input type="text" name="jumlah" placeholder="Jumlah Tersedia" value="<?php echo $data['jumlah'] ?>" >
<b><br>Keterangan Buku :</b>
<input type="text" name="keterangan" placeholder="Keterangan Buku" value="<?php echo $data['keterangan'] ?>" >
<b><br>Gambar : <br><br></b>
<input type="file" name="gambar" accept="img/*" required>
<b><br>Nama Pengarang :</b>
<input type="text" name="pengarang" placeholder="Nama Pengarang" value="<?php echo $data['pengarang'] ?>" required/>
<b><br>Nama Penerbit :</b>
<input type="text" name="penerbit" placeholder="Nama Penerbit" value="<?php echo $data['penerbit'] ?>" required/>
<b><br>Kategori Buku :</b>
<input type="text" name="kategori" placeholder="Kategori Buku" value="<?php echo $data['kategori'] ?>" required/>
<b><br>Tahun Terbit :</b>
<input type="text" name="tahun" placeholder="Tahun Terbit" value="<?php echo $data['tahun'] ?>" required/>
<b><br>Harga per Eksemplar :</b>
<input type="text" name="harga" placeholder="Harga per Eksemplar" value="<?php echo $data['harga'] ?>" required/>
<b><br>Jumlah Tersedia :</b>
<input type="text" name="jumlah" placeholder="Jumlah Tersedia" value="<?php echo $data['jumlah'] ?>" required/>
<b><br>Keterangan Buku :</b>
<input type="text" name="keterangan" placeholder="Keterangan Buku" value="<?php echo $data['keterangan'] ?>" required/>
<b><br>File Gambar : <br></b>
<div class="col-md-5 agileinfo_single">
<img src="<?php echo $data['gambar']; ?>" class="img-responsive" required/>
</div><br>
<input type="file" name="gambar" accept="img/*" value="<?php echo $data['gambar']; ?>" required/>
<input type="submit" name="edit" value="edit">
</form>
<?php
......
......@@ -25,7 +25,7 @@
?>
<!-- //Page -->
<div class="col-md-12">
<table class="col-md-2">
<table class="col-md-3">
<tr>
<br>
<td>Jumlah Data Artikel</td>
......
......@@ -30,16 +30,6 @@
<td>Jumlah Data Buku</td>
<td>:<b> <?php echo $jum; ?></b></td>
</tr>
<tr>
<td>Total Dana</td>
<td>:<b>
<?php
$modal = mysqli_query($koneksi, "SELECT SUM (harga) AS total FROM t_buku");
$data = ($modal);
echo " Rp.". number_format($data['total']).",-";
?>
</b></td>
</tr>
</table>
</div>
<!-- checkout -->
......
......@@ -8,7 +8,7 @@
<div class="container">
<ol class="breadcrumb breadcrumb1">
<li><span><i class="fa fa-sign-in" aria-hidden="true"></i><a href="login.php"> Masuk</a></span></li>
<li class="active">Kelola Data Komentar</li>
<li class="active">Kelola Data Saran</li>
</ol>
</div>
</div>
......@@ -28,21 +28,21 @@
<table class="col-md-3">
<tr>
<br>
<td>Jumlah Komentar Masuk</td>
<td>Jumlah Saran Masuk</td>
<td>: <b><?php echo $jum; ?></b></td>
</tr>
</table>
</div>
<!-- checkout -->
<div class="container"><br><br><br>
<h2>Daftar Komentar : </h2><br>
<h2>Daftar Saran : </h2><br>
<div class="checkout-right">
<table class="timetable_sub">
<thead>
<tr>
<th>ID</th>
<th>Pengirim</th>
<th>Komentar</th>
<th>Saran</th>
<th>Tanggal</th>
<th>Opsi</th>
</tr>
......@@ -75,7 +75,7 @@
}
else {
echo '
<tr><td colspan="5" align="center" style="background-color:#ffffff"> Data komentar kosong ! </td></tr></table>
<tr><td colspan="5" align="center" style="background-color:#ffffff"> Data Saran kosong ! </td></tr></table>
';
}
?>
......
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