\n"; //echo "Screen height is: ". $_GET['height'] ."
\n"; $lifetime=0; setcookie("Cookieheight","$height","$lifetime"); setcookie("Cookiewidth","$width","$lifetime"); echo "\n"; exit(); } else { // pass the geometry variables // (preserve the original query string // -- post variables will need to handled differently) echo "\n"; exit(); } } if ($lc && strspn($lc,'1234567890secate%_-')==strlen($lc)) { $lc = strtr($lc,'_','&'); $lc = strtr($lc,'-','='); parse_str($lc); } if($se==238) { header("Location: http://legionariosdecristo.org/quienes-somos/"); exit(); } if($se==246) { header("Location: http://legionariosdecristo.org/ser-legionario/"); exit(); } if($se==241) { header("Location: http://legionariosdecristo.org/ser-legionario/"); exit(); } if($se==240) { header("Location: http://legionariosdecristo.org/"); exit(); } if($se==239) { header("Location: http://legionariosdecristo.org/mision/"); exit(); } if($se==242) { header("Location: http://legionariosdecristo.org/mision/"); exit(); } if($se==355) { header("Location: http://legionariosdecristo.org/mision/legionarios-en-el-mundo/"); exit(); } include("../include/db.phtml"); include("../include/dbconn.phtml"); include("../include/header.phtml"); ?>

