<? global $vis_language; 
   if(VIS_ITIL==1){?>
<section  class="container m-t-md">
<div class="row">
      <div class="col-md-12">
         <section class="panel shadow-none">
           
         
                  <? if($service_cat_details==-1){?>
                  <section class="wrapper fullFrame">
                     <div class="fullMiddle m-xl text-center h4"><?= $vis_language['TXTNOTHINGTODISPLAY']; ?></div>
                  </section>
                  <? }
                  else{
                     if($service_cat_details!=-1) { 
                        for($c=0;$c<count($service_cat_details);$c++){?> 
                  <div class="panel-heading b-b">
					  <?php if($c != 0){ ?>
                     <h4 class="panel-title1"><? echo ucfirst($service_cat_details[$c]['name']);?></h4>
				 <?php } else {?>
					  <div class="row">
                           
                           <div class="col-sm-9 col-md-9 ">
							   <h4 class="panel-title1">
                            <? echo ucfirst($service_cat_details[$c]['name']);?>
                            </h4>
                           </div>
                           <div class="col-sm-3 col-md-3 ">
                              <div class="btn-group pull-right ">
                                  <a href="index.php?/setting/view_services" class="btn btn-sm btn-link link padder"><? echo $vis_language['TXTALL']; ?></a>
                  </div>
                              </div>
                           </div>
                     
                  
					 <?} ?>
                  </div>
                    <div class="panel-body">
                  <ul class="list-group m-b-n no-borders">
                     
                           <? for($i=0;$i<count($service_details);$i++) { 
                              if($service_cat_details[$c]['category_id']==$service_details[$i]['category_id']){?>
                           <li class="list-group-item">
                              <span class="pull-left">
                              <i class="vh vh-lg vh-file-o m-r-sm"></i>
                              </span>
                              <div class="h5 clear text-ellipsis l-h">
                                 <a href="index.php?/setting/view_service_detail/<?= $service_details[$i]['item_id'];?>" class="link" title="<?= $service_details[$i]['name']; ?>"><?= $service_details[$i]['name']; ?></a>
                              </div>
                           </li>
                           <? }}
                               ?>
                        </ul>
                    
                  </div>
                 
               
               
               <?php } }}?>
           
            
      </section>
   </div>
   </div>
</section>
<? }?>

