<? global $vis_language;?>

<form class="form-horizontal" data-validate="parsley" id="vis_securityip_form" name="vis_securityip_form" method="post" >
  <div class="panel-body">
    <div class="form-group">
      <label class="col-sm-2 control-label"><? echo $vis_language['TXTSECURITYIPCHK']; ?></label>
      <div class="col-sm-10">
        <label class="switch">
          <input type="checkbox" name="vis_ip_status"  id="vis_ip_status" <?php if($security_ip_active[0]['content']==1){ echo 'checked="checked"';}?>>
          <span ></span></label>
      </div>
    </div>
    <div class="form-group">
      <label class="col-sm-2 control-label"><? echo $vis_language['ADDIPORRANGE']; ?><br><? echo $vis_language['TXTIPEX']; ?></label>
      <div class="col-sm-10">
        <input class="form-control input-sm" name="vis_ip_address" id="vis_ip_address" type="text" />
      </div>
    </div>
  </div>
  <div class="line b-b line-lg pull-in"></div><br />
   <div class="form-group">
    <div class="col-sm-4 col-sm-offset-2">
      <button type="button" class="btn btn-primary" onclick="$('#vis_workpanel_div').visExecution('submit_form',{'vis_module':'setting', 'vis_operation':'update_security_ip', 'vis_form':'vis_securityip_form'})"><? echo $vis_language['TXTADD']; ?></button>
    </div>
  </div>
</form>
<script type="text/javascript"></script> 
