$objSelects->selectEstado('edoCaso', isset($_POST['edoCaso']) ? $_POST['edoCaso'] : $_SESSION[EDO_USR_SESSION]); //echo $objHTML->makeInput('number', 'Folio Solicitud: ', 'folio_solicitud', $_POST['folio_solicitud'], array('size'=>10) ); $objHTML->inputText('Folio Laboratorio: ', 'folio_laboratorio', $_POST['folio_laboratorio'], array('size' => 10)); $objHTML->label('Fecha de Resultado: '); $objHTML->inputText('de', 'fecha_inicio', $_POST['fecha_inicio']); $objHTML->inputText('hasta', 'fecha_fin', $_POST['fecha_fin']); $objHTML->endFieldset(); $objHTML->endForm('buscar', 'Buscar', 'limpiar', 'Limpiar'); if (isset($_POST['buscar'])) { $busqueda = new BusquedaEstudios(); $busqueda->idCatEstado = $_POST['edoCaso']; $busqueda->folioLaboratorio = $_POST['folio_laboratorio']; $busqueda->folioSolicitud = $_POST['folio_solicitud']; $busqueda->fechaInicio = $_POST['fecha_inicio']; $busqueda->fechaFin = $_POST['fecha_fin']; $busqueda->buscarCalidad(); if (!empty($busqueda->resultado)) { echo '<br><br><div class="datagrid"> <table> <thead> <tr align="center"> <th>Clave LESP</th> <th>Clave Del Paciente</th> <th>Nombre</th> <th>Solicitante</th> <th>Fecha Muestreo</th> <th>Fecha Solicitud</th> <th>Fecha Resultado</th> <th>Estudio</th> <th>Cédula Registro</th> <th>Control Calidad</th>