include ("../admin2/include/connexion.inc.php");
$idRubrique="";
$rubrique1="";
$rubrique2="";
if (isset($_GET['idRubrique']) ) {
$idRubrique=$_GET['idRubrique'];
}
if (isset($_GET['rubrique1']) && $_GET['rubrique1']!="") {
$rubrique="and rubrique1='".$_GET['rubrique1']."' ";
$idRubrique1=$_GET['rubrique1'];
}
if (isset($_GET['rubrique2']) && $_GET['rubrique2']!="") {
$rubrique="and rubrique2='".$_GET['rubrique2']."' ";
$idRubrique2=$_GET['rubrique2'];
}
$idPresta=$_GET['idPresta'];
$sql="select * from pages where id_lang=1 and id_ref=$idPresta";
$res=query2($db,$sql);
$photo1=stripslashes($res[0]['photo1']);
$photo2=stripslashes($res[0]['photo2']);
$photo3=stripslashes($res[0]['photo3']);
$photo4=stripslashes($res[0]['photo4']);
$photo5=stripslashes($res[0]['photo5']);
$titre=stripslashes($res[0]['titre']);
$contenu=str_replace(""","\"",$res[0]['contenu']);
$imageEnCours=(isset($_GET['idImage'])) ? $_GET['idImage'] : 1;
$photo="photo".$imageEnCours;
$image=($$photo!="") ? "
" : "";
fermerBase($db);
?>
|
|
|||||||||||||||||||||||||
Distribution d’électricité, lumière, image et son au service de la promotion et de la communication. |