1 <table id=
"table_fiches">
3 <td class=
"top_table_fiches">
4 <BOUCLE_titre_rub_courante(RUBRIQUES){id_rubrique}{tout}
>
5 <h2>Fiche : [(#TITRE|supprimer_numero)]
</h2>
6 </BOUCLE_titre_rub_courante>
11 $categories = array();
12 $struct_table_cat = array('valide'=>"F",'indice'=>array('categorie'=>"",'contexte'=>"", 'liens'=>array('titre'=>"",'url'=>"",'chapo'=>"",'texte'=>"",'options'=>"")));
15 <BOUCLE_mots_fiches_categorie(MOTS){id_groupe=
2}
>
19 $nom_cat= "[(#_mots_fiches_categorie:TITRE|supprimer_numero|unique|texte_backend)]";
20 $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>";
22 $struct_table_cat[$indice_categorie]['categorie'] = "<h3 class='categorie'>".'<a href="#" onMouseover="infoBulle(event,\'[(#ID_GROUPE)]\')" onMouseout="delayhidemenu()">'.$nom_cat."</a></h3>".$supp;
24 $struct_table_cat[$indice_categorie]['categorie'] = "<h3 class='categorie'>".'CATÉGORIE : <a href="#" onMouseover="infoBulle(event,\'[(#ID_GROUPE)]\')" onMouseout="delayhidemenu()">'.$nom_cat."</a></h3>";
28 <BOUCLE_fiche_cat(ARTICLES){id_mot=#ID_MOT}{id_rubrique}{par num titre}
>
29 <?php $struct_table_cat[$indice_categorie]['valide'] = "V"; ?>
30 <BOUCLE_contexte(MOTS){id_article}{id_groupe=
1}{
0,
1}
>
31 <?php $struct_table_cat[$indice_categorie][$indice]['liens']['contexte']= "[(#TITRE|supprimer_numero|texte_backend)]";?>
33 <B_options_mots_groupes>
34 <?php $options_mots = "<ul>"; ?>
35 <BOUCLE_options_mots_groupes(GROUPES_MOTS){id_groupe!=
1}{id_groupe!=
2}{par num titre}
>
38 $options_mots .= '<li><a href="#" onMouseover="infoBulle(event,\'[(#ID_GROUPE)]\')" onMouseout="delayhidemenu()">[(#TITRE|supprimer_numero|texte_backend)]</a><ul>';
40 <BOUCLE_options_mots(MOTS){id_article=#_fiche_cat:ID_ARTICLE}{id_groupe}
>
41 <?php $options_mots .= "<li>[(#TITRE|supprimer_numero|texte_backend)]</li>";?>
42 </BOUCLE_options_mots><?php $options_mots .= "</ul></li>";?>
45 </BOUCLE_options_mots_groupes>
46 </B_options_mots_groupes>
48 $options_mots .="</ul>";
49 $struct_table_cat[$indice_categorie][$indice]['liens']['options']= $options_mots;
50 /*$struct_table_cat[$indice_categorie][$indice]['liens']['titre']= "[(#TITRE|supprimer_numero|texte_backend)]";*/
51 $struct_table_cat[$indice_categorie][$indice]['liens']['url'] = "#URL_SITE";
52 $struct_table_cat[$indice_categorie][$indice]['liens']['chapo']= "[<br /><p><b>DÉTAILS : </b><br><br>(#CHAPO|liens_absolus|texte_backend)</p>]";
53 $struct_table_cat[$indice_categorie][$indice]['liens']['texte']= "[<p>(#TEXTE|liens_absolus|texte_backend)</p>]";
54 $struct_table_cat[$indice_categorie][$indice]['liens']['notes']= "[<p>(#DESCRIPTIF|liens_absolus|texte_backend)</p>]";
58 <?php $indice_categorie++
; ?>
61 </BOUCLE_mots_fiches_categorie>
63 for($i=0;$i<count($struct_table_cat)-1;$i++
){
64 if($struct_table_cat[$i]['valide']=="V"){
65 echo html_entity_decode($struct_table_cat[$i]['categorie']);
67 <table id=
"table_fiches">
69 for($j=0;$j<count($struct_table_cat[$i])-2;$j++
){
72 <td class=
"td_left_table_fiches">
73 <p class=
"contexte"><a href=
"#" onMouseover=
"infoBulle(event,'1')" onMouseout=
"delayhidemenu()"><?php echo $struct_table_cat[$i][$j]['liens']['contexte']; ?></a></p>
74 <p><?php echo html_entity_decode($struct_table_cat[$i][$j]['liens']['notes']); ?></p>
76 <td class=
"td_right_table_fiches">
77 <?php echo $struct_table_cat[$i][$j]['liens']['options']; ?>
78 <?php echo html_entity_decode($struct_table_cat[$i][$j]['liens']['chapo']); ?>
79 <?php echo html_entity_decode($struct_table_cat[$i][$j]['liens']['texte']); ?>