<?php

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





<!DOCTYPE html>
<html>
<head>
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
  <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
  <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
  
  
  <h2>Welcome !</h2>
  <img src="240_F_163294643_mI5hs8tAm3RelOvjoU3QjvIthfiGA4qm.jpg" sizes="100" width="100">

          <h4> <a data-toggle="collapse" href="#collapse1"> Main Menu</a>
        </h4>
       
        
      </div>
      <div id="collapse1" class="panel-collapse collapse">
        <div class="panel-body"><li>
      					   <a href="index2.php"><i class="glyphicon glyphicon-home"></i> Home</a> </li>
                           
                           <li>
                            <a href="profile.php"><i class="glyphicon glyphicon-user"></i> View Profile</a>
                            </li>
                            
                            <li>
                            <a href="update.php"><i class="glyphicon glyphicon-pencil"></i> Update Profile</a>
                            </li>
                            
                            <li>
                             <a href="viewproduct.php"><i class="glyphicon glyphicon-list-alt"></i> List of Storage</a>
                             </li>
                             
                             <li>
                              <a href="add_product.php"><i class="glyphicon glyphicon-list-alt"></i> Add Product</a>
                              </li>
                              
                              <li>
                              <a href="cart1.php"><i class="glyphicon glyphicon-shopping-cart"></i> My Order</a>
                              </li>
                              
                              <li>
                              <a href="viewRating.php"><i class="glyphicon glyphicon-signal"></i> Rating</a>
                              </li>
                              
                              <li>
              				<a href="logout.php"><i class="glyphicon glyphicon-off"></i> Logout</a>
                        </li></div>
        
  
  
  
  
</head>
<body>

   


   						 
  </div>
</div>
    
</body>
</html>

          <?php
        }
        ?>




        <?php

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





<!DOCTYPE html>
<html>
<head>
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
  <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
  <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
  
  
  <h2>Welcome !</h2>

  
          <h4> <a data-toggle="collapse" href="#collapse1"> Main Menu</a>
        </h4>
       
        
      </div>
      <div id="collapse1" class="panel-collapse collapse">
        <div class="panel-body"><li>
                   <a href="index2.php"><i class="glyphicon glyphicon-home"></i> Home</a> </li>
                           
                           <li>
                            <a href="profile.php"><i class="glyphicon glyphicon-user"></i> View Profile</a>
                            </li>
                            
                            <li>
                            <a href="update.php"><i class="glyphicon glyphicon-pencil"></i> Update Profile</a>
                            </li>
                            
                            <li>
                             <a href="viewproduct.php"><i class="glyphicon glyphicon-list-alt"></i> List of Storage</a>
                             </li>
                             
                           
                              
                              <li>
                              <a href="cart1.php"><i class="glyphicon glyphicon-shopping-cart"></i> My Order</a>
                              </li>
                              
                                  <li>
                              <a href="summary1.php"><i class="glyphicon glyphicon-shopping-cart"></i> Order History</a>
                              </li>
                              
                              
                              <li>
                              <a href="viewRating.php"><i class="glyphicon glyphicon-signal"></i> Rating</a>
                              </li>
                              
                              <li>
                      <a href="logout.php"><i class="glyphicon glyphicon-off"></i> Logout</a>
                        </li></div>
        
  
  
  
  
</head>
<body>

   


               
  </div>
</div>
    
</body>
</html>

          <?php
        }
        ?>