Example #1
0
        <td width="80">Zona</td>
        <td width="82">Ciudad</td>
        <td width="128">Consignado</td>
        <td width="161">Direcci&oacute;n</td>
        <td width="81">Tel&eacute;fono</td>
        <td width="79">Tipo Envio</td>
        <td width="62">Precio</td>
        <td width="37">Editar</td>
        <td width="3%"><input name="grupo" type="checkbox" id="grupo" value="1" onclick="marcar_todos(this.form,this.checked)" /></td>
        <td width="21">&nbsp;</td>
      </tr>
      <tr>
        <td colspan="12"><div style="position:static;width:950px; height:450px; overflow:scroll; z-index:1;  ">
            <table width="950" border="0">
              <?php 
$rs = $cargo->cargomasivo_listar('1', $_REQUEST['empresa_remite'], $_REQUEST['fecha'], '', '');
$paging->porPagina($_REQUEST['npaginas']);
$paging->mostrarAnterior("< Anterior");
$paging->mostrarSiguiente("Siguiente >");
$paging->agregarConsulta($rs);
$paging->ejecutar();
if ($rs) {
    $j = 1;
    while ($campo = $paging->fetchResultado()) {
        ?>
              <tr bgcolor="#FFFFFF" style="cursor: hand" onmouseover="bgColor='#FFDBB7'" onmouseout ="bgColor='#FFFFFF'">
                <td width="62" align="center"><?php 
        echo $campo['cmas_id'];
        ?>
</td>
                <td width="89" align="center"><?php 
    </tr>
      <tr align="center" class="fondonegro">
        <td width="69">N&ordm; Guia </td>
        <td width="160"><span class="Estilo2">Empresa Remitente </span></td>
        <td width="83">Area</td>
        <td width="177">Consignado</td>
        <td width="143">Direcci&oacute;n</td>
        <td width="134">Tel&eacute;fono</td>
        <td width="133">Estado Deficiente</td>
        <td width="21">&nbsp;</td>
    </tr>
      <tr>
        <td colspan="8"><div style="position:static;width:950px; height:200px; overflow:scroll; z-index:1;  ">
            <table width="950" border="0">
              <?php 
$rs = $cargo->cargomasivo_listar('2', $_REQUEST['cargo'], '', '', '');
$paging->porPagina($_REQUEST['npaginas']);
$paging->mostrarAnterior("< Anterior");
$paging->mostrarSiguiente("Siguiente >");
$paging->agregarConsulta($rs);
$paging->ejecutar();
if ($rs) {
    $j = 1;
    while ($campo = $paging->fetchResultado()) {
        $_REQUEST['deficiente'] = $campo['def_id'];
        ?>
              <tr bgcolor="#FFFFFF" style="cursor: hand" onmouseover="bgColor='#FFDBB7'" onmouseout ="bgColor='#FFFFFF'">
                <td width="67" align="center"><?php 
        echo $campo['cmas_id'];
        ?>
                <input name="codigo_masivo" type="hidden" id="codigo_masivo" value="<?php