Mengedit header

parent 1b9df488
......@@ -10,11 +10,11 @@ if(isset($_GET['out'])){
<!DOCTYPE html>
<html>
<body class="tp-hd-lft wow fadeInDown animated" data-wow-delay="0.5s">
<body class="tp-hd-lft wow fadeInDown animated" data-wow-delay="0.5s" background="images/bg.jpg">
<nav class="navbar navbar-inverse navbar-fixed-top">
<div class="container">
<div class="navbar-header">
<a class="navbar-brand" href="index.htm l"><img src="images/logo.png" style="width: 200px; height: 25px;"></a>
<a class="navbar-brand" href="index.htm l"></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
......@@ -26,7 +26,7 @@ if(isset($_GET['out'])){
</a>
<ul class="dropdown-menu">
<li><a href="profilwisata.php">TEMPAT WISATA</a></li>
<li><a href="category2.html">PEMILIK</a></li>
<li><a href="profil.php">PEMILIK</a></li>
</ul>
</li>
<li class="dropdown">
......@@ -45,36 +45,34 @@ if(isset($_GET['out'])){
<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">PROFIL
<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="profilwisata.php">TEMPAT WISATA</a></li>
<li><a href="category2.html">PEMILIK</a></li>
</ul>
</li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">KAMAR
</a>
<ul class="dropdown-menu">
<li><a href="daftarkamar.php">DAFTAR KAMAR</a></li>
<li><a href="category2.html">MEMESAN KAMAR</a></li>
<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>
</u>
</li>
</ul>
</li>
<li><a href="daftarkamar.php">Rumah Doa</a></li>
</ul>
</li>
<?php
if(!isset($_SESSION['is_logged_in']))
{
echo '<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">LOGIN
</a>
<ul class="dropdown-menu">
<li><a href="pengunjung.php">PENGUNJUNG</a></li>
<li><a href="login.php">PENGELOLA</a></li>
</ul>
</li>';
echo '<li><a href="login.php">LOGIN</a></li>';
}
else{
echo '<li><a href="index.php?out">LOGOUT </a></li>';
echo '<li><a href="index.php?out">LOGOUT (' . $_SESSION['username'] .')</a></li>';
}?>
<li><a href="aboutus.php">CONTACT US</a></li>
</ul>
......
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