Subversion Repositories Sites.tela-botanica.org

Rev

Rev 5 | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 5 Rev 121
1
<?php
1
<?php
2
include_once 'authentification.php' ;
2
include_once 'authentification.php' ;
3
if (!isset($debut_article)) {
3
if (!isset($debut_article)) {
4
    $debut_article=0;
4
    $debut_article=0;
5
}
5
}
6
$nb_affiche=15;
6
$nb_affiche=15;
7
?>
7
?>
8
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
8
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
9
<html lang="#LANG">
9
<html lang="#LANG">
10
<BOUCLE_principale(RUBRIQUES){id_rubrique}{doublons}> 
10
<BOUCLE_principale(RUBRIQUES){id_rubrique}{doublons}> 
11
<head>
11
<head>
12
<title>[(#TITRE|supprimer_numero)]</title>
12
<title>[(#TITRE|supprimer_numero)]</title>
13
<meta http-equiv="Content-Type" content="text/html; charset=#CHARSET">
13
<meta http-equiv="Content-Type" content="text/html; charset=#CHARSET">
-
 
14
<meta http-equiv="Content-Type" content="text/html; charset=#CHARSET" />
-
 
15
<meta http-equiv="Content-style-type" content="text/css" />
-
 
16
<meta http-equiv="Content-language" content="fr" />
-
 
17
 
-
 
18
<meta name="revisit-after" content="15 days" />
-
 
19
<meta name="robots" content="index,follow" />
-
 
20
<meta name="author" content="Tela Botanica - Gabriel Bernard et Tamara Le Bourg" />
-
 
21
<meta name="description" content="Site de publication des actualit�s concernant la botanique francophone" />
14
<INCLURE(incl_link_entete.php)>
22
<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" />
-
 
23
 
-
 
24
<link rel="stylesheet" type="text/css" media="screen" href="/sites/commun/fr/styles/commun_simple.css" />
-
 
25
    <script type="text/javascript" src="/sites/commun/fr/scripts/commun.js"></script>    
-
 
26
    <style type="text/css" media="screen">
-
 
27
      <!-- @import "/sites/commun/fr/styles/commun_complexe.css";
-
 
28
      @import "/actu/css/actu.css";
-
 
29
      @import "/actu/css/rubrique28.css"-->
-
 
30
    </style>
-
 
31
    <link rel="stylesheet" type="text/css" media="print" href="/sites/commun/fr/styles/impression.css" />
-
 
32
    <link rel="shortcut icon" type="image/x-icon" href="/sites/commun/generique/images/favicones/tela_botanica.ico" />
-
 
33
    <link rel="icon" type="image/png" href="/sites/commun/generique/images/favicones/tela_botanica.png" />
-
 
34
    <link rel="alternate" type="application/xml" title="R&eacute;cents articles en XML (RSS)" href="/articles/xml/" />
15
</head>
35
</head>
16
 
36
 
17
<body >
37
<body >
18
<div id="reducteur">
38
<div id="reducteur">
19
<INCLURE(incl_bandeau.php)>
39
<INCLURE(incl_bandeau.php)>
20
 
40
 
21
<!-- Parcours de navigation --><div id="droite">
41
<!-- Parcours de navigation --><div id="droite">
22
<div id="pos_recherche"> Vous &ecirc;tes ici : <a href="sommaire.php3"> Accueil </a> &gt;
42
<div id="pos_recherche"> Vous &ecirc;tes ici : <a href="sommaire.php3"> Accueil </a> &gt;
23
           <BOUCLE_hier(HIERARCHIE) {id_rubrique}>
43
           <BOUCLE_hier(HIERARCHIE) {id_rubrique}>
24
            <a href="#URL_RUBRIQUE">[(#TITRE|couper{30}|supprimer_numero)]</a> &gt;
44
            <a href="#URL_RUBRIQUE">[(#TITRE|couper{30}|supprimer_numero)]</a> &gt;
25
            </BOUCLE_hier>[(#TITRE|supprimer_numero|couper{30})]
45
            </BOUCLE_hier>[(#TITRE|supprimer_numero|couper{30})]
26
</div>
46
</div>
27
<INCLURE(incl_mot_recherche.php)>
47
<INCLURE(incl_mot_recherche.php)>
28
<!-- Corps de la page -->
48
<!-- Corps de la page -->
29
 
49
 
30
<div id="contenu">
50
<div id="contenu">
31
 
51
 
32
        <!-- Rubriques -->
52
        <!-- Rubriques -->
33
        <BOUCLE_corps_rubriques(RUBRIQUES){id_rubrique}>
53
        <BOUCLE_corps_rubriques(RUBRIQUES){id_rubrique}>
34
 
54
 
35
            <!-- Articles de la rubrique -->
55
            <!-- Articles de la rubrique -->
36
                    <BOUCLE_articles_rubrique(ARTICLES){id_secteur}{par date} {inverse}{debut_article,15}> 
56
                    <BOUCLE_articles_rubrique(ARTICLES){id_secteur}{par date} {inverse}{debut_article,15}> 
37
                    <div class="menu_titre">
57
                    <div class="menu_titre">
38
                        <div class="intituler_rubrique"><a href="#URL_ARTICLE">#TITRE</a></div>
58
                        <div class="intituler_rubrique"><a href="#URL_ARTICLE">#TITRE</a></div>
39
                                                <div>
59
                                                <div>
40
                                                <span class="date">[(#DATE|nom_jour)] [(#DATE|affdate)] <B_auteurs_un><:par_auteur:> <BOUCLE_auteurs_un(AUTEURS) {id_article} {", "}>#NOM</span></BOUCLE_auteurs_un>
60
                                                <span class="date">[(#DATE|nom_jour)] [(#DATE|affdate)] <B_auteurs_un><:par_auteur:> <BOUCLE_auteurs_un(AUTEURS) {id_article} {", "}>#NOM</span></BOUCLE_auteurs_un>
41
                                                <BOUCLE_rub_art(RUBRIQUES){id_rubrique}{0,1}>
61
                                                <BOUCLE_rub_art(RUBRIQUES){id_rubrique}{0,1}>
42
                                                    [ - <span class="lien_rub">(#TITRE|supprimer_numero)</span>]
62
                                                    [ - <span class="lien_rub">(#TITRE|supprimer_numero)</span>]
43
                                                    </BOUCLE_rub_art>
63
                                                    </BOUCLE_rub_art>
44
                                                </div>
64
                                                </div>
45
                    </div>
65
                    </div>
46
                            </BOUCLE_articles_rubrique> 
66
                            </BOUCLE_articles_rubrique> 
47
                        <!-- article: number ? -->
67
                        <!-- article: number ? -->
48
                        <?php $nb_art_total=0; ?>
68
                        <?php $nb_art_total=0; ?>
49
                        <BOUCLE_art_count(ARTICLES){id_secteur}>
69
                        <BOUCLE_art_count(ARTICLES){id_secteur}>
50
                        <?php $nb_art_total++ ?> 
70
                        <?php $nb_art_total++ ?> 
51
                        </BOUCLE_art_count> 
71
                        </BOUCLE_art_count> 
52
                        <?php 
72
                        <?php 
53
            if ($nb_art_total > $nb_affiche) {
73
            if ($nb_art_total > $nb_affiche) {
54
                echo "<div id=\"postarticle\">Pages&nbsp;:&nbsp;";
74
                echo "<div id=\"postarticle\">Pages&nbsp;:&nbsp;";
55
                if ($debut_article >= $nb_affiche) {
75
                if ($debut_article >= $nb_affiche) {
56
                    echo "<a href=\"rubrique.php3?id_rubrique=#ID_RUBRIQUE&debut_article=".($debut_article-$nb_affiche)."\">Page pr&eacute;c&eacute;dente</a>&nbsp;";
76
                    echo "<a href=\"rubrique.php3?id_rubrique=#ID_RUBRIQUE&debut_article=".($debut_article-$nb_affiche)."\">Page pr&eacute;c&eacute;dente</a>&nbsp;";
57
                }
77
                }
58
                for ($article = 0, $page = 1; $article < $nb_art_total; $article += $nb_affiche, $page++) {
78
                for ($article = 0, $page = 1; $article < $nb_art_total; $article += $nb_affiche, $page++) {
59
                    if ($debut_article != $article) {
79
                    if ($debut_article != $article) {
60
                        echo "<a href=\"rubrique.php3?id_rubrique=#ID_RUBRIQUE&debut_article=$article\">$page</a>&nbsp;" ;
80
                        echo "<a href=\"rubrique.php3?id_rubrique=#ID_RUBRIQUE&debut_article=$article\">$page</a>&nbsp;" ;
61
                    } else {
81
                    } else {
62
                        echo $page."&nbsp;" ;
82
                        echo $page."&nbsp;" ;
63
                    }
83
                    }
64
                }
84
                }
65
                if ($debut_article + $nb_affiche <$nb_art_total) {
85
                if ($debut_article + $nb_affiche <$nb_art_total) {
66
                ?>
86
                ?>
67
                            <a href="rubrique.php3?id_rubrique=#ID_RUBRIQUE&debut_article=<?php echo $debut_article + $nb_affiche; ?>">Page suivante</a>
87
                            <a href="rubrique.php3?id_rubrique=#ID_RUBRIQUE&debut_article=<?php echo $debut_article + $nb_affiche; ?>">Page suivante</a>
68
                            <?php } ?>
88
                            <?php } ?>
69
                        <br />Nombre total d'articles de la rubrique : <?php echo $nb_art_total; ?>
89
                        <br />Nombre total d'articles de la rubrique : <?php echo $nb_art_total; ?>
70
                        <?php 
90
                        <?php 
71
                echo "</div>";
91
                echo "</div>";
72
                        }
92
                        }
73
                        ?>
93
                        ?>
74
 
94
 
75
 
95
 
76
        </BOUCLE_corps_rubriques>
96
        </BOUCLE_corps_rubriques>
77
</div>
97
</div>
78
<INCLURE(incl_footer.php)>
98
<INCLURE(incl_footer.php)>
79
</div>
99
</div>
80
<!-- Menu de navigation rubriques -->
100
<!-- Menu de navigation rubriques -->
81
 
101
 
82
<div id="nav_gauche">
102
<div id="nav_gauche">
83
<INCLURE(incl_logo_tela.php)>
103
<INCLURE(incl_logo_tela.php)>
84
<INCLURE(incl_changer_monde.php)>
104
<INCLURE(incl_changer_monde.php)>
85
<?php $rub = "#ID_SECTEUR" ;?>
105
<?php $rub = "#ID_SECTEUR" ;?>
86
<INCLURE(incl_menu_gauche.php)>
106
<INCLURE(incl_menu_gauche.php)>
87
<INCLURE(incl_identification_ellipse.php)>
107
<INCLURE(incl_identification_ellipse.php)>
88
 
108
 
89
</div>
109
</div>
90
<INCLURE(incl_footer_print.php)>
110
<INCLURE(incl_footer_print.php)>
91
</div>
111
</div>
92
</BOUCLE_principale>
112
</BOUCLE_principale>
93
 
113
 
94
</body>
114
</body>
95
</html>
115
</html>