Commit 0afb7515 by Roy Junedi Simamora

perubahan header

parent b87b63ef
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
<nav class="navbar navbar-inverse"> <nav class="navbar navbar-inverse">
<div class="container-fluid"> <div class="container-fluid">
<div class="navbar-header"> <div class="navbar-header">
<a href="index.html"><img src="picture/logo1.png"></a> <img src="picture/logo1.png">
</div> </div>
<ul class="nav navbar-nav"> <ul class="nav navbar-nav">
<li><a href="index.php"><span class="glyphicon glyphicon-home"></span>Home</a></li> <li><a href="index.php"><span class="glyphicon glyphicon-home"></span>Home</a></li>
...@@ -39,7 +39,10 @@ ...@@ -39,7 +39,10 @@
<li><a href="daftar_komen.php"><span class="glyphicon glyphicon-comment"></span>List feedback</a></li>'; <li><a href="daftar_komen.php"><span class="glyphicon glyphicon-comment"></span>List feedback</a></li>';
} }
elseif(isset($_SESSION['user'])){ elseif(isset($_SESSION['user'])){
echo'<li><a href="pesanan.php"><span class="glyphicon glyphicon-shopping-cart "></span>&nbsp;Cart</a></li>'; if(isset($_SESSION['username'])){
$id_member = $_SESSION['id_member'];
}
echo'<li><a href="cart.php?id_member='.$id_member.'"><span class="glyphicon glyphicon-shopping-cart "></span>&nbsp;Cart</a></li>';
} }
?> ?>
<li><a href="form_comment.php"><span class="glyphicon glyphicon-comment"></span>feedback</a></li> <li><a href="form_comment.php"><span class="glyphicon glyphicon-comment"></span>feedback</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