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

if ($_SESSION["status"]=="ADMIN")
{
    ?>
<li>



                        <li>
                            <a href="index3.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="add_product.php"><i class="fa fa-dashboard fa-fw"></i> Add Book</a>
                        </li>
                         <li>
                            <a href="vieworder.php"><i class="fa fa-dashboard fa-fw"></i> View Books</a>
                        </li>

                        <li>
                            <a href="logout.php"><i class="fa fa-dashboard fa-fw"></i> Logout</a>
                        </li>


 <?php

}
else
{
    ?>
						<li>
                            <a href="index3.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="viewproduct.php"><i class="fa fa-dashboard fa-fw"></i> Purchase Book</a>
                        </li>
                         <li>
                            <a href="viewcart.php"><i class="fa fa-dashboard fa-fw"></i> View Cart</a>
                        </li>
                        
                        <li>
                            <a href="logout.php"><i class="fa fa-dashboard fa-fw"></i> Logout</a>
                        </li>
<?php
}
}
?>