| 5 | 
           david | 
           1 | 
           <?php
  | 
        
        
            | 
            | 
           2 | 
           include_once 'authentification.php' ;
  | 
        
        
            | 
            | 
           3 | 
           if (!isset($debut_article)) {
  | 
        
        
           | 326 | 
           jpm | 
           4 | 
               $debut_article = 0;
  | 
        
        
           | 5 | 
           david | 
           5 | 
           }
  | 
        
        
           | 326 | 
           jpm | 
           6 | 
           $nb_affiche = 15;
  | 
        
        
           | 5 | 
           david | 
           7 | 
           ?>
  | 
        
        
            | 
            | 
           8 | 
           <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  | 
        
        
            | 
            | 
           9 | 
           <html lang="#LANG">
  | 
        
        
           | 323 | 
           jpm | 
           10 | 
              | 
        
        
           | 5 | 
           david | 
           11 | 
           <BOUCLE_principale(RUBRIQUES){id_rubrique}{doublons}>
  | 
        
        
            | 
            | 
           12 | 
           <head>
  | 
        
        
           | 323 | 
           jpm | 
           13 | 
           	<title>[(#TITRE|supprimer_numero)]</title>
  | 
        
        
            | 
            | 
           14 | 
           	<meta http-equiv="Content-Type" content="text/html; charset=#CHARSET">
  | 
        
        
            | 
            | 
           15 | 
           	<meta http-equiv="Content-Type" content="text/html; charset=#CHARSET" />
  | 
        
        
            | 
            | 
           16 | 
           	<meta http-equiv="Content-style-type" content="text/css" />
  | 
        
        
            | 
            | 
           17 | 
           	<meta http-equiv="Content-language" content="fr" />
  | 
        
        
            | 
            | 
           18 | 
              | 
        
        
            | 
            | 
           19 | 
           	<meta name="revisit-after" content="15 days" />
  | 
        
        
            | 
            | 
           20 | 
           	<meta name="robots" content="index,follow" />
  | 
        
        
            | 
            | 
           21 | 
           	<meta name="author" content="Tela Botanica - Gabriel Bernard et Tamara Le Bourg" />
  | 
        
        
            | 
            | 
           22 | 
           	<meta name="description" content="Site de publication des actualit�s concernant la botanique francophone" />
  | 
        
        
            | 
            | 
           23 | 
           	<meta name="keywords" content="botanique, botaniste, flore, monde v�g�tal, v�g�taux, actualit�s, articles, colloques, expositions, conf�rences, stages, sorties de terrain, revues, livres, emploi, nature, environnement, science, agronomie, protection, plante, plantes prot�g�es, biologie v�g�tale, syst�matique, taxinomie, taxonomie, taxons, floristique, ethnobotanique, phytosociologie, phytog�ographie, chorologie, �cologie, herbiers, herbier, nomenclature, noms vernaculaires, description, r�glementation, bibliographie, bibliographiques, reportage, �les juan Fernandez, pteridophytes, bryophytes, orchid�es, d�couvrir, apprentissage, classification, familles, genres, racines, tiges, feuilles, fleurs, fruits, Tela Botanica, association, fran�aise, fran�ais, langue fran�aise, France, r�seau, connaissances, connaissance, travail coop�ratif, fils d'information, RSS" />
  | 
        
        
            | 
            | 
           24 | 
              | 
        
        
            | 
            | 
           25 | 
           	<link rel="stylesheet" type="text/css" media="screen" href="/sites/commun/fr/styles/commun_simple.css" />
  | 
        
        
           | 121 | 
           magali | 
           26 | 
               <script type="text/javascript" src="/sites/commun/fr/scripts/commun.js"></script>
  | 
        
        
            | 
            | 
           27 | 
               <style type="text/css" media="screen">
  | 
        
        
           | 326 | 
           jpm | 
           28 | 
           	<!--
  | 
        
        
            | 
            | 
           29 | 
           		@import "/sites/commun/fr/styles/commun_complexe.css";
  | 
        
        
           | 323 | 
           jpm | 
           30 | 
           		@import "/actu/css/actu.css";
  | 
        
        
            | 
            | 
           31 | 
           	-->
  | 
        
        
           | 121 | 
           magali | 
           32 | 
               </style>
  | 
        
        
            | 
            | 
           33 | 
               <link rel="stylesheet" type="text/css" media="print" href="/sites/commun/fr/styles/impression.css" />
  | 
        
        
            | 
            | 
           34 | 
               <link rel="shortcut icon" type="image/x-icon" href="/sites/commun/generique/images/favicones/tela_botanica.ico" />
  | 
        
        
            | 
            | 
           35 | 
               <link rel="icon" type="image/png" href="/sites/commun/generique/images/favicones/tela_botanica.png" />
  | 
        
        
            | 
            | 
           36 | 
               <link rel="alternate" type="application/xml" title="Récents articles en XML (RSS)" href="/articles/xml/" />
  | 
        
        
           | 5 | 
           david | 
           37 | 
           </head>
  | 
        
        
            | 
            | 
           38 | 
              | 
        
        
            | 
            | 
           39 | 
           <body >
  | 
        
        
           | 238 | 
           jpm | 
           40 | 
           	<div id="reducteur">
  | 
        
        
            | 
            | 
           41 | 
           		<INCLURE(incl_bandeau.php)>
  | 
        
        
            | 
            | 
           42 | 
           		<!-- Corps de la page -->
  | 
        
        
           | 323 | 
           jpm | 
           43 | 
           		<div id="droite">
  | 
        
        
            | 
            | 
           44 | 
           			<!-- Parcours de navigation -->
  | 
        
        
            | 
            | 
           45 | 
           			<div id="pos_recherche"> Vous êtes ici : <a href="sommaire.php3"> Accueil </a> >
  | 
        
        
            | 
            | 
           46 | 
           				<BOUCLE_hier(HIERARCHIE) {id_rubrique}>
  | 
        
        
            | 
            | 
           47 | 
           					<a href="#URL_RUBRIQUE">[(#TITRE|couper{30}|supprimer_numero)]</a> >
  | 
        
        
            | 
            | 
           48 | 
           				</BOUCLE_hier>[(#TITRE|supprimer_numero|couper{30})]
  | 
        
        
           | 169 | 
           magali | 
           49 | 
           			</div>
  | 
        
        
           | 323 | 
           jpm | 
           50 | 
           			<INCLURE(incl_mot_recherche.php)>
  | 
        
        
            | 
            | 
           51 | 
           			<!-- Corps de la page -->
  | 
        
        
            | 
            | 
           52 | 
                       <div id="contenu">
  | 
        
        
            | 
            | 
           53 | 
           				<div id="info_dte">
  | 
        
        
            | 
            | 
           54 | 
           					<INCLURE(incl_rss.php)>
  | 
        
        
            | 
            | 
           55 | 
           				</div>
  | 
        
        
            | 
            | 
           56 | 
               	        <div id="contenu_rubrique28">
  | 
        
        
            | 
            | 
           57 | 
           					<!-- Rubriques -->
  | 
        
        
            | 
            | 
           58 | 
           					<BOUCLE_corps_rubriques(RUBRIQUES){id_rubrique}>
  | 
        
        
            | 
            | 
           59 | 
           						<!-- Articles de la rubrique -->
  | 
        
        
            | 
            | 
           60 | 
           						<BOUCLE_articles_rubrique(ARTICLES){id_secteur}{par date} {inverse}{debut_article,30}>
  | 
        
        
            | 
            | 
           61 | 
           							<h2 class="intituler_rubrique"><a href="#URL_ARTICLE">#TITRE</a></h2>
  | 
        
        
            | 
            | 
           62 | 
           							<div class="info">
  | 
        
        
            | 
            | 
           63 | 
           							<span class="date">Mise en ligne [(#DATE|nom_jour)] [(#DATE|affdate)] <B_auteurs_un><:par_auteur:> <BOUCLE_auteurs_un(AUTEURS) {id_article} {", "}>#NOM</BOUCLE_auteurs_un></span>
  | 
        
        
            | 
            | 
           64 | 
           							<BOUCLE_rub_art(RUBRIQUES){id_rubrique}{0,1}>
  | 
        
        
            | 
            | 
           65 | 
           								[ - <span class="lien_rub">(#TITRE|supprimer_numero)</span>]
  | 
        
        
            | 
            | 
           66 | 
           							</BOUCLE_rub_art>
  | 
        
        
           | 238 | 
           jpm | 
           67 | 
           							</div>
  | 
        
        
           | 323 | 
           jpm | 
           68 | 
           						</BOUCLE_articles_rubrique>
  | 
        
        
           | 326 | 
           jpm | 
           69 | 
           				</BOUCLE_corps_rubriques>
  | 
        
        
            | 
            | 
           70 | 
           			</div>
  | 
        
        
            | 
            | 
           71 | 
           <!-- article: number ? -->
  | 
        
        
            | 
            | 
           72 | 
           <?php
  | 
        
        
            | 
            | 
           73 | 
           $requete = 'SELECT COUNT(*) AS nbr FROM spip_articles WHERE id_secteur = 28';
  | 
        
        
            | 
            | 
           74 | 
           mysql_select_db('tela_prod_spip_actu');
  | 
        
        
            | 
            | 
           75 | 
           $resultat = mysql_query($requete);
  | 
        
        
            | 
            | 
           76 | 
           if (!$resultat) {
  | 
        
        
            | 
            | 
           77 | 
           	echo mysql_error($resultat);
  | 
        
        
            | 
            | 
           78 | 
           }
  | 
        
        
            | 
            | 
           79 | 
           $ligne = mysql_fetch_object($resultat);
  | 
        
        
            | 
            | 
           80 | 
           $nb_art_total = $ligne->nbr;
  | 
        
        
            | 
            | 
           81 | 
           if ($nb_art_total > $nb_affiche) {
  | 
        
        
            | 
            | 
           82 | 
           	echo '<div id="postarticle">Pages :<br />';
  | 
        
        
           | 238 | 
           jpm | 
           83 | 
           	if ($debut_article >= $nb_affiche) {
  | 
        
        
           | 326 | 
           jpm | 
           84 | 
           		echo '<a href="rubrique.php3?id_rubrique=#ID_RUBRIQUE&debut_article='.($debut_article-$nb_affiche).'">Page précédente</a><br />';
  | 
        
        
           | 238 | 
           jpm | 
           85 | 
           	}
  | 
        
        
            | 
            | 
           86 | 
           	for ($article = 0, $page = 1; $article < $nb_art_total; $article += $nb_affiche, $page++) {
  | 
        
        
            | 
            | 
           87 | 
           		if ($debut_article != $article) {
  | 
        
        
           | 326 | 
           jpm | 
           88 | 
           			echo '<a href="rubrique.php3?id_rubrique=#ID_RUBRIQUE&debut_article='.$article.'">'.$page.'</a> ';
  | 
        
        
           | 238 | 
           jpm | 
           89 | 
           		} else {
  | 
        
        
           | 326 | 
           jpm | 
           90 | 
           			echo $page.' ';
  | 
        
        
           | 238 | 
           jpm | 
           91 | 
           		}
  | 
        
        
            | 
            | 
           92 | 
           	}
  | 
        
        
           | 326 | 
           jpm | 
           93 | 
           	if ($debut_article + $nb_affiche < $nb_art_total) {
  | 
        
        
            | 
            | 
           94 | 
           		echo '<br /><a href="rubrique.php3?id_rubrique=#ID_RUBRIQUE&debut_article='.($debut_article + $nb_affiche).'">Page suivante</a>';
  | 
        
        
           | 238 | 
           jpm | 
           95 | 
           	}
  | 
        
        
           | 326 | 
           jpm | 
           96 | 
           	echo '<p>Nombre total d\'articles de la rubrique : '.$nb_art_total.'</p>';
  | 
        
        
            | 
            | 
           97 | 
           	echo '</div>';
  | 
        
        
            | 
            | 
           98 | 
           }
  | 
        
        
           | 238 | 
           jpm | 
           99 | 
           ?>
  | 
        
        
            | 
            | 
           100 | 
           		</div>
  | 
        
        
            | 
            | 
           101 | 
           	</div>
  | 
        
        
            | 
            | 
           102 | 
           	<INCLURE(incl_footer.php)>
  | 
        
        
            | 
            | 
           103 | 
           	<!-- Menu de navigation rubriques -->
  | 
        
        
            | 
            | 
           104 | 
           	<div id="nav_gauche">
  | 
        
        
            | 
            | 
           105 | 
           		<INCLURE(incl_logo_tela.php)>
  | 
        
        
            | 
            | 
           106 | 
           		<INCLURE(incl_changer_monde.php)>
  | 
        
        
            | 
            | 
           107 | 
           		<?php $rub = "#ID_SECTEUR" ;?>
  | 
        
        
            | 
            | 
           108 | 
           		<INCLURE(incl_menu_gauche.php)>
  | 
        
        
            | 
            | 
           109 | 
           		<INCLURE(incl_identification_ellipse.php)>
  | 
        
        
            | 
            | 
           110 | 
           	</div>
  | 
        
        
            | 
            | 
           111 | 
           	<INCLURE(incl_footer_print.php)>
  | 
        
        
           | 323 | 
           jpm | 
           112 | 
           </div>
  | 
        
        
           | 5 | 
           david | 
           113 | 
           </body>
  | 
        
        
           | 323 | 
           jpm | 
           114 | 
           </BOUCLE_principale>
  | 
        
        
           | 5 | 
           david | 
           115 | 
           </html>
  |