Example #1
0
            <td width="15" align="center">&nbsp;</td>
            <td width="423" align="left"><input name="Submit" type="button" class="btn" onClick="nuevo();" value="Grabar Linea"></td>
          </tr>
          <tr>
            <td colspan="3">&nbsp;</td>
          </tr>
          <tr>
            <td colspan="3"><table width="79%" border="0" align="center" cellpadding="0" cellspacing="2">
              <tr class="fondonegro">
                <td width="10%" align="center">ORDEN</td>
                <td width="69%" align="center">DESCRIPCI&Oacute;N</td>
                <td colspan="2" align="center">OPCI&Oacute;N</td>
                </tr>
              
			  <?php 
$rs = $linea->linea_listar('1');
$paging->porPagina($_REQUEST['npaginas']);
$paging->mostrarAnterior("< Anterior");
$paging->mostrarSiguiente("Siguiente >");
$paging->agregarConsulta($rs);
$paging->ejecutar();
$j = '1';
while ($campo = $paging->fetchResultado()) {
    ?>
			  <tr bgcolor="#F0F0F0" style="cursor: hand" onMouseOver="bgColor='#Ffffff'" onMouseOut ="bgColor='#F0F0F0'">
                <td align="center"><?php 
    echo $j;
    ?>
</td>
                <td align="center"><?php 
    echo strtoupper($campo['lin_descripcion']);