<?php
session_start();
require_once('fungsi.php');

if(isset($_GET['out'])){
	session_start();
	session_destroy();
	header('location:index.php');
}
?>
<!DOCTYPE html>
<html>

<body class="tp-hd-lft wow fadeInDown animated" data-wow-delay="0.5s" >
 	<nav class="navbar navbar-inverse navbar-fixed-top">
		<div class="container">
			<div class="navbar-header">
			<a class="navbar-brand" ></a>
			<ul class="nav navbar-nav navbar-right">
				<li class="dropdown">
					<button class="navbar-toggle collapsed" data-toggle="dropdown" data-target="#bs-example-navbar-collapse-1" role="button" aria-haspopup="true" aria-expanded="false">&#9776
					</button>
					<ul class="dropdown-menu">
						<li><a href="index.php">Home</a></li>
						<li><a href="profil.php">PROFIL</a></li>
						<li class="dropdown-submenu">
									<a href="">FASILITAS</a>
									<ul class="dropdown-menu">
										<li><a href="pusatseminari.php">Pusat Seminari Bukit Gibeon</a></li>
										<li><a href="airterjun.php">Air Terjun</a></li>
										<li class="dropdown-submenu">
											<a href="rumahretret.php">Rumah retreat</a>
											<ul class="dropdown-menu">
												<<a href="daftarkamar.php">Daftar Kamar</a>
												<a href="daftarkamar.php">Daftar Kamar</a>
											</ul>
										</li>
										<li><a href="rumahdoa.php">Rumah Doa</a>
									
									</ul>
								</li>
					
					
						<li><a href="aboutus.php">FEEDBACK</a></li>
					</ul>
				</li>
			</ul>
			</div>
			<div class="collapse navbar-collapse" id="bs-example-navbar-collapse1">
				<ul class="nav navbar-nav navbar-right">
					<li><a href="index.php">Home</a></li>
					<li><a href="profil.php">Profil</a></li>
					
					<li class="dropdown">
						<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">Fasilitas
						</a>
						<ul class="dropdown-menu">
							<li><a href="pusatseminari.php">Pusat Seminari Bukit Gibeon</a></li>
							<li><a href="airterjun.php">Air Terjun</a></li>
									<li class="dropdown-submenu">
									<a href="rumahretret.php">Rumah retreat</a>
									<ul class="dropdown-menu">
										<a href="daftarkamar.php">Daftar Kamar</a>
										<a href="konfirmasipemesanan.php">Konfirmasi </a>
										
									
								</li>
								</ul>
							</li>
							<li><a href="rumahdoa.php">Rumah Doa</a></li>

						</ul>
					</li>
					<?php
					if(!isset($_SESSION['is_logged_in']))
					{
					echo '<li><a href="login.php">Login</a></li>';
					}
					else{
						echo '<li><a href="index.php?out">LOGOUT (' . $_SESSION['username'] .')</a></li>';
					}?>	
					<li><a href="aboutus.php">Feedback</a></li>
				</ul>
			</div>
		</div>
	</nav>
</html>