<?php
   //solicitamos archivo de conexion a mysql
  require_once('../conf/connection.php');
  $fecha = $_GET["fecha"];
  $hora = $_GET["hora"];
  $mesa = $_GET["mesa"];
  $query_cliente="SELECT * FROM mesa where num_mesa='$mesa'";
	   $res_cliente=mysql_query($query_cliente);
	   $cliente=mysql_result($res_cliente,0,"cliente");
  
  
  $ventana = $_GET["ventana"];
  $est=1; // 1 = activo 2= libre
  //extraer numero anterior
       $query_num="SELECT * FROM num_pedido";
	   $res_num=mysql_query($query_num);
	   $num_ant=mysql_result($res_num,0,"num");

		 
?>

         

<!DOCTYPE html>

<html dir="ltr" lang="en-US"><head><!-- Created by Artisteer v4.3.0.60745 -->
    
    <meta charset="utf-8">
    <title>SELECCION DE MESAS</title>
    <meta name="viewport" content="initial-scale = 1.0, maximum-scale = 1.0, user-scalable = no, width = device-width">

    <!--[if lt IE 9]><script src="https://html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
    <link rel="stylesheet" href="../style.css" media="screen">
    <!--[if lte IE 7]><link rel="stylesheet" href="style.ie7.css" media="screen" /><![endif]-->
    <link rel="stylesheet" href="../style.responsive.css" media="all">


    <script src="../jquery.js"></script>
    <script src="../script.js"></script>
    <script src="../script.responsive.js"></script>



<style>
.art-content .art-postcontent-0 .layout-item-0 { margin-bottom: 10px;  }
.art-content .art-postcontent-0 .layout-item-1 { border-right-style:solid;border-right-width:1px;border-right-color:#C4C6BD; padding-right: 10px;padding-left: 10px;  }
.ie7 .art-post .art-layout-cell {border:none !important; padding:0 !important; }
.ie6 .art-post .art-layout-cell {border:none !important; padding:0 !important; }

.table { border:2px black solid;
 border-radius:10px;
 min-width:300px;
 min-height:300px;
 font-family: Helvetica,Arial;
}
</style>
<script>

function volver(){


            window.history.back();
          
			
		}


</script>
</head>
<body onload="nobackbutton();">
<div id="art-main">
    <div class="art-sheet clearfix">
<nav class="art-nav">
    <ul class="art-hmenu">
    <li><a><font size="+1" color="#FF0000">Fecha: <? echo $fecha ?></font></a></li>
        <li><a><font size="+1" color="#FF0000">Hrs: <? echo $hora ?></font></a></li>


    </ul> 
    </nav>
<div class="art-layout-wrapper">
                <div class="art-content-layout">
                    <div class="art-content-layout-row">
                      <div class="art-layout-cell art-content"><article class="art-post art-article">
                                
                                                
                                <div class="art-postcontent art-postcontent-0 clearfix"><div class="art-content-layout-wrapper layout-item-0">
<div class="art-content-layout">
    <div class="art-content-layout-row">
    <div class="art-layout-cell layout-item-1" style="width: 100%" >
        <h3>INGRESAR CLAVE DE VENDEDOR:</h3>
        
        <div class="image-caption-wrapper" style="width: 100%">
          <table align="center" width="420" border="0">
  
     <tr>
<td>
       
       <form name="form1" method="get" action="verifcar_ped.php">
         <input type="hidden" name="fecha" id="fecha" value="<? echo $fecha ?>">
		 <input type="hidden" name="mesa" id="mesa" value="<? echo $mesa ?>">
         <input type="hidden" name="ventana" id="ventana" value="<? echo $ventana ?>">
         <input type="hidden" name="num_ant" id="num_ant" value="<? echo $num_ant ?>">
         <input type="hidden" name="cliente" id="cliente" value="<? echo $cliente ?>">
         <table width="413" border="0">
           <tr>
             <td width="97">CONTRASEÑA: </td>
             <td width="255"><input type="password" name="pass" id="pass"></td>
           </tr>
           <tr>
             <td>&nbsp;</td>
             <td>
             <span class="image-caption-wrapper" style="width: 100%"><span class="image-caption-wrapper" style="width: 100%">
               <input type="submit" value="Guardar" class="art-button" style="height:50px; width:100px;">
               
               <input type="button" value="Volver" class="art-button" style="height:50px; width:100px;" onClick="volver()" >
             </span></span></td>
           </tr>
       </table>
       </form></td>
     </tr>
    
</table>
        </div>
    </div>
    </div>
</div>
</div>
</div>


</article></div>
                    </div>
                </div>
            </div><footer class="art-footer">
<p><br></p>
<p>Copyright © <? echo $ano; ?>. All Rights Reserved.</p>
</footer>

    </div>
    <p class="art-page-footer">
        <span id="art-footnote-links"><a href="http://www.virtualsurchile.cl" target="_blank">Informatica Francisco Arias E.I.R.L.</a></span>
    </p>
</div>


</body></html>