/_squelettes_/forum_spipBB/branches/spip-1.9/statistiquesBB.html
HTML | 137 lines | 91 code | 40 blank | 6 comment | 0 complexity | 78fabbe8c4e82f49091c4b6a39bd02a9 MD5 | raw file
- <?php
- // Disable caching
- @header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
- @header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
- @header("Cache-Control: no-store, no-cache, must-revalidate");
- @header("Cache-Control: post-check=0, pre-check=0", false);
- @header("Pragma: no-cache");
- ?>
-
-
-
-
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
- <BOUCLE_rubrique_principal(RUBRIQUES) {id_rubrique}>
- <html lang="#LANG">
- <head>
- <title>[#NOM_SITE_SPIP] - [(#TITRE|supprimer_numero)] </title>
- <meta http-equiv="Content-Type" content="text/html; charset=#CHARSET">
- <!-- Ceci est la feuille de style par defaut pour les types internes a SPIP -->
- <link rel="stylesheet" href="[(#CHEMIN{spip_style.css}|direction_css)]" type="text/css">
- <!-- Les feuilles de style specifiques aux presents squelettes -->
- <link rel="stylesheet" href="[(#CHEMIN{spip_forum.css}|direction_css)]" type="text/css">
- <!-- Lien vers le backend pour navigateurs eclaires -->
- <link rel="alternate" type="application/rss+xml" title="<:syndiquer_site:>" href="spip.php?page=backend">
- </head>
- <body id="forumsect" dir="#LANG_DIR">
- <?php
- require("bbclone/var/access.php");
- $totalvisits = $access["stat"]["totalvisits"];
- $totalcount = $access["stat"]["totalcount"];
- $visitorsmonth = $access["time"]["month"][date("n")-1];
- $visitorstoday = $access["time"]["wday"][date("w")];
- $wday = $access["time"]["wday"];
- for($week = 0; list(,$wdays) = each($wday); $week += $wdays);
- ?>
- <a name="haut"></a>
- <div id="contenant">
- <INCLURE{fond=entete_BB}{id_rubrique}>
- <h2><:icone_statistiques_visites:></h2>
- <div id="corps"> <!-- Section contenant les données -->
- <hr class="clr" /> <!-- Permet l'affichage correctement pour certaines versions de safari -->
- <p class="nav"><a href="#URL_RUBRIQUE">[(#TITRE|supprimer_numero)]</a></p>
- <p style="float:right;margin-bottom: 1em; padding-top:10px ; margin-right:10px"><a href="spip.php?page=nouveaux_messages&id_rubrique=#ID_RUBRIQUE"><:phpbb:voir_messages:></a></p>
-
- <!-- boucles principales -->
- <B_categories>
-
- <hr class="clr" /> <!-- Permet l'affichage correctement pour certaines versions de safari -->
- <table class="spipforum">
- <thead>
- <tr>
- <th colspan="2" class="tforum"><:phpbb:visiteurs_uniques:></th>
- <th class="tsujets"><:phpbb:visites_jour:></th>
- <th class="tmsg"><:phpbb:visites_semaine:></th>
- <th class="tdermsg"><:phpbb:visites_mois:></th>
- </tr>
-
- <tr class="salon">
- <td colspan="2" class="salontitre" style="text-align:center"> <?php echo $totalcount ; ?> </td>
- <td class="salonreste" style="text-align:center"><?php echo $visitorstoday ?></td>
- <td class="salonreste" style="text-align:center"><?php echo $week ; ?></td>
- <td style="text-align:center">
- <?php echo $visitorsmonth ; ?>
-
- </td>
- </tr>
- <tr>
- <th colspan="2" class="tforum"><:titre_forum:></th>
- <th class="tsujets" colspan="3"><:phpbb:pages_vues:></th>
-
- </tr>
- </thead>
-
-
-
- <BOUCLE_categories(RUBRIQUES){id_parent}{par num titre}>
- <tr class="salon">
- <td colspan="2" class="salontitre">[<h2><a href="#URL_RUBRIQUE">(#TITRE|supprimer_numero)</a></h2>]</td>
- <td colspan="3" class="salonreste"> </td>
- </tr>
- <BOUCLE_forums(ARTICLES){id_rubrique}{par num titre}>
- <tr class="forumligne">
- <B_etat><BOUCLE_etat(ARTICLES){id_article}{titre_mot=Fermé}><td class="etatfor fermfor"><span><:phpbb:forum_ferme:></BOUCLE_etat></B_etat><td class="etatfor ouvfor"><span><:titre_forum:><//B_etat></span></td>
- <td class="titre">[<h3><a title="<:phpbb:voir_evolution:>" href="ecrire/?exec=statistiques_visites&id_article=#ID_ARTICLE">(#TITRE|supprimer_numero)</a></h3><br/>]
- <!-- Ici les Modérateurs --></td>
-
- <td class="msgsuj" colspan="3">
- <? echo $access["page"]["Forum #ID_ARTICLE"]["count"] ; ?>
- </td>
- </tr>
- </BOUCLE_forums>
- </BOUCLE_categories>
-
- </table>
- </B_categories>
-
-
- </div> <!-- Fin de la Section corps -->
-
- <!-- BEGIN switch_user_logged_out -->
- <?php if(!$GLOBALS['auteur_session']) { ?>
-
- <div class="login"> <!-- Section de login -->
- <p><:phpbb:login:></p>
- #LOGIN_PUBLIC
- </div>
- <?php }else{?><div style="text-align:center;margin:10px"><a href="http://www.bbclone.de">BBclone</a></div> <?php } ?>
- <!-- END switch_user_logged_out -->
-
-
- <INCLURE{fond=pied_BB}{id_rubrique}>
- </div><!--Fin de la section contenant-->
- </body>
- </html>
- </BOUCLE_rubrique_principal>
- <:aucune_rubrique:>
- <//B_rubrique_principal>