<?php
if(isset($_SESSION["status"]))
{

    if($_SESSION["status"]=="ADMIN")
    {
    ?>
  
  <img src="images/3.jpg">
 
 <li>
                            <a href="index2.php"><i class="fa fa-dashboard fa-fw"></i> Dashboard</a>
                        </li>
                        
                          <li>
                            <a href="add_product.php"><i class="fa fa-dashboard fa-fw"></i> Add Product</a>
                        </li>
                        
                          <li>
                            <a href="list.php"><i class="fa fa-dashboard fa-fw"></i> Product List </a>
                        </li>
                        
                        <li>
                            <a href="vieworder.php"><i class="fa fa-dashboard fa-fw"></i> View Order</a>
                        </li>
                        
                        <li>
                            <a href="customerlist.php"><i class="fa fa-dashboard fa-fw"></i> Customer List</a>
                        </li>
                       
<?php
}
elseif  (isset($_SESSION["status"]))
{

    if($_SESSION["status"]=="CUSTOMER")
    {
    ?>

                     
                        
                        <img src="images/3.jpg">
 
 <li>
                            <a href="index2.php"><i class="fa fa-dashboard fa-fw"></i> Dashboard</a>
                        </li>
                     
                        <li>
                            <a href="profile.php"><i class="fa fa-dashboard fa-fw"></i> View profile</a>
                        </li>
                        
                        <li>
                            <a href="update.php"><i class="fa fa-dashboard fa-fw"></i> Update profile</a>
                        </li>
                        
                        <li>
                            <a href="updatepicture.php"><i class="fa fa-dashboard fa-fw"></i> Update Picture</a>
                        </li>
                        
                         <li>
                            <a href="customize.php"><i class="fa fa-dashboard fa-fw"></i> Customize Your Own Gift</a></li>
<li>
                <a href="logout.php"><i class="fa fa-dashboard fa-fw"></i> Logout</a>
         </li>
   <?php
}
else 
{ echo "error";	
  ?>       
  
  
  
  
 <?php
}
}
}
?>  