add a 4th option : tag_and_drop_spams, that discards mails that have a tag-spam
[platal.git] / templates / stats / nb_by_promo.tpl
1 {**************************************************************************}
2 {*                                                                        *}
3 {*  Copyright (C) 2003-2004 Polytechnique.org                             *}
4 {*  http://opensource.polytechnique.org/                                  *}
5 {*                                                                        *}
6 {*  This program is free software; you can redistribute it and/or modify  *}
7 {*  it under the terms of the GNU General Public License as published by  *}
8 {*  the Free Software Foundation; either version 2 of the License, or     *}
9 {*  (at your option) any later version.                                   *}
10 {*                                                                        *}
11 {*  This program is distributed in the hope that it will be useful,       *}
12 {*  but WITHOUT ANY WARRANTY; without even the implied warranty of        *}
13 {*  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *}
14 {*  GNU General Public License for more details.                          *}
15 {*                                                                        *}
16 {*  You should have received a copy of the GNU General Public License     *}
17 {*  along with this program; if not, write to the Free Software           *}
18 {*  Foundation, Inc.,                                                     *}
19 {*  59 Temple Place, Suite 330, Boston, MA  02111-1307  USA               *}
20 {*                                                                        *}
21 {**************************************************************************}
22
23
24 <h1>
25   Inscrits par promo
26 </h1>
27
28 <p>
29 Voici le nombre d'inscrits par promo :
30 </p>
31
32 <table class="bicol" cellpadding="3" cellspacing="0" summary="Statistiques">
33   <tr>
34     <th></th>
35     <th>0</th><th>1</th><th>2</th><th>3</th><th>4</th>
36     <th>5</th><th>6</th><th>7</th><th>8</th><th>9</th>
37   </tr>
38   {foreach item=nb10 key=lustre from=$nbs}
39   <tr>
40     <th>{$lustre}-</th>
41     {foreach item=nb from=$nb10}
42     <td class="center">
43       {if $nb && $nb.promo eq $smarty.request.promo}
44       <span class='erreur'>{$nb.nb}</span>
45       {elseif $nb}
46       <a href="?promo={$nb.promo}">{$nb.nb}</a>
47       {else}
48       -
49       {/if}
50     </td>
51     {/foreach}
52   </tr>
53   {/foreach}
54 </table>
55
56 {if $smarty.request.promo}
57
58 <p class='center'>
59 [<a href="{$smarty.server.PHP_SELF}">rĂ©partition des inscrits par promo</a>]
60 </p>
61
62 <h1>Courbe d'inscription de la promo {$smarty.request.promo}</h1>
63
64 <div class="center">
65   <img src="{"stats/graph_promo.php"|url}?promo={$smarty.request.promo}" alt=" [ INSCRITS ] " />
66 </div>
67
68 {else}
69
70 <h1>Inscrits par promo en (%)</h1>
71
72 <div class="center">
73   <img src="{"stats/graph_by_promo.php"|url}" alt="[graphe du nombre d'inscrits par promo]" />
74 </div>
75
76 {/if}
77
78
79 {* vim:set et sw=2 sts=2 sws=2: *}