perbaikan

parent 97560f4d
...@@ -41,7 +41,7 @@ ...@@ -41,7 +41,7 @@
} }
?> ?>
</select><br> </select><br>
<b><br>Kategori Buku :</b> <b><br>Kategori Buku :</b>
<select class="form-control" name="kategori" required="Pilih Kategori" value="<?php echo $data['kategori'] ?>"> <select class="form-control" name="kategori" required="Pilih Kategori" value="<?php echo $data['kategori'] ?>">
<?php <?php
$kategori = mysqli_query($koneksi, "SELECT * FROM t_kategori ORDER BY id_kategori"); $kategori = mysqli_query($koneksi, "SELECT * FROM t_kategori ORDER BY id_kategori");
...@@ -52,7 +52,7 @@ ...@@ -52,7 +52,7 @@
} }
?> ?>
</select><br> </select><br>
<b><br>Tahun Terbit :</b> <b><br>Tahun Terbit :</b>
<input type="text" name="tahun" placeholder="Tahun Terbit" value="<?php echo $data['tahun'] ?>" > <input type="text" name="tahun" placeholder="Tahun Terbit" value="<?php echo $data['tahun'] ?>" >
<b><br>Harga per Eksemplar :</b> <b><br>Harga per Eksemplar :</b>
<input type="text" name="harga" placeholder="Harga per Eksemplar" value="<?php echo $data['harga'] ?>" > <input type="text" name="harga" placeholder="Harga per Eksemplar" value="<?php echo $data['harga'] ?>" >
......
...@@ -30,13 +30,13 @@ ...@@ -30,13 +30,13 @@
$query = mysqli_query($koneksi, "SELECT * FROM t_artikel WHERE id_artikel = '$_GET[kd]'"); $query = mysqli_query($koneksi, "SELECT * FROM t_artikel WHERE id_artikel = '$_GET[kd]'");
$data = mysqli_fetch_array($query); $data = mysqli_fetch_array($query);
?> ?>
<div class="col-md-2 agileinfo_single_left"> <div class="col-md-4 agileinfo_single_left">
<img src="<?php echo $data['gambar_artikel']; ?>" class="img-responsive" /> <img src="<?php echo $data['gambar_artikel']; ?>" class="img-responsive" />
</div> </div>
<div class="col-md-10"> <div class="col-md-12"><br><br>
Judul Buku : <h3><?php echo $data['judul_artikel']; ?></h3><br> <h3> Judul Buku :</h3> <?php echo $data['judul_artikel']; ?><br><br>
Tanggal Ditambahkan : <h4><?php echo $data['tanggal_dibuat']; ?></h4><br> <h3> Tanggal Ditambahkan :</h3> <?php echo $data['tanggal_dibuat']; ?><br><br>
Isi Artikel : <h5><?php echo $data['isi_artikel']; ?></h5> <h3> Isi Artikel :</h3> <?php echo $data['isi_artikel']; ?><br><br>
</div> </div>
<div class="clearfix"> </div> <div class="clearfix"> </div>
</div> </div>
......
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
<?php <?php
$data = mysqli_fetch_array($query); $data = mysqli_fetch_array($query);
?> ?>
<div class="col-md-2 agileinfo_single_left"> <div class="col-md-3 agileinfo_single_left">
<img src="<?php echo $data['gambar']; ?>" class="img-responsive" /> <img src="<?php echo $data['gambar']; ?>" class="img-responsive" />
</div> </div>
<div class="col-md-5 agileinfo_single_right"> <div class="col-md-5 agileinfo_single_right">
...@@ -41,7 +41,7 @@ ...@@ -41,7 +41,7 @@
Penerbit Buku : <h3><?php echo $data['nama_penerbit']; ?></h3><br> Penerbit Buku : <h3><?php echo $data['nama_penerbit']; ?></h3><br>
Tahun Terbit : <h3><?php echo $data['tahun']; ?></h3> Tahun Terbit : <h3><?php echo $data['tahun']; ?></h3>
</div> </div>
<div class="col-md-5 agileinfo_single_right"> <div class="col-md-4 agileinfo_single_right">
<br><br><br><br><br> <br><br><br><br><br>
<div class="snipcart-item block"> <div class="snipcart-item block">
<div class="snipcart-thumb agileinfo_single_right_snipcart"> <div class="snipcart-thumb agileinfo_single_right_snipcart">
......
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