Happy New Year !
[platal.git] / templates / stats / evolution_inscrits.tpl
1 {**************************************************************************}
2 {*                                                                        *}
3 {*  Copyright (C) 2003-2013 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>Évolution du nombre d'inscrits au site polytechnique.org</h1>
24
25 <div class="center">
26 {if $days eq 3650}
27 [<strong>depuis 10 ans</strong>]
28 {else}
29 [<a href="stats/evolution/3650">depuis 10 ans</a>]
30 {/if}
31 {if $days eq 1825}
32 [<strong>depuis 5 ans</strong>]
33 {else}
34 [<a href="stats/evolution/1825">depuis 5 ans</a>]
35 {/if}
36 {if $days eq 730}
37 [<strong>depuis 2 ans</strong>]
38 {else}
39 [<a href="stats/evolution/730">depuis 2 ans</a>]
40 {/if}
41 {if $days eq 365}
42 [<strong>depuis un an</strong>]
43 {else}
44 [<a href="stats/evolution/365">depuis un an</a>]
45 {/if}
46 {if $days eq 30}
47 [<strong>depuis un mois</strong>]
48 {else}
49 [<a href="stats/evolution/30">depuis 1 mois</a>]
50 {/if}
51 </div>
52 <div class="center">
53   <img src="stats/graph/evolution/{$days}" alt=" [ INSCRITS ] " />
54 </div>
55
56 {* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}