session_start();
include ("mysql.php");
if(isset($_GET['Idi'])){$_SESSION['Idi2']=$_GET['Idi']; $Idi=$_GET['Idi'];}else{$Idi=$_SESSION['Idi2'];}
$Idi=$Idi*1;
if (!$Idi)$Idi=1;
$Fichero_idioma="idiomas/".$Dim2[$Idi].".php";
include("$Fichero_idioma");
?>
XXIII Rally Isla Mallorca
$qf2="select A.Foto,B.Titulo,A.Cod_img from Imagen A, Imagen_idiomas B where A.Foto!='' AND A.Foto!='Nofoto' AND A.Cod_img=B.Cod_img AND B.Codid=$Idi
AND A.Cod_not=11 AND A.Activo='Si' ORDER BY A.Orden";
//echo($qf2);
$resf2=mysql_query ($qf2,$db);
if (mysql_num_rows($resf2)>0) {
while($rowf2= mysql_fetch_row ($resf2)){
$Foto2=$rowf2[0];
$Tit1=stripslashes($rowf2[1]);
$Codimgok=$rowf2[2];
$Trostit=explode("#",$Tit1);
if($Trostit[1]=="URL"){
$Enlace=$Trostit[2];
}else{
$Trostit2=explode("@",$Trostit[0]);
$Trostit3=explode("@",$Trostit[1]);
$Trostit4=explode("@",$Trostit[2]);
}
?>
}else{?>
style="color:#;"}?>>
}?>
style="color:#;"}?>>
}?>
style="color:#;"}?>>
}?>
}?>
}?>
}}
?>
$qf="SELECT A.Cod_not,B.Titulo, A.Fecha from Noticias A, Noticias_idiomas B where A.Cod_not=B.Cod_not AND B.Codid=$Idi AND A.Cod_fam=3 AND A.Plantilla='F' AND A.Activo='Si' ORDER BY A.Fecha DESC limit 0,3";
//echo($qf);
$resf=mysql_query ($qf,$db);
if (mysql_num_rows($resf)>0) {
$Bann=0;
while ($rowf= mysql_fetch_row ($resf)) {
$Bann++;
$Cod_not2=$rowf[0];
$Titulo=stripslashes($rowf[1]);
$Fecha=fechaformat($rowf[2]);
?>
$qf2="select A.Foto,B.Titulo from Imagen A, Imagen_idiomas B where A.Foto!='' AND A.Foto!='Nofoto' AND A.Cod_img=B.Cod_img AND B.Codid=$Idi AND A.Cod_not=$Cod_not2 AND A.Activo='Si' ORDER BY A.Orden LIMIT 1";
//echo($qf2);
$resf2=mysql_query ($qf2,$db);
if (mysql_num_rows($resf2)>0) {
$rowf2= mysql_fetch_row ($resf2);
$Foto2=$rowf2[0];
$Tit1=stripslashes($rowf2[1]);
?>
}
?>