Commit 261beb11 by Pratiwi Pandiangan

menambahkan daftar kamar dan detail kamar

parent 29b293d9
<?php
require_once(dirname(__FILE__).'/header.php');
?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Picture Life</title>
<link rel="shortcut icon" href="images/inst.png">
<link href="css/bootstrap.min.css" rel="stylesheet">
<link href="css/animate.css" rel="stylesheet">
<link href="css/myStyle.css" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="css/font-awesome.min.css">
<script src="js/jquery-3.1.1.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/js.js"></script>
</head>
<body background="images/eirene.jpg">
<?php
require_once(dirname(__FILE__ ).'/fungsi.php');
$daftar = getDaftar();
$no = 1;
foreach ($daftar as $data)
{
echo'<div class="col-md-3 thumbnail"style="margin-left:90px; margin-top:100px">
<img src="'.$data['gambar'].'" style="width: 100%; height: 400px;"><br><hr>
<center><div><a href="detailkamar.php?id='.$data['id'].'" class="btn btn-default">Detail</a>
<a href="memesan.php" class="btn btn-default">Pesan</a></div></div>';
}
?>
<footer class="footer" style="margin-top:600px">
<div class="icon">
<a href="https://facebook.com" target="_blank"><i class="fa fa-facebook" style="font-size: 20px;"></i></a>
<a href="https://instagram.com" target="_blank"><i class="fa fa-instagram" style="font-size: 20px;"></i></a>
<a href="https://twitter.com" target="_blank"><i class="fa fa-twitter" style="font-size: 20px;"></i></a>
<a href="https://gmail.com" target="_blank"><i class="fa fa-google-plus" style="font-size: 20px;"></i></a>
</div>
<p>BUKIT GIBEON</p>
<p>Sekolah Misi Interdenominasi Gereja</p>
<hr><hr>
<p>Copyright &copy All Right Reserved - Kelompok PA1-1617-D3TI08 - 2016</p>
</footer>
</body>
</html>
\ No newline at end of file
<?php
require_once(dirname(__FILE__).'/header.php');
?>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>BUKIT GIBEON</title>
<link rel="shortcut icon" href="images/inst.png">
<link href="css/bootstrap.min.css" rel="stylesheet">
<link href="css/animate.css" rel="stylesheet">
<link href="css/myStyle.css" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="css/font-awesome.min.css">
<script src="js/jquery-3.1.1.min.js"></script>
<script src="js/bootstrap.min.js"></script>
</head>
<body background="images/eirene.jpg">
<?php
require_once(dirname(__FILE__ ).'/fungsi.php');
$profil = getProfil();
$query = mysql_query("SELECT * FROM kamar WHERE id='$_GET[id]'");
$data = mysql_fetch_array($query);
?>
<br><br><br><br>;
<div class="hero-unit" style="margin-left: 300px; margin-bottom: 126px;">
<table>
<tr>
<td rowspan="5"><img src="<?php echo $data['gambar']; ?>" style="width:300px; height : 300px;"/></td>
</tr>
<tr>
<td></td>
<td size="0"><h3>Nama</h3></td>
<td><h3>:</h3></td>
<td colspan="4"><div class="title"><h3><?php echo $data['nama kamar']; ?></h3></div></td>
</tr>
<tr>
<td></td>
<td size="0"><h3>Harga</h3></td>
<td><h3>:</h3></td>
<td colspan="4"><div class="title"><h3>Rp. <?php echo $data['harga']; ?>/orang</h3></div></td>
</tr>
<tr>
<td></td>
<td><h3>Kapasitas </h3></td>
<td><h3>:</h3></td>
<td colspan="4"><div class="title"><h3><?php echo $data['kapasitas kamar'] ; ?> Orang</h3></div></td></td>
</tr>
</table>
</div>
</body>
<footer class="footer">
<div class="icon">
<a href="https://facebook.com" target="_blank"><i class="fa fa-facebook" style="font-size: 20px;"></i></a>
<a href="https://instagram.com" target="_blank"><i class="fa fa-instagram" style="font-size: 20px;"></i></a>
<a href="https://twitter.com" target="_blank"><i class="fa fa-twitter" style="font-size: 20px;"></i></a>
<a href="https://gmail.com" target="_blank"><i class="fa fa-google-plus" style="font-size: 20px;"></i></a>
</div>
<p>BUKIT GIBEON</p>
<p>Sekolah Misi Interdenominasi Gereja</p>
<hr>
<p>Copyright &copy All Right Reserved - Kelompok PA1-1617-D3TI08 - 2016</p>
</footer>
\ No newline at end of file
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