perbaikan

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