geoloc: validation html et ajout d'un lien de menu
[platal.git] / templates / stats / evolution_inscrits.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   Evolution du nombre d'inscrits au site polytechnique.org
26 </h1>
27
28 <div class="center">
29 {if $smarty.request.jours eq 1826}
30 [<strong>depuis 5 ans</strong>]
31 {else}
32 [<a href="?jours=1826">depuis 5 ans</a>]
33 {/if}
34 {if $smarty.request.jours eq 731}
35 [<strong>depuis 2 ans</strong>]
36 {else}
37 [<a href="?jours=731">depuis 2 ans</a>]
38 {/if}
39 {if (!$smarty.request.jours) or ($smarty.request.jours eq 364)}
40 [<strong>depuis un an</strong>]
41 {else}
42 [<a href="?jours=364">depuis un an</a>]
43 {/if}
44 {if $smarty.request.jours eq 30}
45 [<strong>depuis un mois</strong>]
46 {else}
47 [<a href="?jours=30">depuis 1 mois</a>]
48 {/if}
49 </div>
50 <div class="center">
51   <img src="{"stats/graph_evolution.php?jours="|url}{$smarty.request.jours}" alt=" [ INSCRITS ] " />
52 </div>
53
54 {* vim:set et sw=2 sts=2 sws=2: *}