<?php
include 'header.php';
include 'erpc_produtos_toolbar.php';
require_once 'connect.php';
require_once 'inc/usuario.php';

checkLogin('login.php');
?>


<!-- Nav tabs -->
<ul class="nav nav-tabs" role="tablist">
  <li role="presentation" class="active"><a id="mform1" href="#form1" aria-controls="form1" role="tab" data-toggle="tab">Consulta</a></li>

</ul>

<form id=validate_custom method=POST action="erpc_produtos_list.php" >
<!-- Tab panes -->
<div class="tab-content">
  <div role="tabpanel" class="tab-pane fade in active" id="form1">
    <?php
    include 'erpc_produto1_search.php';
    ?>
  </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-sucess" type="submit" value="pesquisar" onClick="$('#validate_custom').validationEngine('hide');" name="pesquisar">pesquisar</button>
        </div>
      </div>
    </div>
</div>
</form>

<?php include 'footer.php'; ?>
<script type="text/javascript" src="js/acme.js"></script>
<script type="text/javascript" src="js/edit_fantasma.js"></script>
