<? global $vis_language; $domain_id=0;?>

<section class="padder">
  <input type="hidden" name="vis_department_count" id="vis_department_count" value="<?= count($domain_details) ?>" />
  <div id="vis_domain_admin">
    <div class="form-group">
      <label class="col-sm-12 setting-list">
      <h4><? echo $vis_language['TXTDOMAINACCESS']; ?></h4>
      </label>
    </div>
    <div class="form-group">
      <label class="col-sm-2 text-muted text-right"><? echo $vis_language['TXTSELDOM']; ?></label>
      <div class="col-sm-10">
        <div class="checkbox m-n m-r-sm i-checks p-d-sm">
          <label>
		          
            <input type="checkbox"  value="0" checked="checked" id="vis_department0"  name="vis_department0" onchange="toggle_dept_list();">
            <i></i> <? echo $vis_language['TXTALLDOMAINS']; ?> </label>
        </div>
      </div>
    </div>
    <div id="domain_access" class="input-sm">
      <div class="form-group">
        <label class="col-sm-2 control-label"></label>
        <div class="col-sm-10 dept_access_list m-b">
          <?  if($domain_details!=-1) for($i=0;$i<count($domain_details);$i++){
                  if($domain_details[$i]['domain_id']>$domain_id)$domain_id=$domain_details[$i]['domain_id']; ?>
          <label class="checkbox-inline i-checks">
            <input type="checkbox" id="vis_department_<? echo ($i+1); ?>" name="vis_department_<? echo ($i+1); ?>" value="<? echo $domain_details[$i]['domain_id']; ?>"/>
            <i></i><? echo $domain_details[$i]['domain_name']; ?></label>
          <br/>
          <? } ?>
        </div>
      </div>
    </div>
    <div class="form-group">
      <label class="col-sm-12 setting-list">
      <h4><? echo $vis_language['TXTSYSTEM']; ?></h4>
      </label>
    </div>
    <div class="form-group">
      <label class="col-sm-2 text-muted text-right"><? echo $vis_language['TXTMODULE']; ?></label>
      <div class="col-sm-10">
        <div class="checkbox i-checks m-r-lg pull-left p-d-sm">
          <label>
            <input type="checkbox" checked="checked"  value="1" id="admin_chk1" name="admin_chk1"/>
            <i></i> <? echo $vis_language['TXTMANAGE']; ?></label>
        </div>
        <div class="checkbox i-checks m-r-lg pull-left p-d-sm">
          <label>
            <input type="checkbox" checked="checked"  value="1" id="admin_chk2" name="admin_chk2"/>
            <i></i> <? echo $vis_language['TXTDELETE']; ?> </label>
        </div>
      </div>
    </div>
    <div class="form-group">
      <label class="col-sm-2 text-muted text-right"><? echo $vis_language['TXTLANGUAGE']; ?></label>
      <div class="col-sm-10">
        <div class="checkbox i-checks m-r-lg pull-left p-d-sm">
          <label>
            <input type="checkbox" checked="checked" value="1" id="admin_chk18" name="admin_chk18"/>
            <i></i> <? echo $vis_language['TXTMANAGE']; ?></label>
        </div>
        <div class="checkbox i-checks m-r-lg pull-left p-d-sm">
          <label>
            <input type="checkbox" checked="checked"  value="1" id="admin_chk19" name="admin_chk19"/>
            <i></i> <? echo $vis_language['TXTDELETE']; ?> </label>
        </div>
      </div>
    </div>
    <div class="form-group">
      <label class="col-sm-2 text-muted text-right"><? echo $vis_language['TXTCLIENTPORTAL']; ?></label>
      <div class="col-sm-10">
        <div class="checkbox i-checks m-r-lg pull-left p-d-sm">
          <label>
            <input type="checkbox" checked="checked" value="1" id="admin_chk14" name="admin_chk14"/>
            <i></i> <? echo $vis_language['TXTMANAGE']; ?></label>
        </div>
        <!--<div class="checkbox i-checks m-r-lg pull-left p-d-sm">
          <label>
            <input type="checkbox" checked="checked"  value="1" id="admin_chk15" name="admin_chk15"/>
            <i></i> <? echo $vis_language['TXTDELETE']; ?> </label>
        </div>-->
      </div>
    </div>
    <div class="form-group">
      <label class="col-sm-2 text-muted text-right"><? echo $vis_language['TXTDIAGNOSTICS']; ?></label>
      <div class="col-sm-10">
        <div class="checkbox i-checks m-r-lg pull-left p-d-sm">
          <label>
            <input type="checkbox" checked="checked" value="1" id="admin_chk3" name="admin_chk3"/>
            <i></i> <? echo $vis_language['TXTMANAGE']; ?></label>
        </div>
      </div>
    </div>
     <div class="form-group">
         <label class="col-sm-2 text-muted text-right"><? echo $vis_language['TXTSECURITY']; ?></label>
         <div class="col-sm-10">
            <label class="checkbox i-checks m-r-lg pull-left p-d-sm"><label>
            <input type="checkbox" checked="checked" value="1" id="admin_chk71" name="admin_chk71"/><i></i> <? echo $vis_language['TXTMANAGE']; ?></label> </div>
      </div>
      <div class="form-group">
         <label class="col-sm-2 text-muted text-right"><? echo $vis_language['TXTSYSTEMCLEANUP']; ?></label>
         <div class="col-sm-10">
            <label class="checkbox i-checks m-r-lg pull-left p-d-sm"><label>
            <input type="checkbox" checked="checked" value="1" id="admin_chk72" name="admin_chk72"/><i></i> <? echo $vis_language['TXTMANAGE']; ?></label> </div>
      </div>
    <div class="form-group">
      <label class="col-sm-12 setting-list">
      <h4><? echo $vis_language['TXTTICKET']; ?></h4>
      </label>
    </div>
    <div class="form-group">
      <label class="col-sm-2 text-muted text-right"><? echo $vis_language['TXTDEPARTMENT']; ?></label>
      <div class="col-sm-10">
        <div class="checkbox i-checks m-r-lg pull-left p-d-sm">
          <label>
            <input type="checkbox" checked="checked" value="1" id="admin_chk6" name="admin_chk6"/>
            <i></i> <? echo $vis_language['TXTMANAGE']; ?></label>
        </div>
        <div class="checkbox i-checks m-r-lg pull-left p-d-sm">
          <label>
            <input type="checkbox" checked="checked"  value="1" id="admin_chk7" name="admin_chk7"/>
            <i></i> <? echo $vis_language['TXTDELETE']; ?> </label>
        </div>
      </div>
    </div>
    <div class="form-group">
      <label class="col-sm-2 text-muted text-right"><? echo $vis_language['TXTSTATUS']; ?></label>
      <div class="col-sm-10">
        <div class="checkbox i-checks m-r-lg pull-left p-d-sm">
          <label>
            <input type="checkbox" checked="checked" value="1" id="admin_chk8" name="admin_chk8"/>
            <i></i> <? echo $vis_language['TXTMANAGE']; ?></label>
        </div>
        <div class="checkbox i-checks m-r-lg pull-left p-d-sm">
          <label>
            <input type="checkbox" checked="checked"  value="1" id="admin_chk9" name="admin_chk9"/>
            <i></i> <? echo $vis_language['TXTDELETE']; ?> </label>
        </div>
      </div>
    </div>
    <div class="form-group">
      <label class="col-sm-2 text-muted text-right"><? echo $vis_language['TXTPRIORITY']; ?></label>
      <div class="col-sm-10">
        <div class="checkbox i-checks m-r-lg pull-left p-d-sm">
          <label>
            <input type="checkbox" checked="checked" value="1" id="admin_chk10" name="admin_chk10"/>
            <i></i> <? echo $vis_language['TXTMANAGE']; ?></label>
        </div>
        <div class="checkbox i-checks m-r-lg pull-left p-d-sm">
          <label>
            <input type="checkbox" checked="checked"  value="1" id="admin_chk11" name="admin_chk11"/>
            <i></i> <? echo $vis_language['TXTDELETE']; ?> </label>
        </div>
      </div>
    </div>
    <div class="form-group">
      <label class="col-sm-2 text-muted text-right"><? echo $vis_language['TXTTICKETTYPE']; ?></label>
      <div class="col-sm-10">
        <div class="checkbox i-checks m-r-lg pull-left p-d-sm">
          <label>
            <input type="checkbox" checked="checked" value="1" id="admin_chk12" name="admin_chk12"/>
            <i></i> <? echo $vis_language['TXTMANAGE']; ?></label>
        </div>
        <div class="checkbox i-checks m-r-lg pull-left p-d-sm">
          <label>
            <input type="checkbox" checked="checked"  value="1" id="admin_chk13" name="admin_chk13"/>
            <i></i> <? echo $vis_language['TXTDELETE']; ?> </label>
        </div>
      </div>
    </div>
    
    <!--category-->
      <div class="form-group">
         <label class="col-sm-2 text-muted text-right"><? echo $vis_language['TXTTICKETCATEGORY']; ?></label>
         <div class="col-sm-10">
            <div class="checkbox i-checks m-r-lg pull-left p-d-sm"><label>
            <input type="checkbox"  checked="checked" value="1" id="admin_chk177" name="admin_chk177"/><i></i> <? echo $vis_language['TXTMANAGE']; ?></label> </div>
            <div class="checkbox i-checks m-r-lg pull-left p-d-sm"><label>
            <input type="checkbox"  checked="checked" value="1" id="admin_chk178" name="admin_chk178"/><i></i> <? echo $vis_language['TXTDELETE']; ?></label> </div>
         </div>
      </div>
      
       <div class="form-group">
         <label class="col-sm-2 text-muted text-right"><? echo $vis_language['TXTTICKETLEVEL']; ?></label>
         <div class="col-sm-10">
            <div class="checkbox i-checks m-r-lg pull-left p-d-sm"><label>
            <input type="checkbox" checked="checked" value="1" id="admin_chk179" name="admin_chk179"/><i></i> <? echo $vis_language['TXTMANAGE']; ?></label> </div>
            <div class="checkbox i-checks m-r-lg pull-left p-d-sm"><label>
            <input type="checkbox" checked="checked" value="1" id="admin_chk180" name="admin_chk180"/><i></i> <? echo $vis_language['TXTDELETE']; ?> </label> </div>
         </div>
      </div>
      <!--category-->
      
      <div class="form-group">
         <label class="col-sm-2 text-muted text-right"><? echo $vis_language['TXTCHANNEL']; ?></label>
         <div class="col-sm-10">
            <div class="checkbox i-checks m-r-lg pull-left p-d-sm"><label>
            <input type="checkbox" checked="checked" value="1" id="admin_chk73" name="admin_chk73"/><i></i> <? echo $vis_language['TXTMANAGE']; ?></label> </div>
            <div class="checkbox i-checks m-r-lg pull-left p-d-sm"><label>
            <input type="checkbox" checked="checked" value="1" id="admin_chk74" name="admin_chk74"/><i></i> <? echo $vis_language['TXTDELETE']; ?>
            </label> </div>
         </div>
      </div>
    <div class="form-group">
      <label class="col-sm-2 text-muted text-right"><? echo $vis_language['TXTLABELS']; ?></label>
      <div class="col-sm-10">
        <div class="checkbox i-checks m-r-lg pull-left p-d-sm">
          <label>
            <input type="checkbox" checked="checked" value="1" id="admin_chk53" name="admin_chk53"/>
            <i></i> <? echo $vis_language['TXTMANAGE']; ?></label>
        </div>
      </div>
    </div>
    <div class="form-group">
      <label class="col-sm-2 text-muted text-right"><? echo $vis_language['TXTFLAG']; ?></label>
      <div class="col-sm-10">
        <div class="checkbox i-checks m-r-lg pull-left p-d-sm">
          <label>
            <input type="checkbox" checked="checked" value="1" id="admin_chk16" name="admin_chk16"/>
            <i></i> <? echo $vis_language['TXTMANAGE']; ?></label>
        </div>
        <div class="checkbox i-checks m-r-lg pull-left p-d-sm">
          <label>
            <input type="checkbox" checked="checked"  value="1" id="admin_chk17" name="admin_chk17"/>
            <i></i> <? echo $vis_language['TXTDELETE']; ?> </label>
        </div>
      </div>
    </div>
    <? if(VIS_ITIL==1 && (isset($module['itil']) && $module['itil']==1)){?> 
      <div class="form-group">
         <label class="col-sm-12 setting-list">
            <h4><? echo $vis_language['TXTITIL']; ?></h4>
         </label>
      </div>
      <div class="form-group">
         <label class="col-sm-2 text-muted text-right"><? echo $vis_language['TXTCONFIGURATIONITEMTYPE']; ?></label>
         <div class="col-sm-10">
            <div class="checkbox i-checks m-r-lg pull-left p-d-sm"><label>
            <input type="checkbox" checked="checked" value="1" id="admin_chk97" name="admin_chk97"/><i></i> <? echo $vis_language['TXTMANAGE']; ?></label> </div>
            <div class="checkbox i-checks m-r-lg pull-left p-d-sm"><label>
            <input type="checkbox" checked="checked" value="1" id="admin_chk98" name="admin_chk98"/><i></i> <? echo $vis_language['TXTDELETE']; ?>
            </label> </div>
         </div>
      </div>
       <div class="form-group">
         <label class="col-sm-2 text-muted text-right"><? echo $vis_language['TXTASSETSTATE']; ?></label>
         <div class="col-sm-10">
            <div class="checkbox i-checks m-r-lg pull-left p-d-sm"><label>
            <input type="checkbox" checked="checked" value="1" id="admin_chk109" name="admin_chk109"/><i></i> <? echo $vis_language['TXTMANAGE']; ?></label> </div>
            <div class="checkbox i-checks m-r-lg pull-left p-d-sm"><label>
            <input type="checkbox" checked="checked" value="1" id="admin_chk110" name="admin_chk110"/><i></i> <? echo $vis_language['TXTDELETE']; ?>
            </label> </div>
         </div>
      </div>
      <div class="form-group">
         <label class="col-sm-2 text-muted text-right"><? echo $vis_language['TXTLOCATION']; ?></label>
         <div class="col-sm-10">
            <div class="checkbox i-checks m-r-lg pull-left p-d-sm"><label>
            <input type="checkbox" checked="checked" value="1" id="admin_chk115" name="admin_chk115"/><i></i> <? echo $vis_language['TXTMANAGE']; ?></label> </div>
            <div class="checkbox i-checks m-r-lg pull-left p-d-sm"><label>
            <input type="checkbox" checked="checked" value="1" id="admin_chk116" name="admin_chk116"/><i></i> <? echo $vis_language['TXTDELETE']; ?>
            </label> </div>
         </div>
      </div>
      <div class="form-group">
         <label class="col-sm-2 text-muted text-right"><? echo $vis_language['TXTLICENSETYPE']; ?></label>
         <div class="col-sm-10">
            <div class="checkbox i-checks m-r-lg pull-left p-d-sm"><label>
            <input type="checkbox" checked="checked" value="1" id="admin_chk121" name="admin_chk121"/><i></i> <? echo $vis_language['TXTMANAGE']; ?></label> </div>
            <div class="checkbox i-checks m-r-lg pull-left p-d-sm"><label>
            <input type="checkbox" checked="checked" value="1" id="admin_chk122" name="admin_chk122"/><i></i> <? echo $vis_language['TXTDELETE']; ?>
            </label> </div>
         </div>
      </div>
       <div class="form-group">
         <label class="col-sm-2 text-muted text-right"><? echo $vis_language['TXTCONTRACTTYPE']; ?></label>
         <div class="col-sm-10">
            <div class="checkbox i-checks m-r-lg pull-left p-d-sm"><label>
            <input type="checkbox" checked="checked" value="1" id="admin_chk107" name="admin_chk107"/><i></i> <? echo $vis_language['TXTMANAGE']; ?></label> </div>
            <div class="checkbox i-checks m-r-lg pull-left p-d-sm"><label>
            <input type="checkbox" checked="checked" value="1" id="admin_chk108" name="admin_chk108"/><i></i> <? echo $vis_language['TXTDELETE']; ?>
            </label> </div>
         </div>
      </div>
      <div class="form-group">
         <label class="col-sm-2 text-muted text-right"><? echo $vis_language['TXTIMPACT']; ?></label>
         <div class="col-sm-10">
            <div class="checkbox i-checks m-r-lg pull-left p-d-sm"><label>
            <input type="checkbox" checked="checked" value="1" id="admin_chk99" name="admin_chk99"/><i></i> <? echo $vis_language['TXTMANAGE']; ?></label> </div>
            <div class="checkbox i-checks m-r-lg pull-left p-d-sm"><label>
            <input type="checkbox" checked="checked" value="1" id="admin_chk100" name="admin_chk100"/><i></i> <? echo $vis_language['TXTDELETE']; ?>
            </label> </div>
         </div>
      </div>
      <div class="form-group">
         <label class="col-sm-2 text-muted text-right"><? echo $vis_language['TXTRISK']; ?></label>
         <div class="col-sm-10">
            <div class="checkbox i-checks m-r-lg pull-left p-d-sm"><label>
            <input type="checkbox" checked="checked" value="1" id="admin_chk101" name="admin_chk101"/><i></i> <? echo $vis_language['TXTMANAGE']; ?></label> </div>
            <div class="checkbox i-checks m-r-lg pull-left p-d-sm"><label>
            <input type="checkbox" checked="checked" value="1" id="admin_chk102" name="admin_chk102"/><i></i> <? echo $vis_language['TXTDELETE']; ?>
            </label> </div>
         </div>
      </div>
      <div class="form-group">
         <label class="col-sm-2 text-muted text-right"><? echo $vis_language['TXTCHANGETYPE']; ?></label>
         <div class="col-sm-10">
            <div class="checkbox i-checks m-r-lg pull-left p-d-sm"><label>
            <input type="checkbox" checked="checked" value="1" id="admin_chk103" name="admin_chk103"/><i></i> <? echo $vis_language['TXTMANAGE']; ?></label> </div>
            <div class="checkbox i-checks m-r-lg pull-left p-d-sm"><label>
            <input type="checkbox" checked="checked" value="1" id="admin_chk104" name="admin_chk104"/><i></i> <? echo $vis_language['TXTDELETE']; ?>
            </label> </div>
         </div>
      </div>
      <div class="form-group">
         <label class="col-sm-2 text-muted text-right"><? echo $vis_language['TXTRELEASETYPE']; ?></label>
         <div class="col-sm-10">
            <div class="checkbox i-checks m-r-lg pull-left p-d-sm"><label>
            <input type="checkbox" checked="checked" value="1" id="admin_chk105" name="admin_chk105"/><i></i> <? echo $vis_language['TXTMANAGE']; ?></label> </div>
            <div class="checkbox i-checks m-r-lg pull-left p-d-sm"><label>
            <input type="checkbox" checked="checked" value="1" id="admin_chk106" name="admin_chk106"/><i></i> <? echo $vis_language['TXTDELETE']; ?>
            </label> </div>
         </div>
      </div>
      <div class="form-group">
         <label class="col-sm-2 text-muted text-right"><? echo $vis_language['TXTVENDOR']; ?></label>
         <div class="col-sm-10">
            <div class="checkbox i-checks m-r-lg pull-left p-d-sm"><label>
            <input type="checkbox" checked="checked" value="1" id="admin_chk113" name="admin_chk113"/><i></i> <? echo $vis_language['TXTMANAGE']; ?></label> </div>
            <div class="checkbox i-checks m-r-lg pull-left p-d-sm"><label>
            <input type="checkbox" checked="checked" value="1" id="admin_chk114" name="admin_chk114"/><i></i> <? echo $vis_language['TXTDELETE']; ?>
            </label> </div>
         </div>
      </div>
       <div class="form-group">
         <label class="col-sm-2 text-muted text-right"><? echo $vis_language['TXTCIPRODUCT']; ?></label>
         <div class="col-sm-10">
            <div class="checkbox i-checks m-r-lg pull-left p-d-sm"><label>
            <input type="checkbox" checked="checked" value="1" id="admin_chk129" name="admin_chk129"/><i></i> <? echo $vis_language['TXTMANAGE']; ?></label> </div>
            <div class="checkbox i-checks m-r-lg pull-left p-d-sm"><label>
            <input type="checkbox" checked="checked" value="1" id="admin_chk130" name="admin_chk130"/><i></i> <? echo $vis_language['TXTDELETE']; ?>
            </label> </div>
         </div>
      </div>
      <div class="form-group">
         <label class="col-sm-2 text-muted text-right"><? echo $vis_language['TXTCIPRODSTATUS']; ?></label>
         <div class="col-sm-10">
            <div class="checkbox i-checks m-r-lg pull-left p-d-sm"><label>
            <input type="checkbox" checked="checked" value="1" id="admin_chk123" name="admin_chk123"/><i></i> <? echo $vis_language['TXTMANAGE']; ?></label> </div>
            <div class="checkbox i-checks m-r-lg pull-left p-d-sm"><label>
            <input type="checkbox" checked="checked" value="1" id="admin_chk124" name="admin_chk124"/><i></i> <? echo $vis_language['TXTDELETE']; ?>
            </label> </div>
         </div>
      </div>
      <div class="form-group">
         <label class="col-sm-2 text-muted text-right"><? echo $vis_language['TXTPROCUREMODE']; ?></label>
         <div class="col-sm-10">
            <div class="checkbox i-checks m-r-lg pull-left p-d-sm"><label>
            <input type="checkbox" checked="checked" value="1" id="admin_chk125" name="admin_chk125"/><i></i> <? echo $vis_language['TXTMANAGE']; ?></label> </div>
            <div class="checkbox i-checks m-r-lg pull-left p-d-sm"><label>
            <input type="checkbox" checked="checked" value="1" id="admin_chk126" name="admin_chk126"/><i></i> <? echo $vis_language['TXTDELETE']; ?>
            </label> </div>
         </div>
      </div>
      <div class="form-group">
         <label class="col-sm-2 text-muted text-right"><? echo $vis_language['TXTSERVICECATEGORY']; ?></label>
         <div class="col-sm-10">
            <div class="checkbox i-checks m-r-lg pull-left p-d-sm"><label>
            <input type="checkbox" checked="checked" value="1" id="admin_chk111" name="admin_chk111"/><i></i> <? echo $vis_language['TXTMANAGE']; ?></label> </div>
            <div class="checkbox i-checks m-r-lg pull-left p-d-sm"><label>
            <input type="checkbox" checked="checked" value="1" id="admin_chk112" name="admin_chk112"/><i></i> <? echo $vis_language['TXTDELETE']; ?>
            </label> </div>
         </div>
      </div>
      <div class="form-group">
         <label class="col-sm-2 text-muted text-right"><? echo $vis_language['TXTSERVICEITEM']; ?></label>
         <div class="col-sm-10">
            <div class="checkbox i-checks m-r-lg pull-left p-d-sm"><label>
            <input type="checkbox" checked="checked" value="1" id="admin_chk127" name="admin_chk127"/><i></i> <? echo $vis_language['TXTMANAGE']; ?></label> </div>
            <div class="checkbox i-checks m-r-lg pull-left p-d-sm"><label>
            <input type="checkbox" checked="checked" value="1" id="admin_chk128" name="admin_chk128"/><i></i> <? echo $vis_language['TXTDELETE']; ?>
            </label> </div>
         </div>
      </div>
      <div class="form-group">
         <label class="col-sm-2 text-muted text-right"><? echo $vis_language['TXTFINANCEMANAGEMENT']; ?></label>
         <div class="col-sm-10">
            <div class="checkbox i-checks m-r-lg pull-left p-d-sm"><label>
            <input type="checkbox" checked="checked" value="1" id="admin_chk117" name="admin_chk117"/><i></i> <? echo $vis_language['TXTMANAGE']; ?></label> </div>
            <div class="checkbox i-checks m-r-lg pull-left p-d-sm"><label>
            <input type="checkbox" checked="checked" value="1" id="admin_chk118" name="admin_chk118"/><i></i> <? echo $vis_language['TXTDELETE']; ?>
            </label> </div>
         </div>
      </div><? }?>
    <div class="form-group">
      <label class="col-sm-12 setting-list">
      <h4><? echo $vis_language['TXTSTAFF']; ?></h4>
      </label>
    </div>
    <div class="form-group">
      <label class="col-sm-2 text-muted text-right"><? echo $vis_language['TXTSTAFF']; ?></label>
      <div class="col-sm-10">
        <div class="checkbox i-checks m-r-lg pull-left p-d-sm">
          <label>
            <input type="checkbox" checked="checked" value="1" id="admin_chk20" name="admin_chk20"/>
            <i></i> <? echo $vis_language['TXTMANAGE']; ?></label>
        </div>
        <div class="checkbox i-checks m-r-lg pull-left p-d-sm">
          <label>
            <input type="checkbox" checked="checked"  value="1" id="admin_chk21" name="admin_chk21"/>
            <i></i> <? echo $vis_language['TXTDELETE']; ?> </label>
        </div>
      </div>
    </div>
    <div class="form-group">
      <label class="col-sm-2 text-muted text-right"><? echo $vis_language['TXTSTAFFGROUP']; ?></label>
      <div class="col-sm-10">
        <div class="checkbox i-checks m-r-lg pull-left p-d-sm">
          <label>
            <input type="checkbox" checked="checked" value="1" id="admin_chk22" name="admin_chk22"/>
            <i></i> <? echo $vis_language['TXTMANAGE']; ?></label>
        </div>
        <div class="checkbox i-checks m-r-lg pull-left p-d-sm">
          <label>
            <input type="checkbox" checked="checked"  value="1" id="admin_chk23" name="admin_chk23"/>
            <i></i> <? echo $vis_language['TXTDELETE']; ?> </label>
        </div>
      </div>
    </div>
    <?if(VIS_GAMIFICATION_ACCESS==1){?>
    <div class="form-group">
         <label class="col-sm-2 text-muted text-right"><? echo $vis_language['TXTGAMIFICATION']; ?></label>
         <div class="col-sm-10">
            <div class="checkbox i-checks m-r-lg pull-left p-d-sm"><label>
            <input type="checkbox" checked="checked" value="1" id="admin_chk75" name="admin_chk75"/><i></i> <? echo $vis_language['TXTMANAGE']; ?></label> </div>
            <div class="checkbox i-checks m-r-lg pull-left p-d-sm"><label>
            <input type="checkbox" checked="checked" value="1" id="admin_chk138" name="admin_chk138"/><i></i> <? echo $vis_language['TXTDELETE']; ?>
            </label> </div>
         </div>
    </div><? } ?>
    <div class="form-group">
      <label class="col-sm-12 setting-list">
      <h4><? echo $vis_language['TXTAUTOMATION']; ?></h4>
      </label>
    </div>
      <div class="form-group">
      <label class="col-sm-2 text-muted text-right"><? echo $vis_language['TXTSCHEDULE']; ?></label>
      <div class="col-sm-10">
        <div class="checkbox i-checks m-r-lg pull-left p-d-sm">
          <label>
            <input type="checkbox" checked="checked" value="1" id="admin_chk28" name="admin_chk28"/>
            <i></i> <? echo $vis_language['TXTMANAGE']; ?></label>
        </div>
        <div class="checkbox i-checks m-r-lg pull-left p-d-sm">
          <label>
            <input type="checkbox" checked="checked"  value="1" id="admin_chk29" name="admin_chk29"/>
            <i></i> <? echo $vis_language['TXTDELETE']; ?> </label>
        </div>
      </div>
    </div>
    <div class="form-group">
      <label class="col-sm-2 text-muted text-right"><? echo $vis_language['TXTHOLIDAYS']; ?></label>
      <div class="col-sm-10">
        <div class="checkbox i-checks m-r-lg pull-left p-d-sm">
          <label>
            <input type="checkbox" checked="checked" value="1" id="admin_chk56" name="admin_chk56"/>
            <i></i> <? echo $vis_language['TXTMANAGE']; ?></label>
        </div>
        <div class="checkbox i-checks m-r-lg pull-left p-d-sm">
          <label>
            <input type="checkbox" checked="checked"  value="1" id="admin_chk57" name="admin_chk57"/>
            <i></i> <? echo $vis_language['TXTDELETE']; ?> </label>
        </div>
      </div>
    </div>
    <div class="form-group">
      <label class="col-sm-2 text-muted text-right"><? echo $vis_language['TXTSLA']; ?></label>
      <div class="col-sm-10">
        <div class="checkbox i-checks m-r-lg pull-left p-d-sm">
          <label>
            <input type="checkbox" checked="checked" value="1" id="admin_chk26" name="admin_chk26"/>
            <i></i> <? echo $vis_language['TXTMANAGE']; ?></label>
        </div>
        <div class="checkbox i-checks m-r-lg pull-left p-d-sm">
          <label>
            <input type="checkbox" checked="checked"  value="1" id="admin_chk27" name="admin_chk27"/>
            <i></i> <? echo $vis_language['TXTDELETE']; ?> </label>
        </div>
      </div>
    </div>
    <div class="form-group">
      <label class="col-sm-2 text-muted text-right"><? echo $vis_language['TXTWORKFLOW']; ?></label>
      <div class="col-sm-10">
        <div class="checkbox i-checks m-r-lg pull-left p-d-sm">
          <label>
            <input type="checkbox" checked="checked" value="1" id="admin_chk24" name="admin_chk24"/>
            <i></i> <? echo $vis_language['TXTMANAGE']; ?></label>
        </div>
        <div class="checkbox i-checks m-r-lg pull-left p-d-sm">
          <label>
            <input type="checkbox" checked="checked"  value="1" id="admin_chk25" name="admin_chk25"/>
            <i></i> <? echo $vis_language['TXTDELETE']; ?> </label>
        </div>
      </div>
    </div>	
	<div class="form-group">
         <label class="col-sm-2 text-muted text-right"><? echo $vis_language['TXTTASKAUTO']; ?></label>
         <div class="col-sm-10">
            <div class="checkbox i-checks m-r-lg pull-left p-d-sm"><label>
            <input type="checkbox" checked="checked" value="1" id="admin_chk213" name="admin_chk213"/><i></i> <? echo $vis_language['TXTMANAGE']; ?></label> </div>
            <div class="checkbox i-checks m-r-lg pull-left p-d-sm"><label>
            <input type="checkbox" checked="checked" value="1" id="admin_chk214" name="admin_chk214"/><i></i> <? echo $vis_language['TXTDELETE']; ?>
            </label> </div>
         </div>
      </div>
	
	
    <div class="form-group">
      <label class="col-sm-2 text-muted text-right"><? echo $vis_language['TXTALERTS']; ?></label>
      <div class="col-sm-10">
        <div class="checkbox i-checks m-r-lg pull-left p-d-sm">
          <label>
            <input type="checkbox" checked="checked" value="1" id="admin_chk52" name="admin_chk52"/>
            <i></i> <? echo $vis_language['TXTMANAGE']; ?></label>
        </div>
      </div>
    </div>
    <div class="form-group">
      <label class="col-sm-2 text-muted text-right"><? echo $vis_language['TXTROUNDROBIN']; ?></label>
      <div class="col-sm-10">
        <div class="checkbox i-checks m-r-lg pull-left p-d-sm">
          <label>
            <input type="checkbox" checked="checked" value="1" id="admin_chk193" name="admin_chk193"/>
            <i></i> <? echo $vis_language['TXTMANAGE']; ?></label>
        </div>
        <div class="checkbox i-checks m-r-lg pull-left p-d-sm">
          <label>
            <input type="checkbox" checked="checked"  value="1" id="admin_chk194" name="admin_chk194"/>
            <i></i> <? echo $vis_language['TXTDELETE']; ?> </label>
        </div>
      </div>
    </div>
    <div class="form-group">
      <label class="col-sm-12 setting-list">
      <h4><? echo $vis_language['TXTEMAIL']; ?></h4>
      </label>
    </div>
    <div class="form-group">
      <label class="col-sm-2 text-muted text-right"><? echo $vis_language['TXTEMAILQUEUE']; ?></label>
      <div class="col-sm-10">
        <div class="checkbox i-checks m-r-lg pull-left p-d-sm">
          <label>
            <input type="checkbox" checked="checked" value="1" id="admin_chk30" name="admin_chk30"/>
            <i></i> <? echo $vis_language['TXTMANAGE']; ?></label>
        </div>
        <div class="checkbox i-checks m-r-lg pull-left p-d-sm">
          <label>
            <input type="checkbox" checked="checked"  value="1" id="admin_chk31" name="admin_chk31"/>
            <i></i> <? echo $vis_language['TXTDELETE']; ?> </label>
        </div>
      </div>
    </div>
    <div class="form-group">
      <label class="col-sm-2 text-muted text-right"><? echo $vis_language['TXTSMTP']; ?></label>
      <div class="col-sm-10">
        <div class="checkbox i-checks m-r-lg pull-left p-d-sm">
          <label>
            <input type="checkbox" checked="checked" value="1" id="admin_chk32" name="admin_chk32"/>
            <i></i> <? echo $vis_language['TXTMANAGE']; ?></label>
        </div>
        <div class="checkbox i-checks m-r-lg pull-left p-d-sm">
          <label>
            <input type="checkbox" checked="checked"  value="1" id="admin_chk33" name="admin_chk33"//>
            <i></i> <? echo $vis_language['TXTDELETE']; ?> </label>
        </div>
      </div>
    </div>
    <div class="form-group">
      <label class="col-sm-2 text-muted text-right"><? echo $vis_language['TXTBREAKLINES']; ?></label>
      <div class="col-sm-10">
        <div class="checkbox i-checks m-r-lg pull-left p-d-sm">
          <label>
            <input type="checkbox" checked="checked" value="1" id="admin_chk34" name="admin_chk34"/>
            <i></i> <? echo $vis_language['TXTMANAGE']; ?></label>
        </div>
        <div class="checkbox i-checks m-r-lg pull-left p-d-sm">
          <label>
            <input type="checkbox" checked="checked"  value="1" id="admin_chk35" name="admin_chk35"/>
            <i></i> <? echo $vis_language['TXTDELETE']; ?> </label>
        </div>
      </div>
    </div>
    <div class="form-group">
      <label class="col-sm-2 text-muted text-right"><? echo $vis_language['TXTEMAILTEMPLATES']; ?></label>
      <div class="col-sm-10">
        <div class="checkbox i-checks m-r-lg pull-left p-d-sm">
          <label>
            <input type="checkbox" checked="checked" value="1" id="admin_chk36" name="admin_chk36"/>
            <i></i> <? echo $vis_language['TXTMANAGE']; ?></label>
        </div>
        <div class="checkbox i-checks m-r-lg pull-left p-d-sm">
          <label>
            <input type="checkbox" checked="checked"  value="1" id="admin_chk37" name="admin_chk37"/>
            <i></i> <? echo $vis_language['TXTDELETE']; ?> </label>
        </div>
      </div>
    </div>
    <?if(isset($module['billing']) && $module['billing']==1 && VIS_MODULE_ACCESS_BILLING==1){?>
      <div class="form-group">
         <label class="col-sm-12 setting-list">
            <h4><? echo $vis_language['TXTBILLING']; ?></h4>
         </label>
      </div>
      <div class="form-group">
         <label class="col-sm-2 text-muted text-right"><? echo $vis_language['TXTTICKETORTIMEBASE']; ?></label>
         <div class="col-sm-10">
            <div class="checkbox i-checks m-r-lg pull-left p-d-sm"><label>
            <input type="checkbox" checked="checked" value="1" id="admin_chk131" name="admin_chk131"/><i></i> <? echo $vis_language['TXTMANAGE']; ?></label> </div>
            <div class="checkbox i-checks m-r-lg pull-left p-d-sm"><label>
            <input type="checkbox" checked="checked" value="1" id="admin_chk139" name="admin_chk139"/><i></i> <? echo $vis_language['TXTDELETE']; ?>
            </label> </div>
         </div>
      </div>
      <div class="form-group">
         <label class="col-sm-2 text-muted text-right"><? echo $vis_language['TXTPRODUCTS']; ?></label>
         <div class="col-sm-10">
            <div class="checkbox i-checks m-r-lg pull-left p-d-sm"><label>
            <input type="checkbox" checked="checked" value="1" id="admin_chk133" name="admin_chk133"/><i></i> <? echo $vis_language['TXTMANAGE']; ?></label> </div>
         <div class="checkbox i-checks m-r-lg pull-left p-d-sm"><label>
            <input type="checkbox" checked="checked" value="1" id="admin_chk134" name="admin_chk134"/><i></i> <? echo $vis_language['TXTDELETE']; ?>
            </label> </div>
         </div>
      </div>
      <div class="form-group">
         <label class="col-sm-2 text-muted text-right"><? echo $vis_language['TXTGATEWAY']; ?></label>
         <div class="col-sm-10">
            <div class="checkbox i-checks m-r-lg pull-left p-d-sm"><label>
            <input type="checkbox" checked="checked" value="1" id="admin_chk135" name="admin_chk135"/><i></i> <? echo $vis_language['TXTMANAGE']; ?></label> </div>
            <div class="checkbox i-checks m-r-lg pull-left p-d-sm"><label>
            <input type="checkbox" checked="checked" value="1" id="admin_chk141" name="admin_chk141"/><i></i> <? echo $vis_language['TXTDELETE']; ?>
            </label> </div>
         </div>
      </div>
      <div class="form-group">
         <label class="col-sm-2 text-muted text-right"><? echo $vis_language['TXTTAX']; ?></label>
         <div class="col-sm-10">
            <div class="checkbox i-checks m-r-lg pull-left p-d-sm"><label>
            <input type="checkbox" checked="checked" value="1" id="admin_chk136" name="admin_chk136"/><i></i> <? echo $vis_language['TXTMANAGE']; ?></label> </div>
         <div class="checkbox i-checks m-r-lg pull-left p-d-sm"><label>
            <input type="checkbox" checked="checked" value="1" id="admin_chk137" name="admin_chk137"/><i></i> <? echo $vis_language['TXTDELETE']; ?>
            </label> </div>
         </div>
      </div><? } ?>
    <div class="form-group">
      <label class="col-sm-12 setting-list">
      <h4><? echo $vis_language['TXTCUSTOMIZATIONS']; ?></h4>
      </label>
    </div>
    <div class="form-group">
      <label class="col-sm-2 text-muted text-right"><? echo $vis_language['TXTCUSTOMFIELDS']; ?></label>
      <div class="col-sm-10">
        <div class="checkbox i-checks m-r-lg pull-left p-d-sm">
          <label>
            <input type="checkbox" checked="checked" value="1" id="admin_chk38" name="admin_chk38"/>
            <i></i> <? echo $vis_language['TXTMANAGE']; ?></label>
        </div>
        <div class="checkbox i-checks m-r-lg pull-left p-d-sm">
          <label>
            <input type="checkbox" checked="checked"  value="1" id="admin_chk39" name="admin_chk39"/>
            <i></i> <? echo $vis_language['TXTDELETE']; ?> </label>
        </div>
      </div>
    </div>
    <div class="form-group">
      <label class="col-sm-2 text-muted text-right"><? echo $vis_language['TXTCUSTOMGROUP']; ?></label>
      <div class="col-sm-10">
        <div class="checkbox i-checks m-r-lg pull-left p-d-sm">
          <label>
            <input type="checkbox" checked="checked" value="1" id="admin_chk40" name="admin_chk40"/>
            <i></i> <? echo $vis_language['TXTMANAGE']; ?></label>
        </div>
        <div class="checkbox i-checks m-r-lg pull-left p-d-sm">
          <label>
            <input type="checkbox" checked="checked"  value="1" id="admin_chk41" name="admin_chk41"/>
            <i></i> <? echo $vis_language['TXTDELETE']; ?> </label>
        </div>
      </div>
    </div>
    <div class="form-group">
         <label class="col-sm-2 text-muted text-right"><? echo $vis_language['TXTSURVEY']; ?></label>
         <div class="col-sm-10">
            <div class="checkbox i-checks m-r-lg pull-left p-d-sm"><label>
            <input type="checkbox" checked="checked" value="1" id="admin_chk76" name="admin_chk76"/><i></i> <? echo $vis_language['TXTMANAGE']; ?></label> </div>
            <div class="checkbox i-checks m-r-lg pull-left p-d-sm"><label>
            <input type="checkbox" checked="checked" value="1" id="admin_chk77" name="admin_chk77"/><i></i> <? echo $vis_language['TXTDELETE']; ?>
            </label> </div>
         </div>
      </div>
      <div class="form-group">
         <label class="col-sm-2 text-muted text-right"><? echo $vis_language['TXTSURVEYFIELD']; ?></label>
         <div class="col-sm-10">
            <div class="checkbox i-checks m-r-lg pull-left p-d-sm"><label>
            <input type="checkbox" checked="checked" value="1" id="admin_chk78" name="admin_chk78"/><i></i> <? echo $vis_language['TXTMANAGE']; ?></label> </div>
            <div class="checkbox i-checks m-r-lg pull-left p-d-sm"><label>
            <input type="checkbox" checked="checked" value="1" id="admin_chk79" name="admin_chk79"/><i></i> <? echo $vis_language['TXTDELETE']; ?>
            </label> </div>
         </div>
      </div>
    <div class="form-group">
      <label class="col-sm-12 setting-list">
      <h4><? echo $vis_language['TXTINTEGRATIONS']; ?></h4>
      </label>
    </div>
    <div class="form-group">
      <label class="col-sm-2 text-muted text-right"><? echo $vis_language['TXTWHMCS']; ?></label>
      <div class="col-sm-10">
        <div class="checkbox i-checks m-r-lg pull-left p-d-sm">
          <label>
            <input type="checkbox" checked="checked" value="1" id="admin_chk62" name="admin_chk62"/>
            <i></i> <? echo $vis_language['TXTMANAGE']; ?></label>
        </div>
        <div class="checkbox i-checks m-r-lg pull-left p-d-sm">
          <label>
            <input type="checkbox" checked="checked"  value="1" id="admin_chk63" name="admin_chk63"/>
            <i></i> <? echo $vis_language['TXTDELETE']; ?> </label>
        </div>
      </div>
    </div>
    <div class="form-group">
      <label class="col-sm-2 text-muted text-right"><? echo $vis_language['TXTTWITTER']; ?></label>
      <div class="col-sm-10">
        <div class="checkbox i-checks m-r-lg pull-left p-d-sm">
          <label>
            <input type="checkbox" checked="checked" value="1" id="admin_chk64" name="admin_chk64"/>
            <i></i> <? echo $vis_language['TXTMANAGE']; ?></label>
        </div>
        <div class="checkbox i-checks m-r-lg pull-left p-d-sm">
          <label>
            <input type="checkbox" checked="checked"  value="1" id="admin_chk65" name="admin_chk65"/>
            <i></i> <? echo $vis_language['TXTDELETE']; ?> </label>
        </div>
      </div>
    </div>
    <div class="form-group">
      <label class="col-sm-2 text-muted text-right"><? echo $vis_language['TXTFACEBOOK']; ?></label>
      <div class="col-sm-10">
        <div class="checkbox i-checks m-r-lg pull-left p-d-sm">
          <label>
            <input type="checkbox" checked="checked" value="1" id="admin_chk66" name="admin_chk66"/>
            <i></i> <? echo $vis_language['TXTMANAGE']; ?></label>
        </div>
        <div class="checkbox i-checks m-r-lg pull-left p-d-sm">
          <label>
            <input type="checkbox" checked="checked"  value="1" id="admin_chk67" name="admin_chk67"/>
            <i></i> <? echo $vis_language['TXTDELETE']; ?> </label>
        </div>
      </div>
    </div>
    <div class="form-group">
      <label class="col-sm-2 text-muted text-right"><? echo $vis_language['TXTSMS']; ?></label>
      <div class="col-sm-10">
        <div class="checkbox i-checks m-r-lg pull-left p-d-sm">
          <label>
            <input type="checkbox" checked="checked" value="1" id="admin_chk68" name="admin_chk68"/>
            <i></i> <? echo $vis_language['TXTMANAGE']; ?></label>
        </div>
        <div class="checkbox i-checks m-r-lg pull-left p-d-sm">
          <label>
            <input type="checkbox" checked="checked"  value="1" id="admin_chk69" name="admin_chk69"/>
            <i></i> <? echo $vis_language['TXTDELETE']; ?> </label>
        </div>
      </div>
    </div>
      <div class="form-group">
         <label class="col-sm-2 text-muted text-right"><? echo $vis_language['TXTLIVECHAT']; ?></label>
         <div class="col-sm-10">
            <div class="checkbox i-checks m-r-lg pull-left p-d-sm"><label>
            <input type="checkbox" checked="checked" value="1" id="admin_chk80" name="admin_chk80"/><i></i> <? echo $vis_language['TXTMANAGE']; ?></label> </div>
            <div class="checkbox i-checks m-r-lg pull-left p-d-sm"><label>
            <input type="checkbox" checked="checked" value="1" id="admin_chk142" name="admin_chk142"/><i></i> <? echo $vis_language['TXTDELETE']; ?>
            </label> </div>
         </div>
      </div>
       <div class="form-group">
         <label class="col-sm-2 text-muted text-right"><? echo $vis_language['TXTLIVEZILLA']; ?></label>
         <div class="col-sm-10">
            <div class="checkbox i-checks m-r-lg pull-left p-d-sm"><label>
            <input type="checkbox" checked="checked" value="1" id="admin_chk81" name="admin_chk81"/><i></i> <? echo $vis_language['TXTMANAGE']; ?></label> </div>
            <div class="checkbox i-checks m-r-lg pull-left p-d-sm"><label>
            <input type="checkbox" checked="checked" value="1" id="admin_chk143" name="admin_chk143"/><i></i> <? echo $vis_language['TXTDELETE']; ?>
            </label> </div>
         </div>
      </div>
      <div class="form-group">
         <label class="col-sm-2 text-muted text-right"><? echo $vis_language['TXTUSERLIKE']; ?></label>
         <div class="col-sm-10">
            <div class="checkbox i-checks m-r-lg pull-left p-d-sm"><label>
            <input type="checkbox" checked="checked" value="1" id="admin_chk82" name="admin_chk82"/><i></i> <? echo $vis_language['TXTMANAGE']; ?></label> </div>
            <div class="checkbox i-checks m-r-lg pull-left p-d-sm"><label>
            <input type="checkbox" checked="checked" value="1" id="admin_chk144" name="admin_chk144"/><i></i> <? echo $vis_language['TXTDELETE']; ?>
            </label> </div>
         </div>
      </div>
      <div class="form-group">
         <label class="col-sm-2 text-muted text-right"><? echo $vis_language['TXTCOMMCHAT']; ?></label>
         <div class="col-sm-10">
            <div class="checkbox i-checks m-r-lg pull-left p-d-sm"><label>
            <input type="checkbox" checked="checked" value="1" id="admin_chk83" name="admin_chk83"/><i></i> <? echo $vis_language['TXTMANAGE']; ?></label> </div>
            <div class="checkbox i-checks m-r-lg pull-left p-d-sm"><label>
            <input type="checkbox" checked="checked" value="1" id="admin_chk145" name="admin_chk145"/><i></i> <? echo $vis_language['TXTDELETE']; ?>
            </label> </div>
         </div>
      </div>
      <div class="form-group">
         <label class="col-sm-2 text-muted text-right"><? echo $vis_language['TXTREMOTEACCESS']; ?></label>
         <div class="col-sm-10">
            <div class="checkbox i-checks m-r-lg pull-left p-d-sm"><label>
            <input type="checkbox" checked="checked" value="1" id="admin_chk84" name="admin_chk84"/><i></i> <? echo $vis_language['TXTMANAGE']; ?></label> </div>
            <div class="checkbox i-checks m-r-lg pull-left p-d-sm"><label>
            <input type="checkbox" checked="checked" value="1" id="admin_chk146" name="admin_chk146"/><i></i> <? echo $vis_language['TXTDELETE']; ?>
            </label> </div>
         </div>
      </div>
      <div class="form-group">
         <label class="col-sm-2 text-muted text-right"><? echo $vis_language['TXTTWILIO']; ?></label>
         <div class="col-sm-10">
            <div class="checkbox i-checks m-r-lg pull-left p-d-sm"><label>
            <input type="checkbox" checked="checked" value="1" id="admin_chk85" name="admin_chk85"/><i></i> <? echo $vis_language['TXTMANAGE']; ?></label> </div>
            <div class="checkbox i-checks m-r-lg pull-left p-d-sm"><label>
            <input type="checkbox" checked="checked" value="1" id="admin_chk147" name="admin_chk147"/><i></i> <? echo $vis_language['TXTDELETE']; ?>
            </label> </div>
         </div>
      </div>
      <div class="form-group">
         <label class="col-sm-2 text-muted text-right"><? echo $vis_language['TXTCLICKDESK']; ?></label>
         <div class="col-sm-10">
            <div class="checkbox i-checks m-r-lg pull-left p-d-sm"><label>
            <input type="checkbox" checked="checked" value="1" id="admin_chk159" name="admin_chk159"/><i></i> <? echo $vis_language['TXTMANAGE']; ?></label> </div>
            <div class="checkbox i-checks m-r-lg pull-left p-d-sm"><label>
            <input type="checkbox" checked="checked"  value="1" id="admin_chk160" name="admin_chk160"/><i></i> <? echo $vis_language['TXTDELETE']; ?>
            </label> </div>
         </div>
      </div>
      <div class="form-group">
         <label class="col-sm-2 text-muted text-right"><? echo $vis_language['TXTZOPIM']; ?></label>
         <div class="col-sm-10">
            <div class="checkbox i-checks m-r-lg pull-left p-d-sm"><label>
            <input type="checkbox" checked="checked" value="1" id="admin_chk165" name="admin_chk165"/><i></i> <? echo $vis_language['TXTMANAGE']; ?></label> </div>
            <div class="checkbox i-checks m-r-lg pull-left p-d-sm"><label>
            <input type="checkbox" checked="checked"  value="1" id="admin_chk166" name="admin_chk166"/><i></i> <? echo $vis_language['TXTDELETE']; ?>
            </label> </div>
         </div>
      </div>
       <div class="form-group">
         <label class="col-sm-2 text-muted text-right"><? echo $vis_language['TXTFRESHBOOKS']; ?></label>
         <div class="col-sm-10">
            <div class="checkbox i-checks m-r-lg pull-left p-d-sm"><label>
            <input type="checkbox" checked="checked" value="1" id="admin_chk161" name="admin_chk161"/><i></i> <? echo $vis_language['TXTMANAGE']; ?></label> </div>
            <div class="checkbox i-checks m-r-lg pull-left p-d-sm"><label>
            <input type="checkbox" checked="checked" value="1" id="admin_chk162" name="admin_chk162"/><i></i> <? echo $vis_language['TXTDELETE']; ?>
            </label> </div>
         </div>
      </div>
       <div class="form-group">
         <label class="col-sm-2 text-muted text-right"><? echo $vis_language['TXTMAILCHIMP']; ?></label>
         <div class="col-sm-10">
            <div class="checkbox i-checks m-r-lg pull-left p-d-sm"><label>
            <input type="checkbox" checked="checked" value="1" id="admin_chk163" name="admin_chk163"/><i></i> <? echo $vis_language['TXTMANAGE']; ?></label> </div>
            <div class="checkbox i-checks m-r-lg pull-left p-d-sm"><label>
            <input type="checkbox" checked="checked" value="1" id="admin_chk164" name="admin_chk164"/><i></i> <? echo $vis_language['TXTDELETE']; ?>
            </label> </div>
         </div>
      </div>
       <div class="form-group">
         <label class="col-sm-2 text-muted text-right"><? echo $vis_language['TXTMAGENTO']; ?></label>
         <div class="col-sm-10">
            <div class="checkbox i-checks m-r-lg pull-left p-d-sm"><label>
            <input type="checkbox" checked="checked" value="1" id="admin_chk167" name="admin_chk167"/><i></i> <? echo $vis_language['TXTMANAGE']; ?></label> </div>
            <div class="checkbox i-checks m-r-lg pull-left p-d-sm"><label>
            <input type="checkbox" checked="checked" value="1" id="admin_chk168" name="admin_chk168"/><i></i> <? echo $vis_language['TXTDELETE']; ?>
            </label> </div>
         </div>
      </div>
        <div class="form-group">
         <label class="col-sm-2 text-muted text-right"><? echo $vis_language['TXTINSIGHTLY']; ?></label>
         <div class="col-sm-10">
            <div class="checkbox i-checks m-r-lg pull-left p-d-sm"><label>
            <input type="checkbox" checked="checked" value="1" id="admin_chk169" name="admin_chk169"/><i></i> <? echo $vis_language['TXTMANAGE']; ?></label> </div>
            <div class="checkbox i-checks m-r-lg pull-left p-d-sm"><label>
            <input type="checkbox" checked="checked" value="1" id="admin_chk170" name="admin_chk170"/><i></i> <? echo $vis_language['TXTDELETE']; ?>
            </label> </div>
         </div>
      </div>
       <div class="form-group">
         <label class="col-sm-2 text-muted text-right"><? echo $vis_language['TXTBIGCOMMERCE']; ?></label>
         <div class="col-sm-10">
            <div class="checkbox i-checks m-r-lg pull-left p-d-sm"><label>
            <input type="checkbox" checked="checked" value="1" id="admin_chk171" name="admin_chk171"/><i></i> <? echo $vis_language['TXTMANAGE']; ?></label> </div>
            <div class="checkbox i-checks m-r-lg pull-left p-d-sm"><label>
            <input type="checkbox" checked="checked" value="1" id="admin_chk172" name="admin_chk172"/><i></i> <? echo $vis_language['TXTDELETE']; ?>
            </label> </div>
         </div>
      </div>
        <div class="form-group">
         <label class="col-sm-2 text-muted text-right"><? echo $vis_language['TXTJIRA']; ?></label>
         <div class="col-sm-10">
            <div class="checkbox i-checks m-r-lg pull-left p-d-sm"><label>
            <input type="checkbox" checked="checked" value="1" id="admin_chk173" name="admin_chk173"/><i></i> <? echo $vis_language['TXTMANAGE']; ?></label> </div>
            <div class="checkbox i-checks m-r-lg pull-left p-d-sm"><label>
            <input type="checkbox" checked="checked" value="1" id="admin_chk174" name="admin_chk174"/><i></i> <? echo $vis_language['TXTDELETE']; ?>
            </label> </div>
         </div>
      </div>
        <div class="form-group">
         <label class="col-sm-2 text-muted text-right"><? echo $vis_language['TXTBLESTA']; ?></label>
         <div class="col-sm-10">
            <div class="checkbox i-checks m-r-lg pull-left p-d-sm"><label>
            <input type="checkbox" checked="checked" value="1" id="admin_chk175" name="admin_chk175"/><i></i> <? echo $vis_language['TXTMANAGE']; ?></label> </div>
            <div class="checkbox i-checks m-r-lg pull-left p-d-sm"><label>
            <input type="checkbox" checked="checked" value="1" id="admin_chk176" name="admin_chk176"/><i></i> <? echo $vis_language['TXTDELETE']; ?>
            </label> </div>
         </div>
      </div>

       <div class="form-group">
         <label class="col-sm-2 text-muted text-right"><? echo $vis_language['TXTCAPSULECRM']; ?></label>
         <div class="col-sm-10">
            <div class="checkbox i-checks m-r-lg pull-left p-d-sm"><label>
            <input type="checkbox" checked="checked" value="1" id="admin_chk185" name="admin_chk185"/><i></i> <? echo $vis_language['TXTMANAGE']; ?></label> </div>
            <div class="checkbox i-checks m-r-lg pull-left p-d-sm"><label>
            <input type="checkbox" checked="checked" value="1" id="admin_chk186" name="admin_chk186"/><i></i> <? echo $vis_language['TXTDELETE']; ?>
            </label> </div>
         </div>
      </div>
        <div class="form-group">
         <label class="col-sm-2 text-muted text-right"><? echo $vis_language['TXTHIPCHAT']; ?></label>
         <div class="col-sm-10">
            <div class="checkbox i-checks m-r-lg pull-left p-d-sm"><label>
            <input type="checkbox" checked="checked" value="1" id="admin_chk181" name="admin_chk181"/><i></i> <? echo $vis_language['TXTMANAGE']; ?></label> </div>
            <div class="checkbox i-checks m-r-lg pull-left p-d-sm"><label>
            <input type="checkbox" checked="checked"  value="1" id="admin_chk182" name="admin_chk182"/><i></i> <? echo $vis_language['TXTDELETE']; ?>
            </label></div>
         </div>
      </div>
        <div class="form-group">
         <label class="col-sm-2 text-muted text-right"><? echo $vis_language['TXTSLACK']; ?></label>
         <div class="col-sm-10">
            <div class="checkbox i-checks m-r-lg pull-left p-d-sm"><label>
            <input type="checkbox" checked="checked" value="1" id="admin_chk183" name="admin_chk183"/><i></i> <? echo $vis_language['TXTMANAGE']; ?></label> </div>
            <div class="checkbox i-checks m-r-lg pull-left p-d-sm"><label>
            <input type="checkbox" checked="checked"  value="1" id="admin_chk184" name="admin_chk184"/><i></i> <? echo $vis_language['TXTDELETE']; ?>
            </label></div>
         </div>
      </div> 
      <div class="form-group">
         <label class="col-sm-2 text-muted text-right"><? echo $vis_language['TXTREADMINE']; ?></label>
         <div class="col-sm-10">
            <div class="checkbox i-checks m-r-lg pull-left p-d-sm"><label>
            <input type="checkbox" checked="checked" value="1" id="admin_chk187" name="admin_chk187"/><i></i> <? echo $vis_language['TXTMANAGE']; ?></label> </div>
            <div class="checkbox i-checks m-r-lg pull-left p-d-sm"><label>
            <input type="checkbox" checked="checked" value="1" id="admin_chk188" name="admin_chk188"/><i></i> <? echo $vis_language['TXTDELETE']; ?>
            </label> </div>
         </div>
      </div>
      <div class="form-group">
         <label class="col-sm-2 text-muted text-right"><? echo $vis_language['TXTEXOTEL']; ?></label>
         <div class="col-sm-10">
            <div class="checkbox i-checks m-r-lg pull-left p-d-sm"><label>
            <input type="checkbox" checked="checked" value="1" id="admin_chk189" name="admin_chk189"/><i></i> <? echo $vis_language['TXTMANAGE']; ?></label> </div>
            <div class="checkbox i-checks m-r-lg pull-left p-d-sm"><label>
            <input type="checkbox" checked="checked" value="1" id="admin_chk190" name="admin_chk190"/><i></i> <? echo $vis_language['TXTDELETE']; ?>
            </label> </div>
         </div>
      </div>
       <div class="form-group">
         <label class="col-sm-2 text-muted text-right"><? echo $vis_language['TXTGOOGLECALENDER']; ?></label>
         <div class="col-sm-10">
            <div class="checkbox i-checks m-r-lg pull-left p-d-sm"><label>
            <input type="checkbox" checked="checked" value="1" id="admin_chk191" name="admin_chk191"/><i></i> <? echo $vis_language['TXTMANAGE']; ?></label> </div>
            <div class="checkbox i-checks m-r-lg pull-left p-d-sm"><label>
            <input type="checkbox" checked="checked" value="1" id="admin_chk192" name="admin_chk192"/><i></i> <? echo $vis_language['TXTDELETE']; ?>
            </label> </div>
         </div>
      </div>
       <div class="form-group">
         <label class="col-sm-2 text-muted text-right"><? echo $vis_language['TXTCRISPAPP']; ?></label>
         <div class="col-sm-10">
            <div class="checkbox i-checks m-r-lg pull-left p-d-sm"><label>
            <input type="checkbox" checked="checked" value="1" id="admin_chk195" name="admin_chk195"/><i></i> <? echo $vis_language['TXTMANAGE']; ?></label> </div>
            <div class="checkbox i-checks m-r-lg pull-left p-d-sm"><label>
            <input type="checkbox" checked="checked" value="1" id="admin_chk196" name="admin_chk196"/><i></i> <? echo $vis_language['TXTDELETE']; ?>
            </label> </div>
         </div>
      </div>
       <div class="form-group">
         <label class="col-sm-2 text-muted text-right"><? echo $vis_language['TXTAIRCALL']; ?></label>
         <div class="col-sm-10">
            <div class="checkbox i-checks m-r-lg pull-left p-d-sm"><label>
            <input type="checkbox" checked="checked" value="1" id="admin_chk197" name="admin_chk197"/><i></i> <? echo $vis_language['TXTMANAGE']; ?></label> </div>
            <div class="checkbox i-checks m-r-lg pull-left p-d-sm"><label>
            <input type="checkbox" checked="checked" value="1" id="admin_chk198" name="admin_chk198"/><i></i> <? echo $vis_language['TXTDELETE']; ?>
            </label> </div>
         </div>
      </div>
	  <div class="form-group">
         <label class="col-sm-2 text-muted text-right"><? echo $vis_language['TXTXERO']; ?></label>
         <div class="col-sm-10">
            <div class="checkbox i-checks m-r-lg pull-left p-d-sm"><label>
            <input type="checkbox" <? if($setting_check[209]==1) echo 'checked="checked"'; ?> value="1" id="admin_chk210" name="admin_chk210"/><i></i> <? echo $vis_language['TXTMANAGE']; ?></label> </div>
            <div class="checkbox i-checks m-r-lg pull-left p-d-sm"><label>
            <input type="checkbox" <? if($setting_check[210]==1) echo 'checked="checked"'; ?>  value="1" id="admin_chk211" name="admin_chk211"/><i></i> <? echo $vis_language['TXTDELETE']; ?>
            </label> </div>
         </div>
		</div>	
      <div class="form-group">
         <label class="col-sm-12 setting-list">
            <h4><? echo $vis_language['TXTSINGLELOGIN']; ?></h4>
         </label>
      </div>
       <div class="form-group">
         <label class="col-sm-2 text-muted text-right"><? echo $vis_language['TXTACTIVEDIRECTORY']; ?></label>
         <div class="col-sm-10">
            <div class="checkbox i-checks m-r-lg pull-left p-d-sm"><label>
            <input type="checkbox" checked="checked" value="1" id="admin_chk86" name="admin_chk86"/><i></i> <? echo $vis_language['TXTMANAGE']; ?></label> </div>
            <div class="checkbox i-checks m-r-lg pull-left p-d-sm"><label>
            <input type="checkbox" checked="checked" value="1" id="admin_chk148" name="admin_chk148"/><i></i> <? echo $vis_language['TXTDELETE']; ?>
            </label> </div>
         </div>
      </div>
      <div class="form-group">
         <label class="col-sm-2 text-muted text-right"><? echo $vis_language['TXTFACEBOOK']; ?></label>
         <div class="col-sm-10">
            <div class="checkbox i-checks m-r-lg pull-left p-d-sm"><label>
            <input type="checkbox" checked="checked" value="1" id="admin_chk87" name="admin_chk87"/><i></i> <? echo $vis_language['TXTMANAGE']; ?></label> </div>
            <div class="checkbox i-checks m-r-lg pull-left p-d-sm"><label>
            <input type="checkbox" checked="checked" value="1" id="admin_chk149" name="admin_chk149"/><i></i> <? echo $vis_language['TXTDELETE']; ?>
            </label></div>
         </div>
      </div>
      <div class="form-group">
         <label class="col-sm-2 text-muted text-right"><? echo $vis_language['TXTTWITTER']; ?></label>
         <div class="col-sm-10">
            <div class="checkbox i-checks m-r-lg pull-left p-d-sm"><label>
            <input type="checkbox" checked="checked" value="1" id="admin_chk88" name="admin_chk88"/><i></i> <? echo $vis_language['TXTMANAGE']; ?></label> </div>
            <div class="checkbox i-checks m-r-lg pull-left p-d-sm"><label>
            <input type="checkbox" checked="checked"  value="1" id="admin_chk150" name="admin_chk150"/><i></i> <? echo $vis_language['TXTDELETE']; ?>
            </label></div>
         </div>
      </div>
      <div class="form-group">
         <label class="col-sm-2 text-muted text-right"><? echo $vis_language['TXTGMAIL']; ?></label>
         <div class="col-sm-10">
            <div class="checkbox i-checks m-r-lg pull-left p-d-sm"><label>
            <input type="checkbox" checked="checked" value="1" id="admin_chk89" name="admin_chk89"/><i></i> <? echo $vis_language['TXTMANAGE']; ?></label> </div>
            <div class="checkbox i-checks m-r-lg pull-left p-d-sm"><label>
            <input type="checkbox" checked="checked" value="1" id="admin_chk151" name="admin_chk151"/><i></i> <? echo $vis_language['TXTDELETE']; ?>
            </label></div>
         </div>
      </div>
      <div class="form-group">
         <label class="col-sm-2 text-muted text-right"><? echo $vis_language['TXTWHMCS']; ?></label>
         <div class="col-sm-10">
            <div class="checkbox i-checks m-r-lg pull-left p-d-sm"><label>
            <input type="checkbox" checked="checked" value="1" id="admin_chk90" name="admin_chk90"/><i></i> <? echo $vis_language['TXTMANAGE']; ?></label> </div>
            <div class="checkbox i-checks m-r-lg pull-left p-d-sm"><label>
            <input type="checkbox" checked="checked" value="1" id="admin_chk152" name="admin_chk152"/><i></i> <? echo $vis_language['TXTDELETE']; ?>
            </label></div>
         </div>
      </div>
      <div class="form-group">
         <label class="col-sm-2 text-muted text-right"><? echo $vis_language['TXTCLIENTEXEC']; ?></label>
         <div class="col-sm-10">
            <div class="checkbox i-checks m-r-lg pull-left p-d-sm"><label>
            <input type="checkbox" checked="checked" value="1" id="admin_chk91" name="admin_chk91"/><i></i> <? echo $vis_language['TXTMANAGE']; ?></label> </div>
            <div class="checkbox i-checks m-r-lg pull-left p-d-sm"><label>
            <input type="checkbox" checked="checked" value="1" id="admin_chk153" name="admin_chk153"/><i></i> <? echo $vis_language['TXTDELETE']; ?>
            </label></div>
         </div>
      </div>
      <div class="form-group">
         <label class="col-sm-2 text-muted text-right"><? echo $vis_language['TXTLINKEDIN']; ?></label>
         <div class="col-sm-10">
            <div class="checkbox i-checks m-r-lg pull-left p-d-sm"><label>
            <input type="checkbox" checked="checked" value="1" id="admin_chk92" name="admin_chk92"/><i></i> <? echo $vis_language['TXTMANAGE']; ?></label> </div>
            <div class="checkbox i-checks m-r-lg pull-left p-d-sm"><label>
            <input type="checkbox" checked="checked" value="1" id="admin_chk154" name="admin_chk154"/><i></i> <? echo $vis_language['TXTDELETE']; ?>
            </label></div>
         </div>
      </div>
      <div class="form-group">
         <label class="col-sm-2 text-muted text-right"><? echo $vis_language['TXTWORDPRESS']; ?></label>
         <div class="col-sm-10">
            <div class="checkbox i-checks m-r-lg pull-left p-d-sm"><label>
            <input type="checkbox" checked="checked" value="1" id="admin_chk93" name="admin_chk93"/><i></i> <? echo $vis_language['TXTMANAGE']; ?></label> </div>
            <div class="checkbox i-checks m-r-lg pull-left p-d-sm"><label>
            <input type="checkbox" checked="checked" value="1" id="admin_chk155" name="admin_chk155"/><i></i> <? echo $vis_language['TXTDELETE']; ?>
            </label></div>
         </div>
      </div>
      <div class="form-group">
         <label class="col-sm-2 text-muted text-right"><? echo $vis_language['TXTDRUPAL']; ?></label>
         <div class="col-sm-10">
            <div class="checkbox i-checks m-r-lg pull-left p-d-sm"><label>
            <input type="checkbox" checked="checked" value="1" id="admin_chk94" name="admin_chk94"/><i></i> <? echo $vis_language['TXTMANAGE']; ?></label> </div>
            <div class="checkbox i-checks m-r-lg pull-left p-d-sm"><label>
            <input type="checkbox" checked="checked" value="1" id="admin_chk156" name="admin_chk156"/><i></i> <? echo $vis_language['TXTDELETE']; ?>
            </label></div>
         </div>
      </div>
      <div class="form-group">
         <label class="col-sm-2 text-muted text-right"><? echo $vis_language['TXTSUGARCRM']; ?></label>
         <div class="col-sm-10">
            <div class="checkbox i-checks m-r-lg pull-left p-d-sm"><label>
            <input type="checkbox" checked="checked" value="1" id="admin_chk95" name="admin_chk95"/><i></i> <? echo $vis_language['TXTMANAGE']; ?></label> </div>
            <div class="checkbox i-checks m-r-lg pull-left p-d-sm"><label>
            <input type="checkbox" checked="checked"  value="1" id="admin_chk157" name="admin_chk157"/><i></i> <? echo $vis_language['TXTDELETE']; ?>
            </label></div>
         </div>
      </div>
      <div class="form-group">
         <label class="col-sm-2 text-muted text-right"><? echo $vis_language['TXTHOSTBILL']; ?></label>
         <div class="col-sm-10">
            <div class="checkbox i-checks m-r-lg pull-left p-d-sm"><label>
            <input type="checkbox" checked="checked" value="1" id="admin_chk96" name="admin_chk96"/><i></i> <? echo $vis_language['TXTMANAGE']; ?></label> </div>
            <div class="checkbox i-checks m-r-lg pull-left p-d-sm"><label>
            <input type="checkbox" checked="checked"  value="1" id="admin_chk158" name="admin_chk158"/><i></i> <? echo $vis_language['TXTDELETE']; ?>
            </label></div>
         </div>
      </div>  
      
      <div class="form-group">
         <label class="col-sm-2 text-muted text-right"><? echo $vis_language['TXTJOOMLA']; ?></label>
         <div class="col-sm-10">
            <div class="checkbox i-checks m-r-lg pull-left p-d-sm"><label>
            <input type="checkbox" checked="checked" value="1" id="admin_chk201" name="admin_chk201"/><i></i> <? echo $vis_language['TXTMANAGE']; ?></label> </div>
            <div class="checkbox i-checks m-r-lg pull-left p-d-sm"><label>
            <input type="checkbox" checked="checked"  value="1" id="admin_chk202" name="admin_chk202"/><i></i> <? echo $vis_language['TXTDELETE']; ?>
            </label></div>
         </div>
      </div> 
     
       <div class="form-group">
         <label class="col-sm-2 text-muted text-right"><? echo $vis_language['TXTSSO']; ?></label>
         <div class="col-sm-10">
            <div class="checkbox i-checks m-r-lg pull-left p-d-sm"><label>
            <input type="checkbox" checked="checked" value="1" id="admin_chk203" name="admin_chk203"/><i></i> <? echo $vis_language['TXTMANAGE']; ?></label> </div>
            <div class="checkbox i-checks m-r-lg pull-left p-d-sm"><label>
            <input type="checkbox" checked="checked"  value="1" id="admin_chk204" name="admin_chk204"/><i></i> <? echo $vis_language['TXTDELETE']; ?>
            </label></div>
         </div>
      </div> 

       <div class="form-group">
         <label class="col-sm-2 text-muted text-right"><? echo $vis_language['TXTWINDOWS']; ?></label>
         <div class="col-sm-10">
            <div class="checkbox i-checks m-r-lg pull-left p-d-sm"><label>
            <input type="checkbox" checked="checked" value="1" id="admin_chk205" name="admin_chk205"/><i></i> <? echo $vis_language['TXTMANAGE']; ?></label> </div>
            <div class="checkbox i-checks m-r-lg pull-left p-d-sm"><label>
            <input type="checkbox" checked="checked"  value="1" id="admin_chk206" name="admin_chk206"/><i></i> <? echo $vis_language['TXTDELETE']; ?>
            </label></div>
         </div>
      </div>
      
      <div class="form-group">
         <label class="col-sm-2 text-muted text-right"><? echo $vis_language['TXTOPENCART']; ?></label>
         <div class="col-sm-10">
            <div class="checkbox i-checks m-r-lg pull-left p-d-sm"><label>
            <input type="checkbox" checked="checked" value="1" id="admin_chk207" name="admin_chk207"/><i></i> <? echo $vis_language['TXTMANAGE']; ?></label> </div>
            <div class="checkbox i-checks m-r-lg pull-left p-d-sm"><label>
            <input type="checkbox" checked="checked"  value="1" id="admin_chk208" name="admin_chk208"/><i></i> <? echo $vis_language['TXTDELETE']; ?>
            </label></div>
         </div>
      </div>  
             
    <div class="form-group">
      <label class="col-sm-12 setting-list">
      <h4><? echo $vis_language['TXTAPI']; ?></h4>
      </label>
    </div>
    <div class="form-group">
      <label class="col-sm-2 setting-list"></label>
      <div class="col-sm-10">
        <div class="checkbox i-checks m-r-lg pull-left p-d-sm">
          <label>
            <input type="checkbox" checked="checked" value="1" id="admin_chk51" name="admin_chk51"/>
            <i></i> <? echo $vis_language['TXTMANAGE']; ?></label>
        </div>
      </div>
    </div>
    
     <div class="form-group">
      <label class="col-sm-12 setting-list">
      <h4><? echo $vis_language['TXTLOGS']; ?></h4>
      </label>
    </div>
     <div class="form-group">
         <label class="col-sm-2 text-muted text-right"><? echo $vis_language['TXTERROR']; ?></label>
         <div class="col-sm-10">
            <div class="checkbox i-checks m-r-lg pull-left p-d-sm"><label>
            <input type="checkbox"  value="1" id="admin_chk46" name="admin_chk46"/><i></i> <? echo $vis_language['TXTMANAGE']; ?></label> </div>
            <div class="checkbox i-checks m-r-lg pull-left p-d-sm"><label>
            <input type="checkbox"  value="1" id="admin_chk47" name="admin_chk47"/><i></i> <? echo $vis_language['TXTDELETE']; ?>
            </label></div>
         </div>
      </div>
      <div class="form-group">
         <label class="col-sm-2 text-muted text-right"><? echo $vis_language['TXTPARSER']; ?></label>
         <div class="col-sm-10">
            <div class="checkbox i-checks m-r-lg pull-left p-d-sm"><label>
            <input type="checkbox"  value="1" id="admin_chk48" name="admin_chk48"/><i></i> <? echo $vis_language['TXTMANAGE']; ?></label> </div>
            <div class="checkbox i-checks m-r-lg pull-left p-d-sm"><label>
            <input type="checkbox"  value="1" id="admin_chk49" name="admin_chk49"/><i></i> <? echo $vis_language['TXTDELETE']; ?>
            </label></div>
         </div>
      </div>
             <div class="form-group">
         <label class="col-sm-2 text-muted text-right"><? echo $vis_language['TXTSENDMAILLOG']; ?></label>
         <div class="col-sm-10">
            <div class="checkbox i-checks m-r-lg pull-left p-d-sm"><label>
            <input type="checkbox"  value="1" id="admin_chk199" name="admin_chk199"/><i></i> <? echo $vis_language['TXTMANAGE']; ?></label> </div>
            <div class="checkbox i-checks m-r-lg pull-left p-d-sm"><label>
            <input type="checkbox"  value="1" id="admin_chk59" name="admin_chk59"/><i></i> <? echo $vis_language['TXTDELETE']; ?>
            </label></div>
         </div>
      </div>
      <div class="form-group">
         <label class="col-sm-2 text-muted text-right"><? echo $vis_language['TXTGATEWAYTRANSACTIONS']; ?></label>
         <div class="col-sm-10">
            <div class="checkbox i-checks m-r-lg pull-left p-d-sm"><label>
            <input type="checkbox"  value="1" id="admin_chk60" name="admin_chk60"/><i></i> <? echo $vis_language['TXTMANAGE']; ?></label> </div>
            <div class="checkbox i-checks m-r-lg pull-left p-d-sm"><label>
            <input type="checkbox"  value="1" id="admin_chk61" name="admin_chk61"/><i></i> <? echo $vis_language['TXTDELETE']; ?>
            </label></div>
         </div>
      </div>
       <div class="form-group">
         <label class="col-sm-2 text-muted text-right"><? echo $vis_language['TXTACTIVITY']; ?></label>
         <div class="col-sm-10">
            <div class="checkbox i-checks m-r-lg pull-left p-d-sm"><label>
            <input type="checkbox"  value="1" id="admin_chk200" name="admin_chk200"/><i></i> <? echo $vis_language['TXTMANAGE']; ?></label> </div>
            <div class="checkbox i-checks m-r-lg pull-left p-d-sm"><label>
            <input type="checkbox"  value="1" id="admin_chk70" name="admin_chk70"/><i></i> <? echo $vis_language['TXTDELETE']; ?>
            </label></div>
         </div>
      </div>
      
  </div>
  
</section>
<script type="text/javascript">
 	if ($('#vis_department0').is(":checked")){
		$('#domain_access').hide();
	}
	$(document).ready(function () {
		$('#vis_department0').click(function () {
			if ($('#vis_department0').is(":checked")){
				$('#domain_access').hide();
			}
			else {
				$('#domain_access').show();
				$('.dept_access_list').each(function(index) {
        $(this).find('input[type="checkbox"]').removeAttr('checked');
       });
			}
		});
	}); 
</script> 

<script type="text/javascript">
 /*   $(".selectpicker").selectpicker();
   function toggle_dept_list(){
       if($('#vis_department0').is(":checked")){ $('#domain_access').hide();
							}else{ $('#domain_access').show();
							$('.dept_access_list').each(function(index) {
        $(this).find('input[type="checkbox"]').removeAttr('checked');
       });
							}
   } */
</script>

