        <!-- left menu starts -->
        
<style type="text/css">
ul li  .smallmed{
    display: none;
    }
@media only screen and (max-width: 700px){
 ul li  .smallmed{
    display: block;
    }
       ul li .largmed{
    display: none;
    }
}

</style>
        <div class="col-sm-2 col-lg-2">
            <div class="sidebar-nav">
                <div class="nav-canvas">
                    <div class="nav-sm nav nav-stacked">

                    </div>
                    <ul class="nav nav-pills nav-stacked main-menu">
                        <li class="nav-header">Menu</li>
                        <li><a class="ajax-link" href="dashboard.php"><i class="glyphicon glyphicon-home"></i><span> Dashboard</span></a>
                        </li>       

                        <?php 
   if($_SESSION['userId']==2532){
?>

                                      <li class="accordion">
                            <a href="#"><i class="glyphicon glyphicon-list-alt"></i><span> Registration</span></a>
                            <ul class="nav nav-pills nav-stacked">
                                <li><a href="grprg.php">Group of Accounts</a></li>
                                <li><a href="accrg.php">Accounts</a></li>
                                <li><a href="itmrg.php">Products</a></li>                          
                           </ul>
                        </li>


<?php 
  }
?>           
                 
                        <li class="accordion">
                            <a href="#"><i class="glyphicon glyphicon-pencil"></i><span> Transaction</span></a>
                            <ul class="nav nav-pills nav-stacked">

                    
<?php 
   if($_SESSION['userId']==2532){
?>

                                      
                                <li><a href="chcks.php">Chicks</a></li>
                                <li><a href="ffdtr.php">Feed In/Out</a></li>
                                <li><a href="ffdslr.php">Feed Transfer</a></li>
                                <li><a href="medpr.php">Medicine Purchase</a></li>
                                <li><a href="med.php">Medicine Sales</a></li>
                                <li><a href="medslr.php">Sales Return</a></li>


                                <li><a href="brltr.php">Broiler Sales</a></li>
                                <li><a href="crv.php">CRV</a></li>
                                <li><a href="cpv.php">CPV</a></li>
                                <!-- <li><a href="contra.php">Contra</a></li> -->
                                <li><a href="jv.php">JV</a></li>

<?php 
  }
?>

<?php 
   if($_SESSION['userId']==2533){
?>

                                      
                                
                                <li><a href="brltr.php">Broiler Sales</a></li>
                                <li><a href="crv.php">CRV</a></li>
                                <li><a href="cpv.php">CPV</a></li>
                                <!-- <li><a href="contra.php">Contra</a></li> -->
                                <li><a href="jv.php">JV</a></li>

<?php 
  }
?>



              <!--                   <li><a href="#">ffa</a></li> -->
                           </ul>
                        </li>
                           <li class="accordion">
                            <a href="#"><i class="glyphicon glyphicon-book"></i><span> Account Report</span></a>
                            <ul class="nav nav-pills nav-stacked">
                                <li><a href="acclgr.php">Account Ledger</a></li>
                                 <li><a href="grplgr.php">Group Ledger</a></li>
<?php 
   if($_SESSION['userId']==2532){
?>

                               
                                <li><a href="trsc.php">Transaction</a></li>
                                <li><a href="daysum.php">Day Summary</a></li>
                                <li><a href="plssum.php">Profit / Loss Summary</a></li>
<?php 
  }
?>


                              </ul>
                        </li>
                          <li class="accordion">
                            <a href="#"><i class="glyphicon glyphicon-book"></i><span> Stock Reports</span></a>
                            <ul class="nav nav-pills nav-stacked">
                                <li><a href="stklgr.php">Stock Ledger</a></li>
                                <li><a href="slandstk.php">Sale & Stock</a></li>
                               <!--  <li><a href="dailypr.php">Daily Purchase Report</a></li>
                                <li><a href="dailysl.php">Daily Sales Report</a></li> -->
                              </ul>
                        </li>
<!-- 
                       <li><a href="privilege.php"><i class="glyphicon glyphicon-cog"></i><span> Setting</span></a>
                        </li> -->

                         
<?php 
   if($_SESSION['userId']==2532){
?>

                                <li><a href="userrg.php"><i class="glyphicon glyphicon-lock"></i><span> User </span></a>
                        </li>
<?php 
  }
?>
                        <li><a href="logout.php"><i class="glyphicon glyphicon-lock"></i><span> Login Page</span></a>
                        </li>

                       
                    </ul>

                    <!-- <label id="for-is-ajax" for="is-ajax"><input id="is-ajax" type="checkbox"> Ajax on menu</label> -->
                </div>
            </div>
        </div>
        <!--/span-->
        <!-- left menu ends -->