<?php error_reporting(E_ALL & ~E_NOTICE); ?>
<aside class="main-sidebar">
<section class="axesba">
    <div class="axesba-contain">   
        <p class="axesba-title">Axes Business Automation</p>
    </div>     
</section>
<section class="sidebar">
<?php 
$access=$_SESSION['access']; 
$sql="SELECT * FROM tbl_usermodule WHERE seid='$access' ORDER BY id ASC LIMIT 1";    
$admin=mysqli_query($con,$sql) or die(mysqli_error($con));  
$adm=mysqli_fetch_array($admin);
?>
<ul class="sidebar-menu" data-widget="tree">

<li> <a href="home.php" <?php if(isset($phead) && $phead=='home'){echo 'class="active"';}?>><i class="fa fa-dashboard ani_icon"></i> <span><?php if(get_fild_data('tbl_setting','1','sval')==0){echo 'Dashboard';}else{echo 'ড্যাশবোর্ড';}?></span></a></li>
<?php if($adm['daily']==1){?>    
<li class="treeview<?php if(isset($mhead) && $mhead=='daily'){echo ' menu-open';}?>">
<a href="#">
<i class="fa fa-edit ani_icon"></i> <span><?php if(get_fild_data('tbl_setting','1','sval')==0){echo 'Daily Process';}else{echo 'প্রতিদিনের কার্যক্রম';}?></span>
<span class="pull-right-container">
<i class="fa fa-angle-left pull-right"></i>
</span>
</a>
<ul class="treeview-menu" <?php if(isset($mhead) && $mhead=='daily'){echo 'style="display: block;"';}?>>
<?php if(get_pagesecurity('2','views','P')){?>    
<li><a href="dai_pricelist.php" <?php if(isset($phead) && $phead=='prilist'){echo 'class="active"';}?>><i class="fa fa-caret-right"></i><?php if(get_fild_data('tbl_setting','1','sval')==0){echo 'Price List';}else{echo 'মূল্য তালিকা';}?></a></li>
<?php } ?>
<?php if(get_pagesecurity('2','edits','P')){?>     
<li><a href="dai_priceupdate.php" <?php if(isset($phead) && $phead=='priupd'){echo 'class="active"';}?>><i class="fa fa-caret-right"></i> <?php if(get_fild_data('tbl_setting','1','sval')==0){echo 'Update Price List';}else{echo 'মূল্য তালিকা হালনাগাদ করুন';}?></a></li>
<?php } ?>
<!-- <?php if(get_pagesecurity('3','views','P')){?>     
<li><a href="dai_esexpenlist.php" <?php if(isset($phead) && $phead=='esextlist'){echo 'class="active"';}?>><i class="fa fa-caret-right"></i> <?php if(get_fild_data('tbl_setting','1','sval')==0){echo 'Est.Expenses Record';}else{echo 'খরচের খাতা';}?></a></li>
<?php } ?>
<?php if(get_pagesecurity('3','creates','P')){?>     
<li><a href="dai_esexpensescreate.php" <?php if(isset($phead) && $phead=='esexpcre'){echo 'class="active"';}?>><i class="fa fa-caret-right"></i> <?php if(get_fild_data('tbl_setting','1','sval')==0){echo 'Create Est.Expenses';}else{echo 'খরচ করুন';}?></a></li>
<?php } ?> -->
<?php if(get_pagesecurity('3','views','P')){?>     
<li><a href="dai_expenlist.php" <?php if(isset($phead) && $phead=='extlist'){echo 'class="active"';}?>><i class="fa fa-caret-right"></i> <?php if(get_fild_data('tbl_setting','1','sval')==0){echo 'Expenses Record';}else{echo 'খরচের খাতা';}?></a></li>
<?php } ?>
<?php if(get_pagesecurity('3','creates','P')){?>     
<li><a href="dai_expensescreate.php" <?php if(isset($phead) && $phead=='expcre'){echo 'class="active"';}?>><i class="fa fa-caret-right"></i> <?php if(get_fild_data('tbl_setting','1','sval')==0){echo 'Create Expenses';}else{echo 'খরচ করুন';}?></a></li>
<?php } ?>
<?php if(get_pagesecurity('4','views','P')){?>     
<li><a href="dai_explist.php" <?php if(isset($phead) && $phead=='expitm'){echo 'class="active"';}?>><i class="fa fa-caret-right"></i> <?php if(get_fild_data('tbl_setting','1','sval')==0){echo 'Expenses Head';}else{echo 'খরচের খাত সমূহ';}?></a></li>
<?php } ?>
<?php if(get_pagesecurity('4','creates','P')){?>     
<li><a href="dai_expadd.php" <?php if(isset($phead) && $phead=='expadd'){echo 'class="active"';}?>><i class="fa fa-caret-right"></i> <?php if(get_fild_data('tbl_setting','1','sval')==0){echo 'Add Expenses Head';}else{echo 'নতুন খরচের খাত';}?></a></li>
<?php } ?>   
<?php if(get_pagesecurity('4','creates','R')){?>     
<!-- <li><a href="dai_dsrlist.php" <?php if(isset($phead) && $phead=='dsrlist'){echo 'class="active"';}?>><i class="fa fa-caret-right"></i> <?php if(get_fild_data('tbl_setting','1','sval')==0){echo 'DSR List';}else{echo 'ডিএসআর লিস্ট';}?></a></li> -->
<?php } ?>
<?php if(get_pagesecurity('4','creates','R')){?>     
<!-- <li><a href="dai_dsrcreate.php" <?php if(isset($phead) && $phead=='dsradd'){echo 'class="active"';}?>><i class="fa fa-caret-right"></i> <?php if(get_fild_data('tbl_setting','1','sval')==0){echo 'Add DSR';}else{echo 'নতুন ডিএসআর';}?></a></li> -->
<?php } ?>  
<?php if(get_pagesecurity('4','creates','R')){?>     
<li><a href="axe_databasebackup.php" target="_blank" <?php if(isset($phead) && $phead=='dsradd'){echo 'class="active"';}?>><i class="fa fa-caret-right"></i> <?php if(get_fild_data('tbl_setting','1','sval')==0){echo 'Database Backup';}else{echo 'Database Backup';}?></a></li>
<?php } ?> 

<?php if(get_pagesecurity('4','creates','R')){?>     
<li><a href="axe_databaserefresh.php" target="_blank" <?php if(isset($phead) && $phead=='datafr'){echo 'class="active"';}?>><i class="fa fa-caret-right"></i> <?php if(get_fild_data('tbl_setting','1','sval')==0){echo 'Database Refresh';}else{echo 'Database Backup';}?></a></li>
<?php } ?> 


<?php if(get_pagesecurity('4','creates','R')){?>     
<li><a href="dai_barcodegen.php" <?php if(isset($phead) && $phead=='barcode'){echo 'class="active"';}?>><i class="fa fa-caret-right"></i> <?php if(get_fild_data('tbl_setting','1','sval')==0){echo 'Barcode';}else{echo 'Barcode';}?></a></li>
<?php } ?> 

</ul>
</li>
<?php } ?>
<?php if(get_section ('operation')<=0){?>    
<li class="treeview<?php if(isset($mhead) && $mhead=='operation'){echo ' menu-open';}?>">
<a href="#">
<i class="fa fa-book ani_icon"></i> <span>Operation Process</span>
<span class="pull-right-container">
<i class="fa fa-angle-left pull-right"></i>
</span>
</a>
<ul class="treeview-menu" <?php if(isset($mhead) && $mhead=='operation'){echo 'style="display: block;"';}?>>
<?php if(get_pagesecurity('5','views','P')){?>     
<li><a href="opr_pilist.php" <?php if(isset($phead) && $phead=='pilist'){echo 'class="active"';}?>><i class="fa fa-caret-right"></i> PI List</a></li>
<?php } ?>
<?php if(get_pagesecurity('5','creates','P')){?>    
<li><a href="opr_pigen.php" <?php if(isset($phead) && $phead=='pire'){echo 'class="active"';}?>><i class="fa fa-caret-right"></i> Generate PI</a></li>
<?php } ?>    
<?php if(get_pagesecurity('6','views','P')){?>      
<li><a href="opr_lclist.php" <?php if(isset($phead) && $phead=='lcist'){echo 'class="active"';}?>><i class="fa fa-caret-right"></i> LC List</a></li>
<?php } ?>
<?php if(get_pagesecurity('6','creates','P')){?>     
<li><a href="opr_lcgen.php" <?php if(isset($phead) && $phead=='lccre'){echo 'class="active"';}?>><i class="fa fa-caret-right"></i> Generate LC</a></li>
<?php } ?>    
<?php if(get_pagesecurity('7','views','P')){?>    
<li><a href="opr_invoice.php" <?php if(isset($phead) && $phead=='invist'){echo 'class="active"';}?>><i class="fa fa-caret-right"></i> Invoice List</a></li>
<?php } ?>
<?php if(get_pagesecurity('7','creates','P')){?>    
<li><a href="opr_geninvo.php" <?php if(isset($phead) && $phead=='invcre'){echo 'class="active"';}?>><i class="fa fa-caret-right"></i> Generate Invoice</a></li>
<?php } ?>    
<?php if(get_pagesecurity('8','views','P')){?>      
<li><a href="opr_delilist.php" <?php if(isset($phead) && $phead=='deliist'){echo 'class="active"';}?>><i class="fa fa-caret-right"></i> Delivery Record</a></li>
<?php } ?>
<?php if(get_pagesecurity('7','creates','P')){?>     
<li><a href="opr_deligen.php" <?php if(isset($phead) && $phead=='delicre'){echo 'class="active"';}?>><i class="fa fa-caret-right"></i> Add Delivery Record</a></li>
<?php } ?>    
</ul>
</li>
<?php } ?>
<?php if($adm['purchase']==1){?>
<li class="treeview<?php if(isset($mhead) && $mhead=='purchase'){echo ' menu-open';}?>">
<a href="#">
<i class="fa fa-shopping-basket ani_icon"></i> <span><?php if(get_fild_data('tbl_setting','1','sval')==0){echo 'Purchase';}else{echo 'ক্রয় করুন';}?></span>
<span class="pull-right-container">
<i class="fa fa-angle-left pull-right"></i>
</span>
</a>
<ul class="treeview-menu" <?php if(isset($mhead) && $mhead=='purchase'){echo 'style="display: block;"';}?>>  
<?php if(get_pagesecurity('47','views','P')){?>    
<li><a href="pur_porderlist.php" <?php if(isset($phead) && $phead=='porlist'){echo 'class="active"';}?>><i class="fa fa-caret-right"></i> <?php if(get_fild_data('tbl_setting','1','sval')==0){echo 'Purchase Order';}else{echo 'ক্রয়ের আদেশ সমূহ';}?></a></li>
<?php } ?>
<?php if(get_pagesecurity('47','creates','P')){?>  
<li><a href="pur_pordercteate.php" <?php if(isset($phead) && $phead=='porcreate'){echo 'class="active"';}?>><i class="fa fa-caret-right"></i> <?php if(get_fild_data('tbl_setting','1','sval')==0){echo 'Purchase Order Create';}else{echo 'নতুন ক্রয় আদেশ';}?></a></li>
<?php } ?>
<?php if(get_pagesecurity('48','views','P')){?> 
<li><a href="pur_pinvlist.php" <?php if(isset($phead) && $phead=='pinvlist'){echo 'class="active"';}?>><i class="fa fa-caret-right"></i> <?php if(get_fild_data('tbl_setting','1','sval')==0){echo 'Purchase Invoice';}else{echo 'ক্রয় কৃত পণ্যের রসিদ';}?></a></li>
<?php } ?>
<?php if(get_pagesecurity('48','creates','P')){?> 
<li><a href="pur_pinvcteate.php" <?php if(isset($phead) && $phead=='pinvcreate'){echo 'class="active"';}?>><i class="fa fa-caret-right"></i> <?php if(get_fild_data('tbl_setting','1','sval')==0){echo 'Purchase Invoice Create';}else{echo 'পণ্য ক্রয় করুন';}?></a></li>
<?php } ?>
<?php if(get_pagesecurity('49','views','P')){?> 
<li><a href="pur_preturnlist.php" <?php if(isset($phead) && $phead=='prelist'){echo 'class="active"';}?>><i class="fa fa-caret-right"></i> <?php if(get_fild_data('tbl_setting','1','sval')==0){echo 'Purchase Return';}else{echo 'ক্রয় কৃত পণ্য ফেরতের রসিদ';}?></a></li>
<?php } ?>
<?php if(get_pagesecurity('49','creates','P')){?> 
<li><a href="pur_preturncteate.php" <?php if(isset($phead) && $phead=='precreate'){echo 'class="active"';}?>><i class="fa fa-caret-right"></i> <?php if(get_fild_data('tbl_setting','1','sval')==0){echo 'Purchase Return Create';}else{echo 'ক্রয় কৃত পণ্য ফেরত দিন';}?></a></li>    
<?php } ?>
</ul>
</li>

<?php } ?>
<?php if($adm['sales']==1){?>  
<li class="treeview<?php if(isset($mhead) && $mhead=='sales'){echo ' menu-open';}?>">
<a href="#">
<i class="fa fa-shopping-bag ani_icon"></i> <span><?php if(get_fild_data('tbl_setting','1','sval')==0){echo 'Sales';}else{echo 'বিক্রয় করুন';}?></span>
<span class="pull-right-container">
<i class="fa fa-angle-left pull-right"></i>
</span>
</a>    
<ul class="treeview-menu" <?php if(isset($mhead) && $mhead=='sales'){echo 'style="display: block;"';}?>>
<?php if(get_pagesecurity('50','views','P')){?> 
<li><a href="sel_quotationlist.php" <?php if(isset($phead) && $phead=='squlist'){echo 'class="active"';}?>><i class="fa fa-caret-right"></i> <?php if(get_fild_data('tbl_setting','1','sval')==0){echo 'Sales Quotation';}else{echo 'বিক্রয় মূল্য নির্ধারনের রসিদ';}?></a></li>
<?php } ?>
<?php if(get_pagesecurity('50','creates','P')){?> 
<li><a href="sel_quotationcreate.php" <?php if(isset($phead) && $phead=='squcreate'){echo 'class="active"';}?>><i class="fa fa-caret-right"></i> <?php if(get_fild_data('tbl_setting','1','sval')==0){echo 'Sales Quotation Create';}else{echo 'বিক্রয় মূল্য নির্ধারণ করুন';}?></a></li>
<?php } ?>
<?php if(get_pagesecurity('50','views','P')){?> 
<li><a href="sel_sestimatelist.php" <?php if(isset($phead) && $phead=='seslist'){echo 'class="active"';}?>><i class="fa fa-caret-right"></i> <?php if(get_fild_data('tbl_setting','1','sval')==0){echo 'Sales Estimate';}else{echo 'বিক্রয় মূল্য নির্ধারনের রসিদ';}?></a></li>
<?php } ?>
<?php if(get_pagesecurity('50','creates','P')){?> 
<li><a href="sel_sestimatecteate.php" <?php if(isset($phead) && $phead=='sescreate'){echo 'class="active"';}?>><i class="fa fa-caret-right"></i> <?php if(get_fild_data('tbl_setting','1','sval')==0){echo 'Sales Estimate Create';}else{echo 'বিক্রয় মূল্য নির্ধারণ করুন';}?></a></li>
<?php } ?>
<?php if(get_pagesecurity('51','views','P')){?> 
<li><a href="sel_sinvlist.php" <?php if(isset($phead) && $phead=='sinvlist'){echo 'class="active"';}?>><i class="fa fa-caret-right"></i> <?php if(get_fild_data('tbl_setting','1','sval')==0){echo 'Sales Invoice';}else{echo 'বিক্রয় কৃত পণ্যের রশিদ';}?></a></li>
<?php } ?>
<?php if(get_pagesecurity('51','creates','P')){?> 
<li><a href="sel_sinvcteate.php" <?php if(isset($phead) && $phead=='sinvcreate'){echo 'class="active"';}?>><i class="fa fa-caret-right"></i> <?php if(get_fild_data('tbl_setting','1','sval')==0){echo 'Sales Invoice Create';}else{echo 'পণ্য বিক্রয় করুন';}?></a></li>
<?php } ?>
<?php if(get_pagesecurity('51','creates','P')){?> 
<li><a href="sel_poscreate.php" <?php if(isset($phead) && $phead=='poscreate'){echo 'class="active"';}?>><i class="fa fa-caret-right"></i> <?php if(get_fild_data('tbl_setting','1','sval')==0){echo 'POS';}else{echo 'পণ্য বিক্রয় করুন';}?></a></li>
<?php } ?>
<?php if(get_pagesecurity('52','views','P')){?> 
<li><a href="sel_sreturnlist.php" <?php if(isset($phead) && $phead=='srelist'){echo 'class="active"';}?>><i class="fa fa-caret-right"></i> <?php if(get_fild_data('tbl_setting','1','sval')==0){echo 'Sales Return';}else{echo 'ফেরত কৃত পণ্যের রসিদ';}?></a></li>
<?php } ?>
<?php if(get_pagesecurity('52','creates','P')){?> 
<li><a href="sel_sreturncteate.php" <?php if(isset($phead) && $phead=='srecreate'){echo 'class="active"';}?>><i class="fa fa-caret-right"></i> <?php if(get_fild_data('tbl_setting','1','sval')==0){echo 'Sales Return Create';}else{echo 'বিক্রিত পণ্য ফেরত নিন';}?></a></li>    
<?php } ?>
</ul>
</li>
<?php } ?>
<?php if($adm['service']==1){?>  
<li class="treeview<?php if(isset($mhead) && $mhead=='sevice'){echo ' menu-open';}?>">
<a href="#">
<i class="fa fa-wrench  ani_icon"></i> <span><?php if(get_fild_data('tbl_setting','1','sval')==0){echo 'Service';}else{echo 'সেবা (সার্ভিস)';}?></span><span class="pull-right-container"><i class="fa fa-angle-left pull-right"></i></span></a>
<ul class="treeview-menu" <?php if(isset($mhead) && $mhead=='sevice'){echo 'style="display: block;"';}?>>
<?php if(get_pagesecurity('53','views','P')){?> 
<li><a href="ser_servicelist.php" <?php if(isset($phead) && $phead=='serlist'){echo 'class="active"';}?>><i class="fa fa-caret-right"></i> <?php if(get_fild_data('tbl_setting','1','sval')==0){echo 'Service List';}else{echo 'সেবার তালিকা';}?></a></li>
<?php } ?>
<?php if(get_pagesecurity('54','creates','P')){?> 
<li><a href="ser_receivelist.php" <?php if(isset($phead) && $phead=='serrevlist'){echo 'class="active"';}?>><i class="fa fa-caret-right"></i> <?php if(get_fild_data('tbl_setting','1','sval')==0){echo 'Service Received List';}else{echo 'Service Received List';}?></a></li>
<?php } ?>
<?php if(get_pagesecurity('54','views','P')){?> 
<li><a href="ser_receivecreate.php" <?php if(isset($phead) && $phead=='serrevcre'){echo 'class="active"';}?>><i class="fa fa-caret-right"></i> <?php if(get_fild_data('tbl_setting','1','sval')==0){echo 'Service Received Create';}else{echo 'Service Received Create';}?></a></li>
<?php } ?>
<?php if(get_pagesecurity('55','creates','P')){?> 
<li><a href="ser_serinvlist.php" <?php if(isset($phead) && $phead=='serinv'){echo 'class="active"';}?>><i class="fa fa-caret-right"></i> <?php if(get_fild_data('tbl_setting','1','sval')==0){echo 'Sales Service';}else{echo 'সেবা বিক্রয় রশিদ সমূহ';}?></a></li>
<?php } ?>
<?php if(get_pagesecurity('55','views','P')){?> 
<li><a href="ser_serinvcre.php" <?php if(isset($phead) && $phead=='sercreate'){echo 'class="active"';}?>><i class="fa fa-caret-right"></i> <?php if(get_fild_data('tbl_setting','1','sval')==0){echo 'Service Sales Create';}else{echo 'সেবা বিক্রয় রশিদ তৈর করুন';}?></a></li>    
<?php } ?>
</ul>    
</li>   
<?php } ?>
<?php if($adm['warranty']==1){?> 
<li class="treeview<?php if(isset($mhead) && $mhead=='waaranty'){echo ' menu-open';}?>">
<a href="#">
<i class="fa fa-microchip  ani_icon"></i> <span><?php if(get_fild_data('tbl_setting','1','sval')==0){echo 'Warranty Management';}else{echo 'ওয়ারেন্টি ব্যাবস্থাপনা';}?></span>
<span class="pull-right-container">
<i class="fa fa-angle-left pull-right"></i>
</span>
</a>
<ul class="treeview-menu" <?php if(isset($mhead) && $mhead=='waaranty'){echo 'style="display: block;"';}?>>
<?php if(get_pagesecurity('56','creates','P')){?> 
<li><a href="war_replace.php" <?php if(isset($phead) && $phead=='wareplace'){echo 'class="active"';}?>><i class="fa fa-caret-right"></i> <?php if(get_fild_data('tbl_setting','1','sval')==0){echo 'Replace Warranty';}else{echo 'প্রতিস্থাপন ওয়ারেন্টি';}?></a></li>
<?php } ?>
<?php if(get_pagesecurity('56','creates','P')){?> 
<li><a href="war_claim.php" <?php if(isset($phead) && $phead=='waclaim'){echo 'class="active"';}?>><i class="fa fa-caret-right"></i> <?php if(get_fild_data('tbl_setting','1','sval')==0){echo 'Warranty Claim';}else{echo 'ওয়ারেন্টি দাবি (ক্লেইম)';}?></a></li>
<?php } ?>
<?php if(get_pagesecurity('57','creates','P')){?> 
<li><a href="war_procheck.php" <?php if(isset($phead) && $phead=='wapcheck'){echo 'class="active"';}?>><i class="fa fa-caret-right"></i> <?php if(get_fild_data('tbl_setting','1','sval')==0){echo 'Product Checking';}else{echo 'পণ্য (প্রোডাক্ট) চেকিং';}?></a></li>
<?php } ?>
<?php if(get_pagesecurity('58','creates','P')){?> 
<li><a href="war_proreceiv.php" <?php if(isset($phead) && $phead=='waprecv'){echo 'class="active"';}?>><i class="fa fa-caret-right"></i> <?php if(get_fild_data('tbl_setting','1','sval')==0){echo 'Manage Product';}else{echo 'পণ্যের ওয়ারেন্টি ব্যবস্থাপনা';}?></a></li> 
<?php } ?>
<?php if(get_pagesecurity('59','creates','P')){?> 
<li><a href="war_deliverd.php" <?php if(isset($phead) && $phead=='wapdeli'){echo 'class="active"';}?>><i class="fa fa-caret-right"></i> <?php if(get_fild_data('tbl_setting','1','sval')==0){echo 'Warranty Delivered';}else{echo 'ওয়ারেন্টি পণ্য বিতরণ';}?></a></li>
<?php } ?>
<?php if(get_pagesecurity('60','creates','P')){?> 
<li><a href="war_prostcok.php" <?php if(isset($phead) && $phead=='prostcok'){echo 'class="active"';}?>><i class="fa fa-caret-right"></i> <?php if(get_fild_data('tbl_setting','1','sval')==0){echo 'Warranty Stock';}else{echo 'ওয়ারেন্টি পণ্যের মজুদ (স্টক)';}?></a></li>
<?php } ?>
<?php if(get_pagesecurity('61','creates','P')){?> 
<li><a href="war_manbadstock.php" <?php if(isset($phead) && $phead=='badsman'){echo 'class="active"';}?>><i class="fa fa-caret-right"></i><?php if(get_fild_data('tbl_setting','1','sval')==0){echo 'Claim To Supplier';}else{echo 'সরবরাহকারীর কাছে দাবি (ক্লেইম)';}?></a></li>    
<?php } ?>
<?php if(get_pagesecurity('62','creates','P')){?> 
<li><a href="war_service.php" <?php if(isset($phead) && $phead=='wasecen'){echo 'class="active"';}?>><i class="fa fa-caret-right"></i> <?php if(get_fild_data('tbl_setting','1','sval')==0){echo 'Service Center';}else{echo 'সেবা কেন্দ্র';}?></a></li>    
<?php } ?>
</ul>   
 </li>    
<?php } ?>
<?php if($adm['inventory']==1){?>    
<li class="treeview<?php if(isset($mhead) && $mhead=='inventor'){echo ' menu-open';}?>">
<a href="#">
<i class="fa fa-barcode ani_icon"></i> <span><?php if(get_fild_data('tbl_setting','1','sval')==0){echo 'Inventory';}else{echo 'পণ্যের মজুদ (ইনভেন্টরি)';}?></span><span class="pull-right-container"><i class="fa fa-angle-left pull-right"></i></span></a>    
<ul class="treeview-menu" <?php if(isset($mhead) && $mhead=='inventor'){echo 'style="display: block;"';}?>>

<?php if(get_fild_data('tbl_limitset','1','brlim')>0){?>   
<?php if(get_pagesecurity('63','views','P')){?>  
<li><a href="inv_branchlist.php" <?php if(isset($phead) && $phead=='ibrlist'){echo 'class="active"';}?>><i class="fa fa-caret-right"></i> <?php if(get_fild_data('tbl_setting','1','sval')==0){echo 'Branch';}else{echo 'শাখা (ব্রাঞ্চ)';}?></a></li>
<?php } ?>
<?php if(get_limitpermision('tbl_branch')<get_fild_data('tbl_limitset','1','brlim')){?>   
<?php if(get_pagesecurity('63','creates','P')){?>  
<li><a href="inv_branchcreate.php" <?php if(isset($phead) && $phead=='ibrcreate'){echo 'class="active"';}?>><i class="fa fa-caret-right"></i> <?php if(get_fild_data('tbl_setting','1','sval')==0){echo 'Branch Create';}else{echo 'শাখা (ব্রাঞ্চ) তৈরি করুন';}?></a></li>
<?php }}} ?>
<?php if(get_fild_data('tbl_limitset','1','whlim')>0){?>  
<?php if(get_pagesecurity('64','views','P')){?>    
<li><a href="inv_whouselist.php" <?php if(isset($phead) && $phead=='wholist'){echo 'class="active"';}?>><i class="fa fa-caret-right"></i> <?php if(get_fild_data('tbl_setting','1','sval')==0){echo 'Warehouse';}else{echo 'গুদাম ঘর (ওয়্যারহাউস)';}?></a></li>
<?php } ?>
<?php if(get_limitpermision('tbl_warehouse')<get_fild_data('tbl_limitset','1','brlim')){?> 
<?php if(get_pagesecurity('64','creates','P')){?>    
<li><a href="inv_whousecreate.php" <?php if(isset($phead) && $phead=='whocreate'){echo 'class="active"';}?>><i class="fa fa-caret-right"></i> <?php if(get_fild_data('tbl_setting','1','sval')==0){echo 'Warehouse Create';}else{echo 'গুদাম ঘর তৈরি করুন';}?></a></li>
<?php }}} ?>    
<?php if(get_pagesecurity('65','views','P')){?>  
<li><a href="inv_deliverlist.php" <?php if(isset($phead) && $phead=='dellist'){echo 'class="active"';}?>><i class="fa fa-caret-right"></i> <?php if(get_fild_data('tbl_setting','1','sval')==0){echo 'Product Delivery';}else{echo 'বিক্রয় কৃত পণ্য বিতরণ';}?></a></li>
<?php } ?>    
<?php if(get_pagesecurity('66','views','P')){?>  
<li><a href="inv_receivlist.php" <?php if(isset($phead) && $phead=='reclist'){echo 'class="active"';}?>><i class="fa fa-caret-right"></i> <?php if(get_fild_data('tbl_setting','1','sval')==0){echo 'Product Received';}else{echo 'ক্রয় কৃত পণ্য গ্রহণ';}?></a></li>
<?php } ?>    
<?php if(get_pagesecurity('67','views','P')){?>  
<li><a href="inv_brstocklist.php" <?php if(isset($phead) && $phead=='brstock'){echo 'class="active"';}?>><i class="fa fa-caret-right"></i> <?php if(get_fild_data('tbl_setting','1','sval')==0){echo 'Branch Stock';}else{echo 'শাখার মজুদ পণ্য (স্টক)';}?></a></li>
<?php } ?>    
<?php if(get_pagesecurity('68','views','P')){?>  
<li><a href="inv_whostock.php" <?php if(isset($phead) && $phead=='whostock'){echo 'class="active"';}?>><i class="fa fa-caret-right"></i> <?php if(get_fild_data('tbl_setting','1','sval')==0){echo 'Warehouse Stock';}else{echo 'গুদাম ঘরের মজুদ পণ্য';}?></a></li>
<?php } ?>    
<?php if(get_pagesecurity('69','views','P')){?>  
<li><a href="inv_comstock.php" <?php if(isset($phead) && $phead=='comstock'){echo 'class="active"';}?>><i class="fa fa-caret-right"></i> <?php if(get_fild_data('tbl_setting','1','sval')==0){echo 'Combined Stock';}else{echo 'সম্মিলিত মজুদ পণ্য';}?></a></li>
<?php } ?>    
<?php if(get_pagesecurity('70','views','P')){?>  
<li><a href="inv_bratra.php" <?php if(isset($phead) && $phead=='bratra'){echo 'class="active"';}?>><i class="fa fa-caret-right"></i> <?php if(get_fild_data('tbl_setting','1','sval')==0){echo 'Transfer From Branch';}else{echo 'শাখা থেকে স্থানান্তর (ট্রান্সফার)';}?></a></li>    
<?php } ?>    
<?php if(get_pagesecurity('71','views','P')){?>  
<li><a href="inv_whotra.php" <?php if(isset($phead) && $phead=='whotra'){echo 'class="active"';}?>><i class="fa fa-caret-right"></i> <?php if(get_fild_data('tbl_setting','1','sval')==0){echo 'Transfer From Warehouse';}else{echo 'গুদাম থেকে স্থানান্তর (ট্রান্সফার)';}?></a></li>  
<?php } ?>    
<?php if(get_pagesecurity('72','views','P')){?>  
<li><a href="inv_prodispos.php" <?php if(isset($phead) && $phead=='prodis'){echo 'class="active"';}?>><i class="fa fa-caret-right"></i> <?php if(get_fild_data('tbl_setting','1','sval')==0){echo 'Product Disposal';}else{echo 'পণ্যের নিষ্পত্তি (অ্যাডজাস্টমেন্ট)';}?></a></li>     
<?php } ?>    
</ul>
</li>   
<?php } ?>
<?php if($adm['client']==1){?>      
<li class="treeview<?php if(isset($mhead) && $mhead=='client'){echo ' menu-open';}?>">
<a href="#">
<i class="fa fa-handshake-o ani_icon"></i> <span><?php if(get_fild_data('tbl_setting','1','sval')==0){echo 'Client Setup';}else{echo 'গ্রাহক (ক্লায়েন্ট)';}?></span>
<span class="pull-right-container">
<i class="fa fa-angle-left pull-right"></i>
</span>
</a>
<ul class="treeview-menu" <?php if(isset($mhead) && $mhead=='client'){echo 'style="display: block;"';}?>>   
<?php if(get_pagesecurity('9','views','P')){?>
<li><a href="main_cutomerlist.php" <?php if(isset($phead) && $phead=='cuslist'){echo 'class="active"';}?>><i class="fa fa-caret-right"></i> <?php if(get_fild_data('tbl_setting','1','sval')==0){echo 'Customer List';}else{echo 'গ্রাহকের তালিকা (কাস্টমার)';}?></a></li>
<?php } ?>
<?php if(get_pagesecurity('9','creates','P')){?>     
<li><a href="main_cutomercreate.php" <?php if(isset($phead) && $phead=='cuscre'){echo 'class="active"';}?>><i class="fa fa-caret-right"></i> <?php if(get_fild_data('tbl_setting','1','sval')==0){echo 'Add Customer';}else{echo 'নতুন গ্রাহক (কাস্টমার)';}?></a></li>
<?php } ?>
<?php if(get_pagesecurity('10','views','P')){?>    
<li><a href="main_supplierlist.php" <?php if(isset($phead) && $phead=='suplist'){echo 'class="active"';}?>><i class="fa fa-caret-right"></i> <?php if(get_fild_data('tbl_setting','1','sval')==0){echo 'Supplier List';}else{echo 'সরবরাহকারীর তালিকা (সাপ্লায়ার)';}?></a></li>
<?php } ?>
<?php if(get_pagesecurity('10','creates','P')){?>     
<li><a href="main_suppliercreate.php" <?php if(isset($phead) && $phead=='supcre'){echo 'class="active"';}?>><i class="fa fa-caret-right"></i> <?php if(get_fild_data('tbl_setting','1','sval')==0){echo 'Add Supplier';}else{echo 'নতুন সরবরাহকারী (সাপ্লায়ার)';}?></a></li>
<?php } ?>
<!-- <?php if(get_pagesecurity('10','views','P')){?>    
<li><a href="main_sellerlist.php" <?php if(isset($phead) && $phead=='sellerlist'){echo 'class="active"';}?>><i class="fa fa-caret-right"></i> <?php if(get_fild_data('tbl_setting','1','sval')==0){echo 'Exchanger List';}else{echo 'বিনিময়কারীর তালিকা';}?></a></li>
<?php } ?>
<?php if(get_pagesecurity('10','creates','P')){?>     
<li><a href="main_sellercreate.php" <?php if(isset($phead) && $phead=='sellercre'){echo 'class="active"';}?>><i class="fa fa-caret-right"></i> <?php if(get_fild_data('tbl_setting','1','sval')==0){echo 'Add Exchanger';}else{echo 'নতুন বিনিময়কারীর';}?></a></li>
<?php } ?> -->
<?php if(get_pagesecurity('10','views','P')){?>    
<li><a href="main_grouplist.php" <?php if(isset($phead) && $phead=='grplist'){echo 'class="active"';}?>><i class="fa fa-caret-right"></i> <?php if(get_fild_data('tbl_setting','1','sval')==0){echo 'All Group';}else{echo 'সকল গ্রুপ';}?></a></li>
<?php } ?>
<?php if(get_pagesecurity('10','creates','P')){?>     
<li><a href="main_groupcreate.php" <?php if(isset($phead) && $phead=='grpcre'){echo 'class="active"';}?>><i class="fa fa-caret-right"></i> <?php if(get_fild_data('tbl_setting','1','sval')==0){echo 'Group Create';}else{echo 'নতুন গ্রুপ';}?></a></li>
<?php } ?>

<?php if(get_pagesecurity('10','creates','P')){?>     
<li><a href="main_customersms.php" <?php if(isset($phead) && $phead=='csms'){echo 'class="active"';}?>><i class="fa fa-caret-right"></i> <?php if(get_fild_data('tbl_setting','1','sval')==0){echo 'Promotional SMS';}else{echo 'Promotional SMS';}?></a></li>
<?php } ?>

<?php if(get_pagesecurity('10','creates','P')){?>     
<li><a href="main_indivisualcustomersms.php" <?php if(isset($phead) && $phead=='indicsms'){echo 'class="active"';}?>><i class="fa fa-caret-right"></i> <?php if(get_fild_data('tbl_setting','1','sval')==0){echo 'Indivisual Promotional SMS';}else{echo 'Indivisual Promotional SMS';}?></a></li>
<?php } ?>

</ul>
</li>
<?php } ?>
<?php if($adm['product']==1){?>  
<li class="treeview<?php if(isset($mhead) && $mhead=='product'){echo ' menu-open';}?>">
<a href="#">
<i class="fa fa-shopping-cart ani_icon"></i> <span><?php if(get_fild_data('tbl_setting','1','sval')==0){echo 'Product Setup';}else{echo 'পণ্যের সেটআপ';}?></span>
<span class="pull-right-container">
<i class="fa fa-angle-left pull-right"></i>
</span>
</a>
<ul class="treeview-menu" <?php if(isset($mhead) && $mhead=='product'){echo 'style="display: block;"';}?>>
<?php if(get_pagesecurity('11','views','P')){?>     
<li><a href="pro_parentlist.php" <?php if(isset($phead) && $phead=='prlist'){echo 'class="active"';}?>><i class="fa fa-caret-right"></i><?php if(get_fild_data('tbl_setting','1','sval')==0){echo 'Parent List';}else{echo 'মূল তালিকা সমূহ';}?></a></li>
<?php } ?>
<?php if(get_pagesecurity('11','creates','P')){?>    
<li><a href="pro_parentcreate.php" <?php if(isset($phead) && $phead=='prcre'){echo 'class="active"';}?>><i class="fa fa-caret-right"></i> <?php if(get_fild_data('tbl_setting','1','sval')==0){echo 'Parent Create';}else{echo 'মূল তালিকা তৈরী করুন';}?></a></li>
<?php } ?>
<?php if(get_pagesecurity('12','views','P')){?>     
<li><a href="pro_categorylist.php" <?php if(isset($phead) && $phead=='catlist'){echo 'class="active"';}?>><i class="fa fa-caret-right"></i> <?php if(get_fild_data('tbl_setting','1','sval')==0){echo 'Category List';}else{echo 'শ্রেণী সমূহের তালিকা (ক্যাটেগরি)';}?></a></li>
<?php } ?>
<?php if(get_pagesecurity('12','creates','P')){?>    
<li><a href="pro_categorycreate.php" <?php if(isset($phead) && $phead=='catcre'){echo 'class="active"';}?>><i class="fa fa-caret-right"></i> <?php if(get_fild_data('tbl_setting','1','sval')==0){echo 'Category Create';}else{echo 'শ্রেণী (ক্যাটেগরি) তৈরী করুন';}?></a></li>
<?php } ?>
<?php if(get_pagesecurity('13','views','P')){?>     
<li><a href="pro_subcategorylist.php" <?php if(isset($phead) && $phead=='scatlist'){echo 'class="active"';}?>><i class="fa fa-caret-right"></i> <?php if(get_fild_data('tbl_setting','1','sval')==0){echo 'Sub-Category List';}else{echo 'শাখা-শ্রেণীর তালিকা';}?></a></li>
<?php } ?>
<?php if(get_pagesecurity('13','creates','P')){?>    
<li><a href="pro_subcategorycreate.php" <?php if(isset($phead) && $phead=='scatcre'){echo 'class="active"';}?>><i class="fa fa-caret-right"></i> <?php if(get_fild_data('tbl_setting','1','sval')==0){echo 'Sub-Category Create';}else{echo 'শাখা-শ্রেণী তৈরী করুন';}?></a></li>
<?php } ?>
<?php if(get_pagesecurity('14','views','P')){?>    
<li><a href="pro_productlist.php" <?php if(isset($phead) && $phead=='prolist'){echo 'class="active"';}?>><i class="fa fa-caret-right"></i> <?php if(get_fild_data('tbl_setting','1','sval')==0){echo 'Product List';}else{echo 'পণ্যের তালিকা';}?></a></li>
<?php } ?>
<?php if(get_pagesecurity('14','creates','P')){?>     
<li><a href="pro_productcreate.php" <?php if(isset($phead) && $phead=='procre'){echo 'class="active"';}?>><i class="fa fa-caret-right"></i> <?php if(get_fild_data('tbl_setting','1','sval')==0){echo 'Add New Product';}else{echo 'নতুন পণ্য যুক্ত করুন';}?></a></li>
<?php } ?>    
</ul>
</li>
<?php } ?>
<?php if($adm['master']==1){?>   
<li class="treeview<?php if(isset($mhead) && $mhead=='master'){echo ' menu-open';}?>">
<a href="#">
<i class="fa fa-sun-o ani_icon"></i> <span><?php if(get_fild_data('tbl_setting','1','sval')==0){echo 'Master Setup';}else{echo 'মাস্টার সেটআপ';}?></span>
<span class="pull-right-container">
<i class="fa fa-angle-left pull-right"></i>
</span>
</a>
<ul class="treeview-menu" <?php if(isset($mhead) && $mhead=='master'){echo 'style="display: block;"';}?>>
<?php if(get_pagesecurity('15','views','P')){?>     
<li><a href="mas_brandlist.php" <?php if(isset($phead) && $phead=='bralist'){echo 'class="active"';}?>><i class="fa fa-caret-right"></i> <?php if(get_fild_data('tbl_setting','1','sval')==0){echo 'Brand List';}else{echo 'ব্র্যান্ডের তালিকা';}?></a></li>
<?php } ?>
<?php if(get_pagesecurity('15','creates','P')){?>    
<li><a href="mas_brandcreate.php" <?php if(isset($phead) && $phead=='bracre'){echo 'class="active"';}?>><i class="fa fa-caret-right"></i> <?php if(get_fild_data('tbl_setting','1','sval')==0){echo 'Add Brand';}else{echo 'ব্র্যান্ড যুক্ত করুন';}?></a></li>
<?php } ?>
<?php if(get_pagesecurity('16','views','P')){?>     
<li><a href="mas_manlist.php" <?php if(isset($phead) && $phead=='manlist'){echo 'class="active"';}?>><i class="fa fa-caret-right"></i> <?php if(get_fild_data('tbl_setting','1','sval')==0){echo 'Manufacturer List';}else{echo 'প্রস্তুতকারকের তালিকা';}?></a></li>
<?php } ?>
<?php if(get_pagesecurity('16','creates','P')){?>     
<li><a href="mas_mancreate.php" <?php if(isset($phead) && $phead=='mancre'){echo 'class="active"';}?>><i class="fa fa-caret-right"></i> <?php if(get_fild_data('tbl_setting','1','sval')==0){echo 'Add Manufacturer';}else{echo 'প্রস্তুতকারক যোগ করুন';}?></a></li>
<?php } ?>
<?php if(get_pagesecurity('17','views','P')){?>     
<li><a href="mas_unitlist.php" <?php if(isset($phead) && $phead=='unilist'){echo 'class="active"';}?>><i class="fa fa-caret-right"></i> <?php if(get_fild_data('tbl_setting','1','sval')==0){echo 'Unit List';}else{echo 'ইউনিট তালিকা';}?></a></li>
<?php } ?>
<?php if(get_pagesecurity('17','creates','P')){?>    
<li><a href="mas_unitcreate.php" <?php if(isset($phead) && $phead=='unicre'){echo 'class="active"';}?>><i class="fa fa-caret-right"></i> <?php if(get_fild_data('tbl_setting','1','sval')==0){echo 'Add Unit';}else{echo 'ইউনিট যুক্ত করুন';}?></a></li>
<?php } ?>
<?php if(get_pagesecurity('18','views','P')){?>    
<li><a href="mas_currencylist.php" <?php if(isset($phead) && $phead=='curlist'){echo 'class="active"';}?>><i class="fa fa-caret-right"></i> <?php if(get_fild_data('tbl_setting','1','sval')==0){echo 'Currency List';}else{echo 'মুদ্রা তালিকা';}?></a></li>
<?php } ?>
<?php if(get_pagesecurity('18','creates','P')){?>     
<li><a href="mas_currencycreate.php" <?php if(isset($phead) && $phead=='curcre'){echo 'class="active"';}?>><i class="fa fa-caret-right"></i> <?php if(get_fild_data('tbl_setting','1','sval')==0){echo 'Add Currency';}else{echo 'মুদ্রা যোগ করুন';}?></a></li>
<?php } ?>
<?php if(get_pagesecurity('19','views','P')){?>     
<li><a href="mas_countrylist.php" <?php if(isset($phead) && $phead=='coulist'){echo 'class="active"';}?>><i class="fa fa-caret-right"></i> <?php if(get_fild_data('tbl_setting','1','sval')==0){echo 'Country List';}else{echo 'দেশের তালিকা';}?></a></li>
<?php } ?>
<?php if(get_pagesecurity('19','creates','P')){?>     
<li><a href="mas_countrycreate.php" <?php if(isset($phead) && $phead=='coucre'){echo 'class="active"';}?>><i class="fa fa-caret-right"></i> <?php if(get_fild_data('tbl_setting','1','sval')==0){echo 'Add Country';}else{echo 'দেশ যোগ করুন';}?></a></li>
<?php } ?>
<?php if(get_pagesecurity('20','views','P')){?>    
<li><a href="mas_shiplist.php" <?php if(isset($phead) && $phead=='shiplist'){echo 'class="active"';}?>><i class="fa fa-caret-right"></i> <?php if(get_fild_data('tbl_setting','1','sval')==0){echo 'Transporter List';}else{echo 'পরিবহনকারীর তালিকা';}?></a></li>
<?php } ?>
<?php if(get_pagesecurity('20','creates','P')){?>    
<li><a href="mas_shipcreate.php" <?php if(isset($phead) && $phead=='shipcre'){echo 'class="active"';}?>><i class="fa fa-caret-right"></i> <?php if(get_fild_data('tbl_setting','1','sval')==0){echo 'Add Transporter';}else{echo 'পরিবহনকারী যোগ করুন';}?></a></li>
<?php } ?>
<?php if(get_pagesecurity('21','views','P')){?>    
<li><a href="mas_colorlist.php" <?php if(isset($phead) && $phead=='colorlist'){echo 'class="active"';}?>><i class="fa fa-caret-right"></i> <?php if(get_fild_data('tbl_setting','1','sval')==0){echo 'Color List';}else{echo 'রঙের তালিকা';}?></a></li>
<?php } ?>
<?php if(get_pagesecurity('21','creates','P')){?>    
<li><a href="mas_colorcreate.php" <?php if(isset($phead) && $phead=='colorcre'){echo 'class="active"';}?>><i class="fa fa-caret-right"></i> <?php if(get_fild_data('tbl_setting','1','sval')==0){echo 'Add Color';}else{echo 'রঙ যোগ করুন';}?></a></li>
<?php } ?>
<?php if(get_pagesecurity('21','views','P')){?>    
<li><a href="mas_sizelist.php" <?php if(isset($phead) && $phead=='sizelist'){echo 'class="active"';}?>><i class="fa fa-caret-right"></i> <?php if(get_fild_data('tbl_setting','1','sval')==0){echo 'Size List';}else{echo 'সাইজ তালিকা';}?></a></li>
<?php } ?>
<?php if(get_pagesecurity('21','creates','P')){?>    
<li><a href="mas_size.php" <?php if(isset($phead) && $phead=='sizecre'){echo 'class="active"';}?>><i class="fa fa-caret-right"></i> <?php if(get_fild_data('tbl_setting','1','sval')==0){echo 'Add Size';}else{echo 'সাইজ যোগ করুন';}?></a></li>
<?php } ?>
<li><a href="mas_district.php" <?php if(isset($phead) && $phead=='distric'){echo 'class="active"';}?>><i class="fa fa-caret-right"></i> <?php if(get_fild_data('tbl_setting','1','sval')==0){echo 'District';}else{echo 'জেলা';}?></a></li>
<li><a href="mas_zone.php" <?php if(isset($phead) && $phead=='zone'){echo 'class="active"';}?>><i class="fa fa-caret-right"></i> <?php if(get_fild_data('tbl_setting','1','sval')==0){echo 'Zone';}else{echo 'অঞ্চল (জোন)';}?></a></li>    
</ul>
</li>
<?php } ?>
<?php if($adm['account']==1){?>    
<li class="treeview<?php if(isset($mhead) && $mhead=='account'){echo ' menu-open';}?>">
<a href="#">
<i class="fa fa-money ani_icon"></i> <span><?php if(get_fild_data('tbl_setting','1','sval')==0){echo 'Accounts Setup';}else{echo 'একাউন্টস সেটআপ';}?></span>
<span class="pull-right-container">
<i class="fa fa-angle-left pull-right"></i>
</span>
</a>
<ul class="treeview-menu" <?php if(isset($mhead) && $mhead=='account'){echo 'style="display: block;"';}?>>
<?php if(get_pagesecurity('22','views','P')){?>    
<li><a href="acc_acclass.php" <?php if(isset($phead) && $phead=='acclass'){echo 'class="active"';}?>><i class="fa fa-caret-right"></i> <?php if(get_fild_data('tbl_setting','1','sval')==0){echo 'Class';}else{echo 'ক্লাস (Class)';}?></a></li>
<?php } ?>
<?php if(get_pagesecurity('23','views','P')){?>     
<li><a href="acc_grouplist.php" <?php if(isset($phead) && $phead=='grolist'){echo 'class="active"';}?>><i class="fa fa-caret-right"></i> <?php if(get_fild_data('tbl_setting','1','sval')==0){echo 'Group List';}else{echo 'গ্রুপ সমূহ';}?></a></li>
<?php } ?>
<?php if(get_pagesecurity('23','creates','P')){?>     
<li><a href="acc_groupcreate.php" <?php if(isset($phead) && $phead=='grocre'){echo 'class="active"';}?>><i class="fa fa-caret-right"></i> <?php if(get_fild_data('tbl_setting','1','sval')==0){echo 'Group Cteate';}else{echo 'নতুন গ্রুপ যোগ করুন';}?></a></li>
<?php } ?>
<?php if(get_pagesecurity('24','views','P')){?>     
<li><a href="acc_subgrouplist.php" <?php if(isset($phead) && $phead=='sgrolist'){echo 'class="active"';}?>><i class="fa fa-caret-right"></i> <?php if(get_fild_data('tbl_setting','1','sval')==0){echo 'Sub-Group List';}else{echo 'সাব-গ্রুপ সমূহ';}?></a></li>
<?php } ?>
<?php if(get_pagesecurity('24','creates','P')){?>     
<li><a href="acc_subgroupcreate.php" <?php if(isset($phead) && $phead=='sgrocre'){echo 'class="active"';}?>><i class="fa fa-caret-right"></i> <?php if(get_fild_data('tbl_setting','1','sval')==0){echo 'Sub-Group Create';}else{echo 'সাব-গ্রুপ সমূহ যোগ করুন';}?></a></li>
<?php } ?>
<?php if(get_pagesecurity('25','views','P')){?>     
<li><a href="acc_ledgerlist.php" <?php if(isset($phead) && $phead=='ledlist'){echo 'class="active"';}?>><i class="fa fa-caret-right"></i> <?php if(get_fild_data('tbl_setting','1','sval')==0){echo 'Ledger List';}else{echo 'খাতা সমূহ (খতিয়ান)';}?></a></li>
<?php } ?>
<?php if(get_pagesecurity('25','creates','P')){?>    
<li><a href="acc_ledgercreate.php" <?php if(isset($phead) && $phead=='ledcre'){echo 'class="active"';}?>><i class="fa fa-caret-right"></i> <?php if(get_fild_data('tbl_setting','1','sval')==0){echo 'Ledger Create';}else{echo 'খাতা (খতিয়ান) যোগ করুন';}?></a></li>
<?php } ?>     
<?php if(get_pagesecurity('26','views','P')){?>     
<li><a href="acc_paylist.php" <?php if(isset($phead) && $phead=='paylist'){echo 'class="active"';}?>><i class="fa fa-caret-right"></i> <?php if(get_fild_data('tbl_setting','1','sval')==0){echo 'Payment Voucher List';}else{echo 'প্রদানের (পেমেন্ট) তালিকা সমূহ';}?></a></li>
<?php } ?>
<?php if(get_pagesecurity('26','creates','P')){?>     
<li><a href="acc_paycreate.php" <?php if(isset($phead) && $phead=='paycre'){echo 'class="active"';}?>><i class="fa fa-caret-right"></i> <?php if(get_fild_data('tbl_setting','1','sval')==0){echo 'Payment Voucher Create';}else{echo 'প্রদানের রসিদ তৈরি করুন';}?></a></li>
<?php } ?>
<?php if(get_pagesecurity('27','views','P')){?>     
<li><a href="acc_reclist.php" <?php if(isset($phead) && $phead=='reclist'){echo 'class="active"';}?>><i class="fa fa-caret-right"></i> <?php if(get_fild_data('tbl_setting','1','sval')==0){echo 'Receive Voucher List';}else{echo 'গ্রহন (রিসিভ) রসিদ সমূহ';}?></a></li>
<?php } ?>
<?php if(get_pagesecurity('27','creates','P')){?>     
<li><a href="acc_reccreate.php" <?php if(isset($phead) && $phead=='reccre'){echo 'class="active"';}?>><i class="fa fa-caret-right"></i> <?php if(get_fild_data('tbl_setting','1','sval')==0){echo 'Receive Voucher Create';}else{echo 'গ্রহনের রসিদ তৈরি করুন';}?></a></li>
<?php } ?>
<?php if(get_pagesecurity('28','views','P')){?>     
<li><a href="acc_joulist.php" <?php if(isset($phead) && $phead=='joulist'){echo 'class="active"';}?>><i class="fa fa-caret-right"></i> <?php if(get_fild_data('tbl_setting','1','sval')==0){echo 'Journal Entry List';}else{echo 'জার্নাল রসিদ সমূহ';}?></a></li>
<?php } ?>
<?php if(get_pagesecurity('28','creates','P')){?>    
<li><a href="acc_joulcreate.php" <?php if(isset($phead) && $phead=='joucre'){echo 'class="active"';}?>><i class="fa fa-caret-right"></i> <?php if(get_fild_data('tbl_setting','1','sval')==0){echo 'Journal Entry Create';}else{echo 'জার্নাল রসিদ তৈরি করুন';}?></a></li>
<?php } ?>    
</ul>
</li>
<?php } ?>
<?php if($adm['installment']==1){?>   
<li class="treeview<?php if(isset($mhead) && $mhead=='loanins'){echo ' menu-open';}?>">
<a href="#">
<i class="fa fa-credit-card ani_icon"></i> <span><?php if(get_fild_data('tbl_setting','1','sval')==0){echo 'Installment &amp; Loan Setup';}else{echo 'ধার ও কিস্তি সেটআপ';}?></span>
<span class="pull-right-container">
<i class="fa fa-angle-left pull-right"></i>
</span>
</a>    
<ul class="treeview-menu" <?php if(isset($mhead) && $mhead=='loanins'){echo 'style="display: block;"';}?>>
<li><a href="lon_addloanid.php" <?php if(isset($phead) && $phead=='loanid'){echo 'class="active"';}?>><i class="fa fa-caret-right"></i> <?php if(get_fild_data('tbl_setting','1','sval')==0){echo 'Loan ID';}else{echo 'ঋণ আইডি';}?></a></li>
<!--<li><a href="lon_loanman.php" <?php //if(isset($phead) && $phead=='loanman'){echo 'class="active"';}?>><i class="fa fa-caret-right"></i> <?php //if(get_fild_data('tbl_setting','1','sval')==0){echo 'Loan Management';}else{echo 'ঋণ ব্যবস্থাপনা';}?></a></li>
<li><a href="lon_installm.php" <?php //if(isset($phead) && $phead=='instman'){echo 'class="active"';}?>><i class="fa fa-caret-right"></i> <?php //if(get_fild_data('tbl_setting','1','sval')==0){echo 'Manage Instasllment';}else{echo 'কিস্তি পরিচালনা করুন';}?></a></li>-->    
</ul>
</li>  
<?php } ?>      
<?php if($adm['financial']==1){?>     
<li class="treeview<?php if(isset($mhead) && $mhead=='financ'){echo ' menu-open';}?>">
<a href="#">
<i class="fa fa-bar-chart ani_icon"></i> <span><?php if(get_fild_data('tbl_setting','1','sval')==0){echo 'Finance Record';}else{echo 'আর্থিক (ফাইনান্স) নথিপত্র';}?></span>
<span class="pull-right-container">
<i class="fa fa-angle-left pull-right"></i>
</span>
</a>
<ul class="treeview-menu" <?php if(isset($mhead) && $mhead=='financ'){echo 'style="display: block;"';}?>>
<?php if(get_pagesecurity('29','views','P')){?>     
<li><a href="fin_chartofacc.php" <?php if(isset($phead) && $phead=='finchart'){echo 'class="active"';}?>><i class="fa fa-caret-right"></i> <?php if(get_fild_data('tbl_setting','1','sval')==0){echo 'Chart of Account';}else{echo 'খাতার (খতিয়ান) তালিকা ';}?></a></li>
<?php } ?>
<?php if(get_pagesecurity('30','views','P')){?>     
<li><a href="fin_proandlos.php" <?php if(isset($phead) && $phead=='finprls'){echo 'class="active"';}?>><i class="fa fa-caret-right"></i> <?php if(get_fild_data('tbl_setting','1','sval')==0){echo 'Profit And Loss';}else{echo 'লাভ ও খতির হিসাব';}?></a></li>
<?php } ?>
<?php if(get_pagesecurity('31','views','P')){?>     
<li><a href="fin_trialbal.php" <?php if(isset($phead) && $phead=='fintrbl'){echo 'class="active"';}?>><i class="fa fa-caret-right"></i><?php if(get_fild_data('tbl_setting','1','sval')==0){echo 'Trial Balance';}else{echo 'ট্রায়াল ব্যালেন্স';}?> </a></li>
<?php } ?>
<?php if(get_pagesecurity('32','views','P')){?>     
<li><a href="fin_blasheet.php" <?php if(isset($phead) && $phead=='finblsh'){echo 'class="active"';}?>><i class="fa fa-caret-right"></i> <?php if(get_fild_data('tbl_setting','1','sval')==0){echo 'Balance Sheet';}else{echo 'ব্যালেন্স সিট';}?></a></li>
<?php } ?>
<?php if(get_pagesecurity('33','views','P')){?>     
<li><a href="fin_accanalysis.php" <?php if(isset($phead) && $phead=='finanal'){echo 'class="active"';}?>><i class="fa fa-caret-right"></i> <?php if(get_fild_data('tbl_setting','1','sval')==0){echo 'Finance Analysis';}else{echo 'অর্থনৈতিক বিশ্লেষণ';}?></a></li>
<?php } ?>    
</ul>
</li>
<?php } ?>
<?php if($adm['payrol']==1){?>    
<li class="treeview<?php if(isset($mhead) && $mhead=='payroll'){echo ' menu-open';}?>">
<a href="#">
<i class="fa fa-clock-o ani_icon"></i> <span><?php if(get_fild_data('tbl_setting','1','sval')==0){echo 'Payroll';}else{echo 'বেতনের হিসাব (পেরোল)';}?></span>
<span class="pull-right-container">
<i class="fa fa-angle-left pull-right"></i>
</span>
</a>
<ul class="treeview-menu" <?php if(isset($mhead) && $mhead=='payroll'){echo 'style="display: block;"';}?>>
<?php if(get_pagesecurity('34','views','P')){?>     
<li><a href="payr_deplist.php" <?php if(isset($phead) && $phead=='deplis'){echo 'class="active"';}?>><i class="fa fa-caret-right"></i> <?php if(get_fild_data('tbl_setting','1','sval')==0){echo 'Department List';}else{echo 'বিভাগ সমূহ';}?></a></li>
<?php } ?>
<?php if(get_pagesecurity('34','creates','P')){?>    
<li><a href="payr_deplcre.php" <?php if(isset($phead) && $phead=='depcre'){echo 'class="active"';}?>><i class="fa fa-caret-right"></i> <?php if(get_fild_data('tbl_setting','1','sval')==0){echo 'Add Department';}else{echo 'বিভাগ যোগ করুন';}?></a></li>
<?php } ?>
<?php if(get_pagesecurity('35','views','P')){?>    
<li><a href="payr_desiglist.php" <?php if(isset($phead) && $phead=='diglist'){echo 'class="active"';}?>><i class="fa fa-caret-right"></i> <?php if(get_fild_data('tbl_setting','1','sval')==0){echo 'Designation List';}else{echo 'পদবী সমূহ';}?></a></li>
<?php } ?>
<?php if(get_pagesecurity('35','creates','P')){?>     
<li><a href="payr_desigcreate.php" <?php if(isset($phead) && $phead=='digcre'){echo 'class="active"';}?>><i class="fa fa-caret-right"></i> <?php if(get_fild_data('tbl_setting','1','sval')==0){echo 'Add Designation';}else{echo 'পদবী যোগ করুন';}?></a></li>
<?php } ?>
<?php if(get_pagesecurity('36','views','P')){?>     
<li><a href="payr_emplist.php" <?php if(isset($phead) && $phead=='emplist'){echo 'class="active"';}?>><i class="fa fa-caret-right"></i> <?php if(get_fild_data('tbl_setting','1','sval')==0){echo 'Employee List';}else{echo 'কর্মচারী তালিকা';}?> </a></li>
<?php } ?>
<?php if(get_pagesecurity('36','creates','P')){?>     
<li><a href="payr_empcreate.php" <?php if(isset($phead) && $phead=='empcre'){echo 'class="active"';}?>><i class="fa fa-caret-right"></i> <?php if(get_fild_data('tbl_setting','1','sval')==0){echo 'Add Employee';}else{echo 'কর্মচারী নিয়োগ দিন';}?></a></li>
<?php } ?>
<?php if(get_pagesecurity('37','views','P')){?>    
<li><a href="payr_levlist.php" <?php if(isset($phead) && $phead=='levlist'){echo 'class="active"';}?>><i class="fa fa-caret-right"></i> <?php if(get_fild_data('tbl_setting','1','sval')==0){echo 'Leave Type';}else{echo 'ছুটির প্রকার';}?></a></li>
<?php } ?>
<?php if(get_pagesecurity('37','creates','P')){?>     
<li><a href="payr_levcreate.php" <?php if(isset($phead) && $phead=='levcre'){echo 'class="active"';}?>><i class="fa fa-caret-right"></i> <?php if(get_fild_data('tbl_setting','1','sval')==0){echo 'Add Leave Type';}else{echo 'ছুটির প্রকার যোগ করুন';}?></a></li>
<?php } ?>
<?php if(get_pagesecurity('38','views','P')){?>     
<li><a href="payr_levaplist.php" <?php if(isset($phead) && $phead=='levaplist'){echo 'class="active"';}?>><i class="fa fa-caret-right"></i> <?php if(get_fild_data('tbl_setting','1','sval')==0){echo 'Leave Record';}else{echo 'ছুটির হিসাব (রেকর্ড)';}?></a></li>
<?php } ?>
<?php if(get_pagesecurity('39','creates','P')){?>    
<li><a href="payr_levapcreate.php" <?php if(isset($phead) && $phead=='levapcre'){echo 'class="active"';}?>><i class="fa fa-caret-right"></i> <?php if(get_fild_data('tbl_setting','1','sval')==0){echo 'Add Leave Application';}else{echo 'ছুটির আবেদন';}?></a></li>
<?php } ?>
<?php if(get_pagesecurity('40','views','P')){?>    
<li><a href="payr_attreclist.php" <?php if(isset($phead) && $phead=='attlist'){echo 'class="active"';}?>><i class="fa fa-caret-right"></i> <?php if(get_fild_data('tbl_setting','1','sval')==0){echo 'Attendance Record';}else{echo 'হাজিরা হিসাব (রেকর্ড)';}?></a></li>
<?php } ?>
<?php if(get_pagesecurity('40','creates','P')){?>     
<li><a href="payr_payslip.php" <?php if(isset($phead) && $phead=='payslip'){echo 'class="active"';}?>><i class="fa fa-caret-right"></i> <?php if(get_fild_data('tbl_setting','1','sval')==0){echo 'Salary Sheet';}else{echo 'বেতনের হিসাব ও পে-স্লিপ';}?> &amp; Payslip</a></li>
<?php } ?>    
</ul>
</li>
<?php } ?>
<?php if($adm['bank']==1){?>        
<li class="treeview<?php if(isset($mhead) && $mhead=='bank'){echo ' menu-open';}?>">
<a href="#">
<i class="fa fa-credit-card-alt ani_icon"></i> <span><?php if(get_fild_data('tbl_setting','1','sval')==0){echo 'Bank';}else{echo 'ব্যাংক';}?></span>
<span class="pull-right-container">
<i class="fa fa-angle-left pull-right"></i>
</span>
</a>
<ul class="treeview-menu" <?php if(isset($mhead) && $mhead=='bank'){echo 'style="display: block;"';}?>>
<?php if(get_pagesecurity('41','views','P')){?>     
<li><a href="ban_banklist.php" <?php if(isset($phead) && $phead=='banklist'){echo 'class="active"';}?>><i class="fa fa-caret-right"></i> <?php if(get_fild_data('tbl_setting','1','sval')==0){echo 'Bank List';}else{echo 'ব্যাংক সমূহ';}?></a></li>
<?php } ?>
<?php if(get_pagesecurity('41','creates','P')){?>     
<li><a href="ban_bankcreate.php" <?php if(isset($phead) && $phead=='bankcre'){echo 'class="active"';}?>><i class="fa fa-caret-right"></i> <?php if(get_fild_data('tbl_setting','1','sval')==0){echo 'Add Bank';}else{echo 'ব্যাংক যোগ করুন';}?></a></li>
<?php } ?>    
<?php if(get_pagesecurity('42','views','P')){?>    
<li><a href="ban_accountlist.php" <?php if(isset($phead) && $phead=='acclist'){echo 'class="active"';}?>><i class="fa fa-caret-right"></i> <?php if(get_fild_data('tbl_setting','1','sval')==0){echo 'Account List';}else{echo 'একাউন্ট সমূহ';}?></a></li>
<?php } ?>
<?php if(get_pagesecurity('42','creates','P')){?>     
<li><a href="ban_accountcreate.php" <?php if(isset($phead) && $phead=='acccre'){echo 'class="active"';}?>><i class="fa fa-caret-right"></i> <?php if(get_fild_data('tbl_setting','1','sval')==0){echo 'Add Account';}else{echo 'একাউন্ট যোগ করুন';}?></a></li>
<?php } ?>
<li><a href="ban_mobileaccount.php" <?php if(isset($phead) && $phead=='mobacc'){echo 'class="active"';}?>><i class="fa fa-caret-right"></i> <?php if(get_fild_data('tbl_setting','1','sval')==0){echo 'Mobile Account';}else{echo 'মোবাইল একাউন্টস';}?></a></li>    
<?php if(get_pagesecurity('43','views','P')){?>     
<li><a href="ban_bnktranlist.php" <?php if(isset($phead) && $phead=='bnktra'){echo 'class="active"';}?>><i class="fa fa-caret-right"></i> <?php if(get_fild_data('tbl_setting','1','sval')==0){echo 'All Transaction';}else{echo 'সকল লেনদেন (Transaction)';}?></a></li>
<?php } ?>
<?php if(get_pagesecurity('43','creates','P')){?>     
<li><a href="ban_bnkcreate.php" <?php if(isset($phead) && $phead=='bnkcre'){echo 'class="active"';}?>><i class="fa fa-caret-right"></i> <?php if(get_fild_data('tbl_setting','1','sval')==0){echo 'Add Transaction';}else{echo 'লেনদেন যোগ করুন';}?></a></li>
<?php } ?>  

<?php if(get_fild_data('tbl_setting','12','sval')==0){ if(get_pagesecurity('43','creates','P')){?>     
<li><a href="ban_checkman.php" <?php if(isset($phead) && $phead=='bnkchq'){echo 'class="active"';}?>><i class="fa fa-caret-right"></i> <?php if(get_fild_data('tbl_setting','1','sval')==0){echo 'Cheque Management';}else{echo 'চেক ম্যানেজমেন্ট';}?></a></li>
<?php }} ?>   
</ul>
</li>
<?php } ?>
<?php if($adm['personal']==1){?> 
<li class="treeview<?php if(isset($mhead) && $mhead=='personal'){echo ' menu-open';}?>">
<a href="#">
<i class="fa fa-user ani_icon"></i> <span><?php if(get_fild_data('tbl_setting','1','sval')==0){echo 'Personal';}else{echo 'ব্যক্তিগত';}?></span>
<span class="pull-right-container">
<i class="fa fa-angle-left pull-right"></i>
</span>
</a>    
<ul class="treeview-menu" <?php if(isset($mhead) && $mhead=='personal'){echo 'style="display: block;"';}?>>
<li><a href="axe_note.php" <?php if(isset($phead) && $phead=='note'){echo 'class="active"';}?>><i class="fa fa-caret-right"></i> <?php if(get_fild_data('tbl_setting','1','sval')==0){echo 'Personal Note';}else{echo 'ব্যক্তিগত নোট';}?></a></li>
<li><a href="axe_todo.php" <?php if(isset($phead) && $phead=='todo'){echo 'class="active"';}?>><i class="fa fa-caret-right"></i> <?php if(get_fild_data('tbl_setting','1','sval')==0){echo 'Todo';}else{echo 'করনিয়';}?></a></li>
<!--<li><a href="lon_installm.php" <?php //if(isset($phead) && $phead=='instman'){echo 'class="active"';}?>><i class="fa fa-caret-right"></i> <?php //if(get_fild_data('tbl_setting','1','sval')==0){echo 'Manage Instasllment';}else{echo 'কিস্তি পরিচালনা করুন';}?></a></li>-->    
</ul>
</li>   
<?php } ?> 
<?php if($adm['report']==1){?>    
<li> <a href="axe_report.php" <?php if(isset($phead) && $phead=='report'){echo 'class="active"';}?>><i class="fa fa-pie-chart ani_icon"></i> <span><?php if(get_fild_data('tbl_setting','1','sval')==0){echo 'Report';}else{echo 'প্রতিবেদন (রিপোর্ট)';}?></span></a></li>
<?php } ?>
<?php if($adm['user']==1){?>    
<li class="treeview<?php if(isset($mhead) && $mhead=='user'){echo ' menu-open';}?>">
<a href="#">
<i class="fa fa-address-card-o ani_icon"></i> <span><?php if(get_fild_data('tbl_setting','1','sval')==0){echo 'User &amp; Role';}else{echo 'ব্যবহারকারী ও তার ভূমিকা';}?></span>
<span class="pull-right-container">
<i class="fa fa-angle-left pull-right"></i>
</span>
</a>
<ul class="treeview-menu" <?php if(isset($mhead) && $mhead=='user'){echo 'style="display: block;"';}?>>
<?php if(get_pagesecurity('44','views','P')){?>     
<li><a href="rou_rolelist.php" <?php if(isset($phead) && $phead=='rollist'){echo 'class="active"';}?>><i class="fa fa-caret-right"></i> <?php if(get_fild_data('tbl_setting','1','sval')==0){echo 'Role List';}else{echo 'ভূমিকা সমূহ (Role)';}?></a></li>
<?php } ?>
<?php if(get_pagesecurity('44','creates','P')){?>     
<li><a href="rou_rolecreate.php" <?php if(isset($phead) && $phead=='rolcre'){echo 'class="active"';}?>><i class="fa fa-caret-right"></i> <?php if(get_fild_data('tbl_setting','1','sval')==0){echo 'Add Role';}else{echo 'ভূমিকা যোগ করুন';}?></a></li>
<?php } ?>
<?php if(get_pagesecurity('45','views','P')){?>     
<li><a href="rou_userlist.php" <?php if(isset($phead) && $phead=='userlist'){echo 'class="active"';}?>><i class="fa fa-caret-right"></i> <?php if(get_fild_data('tbl_setting','1','sval')==0){echo 'All User';}else{echo 'ব্যবহারকারীর তালিকা';}?></a></li>
<?php } ?>
<?php if(get_pagesecurity('45','creates','P')){?>
<?php if(get_limitpermision('tbl_user')<get_fild_data('tbl_limitset','1','userlim')){?>    
<li><a href="rou_usercreate.php" <?php if(isset($phead) && $phead=='usercre'){echo 'class="active"';}?>><i class="fa fa-caret-right"></i> <?php if(get_fild_data('tbl_setting','1','sval')==0){echo 'Add User';}else{echo 'ব্যবহারকারীর যোগ করুন';}?></a></li>
<?php }} ?>
<?php if(get_pagesecurity('44','creates','P')){?>     
<li><a href="rou_reprolecreate.php" <?php if(isset($phead) && $phead=='reprolcre'){echo 'class="active"';}?>><i class="fa fa-caret-right"></i> <?php if(get_fild_data('tbl_setting','1','sval')==0){echo 'Add Report Role';}else{echo 'রিপোর্ট ভূমিকা যোগ করুন';}?></a></li>
<?php } ?>    
</ul>
</li>
<?php } ?>
<?php if($_SESSION['utype']==1){?>
<li class="treeview<?php if(isset($mhead) && $mhead=='company'){echo ' menu-open';}?>">
<a href="#">
<i class="fa fa-industry ani_icon"></i> <span><?php if(get_fild_data('tbl_setting','1','sval')==0){echo 'Company &amp; Setting';}else{echo 'কোম্পানি ও সেটিং';}?> </span>
<span class="pull-right-container">
<i class="fa fa-angle-left pull-right"></i>
</span>
</a>
<ul class="treeview-menu" <?php if(isset($mhead) && $mhead=='company'){echo 'style="display: block;"';}?>>    
<li><a href="axe_company.php" <?php if(isset($phead) && $phead=='setcom'){echo 'class="active"';}?>><i class="fa fa-caret-right"></i> <?php if(get_fild_data('tbl_setting','1','sval')==0){echo 'Company Setup';}else{echo 'কোম্পানি সেটআপ';}?></a></li>    
<li><a href="axe_setting.php" <?php if(isset($phead) && $phead=='seting'){echo 'class="active"';}?>><i class="fa fa-caret-right"></i> <?php if(get_fild_data('tbl_setting','1','sval')==0){echo 'Local Setting';}else{echo 'আপনার পছন্দ';}?></a></li>  
<li><a href="axe_smssetting.php" <?php if(isset($phead) && $phead=='sms'){echo 'class="active"';}?>><i class="fa fa-caret-right"></i> <?php if(get_fild_data('tbl_setting','1','sval')==0){echo 'SMS Setting';}else{echo 'সেটআপ SMS';}?></a></li>    
</ul>
</li>    
<?php } ?>    
</ul>
</section>
</aside>            
