<?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?id='. $data['id'].'" class="btn btn-default" style="background:; color:red">Pesan Kamar</a></div></div>';
		
	}

?>

<footer class="footer" style="margin-top:600px">
			<div class="icon">
				<a href="#" target="_blank"><i class="fa fa-facebook" style="font-size: 20px;"></i></a>
				<a href="#" target="_blank"><i class="fa fa-instagram" style="font-size: 20px;"></i></a>
				<a href="#" target="_blank"><i class="fa fa-twitter" style="font-size: 20px;"></i></a>
				<a href="#" 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>