Convert source code to UTF-8
[platal.git] / templates / stats / nb_by_promo.tpl
1 {**************************************************************************}
2 {*                                                                        *}
3 {*  Copyright (C) 2003-2007 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 <h1>Inscrits par promo</h1>
24
25 <p>
26 Voici le nombre d'inscrits par promo :
27 </p>
28
29 <table class="bicol" cellpadding="3" cellspacing="0" summary="Statistiques">
30   <tr>
31     <th></th>
32     <th>0</th><th>1</th><th>2</th><th>3</th><th>4</th>
33     <th>5</th><th>6</th><th>7</th><th>8</th><th>9</th>
34   </tr>
35   {foreach item=nb10 key=lustre from=$nbs}
36   <tr>
37     <th>{$lustre}-</th>
38     {foreach item=nb from=$nb10}
39     <td class="center">
40       {if $nb && $nb.promo eq $promo}
41       <span class='erreur'>{$nb.nb}</span>
42       {elseif $nb}
43       <a href="stats/promos/{$nb.promo}">{$nb.nb}</a>
44       {else}
45       -
46       {/if}
47     </td>
48     {/foreach}
49   </tr>
50   {/foreach}
51 </table>
52
53 {if $promo}
54
55 <p class='center'>
56 [<a href="stats/promos">rĂ©partition des inscrits par promo</a>]
57 </p>
58
59 <h1>Courbe d'inscription de la promo {$promo}</h1>
60
61 <div class="center">
62   <img src="stats/graph/{$promo}" alt=" [ INSCRITS ] " />
63 </div>
64
65 {else}
66
67 <h1>Inscrits par promo en (%)</h1>
68
69 <div class="center">
70   <img src="stats/graph/all" alt="[graphe du nombre d'inscrits par promo]" />
71 </div>
72
73 {/if}
74
75
76 {* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}