<?php
if (isset($_SESSION['usuario']))
{
	$user=$_SESSION['usuario'];
}
else
{
	?>
	<script>
		location.href="index.php?errorusuario=3";
	</script>
	<?php
}

date_default_timezone_set("America/Mexico_City");
?>

  <table width="800" border="0" align="center">
    <tr>
      <td><p class="style10">CONSULTAR CORTE DE CAJA</p>
      </td>
    </tr>
    <tr>

      <td><table width="100%" height="0" border="0" cellpadding="0" cellspacing="0">
          <tr>
            <td valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td width="38%" bgcolor="#BFEBFF"><form id="form2" name="form1" method="POST" action="main.php?a=4712&b=1">
                    <div align="center">
                      <input name="Submit" type="submit" class="boton2" value="Corte del d&iacute;a de hoy" />
                        </div>
                </form></td>

                <td width="62%" align="center" bgcolor="#CCCCCC"><form id="form1" name="form1" method="POST" action="main.php?a=4712&b=2">

                    <span class="style4">Corte del: </span><span class="fecha rang10"></span>
                    <input name="fecha" class="" type="date" value="<?php echo date("Y-m-d");?>" style="width:110px;">

                    <span class="style4"> &nbsp;al: </span>
                	<input name="fecha2" class="" type="date" value="<?php echo date("Y-m-d");?>" style="width:110px;">
                   &nbsp;
                    <input name="Submit22" type="submit" class="boton2" value="Consultar" />
                </form></td>
              </tr>
            </table></td>
          </tr>
          <tr>
            <td align="center" valign="top"><hr width="100%" size="1" noshade="noshade" color="#003366"></td>
          </tr>
      </table></td>
    </tr>
  </table>


<script>

$('#datetimepicker').datetimepicker({
	lang:'es',
	timepicker:false,
	format:'Y-m-d',
	formatDate:'Y-m-d',
});

$('#datetimepicker2').datetimepicker({
	lang:'es',
	timepicker:false,
	format:'Y-m-d',
	formatDate:'Y-m-d',
});

</script>
