1 | #CACHE{24*3600} |
---|
2 | |
---|
3 | <div class="laune" > |
---|
4 | |
---|
5 | <!-- |
---|
6 | on extrait tous les articles des rubriques a qui un a donné le mot-cle "pas-a-la-une" |
---|
7 | on les stocke dans "doublons une" |
---|
8 | on n'affiche rien ici --> |
---|
9 | <BOUCLE_exclure_rub(RUBRIQUES){titre_mot=pas-a-la-une}> |
---|
10 | <BOUCLE_extract(ARTICLES){id_rubrique}{doublons}> |
---|
11 | </BOUCLE_extract> |
---|
12 | <BOUCLE_exclure_rub2(RUBRIQUES){branche}> |
---|
13 | <BOUCLE_extract2(ARTICLES){id_rubrique}{doublons}> |
---|
14 | </BOUCLE_extract2> |
---|
15 | </BOUCLE_exclure_rub2> |
---|
16 | </BOUCLE_exclure_rub> |
---|
17 | |
---|
18 | <BOUCLE_exclure_art(ARTICLES){titre_mot=pas-a-la-une}{doublons}> |
---|
19 | </BOUCLE_exclure_art> |
---|
20 | |
---|
21 | <!-- On selectionne les 11 articles les + recents et on les stocke dans {doublons selection}--> |
---|
22 | <BOUCLE_selection(ARTICLES){lang}{branche}{par date}{inverse}{0,11}{doublons}{doublons selection1}{doublons selection2}> |
---|
23 | </BOUCLE_selection> |
---|
24 | |
---|
25 | <!-- On affiche au hasard les 11 articles selectionnes |
---|
26 | et seul le premier est affiche |
---|
27 | les autres sont masques par un javascript --> |
---|
28 | <BOUCLE_dernier_endate(ARTICLES){!doublons selection1}{par hasard}> |
---|
29 | <div id="section-#ID_ARTICLE" class="fragment"> |
---|
30 | |
---|
31 | <!-- affichage logo --> |
---|
32 | [(#LOGO_ARTICLE_RUBRIQUE||image_reduire{50})] |
---|
33 | <!-- affichage titre --> |
---|
34 | <div class="titre"> |
---|
35 | <a href="#URL_ARTICLE" title="<BOUCLE_auteurs(AUTEURS){id_article}{"<:escal:et:> "}><:par_auteur:> [(#NOM)]</BOUCLE_auteurs> <:escal:le:> [(#DATE|affdate)]"> |
---|
36 | #TITRE |
---|
37 | </a> |
---|
38 | </div> |
---|
39 | <!-- affichage rubrique --> |
---|
40 | <BOUCLE_Rub(RUBRIQUES){id_rubrique}> |
---|
41 | <div class="rubrique"> |
---|
42 | <:rubrique:> : [(#TITRE)] |
---|
43 | </div> |
---|
44 | </BOUCLE_Rub> |
---|
45 | <!-- affichage texte --> |
---|
46 | [<div class="texte"> |
---|
47 | (#INTRODUCTION|couper{300}|propre) |
---|
48 | <br /> |
---|
49 | <a href="#URL_ARTICLE" title="[(#DESCRIPTIF|textebrut|entites_html)]"><strong><:escal:lire_suite:></strong></a> |
---|
50 | </div>] |
---|
51 | |
---|
52 | </div> |
---|
53 | </BOUCLE_dernier_endate> |
---|
54 | |
---|
55 | <hr /> |
---|
56 | <!-- On affiche les 10 autres articles |
---|
57 | celui sélectionné ne s'affiche pas |
---|
58 | sauf au premier affichage de la page --> |
---|
59 | <B_autres_articles_une> |
---|
60 | <ul class="anchors"> |
---|
61 | <BOUCLE_autres_articles_une (ARTICLES){par hasard}{!doublons selection2}> |
---|
62 | <li> |
---|
63 | <a href="#URL_SITE_SPIP#section-#ID_ARTICLE" tabindex="#ID_ARTICLE" title="<:escal:article_une:>"> |
---|
64 | |
---|
65 | <!-- affichage logo --> |
---|
66 | [(#LOGO_ARTICLE_RUBRIQUE||image_reduire{40,40})] |
---|
67 | <!-- affichage titre --> |
---|
68 | <span class="titre-autres">[(#TITRE|couper{55})]</span><br /> |
---|
69 | <!-- affichage rubrique --> |
---|
70 | <BOUCLE_Rub_suite(RUBRIQUES){id_rubrique}> |
---|
71 | <span class="rubrique-autres"> |
---|
72 | <:rubrique:> : [(#TITRE)] |
---|
73 | </span> |
---|
74 | </BOUCLE_Rub_suite> |
---|
75 | |
---|
76 | </a> |
---|
77 | </li> |
---|
78 | </BOUCLE_autres_articles_une> |
---|
79 | </ul> |
---|
80 | </B_autres_articles_une> |
---|
81 | |
---|
82 | </div><!-- fin laune --> |
---|