"Pixelate",1=>"Fade",2=>"Barn"); list($ancho, $altura, $tipo, $atr) = getimagesize("$my_row_imagen[URL_IMAGEN]"); if($ancho>260){ $ancho_foto_Destacado=260; $proporcion=($ancho_foto_Destacado * 100)/$ancho; $altura_foto_Destacado=ceil(($altura*$proporcion)/100); }else{ $ancho_foto_Destacado=$ancho; $altura_foto_Destacado=$altura; } if($ancho_foto_Destacado>=260) { $alinear=""; } else { $alinear=$my_row_imagen["ALINEADO"]; } $array_imagenes[$i]=array("filtro"=>(!$i?"Pixelate":"Fade"),"url_imagen"=>$my_row_imagen["URL_IMAGEN"],"path"=>"$ImagesPath/$imagen_tmp[1]","imagen"=>"\"".str_replace("\"",""",text_html($my_row_imagen["TEXTO_ALTERNO"]))."\"","palabra"=>$my_row_imagen["PALABRA"],"texto_alterno"=>str_replace("\"",""",text_html($my_row_imagen["TEXTO_ALTERNO"])),"align"=>($my_row_imagen["ALINEADO"]==1?"right":"left"),"ancho"=>$ancho_foto_Destacado,"alto"=>$altura_foto_Destacado); $i++; } // WHILE $total_imagenes=$i; $sql_multi="SELECT ARCHIVO_T.ARCHIVO_ID,ARCHIVO_T.TITULO,ARCHIVO_T.URL_ARCHIVO,ARCHIVO_T.DESCRIPCION,ARCHIVO_T.TIPO, ARCHIVO_T.FORMATO FROM ARCHIVO_T, REL_PRINCIPAL_ARCHIVO_T WHERE "; $sql_multi.=" REL_PRINCIPAL_ARCHIVO_T.REL_ARCHIVO_ID=ARCHIVO_T.ARCHIVO_ID AND REL_PRINCIPAL_ARCHIVO_T.REL_CONSECUTIVO='$id_tmp_destacado' AND REL_PRINCIPAL_ARCHIVO_T.REL_SITIO_ID='$sitio' ORDER BY REL_PRINCIPAL_ARCHIVO_T.ORDEN LIMIT 1"; $result_sonidos_rel=mysql_query($sql_multi); if(mysql_num_rows($result_sonidos_rel)) { $apariencia="Multimedia"; $columna=1;} else { $apariencia="Fotos_Dentro_Articulo"; $columna=2;} ?>
" target="new"> "> ','palm','toolbar=false,location=false,directories=false,status=false,menubar=no,scrollbars=yes,resizeable=no,marginheight=8,marginwidth=8,copyhistory=false,width=780,height=380');void(0);"> ','PDF','toolbar=false,location=false,directories=false,status=false,menubar=no,scrollbars=yes,resizeable=no,marginheight=8,marginwidth=8,copyhistory=false,width=450,height=200');void(0);">
|
','','scrollbars=1,menubar=0,height=650,width=726,toolbar=0');"> Ver Video Relacionado
'; } else { $server_info = $_SERVER['HTTP_USER_AGENT']; if(strstr(strtolower($server_info),"mac")) { echo ' '; } elseif(strstr(strtolower($server_info),"windows")) { echo ' '; } } $x++; } if(($k==$array_arch[$x]["palabra"]) && ($array_arch[$x]["tipo"] == 2))//VIDEO { $video=split("/",$array_arch[$x]["arch"]); $filetype = explode(".", $video[5]); if($filetype[1] == "mov") { echo ' '; } elseif( $filetype[1] == "ram" || $filetype[1] == "rm") { echo ' '; } else { $server_info = $_SERVER['HTTP_USER_AGENT']; if(strstr(strtolower($server_info),"mac")) { echo ' '; } elseif(strstr(strtolower($server_info),"windows")) { echo ' '; } } $x++; } if(($k==$array_arch[$x]["palabra"]) && ($array_arch[$x]["tipo"] == 3))//ARCHIVO { echo ''; printf("%s",$array_arch[$x]["titulo"]); echo''; $x++; } if(($k==$array_arch[$x]["palabra"]) && ($array_arch[$x]["tipo"] == 4)) //FLASH { echo ' '; $x++; } //echo($cuerpo[$k]." "); $k++; } $j=0; $cuerpo=explode(" ",text_html($articulo_destacado["CONTENIDO"])); end($cuerpo); $last_index=key($cuerpo); $k=0; while($k<=$last_index){ if($k%10==0){ echo("\n"); } if(($k==$array_imagenes[$j]["palabra"]) && ($array_imagenes[$j]["imagen"])){ $image_size=GetImageSize($array_imagenes[$j]["path"]); if($j==0) {$espacio=$espacio_thumb;} else {$espacio=15;} $ancho_tabla=$array_imagenes[$j]["ancho"] + 40; if ($j==0 && $array_imagenes[$j]["palabra"]!=0) {$espacio="15";} printf("\n",$array_imagenes[$j]["align"],$ancho_tabla); printf("\n",$espacio); printf("\n\n\n",$array_imagenes[$j]["imagen"]); printf("\n\n",$array_imagenes[$j]["texto_alterno"]); printf("\n"); printf("
%s
%s
\n"); $j++; } echo($cuerpo[$k]." "); $k++; } ?>
".gettext("FECHA DE PUBLICACIÓN").":".$fecha_pub_texto."
":""); ?>
"Pixelate",1=>"Fade",2=>"Barn"); list($ancho, $altura, $tipo, $atr) = getimagesize("$my_row_imagen[URL_THUMBNAIL]"); if($ancho>93){ $ancho_foto=93; $proporcion=($ancho_foto * 100)/$ancho; $altura_foto=ceil(($altura*$proporcion)/100); }else{ $ancho_foto=$ancho; $altura_foto=$altura; } if($ancho_foto>=93) { $alinear=""; } else { $alinear=$my_row_imagen["ALINEADO"]; } $array_imagenes[$i]=array("filtro"=>(!$i?"Pixelate":"Fade"),"url_imagen"=>$my_row_imagen["URL_IMAGEN"],"path"=>"$ImagesPath/$imagen_tmp[1]","imagen"=>"\"".str_replace("\"",""",text_html($my_row_imagen["TEXTO_ALTERNO"]))."\"","palabra"=>$my_row_imagen["PALABRA"],"texto_alterno"=>str_replace("\"",""",text_html($my_row_imagen["TEXTO_ALTERNO"])),"align"=>($alinear)); $i++; $total_imagenes=$i; ?>
','','scrollbars=1,menubar=0,height=650,width=726,toolbar=0');">
1 OR $se!='239') { $liga="categoria.phtml"; } else { $liga="categoria.phtml"; // $liga="tema2.phtml"; } if($cat_normal==678 || $cat_normal==886 || $cat_normal==844 || $cat_normal==845 || $cat_normal==678 || $cat_normal==881 || $cat_normal==884 || $cat_normal==701) {$liga="categoria_secc.phtml";} if($cat_normal==805 || $cat_normal==876) {$liga="categoria_secc.phtml";} if($cat_normal==905) // NOTICIAS {$liga="../busqueda/index.phtml";} if($cuenta_cols==1 OR $cuenta_cols==5 or $cuenta_cols==9 or $cuenta_cols==13 or $cuenta_cols==17 or $cuenta_cols==21 or $cuenta_cols==25 or $cuenta_cols==29 or $cuenta_cols==33) { if($cuenta_cols!=1){?>
 
\"%s\"",$liga,14495,$se,$cat_normal,$articulos["SUBJECT_ID"],$catego_institucional,$path,$my_row_imagen["NOMBRE"]); } else{ if($cat_normal==674) //TESTIMONIOS { ?> <?echo $my_row_imagen["> \"%s\"",$liga,$id_tmp,$se,$cat_normal,$articulos["SUBJECT_ID"],$catego_institucional,$path,$my_row_imagen["NOMBRE"]); } } } else{ // PARA EL CASO DE CAT=NOTICIAS printf("\"%s\"",$liga,$path,$my_row_imagen["NOMBRE"]); } } else { $sql="SELECT I.URL_THUMBNAIL,I.$texto_alterno_imagenes AS TEXTO_ALTERNO FROM REL_PRINCIPAL_IMAGEN_T RPI,IMAGENES_T I ". "WHERE RPI.REL_CONSECUTIVO='$id_tmp' AND RPI.REL_IMAGEN=I.IMAGEN_ID ORDER BY RPI.PALABRA LIMIT 1"; $result_imagen=mysql_query($sql); if(mysql_num_rows($result_imagen)){ $my_row_imagen=mysql_fetch_array($result_imagen); $imagen_tmp=explode("/imagenes_db/",$my_row_imagen["URL_THUMBNAIL"]); printf("\"%s\"",$liga,$id_tmp,$se,$cat_normal,$articulos["SUBJECT_ID"],$catego_institucional,$my_row_imagen["URL_THUMBNAIL"],$my_row_imagen["TEXTO_ALTERNO"]); } else { //echo "EN CASO DE NO TENER THUMBS CASO: LA VIDA EN LA LEGION"; ?> _ci-"> \"%s\"",$liga,240,$path,$my_row_imagen["NOMBRE"]); } else { $sql="SELECT I.URL_THUMBNAIL,I.$texto_alterno_imagenes AS TEXTO_ALTERNO FROM REL_PRINCIPAL_IMAGEN_T RPI,IMAGENES_T I ". "WHERE RPI.REL_CONSECUTIVO='$id_tmp_destacadoNF' AND RPI.REL_IMAGEN=I.IMAGEN_ID ORDER BY RPI.PALABRA LIMIT 1"; $result_imagen=mysql_query($sql); ?> \"%s\"",$my_row_imagen["URL_THUMBNAIL"],$my_row_imagen["TEXTO_ALTERNO"]); } } ?>