$cnt_idpc += 1; } } else { $cnt_idcc += 1; } if (!$rem_destino) { $rem_destino = 1; } $sgd_dir_tipo = 1; echo "<input type=hidden name={$espcodi} value='{$espcodi}'>"; $ruta_raiz = ".."; include "../jh_class/funciones_sgd.php"; $a = new LOCALIZACION($pCodDep, $pCodMun, $db); $departamento_us = $a->departamento; $destino = $a->municipio; $pais_us = $a->GET_NOMBRE_PAIS($dat->idpais, $db); $dir_codigo = $dat->documento_us; include "../envios/listaEnvio.php"; $cantidadDestinos++; $rsEnviar->MoveNext(); } if ($cnt_idcl > 0 && $cnt_idcc > 0) { $igual_destino = "no"; } else { $cnt_idcl > 0 ? $masiva = 3 : ($masiva = 4); //Si contador continente local > 0 ==> masiva = 3 (Grupo 1) sino masiva = 4 (Grupo 2) if ($cnt_idpl > 0 && $cnt_idpc > 0) { $igual_destino = "no"; } else { if ($cnt_idpl > 0) { $masiva = 2;
$tmp_vectorctt = explode(",", ${'selectedctt' . $_POST['slc_tb']}); } // Como se supone existe "vector" $selected debe existir el "vector" $selectecctt } } ?> <tr align="justify" class="<?php echo $clase; ?> "> <td class='listado2' height="12" width="13%"><?php echo $a->GET_NOMBRE_CONT($rs->fields['IDCONT'], $db); ?> </td> <td class='listado2' height="12" width="13%"><?php echo $a->GET_NOMBRE_PAIS($rs->fields['IDPAIS'], $db); ?> </td> <td class='listado2' height="12" width="13%"><?php echo $a->departamento; ?> </td> <td class='listado2' height="12" width="13%"><?php echo $a->municipio; ?> </td> <td class='listado2' height="12" width="38%"><?php echo $nomb; ?> </td> <td class='listado2' height="12" width="29%"><?php
<td width="10%" height="12" align="center" class="titulos3">Continente</td> <td width="30%" height="12" align="center" class="titulos3">País</td> <td width="30%" height="12" align="center" class="titulos3">Departamento</td> <td width="30%" height="12" align="center" class="titulos3">Municipio</td> </tr> <?php if (!$rs) { echo "<br><b>No trae nada de la DB</b>"; } //Recorre la consulta while ($rs && !$rs->EOF) { $codCont = $rs->fields['ID_CONT']; $codPais = $rs->fields['ID_PAIS']; $a = new LOCALIZACION($rs->fields['DEPTO'], $rs->fields['MUNICIP'], $db); $a->GET_NOMBRE_CONT($codCont, $db); $a->GET_NOMBRE_PAIS($codPais, $db); ?> <tr align="center"> <td class="listado2" height="12" ><span class="etextomenu"><?php echo $a->continente; ?> </span></td> <td class="listado2" height="12" ><span class="etextomenu"><?php echo $a->pais; ?> </span></td> <td class="listado2" height="12" ><span class="etextomenu"><?php echo $a->departamento; ?> </span></td> <td class="listado2" height="12" ><span class="etextomenu"><?php
*Se incluyen ya que en ver_datosrad no esta contemplada esta opcion *que corresponde a copias */ $a = new LOCALIZACION($codep_us7, $muni_us7, $db); $dpto_nombre_us7 = $a->departamento; $muni_nombre_us7 = $a->municipio; /* * Fin modificacion */ $a = new LOCALIZACION($pCodDep, $pCodMun, $db); $dpto_nombre_us = $a->departamento; $muni_nombre_us = $a->municipio; $direccion_us = $dir; $destino = $muni_nombre_us; $departamento = $dpto_nombre_us; $pais = $a->GET_NOMBRE_PAIS($pais, $db); $dir_codigo = $documento; /* * Modificado 27072005 * Se modifica para que asuma el destinatario */ if ($rem_destino == 1) { $email_us = $email_us1; $telefono_us = $telefono_us1; $nombre_us = trim($nombre_us1); if ($otro_us1) { $nombre_us = $otro_us1 . " - " . $nombre_us; } if ($tipo_emp_us1 == 0) { $nombre_us .= " " . trim($prim_apel_us1) . " " . trim($seg_apel_us1); }