<style type="text/css">

.table {
 border:2px black solid;
 border-radius:10px;
 min-width:100px;
 min-height:100px;
 font-family: Helvetica,Arial;
}


body {
  background-image: url("../../../assets/img/background.jpg");
}
</style>



<? 
$nivel = $_GET["nivel"];
$nombrevar =$_GET["nombreuser"];
$hoy=date("d-m-Y");
?>
<script src="../../jquery.js"></script>
<script type="text/javascript" src="../../admin/js/jquery-1.6.2.js"></script>
<script type="text/javascript" src="../../admin/js/funciones/scripts.js"></script>
 
 <script type="text/javascript">
  
  $(document).ready(function(){
	
	  $("#pat").keyup(function(){
	
		  $.post("search.php", {patron:frm_sch.pat.value, opcion:$("input[@name='rd1']:checked").val()}, function(result) {
			  
			  $("#resultado").html(result).show();
		  });
	  });
  });
  
 </script>
<h3> Control de pagos</h3> 
<h3> Fecha:<? echo $hoy; ?> </h3>   
          
              
                                  <form id="frm_sch" name="frm_sch">
                                    <table width="550" class="table">
                                      <tr align="#69BFE0">
                                        <td width="353">Buscar por:</td>
                                      </tr>
                                      <tr>
                                        <td align="right">CODIGO DE PEDIDO:</td>
                                        <td width="612"><input type="radio" id="rd1" name="rd1" value="1" checked="checked"></td>
                                      </tr>
                                      <tr>
                                        <td align="right">NUMERO DE MESA:</td>
                                        <td><input type="radio" id="rd2" name="rd1" value="2" checked="checked" /></td>
                                      </tr>
                                      <tr>
                                        <td align="right"><label>PATRON DE BUSQUEDA: </label></td>
                                        <td><input type="text" id="pat" name="pat" onfocus=""  "></td>
                                      </tr>
                                    </table>
                                  </form>
         
                                  <div id="resultado"></div>
                                                                 