'.$Sql.'
'.mysql_error()); while($data = mysql_fetch_array($requete)) { if ($lang =="gb"){$TITRE = $data['TITRE_GB'];}else{$TITRE = $data['TITRE'];} } echo $TITRE; } function TEXTE($ID){ $lang = $_GET['lang']; if ($lang =="gb"){ $Sql="select TEXTE_GB from CONTENU WHERE ID='$ID'";}else{$Sql="select TEXTE from CONTENU WHERE ID='$ID'";} $requete = mysql_query($Sql) or die('Erreur SQL !
'.$Sql.'
'.mysql_error()); while($data = mysql_fetch_array($requete)) { if ($lang =="gb"){$TEXTE = stripslashes($data['TEXTE_GB']);}else{$TEXTE = stripslashes($data['TEXTE']);} } echo $TEXTE; } function ALT($ID){ $lang = $_GET['lang']; if ($lang =="gb"){ $Sql="select TITLE_TITRE_GB from CONTENU WHERE ID='$ID'";}else{$Sql="select TITLE_TITRE from CONTENU WHERE ID='$ID'";} $requete = mysql_query($Sql) or die('Erreur SQL !
'.$Sql.'
'.mysql_error()); while($data = mysql_fetch_array($requete)) { if ($lang =="gb"){$ALT = $data['TITLE_TITRE_GB'];}else{$ALT = $data['TITLE_TITRE'];} } echo $ALT; } function IMAGE_SOLO($ID){ $Sql ="select * from CONTENU WHERE ID='$ID' "; $requete = mysql_query($Sql); while($data = mysql_fetch_array($requete)) { $SERIE_IMG = $data['SERIE_IMG']; } $arr = explode('|', $SERIE_IMG); $Sql ="select * from BANK_IMG WHERE ID='$arr[0]'"; $requete = mysql_query($Sql); while($j = mysql_fetch_array($requete)) { $IMAGE_SOLO = $j[URL_IMG]; } echo $IMAGE_SOLO; } function URL_PAGE($ID){ $Sql_URL_PAGE ="select * from TBL_REFERENCEMENT WHERE ID_REF='$ID' "; $requete_URL_PAGE = mysql_query($Sql_URL_PAGE); while($z = mysql_fetch_array($requete_URL_PAGE)) { $URL_PAGE = $z['URL_PAGE']; } echo $URL_PAGE.'.html'; } ?>