287edc53a810f5fc1b482dc269b986e3d8180759
[platal.git] / templates / marketing / this_week.tpl
1 {**************************************************************************}
2 {*                                                                        *}
3 {*  Copyright (C) 2003-2006 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>Inscrits des 7 derniers jours</h1>
25
26 <p>
27 {$ins->total()} Polytechniciens se sont inscrits ces 7 derniers jours !
28 </p>
29
30 <div class="right">
31   [<a href="{rel}/marketing/this_week?sort=date_ins">par date</a>]
32   [<a href="{rel}/marketing/this_week?sort=promo">par promo</a>]
33 </div>
34
35 <table class="tinybicol">
36   <tr>
37     <th>Inscription</th>
38     <th>Promo</th>
39     <th>Nom</th>
40   </tr>
41 {iterate item=in from=$ins}
42   <tr class="{cycle values="impair,pair"}">
43     <td class="center">{$in.date_ins|date_format:"%x %X"}</td>
44     <td class="center">
45       <a href="{rel}/marketing/promo/{$in.promo}">{$in.promo}</a>
46     </td>
47     <td>
48       <a href="{"fiche.php"|url}?user={$in.forlife}" class="popup2">
49         {$in.nom} {$in.prenom}</a>
50     </td>
51   </tr>
52 {/iterate}
53 </table>
54
55 <div class="right">
56   [<a href="{rel}/marketing/this_week/per_date">par date</a>]
57   [<a href="{rel}/marketing/this_week/per_promo">par promo</a>]
58 </div>
59
60
61 {* vim:set et sw=2 sts=2 sws=2: *}