2 <BOUCLE_rubrique_courante(RUBRIQUES){id_rubrique}{id_parent==
52}
>
4 <h1>[(#TITRE|supprimer_numero)]
</h1>
7 <BOUCLE_lister_sous_rubriques(RUBRIQUES){id_parent}{par num titre}
>
8 <li><a href=
"#URL_RUBRIQUE">[(#TITRE|supprimer_numero)]
</a></li>
9 </BOUCLE_lister_sous_rubriques>
12 </BOUCLE_rubrique_courante>
13 </B_rubrique_courante>
14 <table id=
"table_fiches">
16 <td class=
"top_table_fiches">
17 <BOUCLE_titre_rub_courante(RUBRIQUES){id_rubrique}{tout}
>
18 <h2>Fiche : [(#TITRE|supprimer_numero)]
</h2>
19 </BOUCLE_titre_rub_courante>
24 $categories = array();
25 $struct_table_cat = array('valide'=>"F",'indice'=>array('categorie'=>"",'contexte'=>"", 'liens'=>array('titre'=>"",'url'=>"",'chapo'=>"",'texte'=>"",'options'=>"")));
28 <BOUCLE_mots_fiches_categorie(MOTS){id_groupe=
2}
>
32 $nom_cat= "[(#_mots_fiches_categorie:TITRE|supprimer_numero|unique|texte_backend)]";
33 $supp = "<table id='table_fiches'><tr><td class='top_table_fiches'>[<h4><b>(#DESCRIPTIF|liens_absolus|texte_backend)</b></h4>]<br>[<p>(#TEXTE|liens_absolus|texte_backend)</p>]</td></p></tr></table>";
35 $struct_table_cat[$indice_categorie]['categorie'] = "<h3 class='categorie'>".$nom_cat."</h3>".$supp;
37 $struct_table_cat[$indice_categorie]['categorie'] = "<h3 class='categorie'>"."CATÉGORIE : ".$nom_cat."</h3>";
41 <BOUCLE_fiche_cat(ARTICLES){id_mot=#ID_MOT}{id_rubrique}{par num titre}
>
42 <?php $struct_table_cat[$indice_categorie]['valide'] = "V"; ?>
43 <BOUCLE_contexte(MOTS){id_article}{id_groupe=
1}{
0,
1}
>
44 <?php $struct_table_cat[$indice_categorie][$indice]['liens']['contexte']= "[(#TITRE|supprimer_numero|texte_backend)]";?>
46 <B_options_mots_groupes>
47 <?php $options_mots = "<ul>"; ?>
48 <BOUCLE_options_mots_groupes(GROUPES_MOTS){id_groupe!=
1}{id_groupe!=
2}{par num titre}
>
51 $options_mots .= '<li><a href="#" onMouseover="infoBulle(event,\'[(#ID_GROUPE)]\')" onMouseout="delayhidemenu()">[(#TITRE|supprimer_numero|texte_backend)]</a><ul>';
53 <BOUCLE_options_mots(MOTS){id_article=#_fiche_cat:ID_ARTICLE}{id_groupe}
>
54 <?php $options_mots .= "<li>[(#TITRE|supprimer_numero|texte_backend)]</li>";?>
55 </BOUCLE_options_mots><?php $options_mots .= "</ul></li>";?>
58 </BOUCLE_options_mots_groupes>
59 </B_options_mots_groupes>
61 $options_mots .="</ul>";
62 $struct_table_cat[$indice_categorie][$indice]['liens']['options']= $options_mots;
63 $struct_table_cat[$indice_categorie][$indice]['liens']['titre']= "[(#TITRE|supprimer_numero|texte_backend)]";
64 $struct_table_cat[$indice_categorie][$indice]['liens']['url'] = "#URL_SITE";
65 $struct_table_cat[$indice_categorie][$indice]['liens']['chapo']= "[<p><b>DÉTAILS : </b><br><br>(#CHAPO|liens_absolus|texte_backend)</p>]";
66 $struct_table_cat[$indice_categorie][$indice]['liens']['texte']= "[<p>(#TEXTE|liens_absolus|texte_backend)</p>]";
70 <?php $indice_categorie++
; ?>
73 </BOUCLE_mots_fiches_categorie>
75 for($i=0;$i<count($struct_table_cat)-1;$i++
){
76 if($struct_table_cat[$i]['valide']=="V"){
77 echo html_entity_decode($struct_table_cat[$i]['categorie'], ENT_COMPAT
, 'UTF-8');
79 <table id=
"table_fiches">
81 for($j=0;$j<count($struct_table_cat[$i])-2;$j++
){
84 <td class=
"td_left_table_fiches">
85 <p class=
"contexte"><a href=
"#" onMouseover=
"infoBulle(event,'1')" onMouseout=
"delayhidemenu()"><?php echo $struct_table_cat[$i][$j]['liens']['contexte']; ?></a></p>
86 <a href=
"<?php echo $struct_table_cat[$i][$j]['liens']['url']; ?>" class=
"lien" target=
"_blanc">
87 <img src=
"dist/puce.gif" width=
"8" height=
"11" alt=
"-" /> <?php echo $struct_table_cat[$i][$j]['liens']['titre']; ?>
91 <img src=
"http://www.apercite.fr/api/apercite/120x90/oui/<?php echo $struct_table_cat[$i][$j]['liens']['url']?>" width=
"120" height=
"90">
94 <td class=
"td_right_table_fiches">
95 <?php echo $struct_table_cat[$i][$j]['liens']['options']; ?>
96 <?php echo html_entity_decode($struct_table_cat[$i][$j]['liens']['chapo'], ENT_COMPAT
, 'UTF-8'); ?>
97 <?php echo html_entity_decode($struct_table_cat[$i][$j]['liens']['texte'], ENT_COMPAT
, 'UTF-8'); ?>
110 <//B_rubrique_courante
>