Happy New Year!
[platal.git] / templates / stats / nb_by_promo.tpl
CommitLineData
0337d704 1{**************************************************************************}
2{* *}
5e1513f6 3{* Copyright (C) 2003-2011 Polytechnique.org *}
0337d704 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
bf2692e3 23<h1>Inscrits par promo</h1>
0337d704 24
25<p>
e8439508 26Voici le nombre d'inscrits par promo&nbsp;:
0337d704 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">
bf2692e3 40 {if $nb && $nb.promo eq $promo}
0337d704 41 <span class='erreur'>{$nb.nb}</span>
42 {elseif $nb}
7b2413f6 43 <a href="stats/promos/{$nb.promo}">{$nb.nb}</a>
0337d704 44 {else}
45 -
46 {/if}
47 </td>
48 {/foreach}
49 </tr>
50 {/foreach}
51</table>
52
bf2692e3 53{if $promo}
0337d704 54
55<p class='center'>
a7de4ef7 56[<a href="stats/promos">répartition des inscrits par promo</a>]
0337d704 57</p>
58
bf2692e3 59<h1>Courbe d'inscription de la promo {$promo}</h1>
0337d704 60
61<div class="center">
7b2413f6 62 <img src="stats/graph/{$promo}" alt=" [ INSCRITS ] " />
0337d704 63</div>
64
65{else}
66
67<h1>Inscrits par promo en (%)</h1>
68
69<div class="center">
7b2413f6 70 <img src="stats/graph/all" alt="[graphe du nombre d'inscrits par promo]" />
0337d704 71</div>
72
73{/if}
74
75
a7de4ef7 76{* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}