<?php include_once "./classes/DateUtil.php"; $fecha_desde = DateUtil::getDateUnderVzlaTZDayMonthYear(); $fec_emision = DateUtil::getDateUnderVzlaTZDayMonthYear(); $fecha_hasta = DateUtil::getDateUnderVzlaTZDayMonthYear(); ?> <br> <div align="center" class="titulo">Estadisticas del Sistema</div> <div align="center"> <strong>Desde:</strong> <input type="text" name="fdesde" id="fdesde" readonly="readonly" value="<?php echo $fecha_desde; ?> " class="fecha" style="cursor:pointer;" /> <strong>Hasta:</strong> <input type="text" name="fhasta" id="fhasta" readonly="readonly" value="<?php echo $fecha_hasta; ?> " class="fecha" style="cursor:pointer;" /> <input type="button" class="boton" id="carga_formulario" value="Buscar" /> </div> <div id="rep_dinamico"> </div> <script type="text/javascript"> $(document).ready(function() { $(".fecha").datepicker(); $("#carga_formulario").click(function(evento){ evento.preventDefault();
<?php $array_ligas = dame_array_js("select idcategoria,idliga,nombre from ligas where estatus='1'", '3', '_', '|'); //echo $array_ligas; ?> <div style="padding-top:10px;" id="resultadosd"> <label class="navld">Deporte: </label><?php $atributos = "name=\\'sligas\\' id=\\'sligas\\' required=\\'required\\'"; genera_select("select idcategoria,nombre from categorias where estatus='1'", ' name="scategorias" id="scategorias" required="required" onchange="dinamico_select(\'dinliga\',this.value,\'' . $array_ligas . '\',\'' . $atributos . '\')"'); ?> <label class="navld">Liga: </label> <label id="dinliga"><select name="sligas" id="sligas"><option value="">Seleccione</option></select></label> <label class="navld">Fecha: </label> <input type="text" readonly="readonly" name="fecha_ld" id="fecha_ld" value="<?php echo DateUtil::getDateUnderVzlaTZDayMonthYear(); ?> " /> <input type="button" id="carga_formulario" class="boton" value="Buscar" /> </div>