perbaikan link

parent 9ad7cacc
......@@ -63,11 +63,12 @@
<div class="snipcart-item block" >
<div class="snipcart-thumb">
<div class="col-md-5">
<a href="singlearticle.php?kd=<?php echo $data['id_artikel'];?>"><img class="col-md-10" title="Klik Disini" src="<?php echo $data['gambar_artikel']; ?>" placeholder="Baca Selengkapnya Disini"/></a>
<a href="singlearticle.php?kd=<?php echo $data['id_artikel'];?>"><img class="col-md-10" title="Klik Disini" src="<?php echo $data['gambar_artikel']; ?>" placeholder="Baca Selengkapnya Disini"/>
</div>
<div class="col-md-7">
<center><h4><?php echo $data['judul_artikel']; ?></h4></center><br>
<h6><?php echo $data['tanggal_dibuat']; ?></h6>
</a>
</div>
</div>
</div>
......
......@@ -69,7 +69,7 @@
<figure>
<div class="snipcart-item block" >
<div class="snipcart-thumb">
<a href="singlebook.php?kd=<?php echo $data['isbn'];?>"><img class="col-md-12" title="Klik Disini" src="<?php echo $data['gambar']; ?>" ></a>
<a href="singlebook.php?kd=<?php echo $data['isbn'];?>"><img class="col-md-12" title="Klik Disini" src="<?php echo $data['gambar']; ?>" >
<center><h4><?php echo $data['judul']; ?></h4></center>
<center><h4><?php echo $data['pengarang']; ?></h4></center>
<center><h4><?php echo $data['tahun']; ?></h4></center>
......@@ -77,8 +77,8 @@
</a>
</div>
<div class="snipcart-details top_brand_home_details">
<a href="function.php?act=add&amp;barang_id=<?php echo $data['isbn']; ?>&amp;ref=checkout.php?kd=<?php echo $data['isbn'];?>" ></a>
<input type="submit" name="simpan" value="Tambah" class="button" />
<a href="function.php?act=add&amp;barang_id=<?php echo $data['isbn']; ?>&amp;ref=checkout.php?kd=<?php echo $data['isbn'];?>" >
<input type="submit" name="simpan" value="Tambah" class="button" /></a>
</div>
</div>
</figure>
......
......@@ -78,15 +78,16 @@
<figure>
<div class="snipcart-item block" >
<div class="snipcart-thumb">
<a href="singlebook.php?kd=<?php echo $data['isbn'];?>"><img class="col-md-12" title="Klik Disini" src="<?php echo $data['gambar']; ?>" /></a>
<a href="singlebook.php?kd=<?php echo $data['isbn'];?>"><img class="col-md-12" title="Klik Disini" src="<?php echo $data['gambar']; ?>" />
<center><h5><?php echo $data['judul']; ?></h5></center>
<center><h5><?php echo $data['pengarang']; ?></h5></center>
<center><h5><?php echo $data['tahun']; ?></h5></center>
<center><h5>Rp.<?php echo number_format($data['harga'],2,",",".");?></h5></center>
</a>
</div>
<div class="snipcart-details top_brand_home_details">
<a href="function.php?act=add&amp;barang_id=<?php echo $data['isbn']; ?>&amp;ref=checkout.php?kd=<?php echo $data['isbn'];?>">
<input type="submit" name="simpan" value="Tambah" class="button" />
<input type="submit" name="simpan" value="Tambah" class="button" /></a>
</div>
</div>
</figure>
......
<?php
require_once("koneksi.php");
include 'header.php';
$sql = mysqli_query($koneksi, "SELECT * FROM t_buku WHERE keterangan != 1 AND jumlah != 0 ORDER BY jumlah ASC");
?>
<!-- main-slider -->
<ul id="demo1">
......@@ -57,16 +56,16 @@
<figure>
<div class="snipcart-item block" >
<div class="snipcart-thumb">
<a href="singlebook.php?kd=<?php echo $data['isbn'];?>"><img class="col-md-12" title="Klik Disini" src="<?php echo $data['gambar']; ?>" /></a>
<a href="singlebook.php?kd=<?php echo $data['isbn'];?>"><img class="col-md-12" title="Klik Disini" src="<?php echo $data['gambar']; ?>" >
<h4><?php echo $data['judul']; ?></h4>
<h4><?php echo $data['pengarang']; ?></h4>
<h4><?php echo $data['tahun']; ?></h4>
<h4>Rp.<?php echo number_format($data['harga'],2,",",".");?></h4>
</a>
</div>
<div class="snipcart-details top_brand_home_details">
<a href="function.php?act=add&amp;barang_id=<?php echo $data['isbn']; ?>&amp;ref=checkout.php?kd=<?php echo $data['isbn'];?>" >
</a>
<input type="submit" name="simpan" value="Tambah" class="button" />
<input type="submit" name="simpan" value="Tambah" class="button" /></a>
</div>
</div>
</figure>
......@@ -102,15 +101,15 @@
<div class="snipcart-item block" >
<div class="snipcart-thumb">
<a href="singlebook.php?kd=<?php echo $data['isbn'];?>"><img class="col-md-12" title="Klik Disini" src="<?php echo $data['gambar']; ?>" >
</a>
<h4><?php echo $data['judul']; ?></h4>
<h4><?php echo $data['pengarang']; ?></h4>
<h4><?php echo $data['tahun']; ?></h4>
<h4>Rp.<?php echo number_format($data['harga'],2,",",".");?></h4>
</a>
</div>
<div class="snipcart-details top_brand_home_details">
<a href="function.php?act=add&amp;barang_id=<?php echo $data['isbn']; ?>&amp;ref=checkout.php?kd=<?php echo $data['isbn'];?>" ></a>
<input type="submit" name="simpan" value="Tambah" class="button" />
<a href="function.php?act=add&amp;barang_id=<?php echo $data['isbn']; ?>&amp;ref=checkout.php?kd=<?php echo $data['isbn'];?>" >
<input type="submit" name="simpan" value="Tambah" class="button" /></a>
</div>
</div>
</figure>
......@@ -152,16 +151,17 @@
<div class="agile_top_brand_left_grid1">
<figure>
<div class="snipcart-item block" >
<div class="snipcart-thumb">
<a href="singlebook.php?kd=<?php echo $data['isbn'];?>"><img class="col-md-12" title="Klik Disini" src="<?php echo $data['gambar']; ?>" />
<div class="snipcart-thumb">
<a href="singlebook.php?kd=<?php echo $data['isbn'];?>"><img class="col-md-12" title="Klik Disini" src="<?php echo $data['gambar']; ?>" >
<h4><?php echo $data['judul']; ?></h4>
<h4><?php echo $data['pengarang']; ?></h4>
<h4><?php echo $data['tahun']; ?></h4>
<h4>Rp.<?php echo number_format($data['harga'],2,",",".");?></h4>
</a>
</div>
<div class="snipcart-details top_brand_home_details">
<a href="function.php?act=add&amp;barang_id=<?php echo $data['isbn']; ?>&amp;ref=checkout.php?kd=<?php echo $data['isbn'];?>" ></a>
<input type="submit" name="simpan" value="Tambah" class="button" />
<a href="function.php?act=add&amp;barang_id=<?php echo $data['isbn']; ?>&amp;ref=checkout.php?kd=<?php echo $data['isbn'];?>" />
<input type="submit" name="simpan" value="Tambah" class="button" ></a>
</div>
</div>
</figure>
......
......@@ -51,7 +51,9 @@
$penerbit = mysqli_query($koneksi, "SELECT * FROM t_penerbit ORDER BY id_penerbit");
while($data = mysqli_fetch_array($penerbit )) {
?>
<li><a href="publisher.php?kd=<?php echo $data['id_penerbit'];?>"><i class="fa fa-arrow-right" aria-hidden="true"></i><?php echo $data['nama_penerbit']; ?></a></li>
<li>
<a href="publisher.php?kd=<?php echo $data['id_penerbit'];?>"><i class="fa fa-arrow-right" aria-hidden="true"></i><?php echo $data['nama_penerbit']; ?></a>
</li>
<?php
}
?>
......@@ -77,16 +79,16 @@
<figure>
<div class="snipcart-item block" >
<div class="snipcart-thumb">
<a href="singlebook.php?kd=<?php echo $data['isbn'];?>"><img class="col-md-12" title="Klik Disini" src="<?php echo $data['gambar']; ?>" /></a>
<br>
<a href="singlebook.php?kd=<?php echo $data['isbn'];?>"><img class="col-md-12" title="Klik Disini" src="<?php echo $data['gambar']; ?>" >
<center><h5><?php echo $data['judul']; ?></h5></center>
<center><h5><?php echo $data['pengarang']; ?></h5></center>
<center><h5><?php echo $data['tahun']; ?></h5></center>
<center><h5>Rp.<?php echo number_format($data['harga'],2,",",".");?></h5></center>
</a>
</div>
<div class="snipcart-details top_brand_home_details">
<a href="function.php?act=add&amp;barang_id=<?php echo $data['isbn']; ?>&amp;ref=checkout.php?kd=<?php echo $data['isbn'];?>">
<input type="submit" name="simpan" value="Tambah" class="button" />
<input type="submit" name="simpan" value="Tambah" class="button" /></a>
</div>
</div>
</figure>
......
......@@ -62,6 +62,7 @@
<?php if ($data['jumlah'] >= 1) {
echo '<input type="submit" name="simpan" value="Tambah" class="button" />';
} ?>
</a>
</div>
</div>
</div>
......
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