<?php require_once('../auth/auth.php'); 
$em_group_id=mysqli_fetch_assoc(mysqli_query($conn,"SELECT ac_g_catid FROM ac_sub_g_category WHERE ac_g_catid AND coid='$coid' AND g_type='sl-exp' LIMIT 1 "))['ac_g_catid'];  ?>

<section class="content pb-1">
   <ul class="nav nav-pills" style="background-color: honeydew;padding: 2px 0;border-bottom:1px solid #dee2e6;margin-left: 2px;">
     <?php if(per('em_list')==1){ ?>
      <li class="nav-item"><a style="padding: 0px 8px;" class="nav-link" href="#" data-toggle="tab" onclick="pagecall('../hr_manage/employee_list.php?no='+'no'+'&em_group_id=<?php echo $em_group_id ?>','#hrhome');"><i class="fa fa-fw fa-calculator"></i> <?php echo language(170); ?> </a></li>|
     <?php } if(per('superadmin')==1){ ?>
     
    
    
     <?php } if(per('us_list')==1){ ?>
      <li class="nav-item"><a style="padding: 0px 8px;" class="nav-link" href="#" data-toggle="tab" onclick="pagecall('../hr_manage/user_add.php','#hrhome');"><i class="fa fa-fw fa-calculator"></i> <?php echo language(171); ?></a></li>|
     <?php } if(per('ug_list')==1){ ?>
       </li><li class="nav-item"><a style="padding: 0px 8px;" onclick="pagecall('../hr_manage/group_index.php','#hrhome');" class="nav-link" href="#" data-toggle="tab"><i class="fa fa-fw fa-calculator"></i> <?php echo language(172); ?> </a></li>|
     <?php } if(per('u_desig')==1){ ?>
           <li class="nav-item"><a style="padding: 0px 8px;" class="nav-link" href="#" data-toggle="tab" onclick="pagecall('../hr_manage/designation_index.php','#hrhome');"><i class="fa fa-fw fa-calculator"></i> <?php echo language(173); ?></a></li>|
     <?php } ?>
     
     <?php  if(per('u_target')==1){ ?>
      <li class="nav-item"><a title="Target" style="padding: 0px 8px;" class="nav-link" href="#" data-toggle="tab"><i class="fa fa-fw fa-calculator"></i> <?php echo language(174); ?> </a></li>|
     <?php } if(per('u_tr_ach')==1){ ?> 
      </li><li class="nav-item"><a title="Target Vs Achivment" style="padding: 0px 8px;" class="nav-link" href="#" data-toggle="tab"><i class="fa fa-fw fa-calculator"></i> <?php echo language(175); ?>  </a></li>|
     <?php } ?>
     

     
     
       <?php  if(per('ds_list')==1){ ?> 
      </li><li class="nav-item"><a title="Daily Scheduling" style="padding: 0px 8px;" class="nav-link" href="#" data-toggle="tab"><i class="fa fa-fw fa-calculator"></i><?php echo language(176);?></a></li>|
     <?php } ?>
         <?php  if(per('payroll_list')==1){ ?> 
      </li><li class="nav-item"><a title="Payroll" style="padding: 0px 8px;" class="nav-link" href="#" data-toggle="tab"><i class="fa fa-fw fa-calculator"></i><?php echo language(177);?>  </a></li>|
     <?php } ?>
     
     
           <?php  if(per('sp_list')==1){ ?> 
      </li><li class="nav-item"><a title="Sales Policies" style="padding: 0px 8px;" class="nav-link" href="#" data-toggle="tab"><i class="fa fa-fw fa-calculator"></i> <?php echo language(178);?>   </a></li>|
     <?php } ?>
     
     
               <?php  if(per('u_atten')==1){ ?> 
      </li><li class="nav-item"><a tittle="Attendance" style="padding: 0px 8px;" class="nav-link" href="#" data-toggle="tab"><i class="fa fa-fw fa-calculator"></i> <?php echo language(179);?>   </a></li>|
     <?php } ?>
     
     

  </ul>
</section>
<section class="content">
   <div id="hrhome"></div>
</section>

