2 require_once('ajax/requetes/requetes.common.php');
5 <!DOCTYPE html PUBLIC
"-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
6 <html dir=
"#LANG_DIR" lang=
"#LANG">
7 <!-- Inclure header.php3 -->
9 <INCLURE{fond=header}{id_article}{id_rubrique}
>
10 <?php $xajax->printJavascript('ajax/'); ?>
11 <script src=
"ajax/requetes/requetes.js" language=
"JavaScript" type=
"text/JavaScript"></script>
12 <style type="text/css">
15 .formulaire_spip { text-align: #LANG_LEFT
; font-size: 12px; }
16 .spip_logos { float: right
; padding-left: 10px; }
17 .forml { width: 12em; font-family: inherit
; font-size: inherit
; }
18 .reponse_formulaire { font-weight: bold
; color: red
; }
23 <body onload=
"javascript:montre('smenu1');">
24 <BOUCLE_contenu_editorial(ARTICLES){id_article}
>
26 <!-- Fin contener top -->
27 <INCLURE{fond=contener_top_grel}{id_rubrique}
>
28 <!-- Fin contener top -->
31 <INCLURE{fond=menu_grel}{id_rubrique}
>
34 <div id=
"colonne_center">
35 <div id=
"haut_ligne_contener_center"></div>
36 <div id=
"colonne_center_contenu">
37 <div id=
"contenu_top">
38 <p><span class=
"img_titre">[(#LOGO_RUBRIQUE)]
</span>[(#TITRE|supprimer_numero)]
</p>
42 <table id=
"table_fiches">
44 <td class=
"td_right_table_fiches">
45 <BOUCLE_titre_rub_courante(RUBRIQUES){id_rubrique}{tout}
>
46 <h2>Fiche : [
<a href=
"#URL_RUBRIQUE">(#TITRE|supprimer_numero)
</a>]
</h2>
47 </BOUCLE_titre_rub_courante>
52 $categories = array();
53 $struct_table_cat = array('valide'=>"F",'indice'=>array('categorie'=>"",'contexte'=>"", 'liens'=>array('titre'=>"",'url'=>"",'chapo'=>"",'texte'=>"",'options'=>"")));
56 <BOUCLE_mots_fiches_categorie(MOTS){id_groupe=
2}
>
60 $nom_cat= "[(#_mots_fiches_categorie:TITRE|supprimer_numero|unique|texte_backend)]";
61 $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>";
63 $struct_table_cat[$indice_categorie]['categorie'] = "<h3>".$nom_cat."</h3>".$supp;
65 $struct_table_cat[$indice_categorie]['categorie'] = "<h3>"."CATÉGORIE : ".$nom_cat."</h3>";
69 <BOUCLE_fiche_cat(ARTICLES){id_mot=#ID_MOT}{id_article}{par num titre}
>
70 <?php $struct_table_cat[$indice_categorie]['valide'] = "V"; ?>
71 <BOUCLE_contexte(MOTS){id_article}{id_groupe=
1}{
0,
1}
>
72 <?php $struct_table_cat[$indice_categorie][$indice]['liens']['contexte']= "[(#TITRE|supprimer_numero|texte_backend)]";?>
74 <B_options_mots_groupes>
75 <?php $options_mots = "<ul>"; ?>
76 <BOUCLE_options_mots_groupes(GROUPES_MOTS){id_groupe!=
1}{id_groupe!=
2}{par num titre}
>
79 $options_mots .= '<li><a href="#" onMouseover="infoBulle(event,\'[(#ID_GROUPE)]\')" onMouseout="delayhidemenu()">[(#TITRE|supprimer_numero|texte_backend)]</a><ul>';
81 <BOUCLE_options_mots(MOTS){id_article=#_fiche_cat:ID_ARTICLE}{id_groupe}
>
82 <?php $options_mots .= "<li>[(#TITRE|supprimer_numero|texte_backend)]</li>";?>
83 </BOUCLE_options_mots><?php $options_mots .= "</ul></li>";?>
86 </BOUCLE_options_mots_groupes>
87 </B_options_mots_groupes>
89 $options_mots .="</ul>";
90 $struct_table_cat[$indice_categorie][$indice]['liens']['options']= $options_mots;
91 $struct_table_cat[$indice_categorie][$indice]['liens']['titre']= "[(#TITRE|supprimer_numero|texte_backend)]";
92 $struct_table_cat[$indice_categorie][$indice]['liens']['url'] = "#URL_SITE";
93 $struct_table_cat[$indice_categorie][$indice]['liens']['chapo']= "[<p><b>DÉTAILS : </b><br><br>(#CHAPO|liens_absolus|texte_backend)</p>]";
94 $struct_table_cat[$indice_categorie][$indice]['liens']['texte']= "[<p>(#TEXTE|liens_absolus|texte_backend)</p>]";
98 <?php $indice_categorie++
; ?>
101 </BOUCLE_mots_fiches_categorie>
103 for($i=0;$i<count($struct_table_cat)-1;$i++
){
104 if($struct_table_cat[$i]['valide']=="V"){
105 echo html_entity_decode($struct_table_cat[$i]['categorie']);
107 <table id=
"table_fiches">
109 for($j=0;$j<count($struct_table_cat[$i])-2;$j++
){
112 <td class=
"td_left_table_fiches">
113 <p class=
"contexte"><a href=
"#" onMouseover=
"infoBulle(event,'1')" onMouseout=
"delayhidemenu()"><?php echo $struct_table_cat[$i][$j]['liens']['contexte']; ?></a></p>
114 <a href=
"<?php echo $struct_table_cat[$i][$j]['liens']['url']; ?>" target=
"_blanc">
115 <img src=
"dist/puce.gif" width=
"8" height=
"11" alt=
"-" /> <?php echo $struct_table_cat[$i][$j]['liens']['titre']; ?>
119 <img src=
"http://api.thumbalizr.com/?url=<?php echo $struct_table_cat[$i][$j]['liens']['url']?>" width=
"120" height=
"90">
121 <td class=
"td_right_table_fiches">
122 <?php echo $struct_table_cat[$i][$j]['liens']['options']; ?>
123 <?php echo html_entity_decode($struct_table_cat[$i][$j]['liens']['chapo']); ?>
124 <?php echo html_entity_decode($struct_table_cat[$i][$j]['liens']['texte']); ?>
136 <!-- fin du TEXTE -->
137 <div id=
"contenu_notes_bas_page">[(#NOTES)]
</div>
139 <div id=
"contenu_bottom">
140 <!-- contenu _ bottom -->
141 <table border=
"0" cellspacing=
"0" cellpadding=
"0">
143 <td valign=
"middle"><a href=
"javascript:OuvrirFenetre('[(#URL_SITE_SPIP)/]spip.php?page=imprimer_fiche_article&id_article=#ID_ARTICLE');"><img src=
"images/css/print.gif" alt=
"Imprimez cet article" title=
"Imprimez cet article" width=
"21" height=
"14" border=
"0"/></a></td>
144 <td valign=
"middle"><p><a href=
"javascript:OuvrirFenetre('[(#URL_SITE_SPIP)/]spip.php?page=imprimer_fiche_article&id_article=#ID_ARTICLE');">Imprimer cette page
</a></p></td>
147 <!-- fin du contenu _ bottom -->
150 <div id=
"bas_ligne_contener_center"></div>
153 <!-- DÉBUT BOTTOM -->
154 <INCLURE{fond=bottom}
>
159 </BOUCLE_contenu_editorial>