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 | |
23 | |
24 | <h1>Inscrits des 7 derniers jours</h1> |
25 | |
26 | <p> |
e46cf8c4 |
27 | {$users|@count} Polytechniciens se sont inscrits ces 7 derniers jours ! |
0337d704 |
28 | </p> |
29 | |
30 | <div class="right"> |
7b2413f6 |
31 | [<a href="marketing/this_week?sort=date_ins">par date</a>] |
32 | [<a href="marketing/this_week?sort=promo">par promo</a>] |
0337d704 |
33 | </div> |
34 | |
35 | <table class="tinybicol"> |
36 | <tr> |
37 | <th>Inscription</th> |
38 | <th>Promo</th> |
39 | <th>Nom</th> |
40 | </tr> |
38c6fe96 |
41 | {foreach item=user from=$users} |
0337d704 |
42 | <tr class="{cycle values="impair,pair"}"> |
38c6fe96 |
43 | <td class="center">{$user->registration_date|date_format:"%x %X"}</td> |
0337d704 |
44 | <td class="center"> |
38c6fe96 |
45 | <a href="marketing/promo/{$user->promo()}">{$user->promo()}</a> |
0337d704 |
46 | </td> |
47 | <td> |
38c6fe96 |
48 | {profile user=$user} |
0337d704 |
49 | </td> |
50 | </tr> |
38c6fe96 |
51 | {/foreach} |
0337d704 |
52 | </table> |
53 | |
54 | <div class="right"> |
7b2413f6 |
55 | [<a href="marketing/this_week/per_date">par date</a>] |
56 | [<a href="marketing/this_week/per_promo">par promo</a>] |
0337d704 |
57 | </div> |
58 | |
59 | |
a7de4ef7 |
60 | {* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *} |