edit

parent 887bbce7
...@@ -111,8 +111,17 @@ $start = ($page - 1) * $per_hal; ...@@ -111,8 +111,17 @@ $start = ($page - 1) * $per_hal;
<div class="row"> <div class="row">
<div id="w"> <div id="w">
<ul> <ul>
<div class="col-lg-12"> <div class="col-lg-12">
<form action="cari_process.php" method="get">
<div class="input-group col-md-5 col-md-offset-7">
<span class="input-group-addon" id="basic-addon1"><span class="glyphicon glyphicon-search"></span></span>
<input type="text" class="form-control" placeholder="Cari menu di sini .." aria-describedby="basic-addon1" name="cari">
</div>
</form>
</div>
<br><br>
<?php <?php
$query = "SELECT * FROM menu limit $start, $per_hal"; $query = "SELECT * FROM menu limit $start, $per_hal";
$result_set = $conn->query($query); $result_set = $conn->query($query);
...@@ -123,7 +132,7 @@ $start = ($page - 1) * $per_hal; ...@@ -123,7 +132,7 @@ $start = ($page - 1) * $per_hal;
<li class="item breakfast"> <li class="item breakfast">
<?php echo $row['nama']?> <?php echo $row['nama']?>
<img src="foto/<?php echo $row['gambar'] ?>" class="img-rounded" height="200" width="200" class="col-md-12 img-responsive"> <img src="foto/<?php echo $row['gambar'] ?>" class="img-rounded" height="260" width="220" class="col-md-12 img-responsive">
<h2 class="white">Rp. <?php echo $row['harga']; ?></h2> <h2 class="white">Rp. <?php echo $row['harga']; ?></h2>
<a href="pesan_barang.php?id=<?= $row['id'] ?>"> <a href="pesan_barang.php?id=<?= $row['id'] ?>">
<button class="text-center btn-block form-btn">Pesan</button> <button class="text-center btn-block form-btn">Pesan</button>
...@@ -132,6 +141,7 @@ $start = ($page - 1) * $per_hal; ...@@ -132,6 +141,7 @@ $start = ($page - 1) * $per_hal;
</li> </li>
<br> <br>
</div> </div>
<?php } <?php }
?> ?>
......
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