include "includes/menu.php";?>
Actualité d'Ecame Services
// Il y a des donnees ----------------------------------------------------- if ($nbproduits > 0) { $idproduit = ""; $idcode = ""; $categorie = ""; $nom = ""; $dateproduit = ""; $dateproduitaffiche = ""; $attribut1 = ""; $attribut2 = ""; $attribut3 = ""; $attribut4 = ""; $attribut5 = ""; $attribut6 = ""; $attribut7 = ""; $attribut8 = ""; $attribut9 = ""; $attribut10 = ""; $description = ""; $typefichier= ""; $source= ""; $largeur= ""; $hauteur= ""; $fichier= ""; $legende= ""; $lien= ""; $j = 1; while ($champs = mysqli_fetch_array($recordslisteproduits, MYSQLI_ASSOC)) { $idproduit = $champs["idproduit"]; $idcode = $champs["idcode"]; $categorie = $champs["categorie"]; $nom = $champs["nom"]; $dateproduit = $champs["dateproduit"]; $dateproduitaffiche = $champs["dateproduitaffiche"]; $attribut1 = $champs["attribut1"]; $attribut2 = $champs["attribut2"]; $attribut3 = $champs["attribut3"]; $attribut4 = $champs["attribut4"]; $attribut5 = $champs["attribut5"]; $attribut6 = $champs["attribut6"]; $attribut7 = $champs["attribut7"]; $attribut8 = $champs["attribut8"]; $attribut9 = $champs["attribut9"]; $attribut10 = $champs["attribut10"]; $description = $champs["description"]; $description = str_replace("\r\n","
",$description); //$description = substr($description,0,200)."..."; $typefichier1 = $champs["typefichier1"]; $source1 = $champs["source1"]; $largeur1 = $champs["largeur1"]; $hauteur1 = $champs["hauteur1"]; $fichier1 = $champs["fichier1"]; $legende1 = $champs["legende1"]; $lien1 = $champs["lien1"]; $typefichier2 = $champs["typefichier2"]; $source2 = $champs["source2"]; $largeur2 = $champs["largeur2"]; $hauteur2 = $champs["hauteur2"]; $fichier2 = $champs["fichier2"]; $legende2 = $champs["legende2"]; $lien2 = $champs["lien2"]; $typefichier3 = $champs["typefichier3"]; $source3 = $champs["source3"]; $largeur3 = $champs["largeur3"]; $hauteur3 = $champs["hauteur3"]; $fichier3 = $champs["fichier3"]; $legende3 = $champs["legende3"]; $lien3 = $champs["lien3"]; if ($j % 2) { ?>
if ($fichier1!="") { ?>
} else { ?>
} ?>
if ($description!="") echo $description; ?>
En savoir+
if ($fichier2!="") { ?>
} ?> if ($fichier3!="") { ?>
} ?>
} else { ?>
if ($fichier1!="") { ?>
} else { ?>
} ?>
if ($description!="") echo $description; ?>
En savoir+
if ($fichier1!="") { ?>
} ?> if ($fichier2!="") { ?>
} ?> if ($fichier3!="") { ?>
} ?>
} $j = $j+1; } // fin du while } else { //il n'y a pas de donnees ?>
Aucune donnée
} ?> include "includes/footer.php";?>