[(#INCLURE{fond=formatage_vignette_webmaton}{id_document}{conteneur=#ENV{conteneur}})] END; ?> parse('#FICHIER'); //echo ""; foreach($p->output[0]['child'] as $groupe) { if (strtolower($groupe["attrs"]["PREFIX"]) == '#GET{lalangue}') { foreach($groupe["child"] as $prop){ if ($prop["name"] == "TITRE"){ } else if ($prop["name"] == "QUESTIONS") { foreach($prop["child"] as $question) { $totalvideo=""; foreach($fichiers as $nom => $video) { if (eregi($groupe["attrs"]["PREFIX"]."-q".$question["attrs"]["ID"],$nom)){ $totalvideo .= $video; } } if ($totalvideo) { echo "

".$question["content"]."

\n"; echo "
  • \n"; echo $totalvideo; echo "
  • \n"; echo "
  • \n"; echo "
\n"; } } } } } } } ?>