echo '</div>'; $objHTML->endFormOnly(); echo '</div>'; $objHTML->startForm('form_busca', '?mod=recepBus', 'POST'); $objHTML->startFieldset(); $objSelects->selectEstado('edoCaso', isset($_POST['edoCaso']) ? $_POST['edoCaso'] : $_SESSION[EDO_USR_SESSION], $_SESSION[EDO_USR_SESSION] == 0 ? array() : array('disabled' => 'disabled')); echo $objHTML->makeInput('number', 'Folio Solicitud: ', 'folio_solicitud', $_POST['folio_solicitud'], array('size' => 10)); $objHTML->inputText('Folio Laboratorio: ', 'folio_laboratorio', $_POST['folio_laboratorio']); $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->buscar(); if (!empty($busqueda->resultado)) { echo '<br><br><div class="datagrid"> <table> <thead> <tr align="center"> <th>Folio Solicitud</th> <th>Clave Del Paciente</th> <th>Nombre</th> <th>Solicitante</th> <th>Fecha Muestreo</th> <th>Fecha Solicitud</th> <th>Tipo</th> <th>Estudio</th> <th>Recepción</th> </tr>