source: trunk/spip/esqueleto-redcta/plugins/magusine/squelettes/blocs/sommaire/inc-video-hasard-tous.html @ 272

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

el plugin completo

  • Property svn:executable set to *
File size: 1.9 KB
Line 
1<BOUCLE_chequeparam(SPIP_ARTY_PARAMASSOC){param=video-hasard}>
2<BOUCLE_selectrub(RUBRIQUES){id_rubrique=#ID_RUBRIQUE}>
3<BOUCLE_listimage(DOCUMENTS){id_rubrique}{extension==avi|mpg|mov|flv|mp4}{par hasard}{0,1}>
4#SET{bonidrub, #ID_DOCUMENT}
5</BOUCLE_listimage>
6<BOUCLE_selectartrub(ARTICLES){id_rubrique}{par hasard}>
7<BOUCLE_listimage2(DOCUMENTS){id_article}{extension==avi|mpg|mov|flv|mp4}{par hasard}{0,1}>
8#SET{bonidrubart, #ID_DOCUMENT}
9</BOUCLE_listimage2>
10</BOUCLE_selectartrub>
11</BOUCLE_selectrub>
12<BOUCLE_selectart(ARTICLES){id_article=#ID_ARTICLE}>
13<BOUCLE_listimage3(DOCUMENTS){id_article}{extension==avi|mpg|mov|flv|mp4}{par hasard}{0,1}>
14#SET{bonidart, #ID_DOCUMENT}
15</BOUCLE_listimage3>
16</BOUCLE_selectart>
17</BOUCLE_chequeparam>
18<B_listeca>
19<div id="video-hasard" class="listagebloc">
20<h2><:video_hasard:></h2>
21<ul class="listageconteneur">
22<BOUCLE_listeca(DOCUMENTS){id_document IN #GET{bonidrub},#GET{bonidrubart},#GET{bonidart}}{par hasard}{0,1}>
23<li><a href="javascript:void(0);" onclick="popup_page('spip.php?page=popup-galerie-video&amp;id_article=#ID_ARTICLE&amp;id_document=#ID_DOCUMENT&amp;id_compteur=[(#COMPTEUR_BOUCLE|moins{1})]',740, 600);" class="listagelogo">
24[(#INCLURE{fond=formatage_logo_doc}{id_document}{conteneur=#ENV{conteneur}})]</a>
25[<h4><a href="javascript:void(0);" onclick="popup_page('spip.php?page=popup-galerie-video&amp;id_article=#ID_ARTICLE&amp;id_document=#ID_DOCUMENT&amp;id_compteur=(#COMPTEUR_BOUCLE|moins{1})]',740, 600);">[(#TITRE|supprimer_numero)</a></h4>]
26[<p class="listageinfo">(#DESCRIPTIF)</p>]
27<BOUCLE_articlefrom(ARTICLES){id_document}>
28<p class="listageinfo"><:article_origine:> <a href="#URL_ARTICLE">[(#TITRE|supprimer_numero)]</a></p>
29</BOUCLE_articlefrom>
30<BOUCLE_articlefromrub(RUBRIQUES){id_document}>
31<p class="listageinfo"><:rubrique_origine:> <a href="#URL_RUBRIQUE">[(#TITRE|supprimer_numero)]</a></p>
32</BOUCLE_articlefromrub>
33</li>
34</BOUCLE_listeca>
35</ul>
36</div>
37</B_listeca>
Note: See TracBrowser for help on using the repository browser.