[insert_php]
$connect = mysql_connect(“localhost”, “elianyjma”, “72*pI 52 $”);
mysql_select_db(“elianyjma”, $relier);
$requête =”sélectionner * de vwPublications où publicationType = ’exposition’ ordre par idLanguage,publicationType,nom de famille,Nom,publicationTypeTitle;”;
$result = mysql_query($requete);
$direction =”ltr”;
si($langue ==”IL”){
$direction =”rtl”;
}
$cssStyle =”aligner le texte:justifier;direction:”.$direction;
Impression “
$page =”/contenu-publication /”;
$artistPage =”/biographie-détail /”;
$lien =”#”;
$publicationType =””;
si (mysql_num_rows($résultat)) {
Impression ““;
tandis que ($qry = mysql_fetch_array($résultat)) {
$langue = $ qry[«IdLanguage»];
si($qry[«PublicationTypeTitle»]!= $ publicationType){
$publicationType = $ qry[«PublicationTypeTitle»];
Impression “
“;
Imprimer $ publicationType;
Impression “
“;
}
si($qry[«PublicationLink»]!= null){
$link = $ qry[«PublicationLink»];
}autre{
$lien = $ page.”?id =”.$qry[«IdPublication»].”&langue =”.$Langue;
}
$lien artiste = $ page artiste.”?id =”.$qry[«IdPeople»].”&langue =”.$Langue;
Impression ““;
Impression ““;
Imprimer $ qry['nom de famille'] . ” ” . $qry['Nom'];
Impression ““;
Impression ” “;
Imprimer $ qry['Titre'];
Impression ““;
si($qry['Année de publication']!= null){
Impression ” (“;
Imprimer $ qry['Année de publication'];
Impression “)”;
}
Impression ” “;
Imprimer $ qry[«LanguageDescription»];
Impression ““;
}
}
Impression “
“;
mysql_close($relier);
[/insert_php]