Mengedit header

parent 1b9df488
...@@ -10,11 +10,11 @@ if(isset($_GET['out'])){ ...@@ -10,11 +10,11 @@ if(isset($_GET['out'])){
<!DOCTYPE html> <!DOCTYPE html>
<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"> <nav class="navbar navbar-inverse navbar-fixed-top">
<div class="container"> <div class="container">
<div class="navbar-header"> <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"> <ul class="nav navbar-nav navbar-right">
<li class="dropdown"> <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 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'])){ ...@@ -26,7 +26,7 @@ if(isset($_GET['out'])){
</a> </a>
<ul class="dropdown-menu"> <ul class="dropdown-menu">
<li><a href="profilwisata.php">TEMPAT WISATA</a></li> <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> </ul>
</li> </li>
<li class="dropdown"> <li class="dropdown">
...@@ -45,36 +45,34 @@ if(isset($_GET['out'])){ ...@@ -45,36 +45,34 @@ if(isset($_GET['out'])){
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse1"> <div class="collapse navbar-collapse" id="bs-example-navbar-collapse1">
<ul class="nav navbar-nav navbar-right"> <ul class="nav navbar-nav navbar-right">
<li><a href="index.php">Home</a></li> <li><a href="index.php">Home</a></li>
<li><a href="profil.php">PROFIL</a></li>
<li class="dropdown"> <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> </a>
<ul class="dropdown-menu"> <ul class="dropdown-menu">
<li><a href="profilwisata.php">TEMPAT WISATA</a></li> <li><a href="pusatseminari.php">Pusat Seminari Bukit Gibeon</a></li>
<li><a href="category2.html">PEMILIK</a></li> <li><a href="airterjun.php">Air Terjun</a></li>
</ul> <li class="dropdown-submenu">
</li> <a href="rumahretret.php">Rumah retreat</a>
<li class="dropdown"> <ul class="dropdown-menu">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">KAMAR <a href="daftarkamar.php">Daftar Kamar</a>
</a>
<ul class="dropdown-menu"> </u>
<li><a href="daftarkamar.php">DAFTAR KAMAR</a></li> </li>
<li><a href="category2.html">MEMESAN KAMAR</a></li> </ul>
</li>
<li><a href="daftarkamar.php">Rumah Doa</a></li>
</ul> </ul>
</li> </li>
<?php <?php
if(!isset($_SESSION['is_logged_in'])) if(!isset($_SESSION['is_logged_in']))
{ {
echo '<li class="dropdown"> echo '<li><a href="login.php">LOGIN</a></li>';
<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>';
} }
else{ 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> <li><a href="aboutus.php">CONTACT US</a></li>
</ul> </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