<?php

if (isset($_SESSION['usuario'])){

$user=$_SESSION['usuario'];

}

else{

?>

<script>

location.href="index.php?errorusuario=3";

</script>

<?php }

?>


  <table width="800" border="0" align="center">

    <tr>

      <td><p class="style10">REPORTE DE SALIDA DE MATERIAL DE FARMACIA</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="62%" align="center" bgcolor="#CCCCCC"><form id="form1" name="form1" method="POST" action="main.php?a=4831">

                    <div align="left"><span class="style4">Corte del: </span>
                    <label for="fecha"><span class="fecha rang10"></span>

                <input name="fecha" type="text" class="calendar cuadrotexto" id="datetimepicker" value="<?php echo date("Y-m-d"); ?>"Y-m-d");" size="10" maxlength="10">

              </label>

                        </span> <span class="style4"> &nbsp;al: </span>

                      <label for="fecha2">

                <input name="fecha2" type="text" class="calendar cuadrotexto" id="datetimepicker2" value="<?php echo date("Y-m-d"); ?>" size="10" maxlength="10">
              </label>

                   &nbsp;

                    <input name="Submit22" type="submit" class="botonDefault" value="Consultar" />
</div>
                </form></td>
              </tr>

            </table></td>

          </tr>

          <tr>

            <td align="center" valign="top"><hr width="100%" size="1" noshade="noshade" color="#0D3356"></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>

