Commit afd1f261 by Roy Junedi Simamora

edit

parent d2e983a8
......@@ -19,15 +19,17 @@
</div>
<ul class="nav navbar-nav">
<li><a href="index.php"><span class="glyphicon glyphicon-home"></span>Home</a></li>
<?php
if(isset($_SESSION['admin'])){
if(!isset($_SESSION['user']) && !isset($_SESSION['admin'])){
echo' <li><a href="member_menu.php" ><span class="glyphicon glyphicon-th-list"></span>List Menu</a></li>';
}else if(isset($_SESSION['admin'])){
echo'<li><a href="admin_menu.php" ><span class="glyphicon glyphicon-th-list"></span>Olah Menu</a></li>';
}
elseif(isset($_SESSION['user'])){
}else if (isset($_SESSION['user'])){
echo' <li><a href="member_menu.php" ><span class="glyphicon glyphicon-th-list"></span>List Menu</a></li>';
$username = $_SESSION['username'];
}
?>
<li><a href="profil_bulbul.php"><span class="glyphicon glyphicon-camera"></span> Profil BulBul</a></li>
......
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