<th> <center> <strong>Nro. Factura</strong></center> </th> <th> <center><strong>Nro. Nota Venta</strong></center> </th> <th> <center> <strong>Monto (Bs.)</strong></center> </th> <th> </th> </tr> </thead> <?php $pagina->agregarConsulta($consulta); $pagina->modo('desarrollo'); $pagina->verPost(true); $pagina->porPagina(10); $pagina->paginasAntes(4); $pagina->paginasDespues(4); $pagina->linkSeparador(" - "); //Significa que no habrá separacion $pagina->div('div_listar'); $pagina->linkSeparadorEspecial('...'); // Separador especial $pagina->ejecutar(); while ($res = $pagina->fetchResultado()) { $nro++; $fecha = $res["fechaRegistro"]; $nombre = $res["nombreTipoIngresoCaja"]; $glosa = $res["glosa"];
$sql = "select * from assay_type "; } else { $paging = new PHPPaging(); $sql = "select * from assay_type where lab='{$consul2}'"; } if (isset($_GET['criterio_usu_per'])) { $sql .= " where Name like '%" . fn_filtro(substr($_GET['criterio_usu_per'], 0, 16)) . "%'"; } if (isset($_GET['criterio_ordenar_por'])) { $sql .= sprintf(" order by %s %s", fn_filtro($_GET['criterio_ordenar_por']), fn_filtro($_GET['criterio_orden'])); } else { $sql .= " order by Assay_Type_ID desc"; } $paging->agregarConsulta($sql); $paging->div('div_listar'); $paging->modo('desarrollo'); if (isset($_GET['criterio_mostrar'])) { $paging->porPagina(fn_filtro((int) $_GET['criterio_mostrar'])); } $paging->verPost(true); $paging->mantenerVar("criterio_usu_per", "criterio_ordenar_por", "criterio_orden", "criterio_mostrar"); $paging->ejecutar(); ?> <table id="grilla" class="lista" width="690px"> <thead> <tr> <th>Name</th> <th>Alias</th> <th>Description</th> <?php