  <div class="wrapper bg-white b-t" id="vis_filter_list" style="display:none;">
	  <form id="vis_smtp_search_form" name="vis_smtp_search_form" method="post">
            <label class="control-label"><b><?= $vis_language['TXTFILTERLIST']; ?></b></label>
            <div class="row">
              <div class="m-t m-b">
                 <div class="form-group">
                    <label class="col-sm-1 control-label m-t-xs"><? echo $vis_language['TXTDEPARTMENT']; ?></label>
                    <div class="col-sm-2">
						<select class="form-control input-sm selectpicker" name="vis_department" id="vis_department"<? if(count($department_detail)>10) echo ' data-live-search="true"';?>>
								<option value=""><? echo $vis_language['TXTSELECT']; ?></option>
								<? for($i=0;$i<count($department_detail);$i++){
									if($i==0) echo '</optgroup>';
									echo '<option value="'.$department_detail[$i]['department_id'].'">'.$department_detail[$i]['domain_name'].' : '.$department_detail[$i]['department_name'].'</option>';
								}
								echo '</optgroup>';?>
					    </select>
                    </div>
                </div>
				<div class="form-group">
                    <label class="col-sm-1 control-label m-t-xs"><? echo $vis_language['TXTSTATUS']; ?></label>
                    <div class="col-sm-2">
                       <select name="vis_status" id="vis_status" class="form-control input-sm selectpicker bg-white"><option value=""><? echo $vis_language['TXTSELECT']; ?></option><option value='1'><? echo $vis_language['TXTENABLED'];?></option><option value='0'><? echo $vis_language['TXTDISABLED'];?></option></select>
                    </div>
                </div>
				<div class="form-group">
               <label class="col-sm-1 control-label"><? echo $vis_language['TXTHOSTNAME']; ?></label>
               <div class="col-sm-2">
                  <input class="form-control input-sm" type="text"  name="vis_host" id="vis_host" >
               </div>
            </div>
			 <div class="form-group">
               <label class="col-sm-1 control-label"><? echo $vis_language['TXTUSERNAME']; ?></label>
               <div class="col-sm-2">
                  <input class="form-control input-sm" type="text" name="vis_username" id="vis_username" >
               </div>
            </div>
                 </div>
            </div>
            <div class="row">
                <div class="m-t m-b">
                    <div class="form-group">
                        <div class="col-sm-12">
                          <button type="button" id="btn_apply_filter" class="btn btn-primary pull-right" onclick="<?  if($view_info['page_count']>0) { ?> javascript:vis_apply_filter();<? } ?>"><?= $vis_language['TXTAPPLYFILTER'];?></button>
                          <button type="button" class="btn btn-default pull-right m-r-sm" onclick="$('#vis_smtp_search_form').trigger('reset');$('.selectpicker').selectpicker('refresh');"><?= $vis_language['TXTCLEAR'];?></button>
                        </div>
                    </div>
                </div>
            </div>
           </form>
        </div>
<script>
$(".selectpicker").selectpicker();
</script>
