source: trunk/spip/esqueleto-redcta/plugins/magusine/squelettes/blocs/galeries/popup-galerie-audio.html @ 556

Last change on this file since 556 was 80, checked in by guille, 16 years ago

el plugin completo

  • Property svn:executable set to *
File size: 1.9 KB
Line 
1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2<html xmlns="http://www.w3.org/1999/xhtml">
3<head>
4<meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
5<title><BOUCLE_letitre(ARTICLES){id_article}>[(#TITRE|supprimer_numero)]</BOUCLE_letitre></title>
6#INSERT_HEAD
7</head>
8<body style="text-align:center;">
9#SET{critere_in,#ARRAY{0,0}}
10<BOUCLE_recup(ARTICLES){id_article}>
11<BOUCLE_docart(DOCUMENTS){id_article}{extension==mp3}{0,2}>
12#SET{critere_in,#GET{critere_in}|array_merge{#ARRAY{#COMPTEUR_BOUCLE,#ID_DOCUMENT}}}
13#SET{vers,id_article%3D#ID_ARTICLE}
14</BOUCLE_docart>
15</BOUCLE_recup>
16<BOUCLE_docrub(DOCUMENTS){id_rubrique}{extension==mp3}{0,2}>
17#SET{critere_in,#GET{critere_in}|array_merge{#ARRAY{#COMPTEUR_BOUCLE,#ID_DOCUMENT}}}
18#SET{vers,id_rubrique%3D#ID_RUBRIQUE}
19</BOUCLE_docrub>
20<//B_recup>
21<B_lesfiles><div id="galerie-audio" class="listagebloc">
22<a name="audio"></a>
23<h2><:galerie_audio:></h2>
24<ul class="listageconteneur">
25<?php
26$parametre="[(#REM|sinon{audiovars}|trouveintheme{''})]";
27<BOUCLE_voissiplus(DOCUMENTS){id_document IN #GET{critere_in}}{1,1}>$listheight=(int) "[(#REM|sinon{audiolistheight}|trouveintheme{'100'})]";</BOUCLE_voissiplus>
28$largeur=360;
29$hauteur=160;
30?>
31<BOUCLE_lesfiles(DOCUMENTS){id_document IN #GET{critere_in}}{par num titre,id_document}{0,1}>
32<li id="audio-viewer">
33<embed 
34type="application/x-shockwave-flash" allowfullscreen="true"
35src="#CHEMIN{swf/mediaplayer.swf}" style="" id="mp3player" name="rmp3player" quality="high" 
36flashvars="file=spip.php%3Fpage%3Dxml_audioflash%26#GET{vers}&displayheight=<?php echo $hauteur; ?>&width=<?php echo $largeur; ?>&height=<?php echo $hauteur + $listheight + 20; if ($parametre) { echo "&". $parametre; } ?>"
37height="<?php echo $hauteur + $listheight + 20; ?>"
38width="<?php echo $largeur; ?>">
39</li>
40</BOUCLE_lesfiles>
41 
42</ul>
43</div>
44</B_lesfiles>
45</body>
46</html>
47
48
49
50
Note: See TracBrowser for help on using the repository browser.