<?php
include 'header.php';
include 'erpc_operadoras_telefonia_toolbar.php';
include_once 'connect.php';
?>

<!-- Nav tabs -->
<ul class="nav nav-tabs" role="tablist">
  <li role="presentation" class="active"><a href="#form1" aria-controls="form1" role="tab" data-toggle="tab">Dados Cadastrais</a></li>
  <!--
  <li role="presentation"><a href="#form2" aria-controls="form2" role="tab" data-toggle="tab">Form #2</a></li>
  <li role="presentation"><a href="#form3" aria-controls="form3" role="tab" data-toggle="tab">Form #3</a></li>
  <li role="presentation"><a href="#form4" aria-controls="form4" role="tab" data-toggle="tab">Form #4</a></li>
  -->
</ul>

<!-- Tab panes -->
<div class="tab-content">
  <div role="tabpanel" class="tab-pane fade in active" id="form1">
<form id=validate_custom method=POST action="erpc_operadoras_telefonia_list.php">
  <div class=block>
    <div class=header>
      <h2>Parametros para consulta de operadora:</h2>
      <div class="side pull-right"> <button class="btn btn-default btn-clean" onClick="clear_form('#validate_custom');" type=button>Clear form</button>          </div>
    </div>

    <div class="content controls">
  	<div class=form-row>
          <div class=col-md-3>ID:</div>
          <div class=col-md-6><input type=text name="id" value="" class="form-control" /> </div>
        </div>

        <div class="content controls">
      	<div class=form-row>
              <div class=col-md-3>Descrição:</div>
              <div class=col-md-6><input type=text name="ds_operadora" value="" class="form-control" /> </div>
            </div>

  	  <!-- Elementos
      <div class=form-row>
        <div class=col-md-3>Select:</div>
        <div class=col-md-9> <select name=s_example class=" form-control"> <option value></option> <option value=1>Andorra</option> <option value=2>Antarctica</option> <option value=3>Ukraine</option> </select>            <span class=help-block>Required</span> </div>
      </div>
      <div class=form-row>
        <div class=col-md-3>Checkbox:</div>
        <div class=col-md-9>
          <div class=checkbox-inline> <label> <input type=checkbox class=" form-control" name=vcheck value="1"/> Enabled </label>              </div>
          <div class=checkbox-inline> <label> <input name=vcheck value=0 type=checkbox disabled=disabled class=""/> Disabled </label>              </div>
        </div>
      </div>
      <div class=form-row>
        <div class=col-md-3>Radio:</div>
        <div class=col-md-9>
          <div class=checkbox-inline> <label> <input type=radio class= name=vradio value="1"/> Enabled </label> </div>
          <div class=checkbox-inline> <label> <input type=radio disabled=disabled class= name=vradio value="0"/> Disabled </label>              </div>
        </div>
      </div>
      <div class=form-row>
        <div class=col-md-3>Datepicker:</div>
        <div class=col-md-9> <input type=text class=" datepicker form-control" /> <span class=help-block>Required</span> </div>
      </div>
      <div class=form-row>
        <div class=col-md-3>Group required:</div>
        <div class=col-md-9> <input class="validate[groupRequired[payments]] form-control" type=text name=credit id=credit /> <span class=help-block>Any of group fields must be filled</span>            </div>
      </div>
      <div class=form-row>
        <div class=col-md-3></div>
        <div class=col-md-9> <input class="validate[groupRequired[payments]] form-control" type=text name=paypal id=paypal /> <span class=help-block>Any of group fields must be filled</span>            </div>
      </div>
      <div class=form-row>
        <div class=col-md-3>Condition required:</div>
        <div class=col-md-9> <input type=text name=creditcard id=creditcard placeholder="Credit card" class="form-control" /> </div>
      </div>
      <div class=form-row>
        <div class=col-md-3></div>
        <div class=col-md-9> <input class="validate[condRequired[creditcard]] form-control" type=text id=ccv name=ccv placeholder="CCV" />
          <span
            class=help-block>This field is required if "Credit card" field is filled</span>
        </div>

      </div>
	  -->
    </div>
    <div class=footer>
      <div class="side pull-right">
        <div class=btn-group>
		<button class="btn btn-default" type="button" onClick="window.history.go(-1)" value="Voltar">Voltar</button>
        <button class="btn btn-success" type="submit" value="pesquisar" name="pesquisar">pesquisar</button>
			  <!--botao antigo
		<button class="btn btn-default" type=button onClick="$('#validate_custom').validationEngine('hide');">Hide prompts</button>            <button class="btn btn-success" type=submit>Submit</button>
		-->
		</div>
      </div>
    </div>
  </div>
</form>

  </div>

</div>


  <?php
include 'footer.php';
?>
