コード例 #1
0
                                                </tr>
                                                <tr align="center">
                                                    <td colspan="5">
                                                        <input type="Reset" class="button"  value="Vaciar Datos" name="cmdReset"/>
                                                        <input  type="button" class="button" value="Consultar" name="cmdConsultar" onclick="javascript:validar();" />
                                                        <input name="cmdListar" type="hidden" value="OK"/>
                                                    </td>
                                                </tr>
                                            </table>
                                        </div>
                                    </div>         
                                </form>
                                <?php 
//aqui detectamos que hemos pulsado al boton 'Consultar'
//por lo que cojemos los parametros de los filtros, hacemos la consulta y la presentamos
$arResult = $clsCNUsu->ListadoEmpleados($_GET);
//var_dump($arResult);die;
//paso por SESSION el array de listado $arResult
$_SESSION['usumodiflist_arResult'] = $arResult;
?>
                                <br/>
                                <table id="datatablesMod" class="display">
                                    <thead>
                                        <tr>
                                            <th style="width: 5%;">Nº</th>
                                            <th style="width: 5%;">Nombre</th>
                                            <th style="width: 15%;">Apellidos</th>
                                            <th style="width: 15%;">E-mail</th>
                                            <th style="width: 15%;">Departamento</th>
                                            <th style="width: 10%;">Oficina</th>
                                            <th style="width: 15%;">Cargo</th>