 <?php 
 include('./constant/connect.php');
  

 ?>

 
        <div class="left-sidebar">
            
            <div class="scroll-sidebar">
                
                <nav class="sidebar-nav">
                    <ul id="sidebarnav">
                        <li class="nav-devider"></li>
                        <li class="nav-label">Home</li>
                        <li> <a href="dashboard.php" aria-expanded="false"><i class="fa fa-tachometer"></i>Dashboard</a>
                        </li> 
                 
                         <?php if(isset($_SESSION['userId']) && $_SESSION['userId']==1) { ?>
                             <li> <a class="has-arrow" href="#" aria-expanded="false"><i class="fa fa-user"></i><span class="hide-menu">Client</span></a>
                            <ul aria-expanded="false" class="collapse">
                           
                                <li><a href="add_client.php">Add Client</a></li>
                           
                                <li><a href="client.php">Manage Client</a></li>
                            </ul>
                        </li>
                
                       <!--  <li> <a class="has-arrow" href="#" aria-expanded="false"><i class="fa fa-apple"></i><span class="hide-menu">Brand</span></a>
                            <ul aria-expanded="false" class="collapse">
                           
                                <li><a href="add-brand.php">Add Brand</a></li>
                           
                                <li><a href="brand.php">Manage Brand</a></li>
                                 <li><a href="importbrand.php">Import Brand</a></li>
                            </ul>
                        </li> -->
                    <?php }?>
                        <?php if(isset($_SESSION['userId']) && $_SESSION['userId']==1) { ?>
                        <li> <a class="has-arrow" href="#" aria-expanded="false"><i class="fa fa-list"></i><span class="hide-menu">Test Categories</span></a>
                            <ul aria-expanded="false" class="collapse">
                           
                                <li><a href="add-category.php">Add Test Category</a></li>
                           
                                <li><a href="categories.php"> Test Categories</a></li>
                            </ul>
                        </li>
                    <?php }?>
                    <?php if(isset($_SESSION['userId']) && $_SESSION['userId']==1) { ?>
                        <li> <a class="has-arrow" href="#" aria-expanded="false"><i class="fa fa-flask"></i><span class="hide-menu">Test</span></a>
                            <ul aria-expanded="false" class="collapse">
                           
                                <li><a href="add-test.php">Add Test</a></li>
                           
                                <li><a href="test.php">Manage Test</a></li>
                            </ul>
                        </li>
                    <?php }?>
                        <li> <a class="has-arrow" href="#" aria-expanded="false"><i class="fa fa-files-o"></i><span class="hide-menu">Invoices</span></a>
                            <ul aria-expanded="false" class="collapse">
                           
                                <li><a href="add-invoice.php">Add Invoice</a></li>
                           
                                <li><a href="invoice.php">Manage Invoices</a></li>
                            </ul>
                        </li>
                         
                        <?php if(isset($_SESSION['userId']) && $_SESSION['userId']==1) { ?>
                         <li><a href="report.php" href="#" aria-expanded="false"><i class="fa fa-print"></i><span class="hide-menu">Reports</span></a></li>
                        
<?php }?>
<?php if(isset($_SESSION['userId']) && $_SESSION['userId']==1) { ?>
                         <li> <a class="has-arrow" href="#" aria-expanded="false"><i class="fa fa-cog"></i><span class="hide-menu">Setting</span></a>
                            <ul aria-expanded="false" class="collapse">
                               
                               <li><a href="manage_website.php">Appearance</a></li>
                           
                              <li><a href="email_config.php">Email </a></li>
                               
                            </ul>
                        </li> 
                  <?php }?>

                  <?php if(isset($_SESSION['userId']) && $_SESSION['userId']==1) { ?>
                         <li><a href="about.php" aria-expanded="false"><i class="fa fa-info-circle"></i><span class="hide-menu">Know More</span></a></li>
                        
<?php }?>

<?php if(isset($_SESSION['userId']) && $_SESSION['userId']==1) { ?>
                         <li><a href="https://mayurik.com/source-code/P5207/advance-laboratory-management-system-project" aria-expanded="false"><i class="fa fa-upload"></i><span class="hide-menu">Advance Version</span></a></li>
                        
<?php }?>



                  


    
                    </ul>   
                </nav>
                
            </div>
            
        </div>
        