| Line 17... |
Line 17... |
| 17 |
<a href="#nav_gauche">Aller aux menus</a>
|
17 |
<a href="#nav_gauche">Aller aux menus</a>
|
| 18 |
<a href="#contenu_accueil">Aller au texte</a>
|
18 |
<a href="#contenu_accueil">Aller au texte</a>
|
| 19 |
<a href="#info_dte">Aller aux infos</a>
|
19 |
<a href="#info_dte">Aller aux infos</a>
|
| 20 |
</div>
|
20 |
</div>
|
| 21 |
<INCLURE(incl_bandeau.php)>
|
21 |
<INCLURE(incl_bandeau.php)>
|
| 22 |
<!-- Parcours de navigation -->
|
- |
|
| 23 |
<div id="pos_recherche">Vous êtes ici : Accueil : <:derniers_articles:>
|
- |
|
| 24 |
</div>
|
- |
|
| 25 |
<INCLURE(incl_mot_recherche.php)>
|
- |
|
| 26 |
<div id="droite">
|
22 |
<div id="droite">
|
| - |
|
23 |
<!-- Parcours de navigation -->
|
| - |
|
24 |
<div id="pos_recherche">Vous êtes ici : Accueil : <:derniers_articles:>
|
| - |
|
25 |
</div>
|
| - |
|
26 |
<INCLURE(incl_mot_recherche.php)>
|
| 27 |
<div id="contenu_accueil">
|
27 |
<div id="contenu">
|
| 28 |
<div id="info_dte">
|
28 |
<div id="info_dte">
|
| 29 |
<INCLURE(incl_rss.php)>
|
29 |
<INCLURE(incl_rss.php)>
|
| 30 |
</div>
|
30 |
</div>
|
| 31 |
<!-- Une : derniers articles publies -->
|
31 |
<!-- Une : derniers articles publies -->
|
| 32 |
<BOUCLE_article_un(ARTICLES) {tout} {id_secteur != 28}{par date} {inverse} {debut_article,20}>
|
32 |
<BOUCLE_article_un(ARTICLES) {tout} {id_secteur != 28}{par date} {inverse} {debut_article,20}>
|
| 33 |
<div class="menu_titre">
|
33 |
<div class="menu_titre">
|
| 34 |
<div class="intituler_rubrique"><a href="#URL_ARTICLE">#TITRE</a>
|
34 |
<h1 class="intituler_rubrique"><a href="#URL_ARTICLE">#TITRE</a></h1>
|
| 35 |
</div>
|
35 |
[<a class="logo_article" href="#URL_ARTICLE">(#LOGO_ARTICLE)</a>]
|
| 36 |
<div><span class="date">Mis en ligne [(#DATE|nom_jour)] [(#DATE|affdate)]
|
36 |
<p class="date"> Mis en ligne [(#DATE|nom_jour)] [(#DATE|affdate)]
|
| 37 |
<B_auteurs_un><:par_auteur:> <BOUCLE_auteurs_un(AUTEURS) {id_article} {", "}>#NOM</BOUCLE_auteurs_un></span>
|
37 |
<B_auteurs_un><:par_auteur:> <BOUCLE_auteurs_un(AUTEURS) {id_article} {", "}>#NOM</BOUCLE_auteurs_un>
|
| 38 |
</div>
|
38 |
</p>
|
| 39 |
<div class="descriptif_contenu">[(#INTRODUCTION|couper{400})] <a href="#URL_ARTICLE">Lire la suite ...</a>
|
39 |
<p class="descriptif_contenu">[(#INTRODUCTION|couper{400})] <a href="#URL_ARTICLE">Lire la suite ...</a></p>
|
| 40 |
</div>
|
- |
|
| 41 |
</div>
|
40 |
</div>
|
| - |
|
41 |
<hr/>
|
| 42 |
</BOUCLE_article_un>
|
42 |
</BOUCLE_article_un>
|
| 43 |
</B_article_un>
|
- |
|
| 44 |
<!-- article: number ? -->
|
- |
|
| 45 |
<?php $nb_art_total=0; $nb_affiche=20;
|
- |
|
| 46 |
$requet='select count(*) as nbr from spip_articles where id_secteur<>28 and id_secteur<>45';
|
- |
|
| 47 |
mysql_select_db ('tela_prod_spip_actu');
|
- |
|
| 48 |
$resultat=mysql_query($requet);
|
- |
|
| 49 |
if (!$resultat) echo mysql_error($resultat);
|
- |
|
| 50 |
$ligne=mysql_fetch_object($resultat);
|
- |
|
| 51 |
$nb_art_total= $ligne -> nbr;
|
- |
|
| 52 |
if ($nb_art_total > $nb_affiche) {
|
- |
|
| 53 |
echo "<div id=\"postarticle\">Pages : ";
|
- |
|
| 54 |
if ($debut_article >= $nb_affiche) {
|
- |
|
| 55 |
echo "<a href=\"sommaire.php3?debut_article=".($debut_article-$nb_affiche)."\">Page précédente</a> ";
|
- |
|
| 56 |
}
|
- |
|
| 57 |
for ($article = 0, $page = 1; $article < $nb_art_total; $article += $nb_affiche, $page++) {
|
- |
|
| 58 |
if ($debut_article != $article) {
|
- |
|
| 59 |
echo "<a href=\"sommaire.php3?&debut_article=$article\">$page</a> " ;
|
- |
|
| 60 |
} else {
|
- |
|
| 61 |
echo $page." " ;
|
- |
|
| 62 |
}
|
- |
|
| 63 |
}
|
- |
|
| 64 |
if ($debut_article + $nb_affiche <$nb_art_total) {
|
- |
|
| 65 |
?>
|
- |
|
| 66 |
<a href="sommaire.php3?&debut_article=<?php echo $debut_article + $nb_affiche; ?>">Page suivante</a>
|
- |
|
| 67 |
<?php } ?>
|
- |
|
| 68 |
<br />Nombre total d'articles de la rubrique : <?php echo $nb_art_total; ?>
|
- |
|
| 69 |
<?php
|
- |
|
| 70 |
echo "</div>";
|
- |
|
| 71 |
}
|
- |
|
| 72 |
?>
|
- |
|
| 73 |
</div>
|
43 |
</div>
|
| - |
|
44 |
<!-- article: number ? -->
|
| - |
|
45 |
<?php
|
| - |
|
46 |
$nb_art_total = 0;
|
| - |
|
47 |
$nb_affiche = 20;
|
| - |
|
48 |
$requete = 'SELECT COUNT(*) AS nbr FROM spip_articles WHERE id_secteur <> 28 AND id_secteur <> 45';
|
| - |
|
49 |
mysql_select_db('tela_prod_spip_actu');
|
| - |
|
50 |
$resultat = mysql_query($requete);
|
| - |
|
51 |
if (!$resultat) {
|
| - |
|
52 |
echo mysql_error($resultat);
|
| 74 |
|
53 |
}
|
| - |
|
54 |
$ligne = mysql_fetch_object($resultat);
|
| - |
|
55 |
$nb_art_total = $ligne->nbr;
|
| - |
|
56 |
if ($nb_art_total > $nb_affiche) {
|
| - |
|
57 |
echo '<div id="postarticle"><p>Pages :<br />';
|
| - |
|
58 |
if ($debut_article >= $nb_affiche) {
|
| - |
|
59 |
echo '<a href="sommaire.php3?debut_article='.($debut_article-$nb_affiche).'">Page précédente</a><br />';
|
| 75 |
|
60 |
}
|
| - |
|
61 |
for ($article = 0, $page = 1; $article < $nb_art_total; $article += $nb_affiche, $page++) {
|
| - |
|
62 |
if ($debut_article != $article) {
|
| - |
|
63 |
echo '<a href="sommaire.php3?debut_article='.$article.'">'.$page.'</a> ';
|
| 76 |
</div>
|
64 |
} else {
|
| 77 |
<INCLURE(incl_footer.php)>
|
65 |
echo $page.' ';
|
| - |
|
66 |
}
|
| - |
|
67 |
}
|
| - |
|
68 |
if ($debut_article + $nb_affiche < $nb_art_total) {
|
| - |
|
69 |
echo '<br /><a href="sommaire.php3?debut_article='.($debut_article + $nb_affiche).'">Page suivante</a>';
|
| - |
|
70 |
}
|
| - |
|
71 |
echo '</p>';
|
| - |
|
72 |
echo "<p>Nombre total d'articles de la rubrique : ".$nb_art_total.'</p>';
|
| - |
|
73 |
echo '</div>';
|
| - |
|
74 |
}
|
| - |
|
75 |
?>
|
| Line -... |
Line 76... |
| - |
|
76 |
|
| 78 |
|
77 |
</div>
|
| Line -... |
Line 78... |
| - |
|
78 |
<INCLURE(incl_footer.php)>
|
| 79 |
<!-- Menu de navigation rubriques -->
|
79 |
|
| 80 |
|
80 |
<!-- Menu de navigation rubriques -->
|
| 81 |
<div id="nav_gauche">
|
81 |
<div id="nav_gauche">
|
| 82 |
<INCLURE(incl_logo_tela.php)>
|
82 |
<INCLURE(incl_logo_tela.php)>
|
| 83 |
<INCLURE(incl_changer_monde.php)>
|
83 |
<INCLURE(incl_changer_monde.php)>
|
| 84 |
<INCLURE(incl_menu_gauche.php)>
|
84 |
<INCLURE(incl_menu_gauche.php)>
|
| 85 |
<INCLURE(incl_identification_ellipse.php)>
|
- |
|
| Line 86... |
Line 85... |
| 86 |
</div>
|
85 |
<INCLURE(incl_identification_ellipse.php)>
|
| 87 |
|
86 |
</div>
|
| Line 88... |
Line 87... |
| 88 |
|
87 |
|