Grumpf, missing file
[platal.git] / templates / stats / profile.tpl
1 {**************************************************************************}
2 {*                                                                        *}
3 {*  Copyright (C) 2003-2008 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   Fiches les plus consultées
26 </h1>
27
28 <ul>
29   <li>
30     {if $period neq 'overall'}<a href="stats/profile/overall">{/if}
31     Classement de tous les temps
32     {if $period neq 'overall'}</a>{/if}
33   </li>
34   <li>
35     {if $period neq 'year'}<a href="stats/profile/year">{/if}
36     Classement sur l'année écoulée
37     {if $period neq 'year'}</a>{/if}
38  </li>
39  <li>
40     {if $period neq 'month'}<a href="stats/profile/month">{/if}
41     Classement sur le mois écoulé
42     {if $period neq 'month'}</a>{/if}
43  </li>
44  <li>
45     {if $period neq 'week'}<a href="stats/profile/week">{/if}
46     Classement sur la semaine écoulée
47     {if $period neq 'week'}</a>{/if}
48  </li>
49
50 </ul>
51
52 <table class="tinybicol">
53   <tr>
54     <th>Nom</th>
55     {if hasPerms('admin')}<th>Consultations</th>{/if}
56   </tr>
57   {iterate from=$profiles item=profile}
58   <tr class="{cycle values="pair,impair"}">
59     <td><a href="profile/{$profile.forlife}" class="popup">{$profile.prenom} {$profile.nom} (X{$profile.promo})</a></td>
60     {if hasPerms('admin')}<td class="right">{$profile.count}</td>{/if}
61   </tr>
62   {/iterate}
63 </table>
64
65 {* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}