foreach ($listfichiers as $fichiers) { ?> <p> <a href="ouverturepdf.php?file=<?=$fichiers->nomFichier?>" target="_blank"><?=$fichiers->libFichier?></a> </p> <?php }//fin du foreach ($listfichiers as $fichiers) }//fin if ($nb_fichiers) //Les vidéos $listvideos=new ListeVideos(); $listvideos->numpara= $paras->numpara; $nb_videos=$listvideos->afficherListeVideos(); if ($nb_videos) { foreach ($listvideos as $videos) { ?> <div class="positionnement"> <p> </p> <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="320" height="240" id="FLVPlayer1"> <param name="movie" value="FLVPlayer_Progressive.swf" /> <param name="salign" value="lt" /> <param name="quality" value="high" /> <param name="scale" value="noscale" /> <param name="FlashVars" value="&MM_ComponentVersion=1&skinName=Clear_Skin_1&streamName=videos/<?=$videos->nomVideo?>&autoPlay=false&autoRewind=true" /> <embed src="FLVPlayer_Progressive.swf" flashvars="&MM_ComponentVersion=1&skinName=Clear_Skin_1&streamName=videos/<?=$videos->nomVideo?>&autoPlay=false&autoRewind=true" quality="high" scale="noscale" width="320" height="240" name="FLVPlayer1" salign="LT" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /> </object>
<input id="legVideo<?php echo $i; ?> _<?php echo $paras->numpara; ?> " name="textLegVi<?php echo $i; ?> _<?php echo $paras->numpara; ?> "/> <?php $listvideos = new ListeVideos(); $b = $listvideos->afficherListeVideos(); if ($b) { ?> <label for="flegVid<?php echo $i; ?> _<?php echo $paras->numpara; ?> ">Associer la vidéo existante:</label> <select name="selectVideo<?php echo $i; ?> _<?php echo $paras->numpara; ?>