Subversion Repositories eFlore/Applications.cel

Rev

Go to most recent revision | Blame | Last modification | View Log | RSS feed

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr" lang="fr">
        <head>
                <meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
                <meta http-equiv="Content-style-type" content="text/css" />
                <meta http-equiv="Content-script-type" content="text/javascript" />
                <meta http-equiv="Content-language" content="fr" />
                
                <meta name="revisit-after" content="15 days" />
        <meta name="robots" content="index,follow" />
        <meta name="author" content="Jean-Pascal MILCENT" />
        <meta name="keywords" content="Statistiques, CEL, Tela Botanica, graphiques" />
        <meta name="description" content="Graphiques et statistiques sur les observations et images du Carnet en Ligne (CEL)" />

                <title>Statistiques du Carnet En Ligne</title>
                <style>
                        img{display:block;margin:0.5em;border:1px solid black;}
                        hr.nettoyeur {clear:both;width:0;}
                        .flottant-gauche img{float:left;}
                </style>

                <link rel="stylesheet" type="text/css" href="http://www.tela-botanica.org/commun/bootstrap/3.1.0/css/bootstrap.min.css" />
                
                <!-- Stats : Google Analytics -->
                <script type="text/javascript">
                        //<![CDATA[
                        var _gaq = _gaq || [];
                        _gaq.push(['_setAccount', 'UA-20092557-1']);
                        _gaq.push(['_trackPageview']);
                        
                        (function() {
                          var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
                          ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
                          var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
                        })();
                        //]]>
                </script>
        </head>

        <body>
                <h1>Statistiques du CEL</h1>
                <h2>Les <?= $donnees['entete']->nombre ?> plus importants contributeurs depuis <?= $donnees['entete']->jours ?> jours</h2>
                <table class="table">
                        <tr>
                                <td>Contributeur(trice)</td>
                                <?php if($donnees['entete']->critere != "img"): ?>
                                        <td>Nombre d'observations</td>
                                <?php endif; ?>
                                <?php if($donnees['entete']->critere != "obs"): ?>
                                        <td>Nombre d'images</td>
                                <?php endif; ?>
                                <?php if($donnees['entete']->critere == null): ?>
                                        <td>Somme des données publiées</td>
                                <?php endif; ?>
                        </tr>
                        <?php foreach($donnees['resultats'] as $util): ?>
                        <tr>
                                <td><?= $util->intitule_utilisateur ?></td>
                                <?php if($donnees['entete']->critere != "img"): ?>
                                        <td><?= $util->nombreObs ?></td>
                                <?php endif; ?>
                                <?php if($donnees['entete']->critere != "obs"): ?>
                                        <td><?= $util->nombreImg ?></td>
                                <?php endif; ?>
                                <?php if($donnees['entete']->critere == null): ?>
                                        <td><?= $util->somme ?></td>
                                <?php endif; ?>
                        </tr>
                        <?php endforeach; ?>
                </table>

                <?php include('navigation.tpl.html') ?>
         </body>
</html>