| 4 | 
           david | 
           1 | 
           <?php
  | 
        
        
            | 
            | 
           2 | 
           include_once 'authentification.php' ;
  | 
        
        
            | 
            | 
           3 | 
           if (!isset($debut_article)) {
  | 
        
        
            | 
            | 
           4 | 
               $debut_article=0;
  | 
        
        
            | 
            | 
           5 | 
           }
  | 
        
        
            | 
            | 
           6 | 
           $nb_affiche=10;
  | 
        
        
            | 
            | 
           7 | 
           ?>
  | 
        
        
            | 
            | 
           8 | 
           <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  | 
        
        
            | 
            | 
           9 | 
           <html lang="#LANG">
  | 
        
        
            | 
            | 
           10 | 
              | 
        
        
            | 
            | 
           11 | 
           <BOUCLE_principale(MOTS){id_mot}{doublons}>
  | 
        
        
            | 
            | 
           12 | 
           <head>
  | 
        
        
            | 
            | 
           13 | 
           <title>[(#TITRE|supprimer_numero)]</title>
  | 
        
        
            | 
            | 
           14 | 
           <INCLURE(incl_link_entete.php)>
  | 
        
        
            | 
            | 
           15 | 
           </head>
  | 
        
        
            | 
            | 
           16 | 
              | 
        
        
            | 
            | 
           17 | 
           <body>
  | 
        
        
            | 
            | 
           18 | 
           <div id="reducteur">
  | 
        
        
            | 
            | 
           19 | 
               <INCLURE(incl_bandeau.php)>
  | 
        
        
            | 
            | 
           20 | 
               <!-- Parcours de navigation -->
  | 
        
        
            | 
            | 
           21 | 
               <div id="droite">
  | 
        
        
            | 
            | 
           22 | 
                       <div id="pos_recherche">
  | 
        
        
            | 
            | 
           23 | 
                               Vous êtes ici : <a href="sommaire.php3"> Parcours par thème : </a> >>
  | 
        
        
            | 
            | 
           24 | 
                               <BOUCLE_hier(HIERARCHIE) {id_rubrique}>
  | 
        
        
            | 
            | 
           25 | 
                               <a href="#URL_RUBRIQUE">[(#TITRE|couper{30}|supprimer_numero)]</a> >>
  | 
        
        
            | 
            | 
           26 | 
                               </BOUCLE_hier>[(#TITRE|supprimer_numero|couper{30})]
  | 
        
        
            | 
            | 
           27 | 
                       </div>
  | 
        
        
            | 
            | 
           28 | 
                       <INCLURE(incl_mot_recherche.php)>
  | 
        
        
            | 
            | 
           29 | 
                       <!-- Corps de la page -->
  | 
        
        
            | 
            | 
           30 | 
                       <div id="contenu">
  | 
        
        
            | 
            | 
           31 | 
                                   <p class="texte_descriptif">[<span class="categorie">(#TITRE|supprimer_numero)</span>]<span class="categorie">[ : </span>(#TEXTE)]</p>
  | 
        
        
            | 
            | 
           32 | 
                                   <BOUCLE_articles_mots(ARTICLES){id_mot}{par date} {inverse} {"<hr />"}{debut_article,10}>
  | 
        
        
            | 
            | 
           33 | 
                                   <div class="menu_titre">
  | 
        
        
            | 
            | 
           34 | 
                                               [<a href="#URL_ARTICLE">(#LOGO_ARTICLE|right)</a>]
  | 
        
        
            | 
            | 
           35 | 
                                               <div class="intituler_rubrique"><a href="#URL_ARTICLE">#TITRE</a></div>
  | 
        
        
           | 94 | 
           jpm | 
           36 | 
                                               <div class="date">Mis en ligne [(#DATE|nom_jour)] [(#DATE|affdate)]
  | 
        
        
           | 4 | 
           david | 
           37 | 
                                                       <B_auteurs_un><:par_auteur:> <BOUCLE_auteurs_un(AUTEURS) {id_article} {", "}>
  | 
        
        
            | 
            | 
           38 | 
                                                       #NOM</BOUCLE_auteurs_un>
  | 
        
        
            | 
            | 
           39 | 
                                                       <BOUCLE_rub_art(RUBRIQUES){id_rubrique}{0,1}>
  | 
        
        
            | 
            | 
           40 | 
                                           [ - <span class="lien_rub"><a href="#URL_RUBRIQUE">(#TITRE|supprimer_numero)</a></span>]
  | 
        
        
            | 
            | 
           41 | 
                                           </BOUCLE_rub_art>
  | 
        
        
            | 
            | 
           42 | 
                                               </div>
  | 
        
        
            | 
            | 
           43 | 
                                               <div class="descriptif_contenu ">[(#INTRODUCTION|couper{400})] <a href="#URL_ARTICLE">Lire la suite ...</a></div>
  | 
        
        
            | 
            | 
           44 | 
                                               [<div ><:voir_en_ligne:> : <a href="#URL_SITE" >(#NOM_SITE)</a></div>]
  | 
        
        
            | 
            | 
           45 | 
                                   </div>
  | 
        
        
            | 
            | 
           46 | 
                                   </BOUCLE_articles_mots>
  | 
        
        
            | 
            | 
           47 | 
                                   <!-- article: number ? -->
  | 
        
        
            | 
            | 
           48 | 
                                   <?php $nb_art_total=0; ?>
  | 
        
        
            | 
            | 
           49 | 
                                   <BOUCLE_art_count(ARTICLES){id_mot}>
  | 
        
        
            | 
            | 
           50 | 
                                   <?php $nb_art_total++ ?>
  | 
        
        
            | 
            | 
           51 | 
                                   </BOUCLE_art_count>
  | 
        
        
            | 
            | 
           52 | 
                                   <?php
  | 
        
        
            | 
            | 
           53 | 
                       if ($nb_art_total > $nb_affiche) {
  | 
        
        
            | 
            | 
           54 | 
                           echo "<div id=\"postarticle\">Pages : ";
  | 
        
        
            | 
            | 
           55 | 
                           if ($debut_article >= $nb_affiche) {
  | 
        
        
            | 
            | 
           56 | 
                               echo "<a href=\"mot.php3?id_mot=#ID_MOT&debut_article=".($debut_article-$nb_affiche)."\">Page précédente</a> ";
  | 
        
        
            | 
            | 
           57 | 
                           }
  | 
        
        
            | 
            | 
           58 | 
                           for ($article = 0, $page = 1; $article < $nb_art_total; $article += $nb_affiche, $page++) {
  | 
        
        
            | 
            | 
           59 | 
                               if ($debut_article != $article) {
  | 
        
        
            | 
            | 
           60 | 
                                   echo "<a href=\"mot.php3?id_mot=#ID_MOT&debut_article=$article\">$page</a> " ;
  | 
        
        
            | 
            | 
           61 | 
                               } else {
  | 
        
        
            | 
            | 
           62 | 
                                   echo $page." " ;
  | 
        
        
            | 
            | 
           63 | 
                               }
  | 
        
        
            | 
            | 
           64 | 
                           }
  | 
        
        
            | 
            | 
           65 | 
                           if ($debut_article + $nb_affiche <$nb_art_total) {
  | 
        
        
            | 
            | 
           66 | 
                           ?>
  | 
        
        
            | 
            | 
           67 | 
                                       <a href="mot.php3?id_mot=#ID_MOT&debut_article=<?php echo $debut_article + $nb_affiche; ?>">Page suivante</a>
  | 
        
        
            | 
            | 
           68 | 
                                       <?php } ?>
  | 
        
        
            | 
            | 
           69 | 
                                   <br />Nombre total d'articles de la rubrique : <?php echo $nb_art_total; ?>
  | 
        
        
            | 
            | 
           70 | 
                                   <?php
  | 
        
        
            | 
            | 
           71 | 
                           echo "</div>";
  | 
        
        
            | 
            | 
           72 | 
                                   }
  | 
        
        
            | 
            | 
           73 | 
                                   ?>
  | 
        
        
            | 
            | 
           74 | 
                       </div>
  | 
        
        
            | 
            | 
           75 | 
              | 
        
        
            | 
            | 
           76 | 
              | 
        
        
            | 
            | 
           77 | 
              | 
        
        
            | 
            | 
           78 | 
              | 
        
        
            | 
            | 
           79 | 
                       <INCLURE(incl_footer.php)>
  | 
        
        
            | 
            | 
           80 | 
               </div>
  | 
        
        
            | 
            | 
           81 | 
           <!-- Menu de navigation rubriques -->
  | 
        
        
            | 
            | 
           82 | 
              | 
        
        
            | 
            | 
           83 | 
              | 
        
        
            | 
            | 
           84 | 
              | 
        
        
            | 
            | 
           85 | 
              | 
        
        
            | 
            | 
           86 | 
               <div id="nav_gauche">
  | 
        
        
            | 
            | 
           87 | 
           <INCLURE(incl_logo_tela.php)>
  | 
        
        
            | 
            | 
           88 | 
           <INCLURE(incl_changer_monde.php)>
  | 
        
        
            | 
            | 
           89 | 
           <?php $rub = "#ID_SECTEUR" ;?>
  | 
        
        
            | 
            | 
           90 | 
           <?php $mot_cle = "#ID_MOT" ;?>
  | 
        
        
            | 
            | 
           91 | 
           <INCLURE(incl_menu_gauche.php)>
  | 
        
        
            | 
            | 
           92 | 
           <INCLURE(incl_identification_ellipse.php)>
  | 
        
        
            | 
            | 
           93 | 
              | 
        
        
            | 
            | 
           94 | 
           </div>
  | 
        
        
            | 
            | 
           95 | 
           <INCLURE(incl_footer_print.php)>
  | 
        
        
            | 
            | 
           96 | 
           </div>
  | 
        
        
            | 
            | 
           97 | 
              | 
        
        
            | 
            | 
           98 | 
           </BOUCLE_principale>
  | 
        
        
            | 
            | 
           99 | 
              | 
        
        
            | 
            | 
           100 | 
           </body>
  | 
        
        
            | 
            | 
           101 | 
           </html>
  |