{**************************************************************************}
{* *}
-{* Copyright (C) 2003-2006 Polytechnique.org *}
+{* Copyright (C) 2003-2010 Polytechnique.org *}
{* http://opensource.polytechnique.org/ *}
{* *}
{* This program is free software; you can redistribute it and/or modify *}
<h1>Inscrits des 7 derniers jours</h1>
<p>
-{$ins->total()} Polytechniciens se sont inscrits ces 7 derniers jours !
+{$users|@count} Polytechniciens se sont inscrits ces 7 derniers jours !
</p>
<div class="right">
- [<a href="{rel}/marketing/this_week?sort=date_ins">par date</a>]
- [<a href="{rel}/marketing/this_week?sort=promo">par promo</a>]
+ [<a href="marketing/this_week?sort=date_ins">par date</a>]
+ [<a href="marketing/this_week?sort=promo">par promo</a>]
</div>
<table class="tinybicol">
<th>Promo</th>
<th>Nom</th>
</tr>
-{iterate item=in from=$ins}
+{foreach item=user from=$users}
<tr class="{cycle values="impair,pair"}">
- <td class="center">{$in.date_ins|date_format:"%x %X"}</td>
+ <td class="center">{$user->registration_date|date_format:"%x %X"}</td>
<td class="center">
- <a href="{rel}/marketing/promo/{$in.promo}">{$in.promo}</a>
+ <a href="marketing/promo/{$user->promo()}">{$user->promo()}</a>
</td>
<td>
- <a href="{"fiche.php"|url}?user={$in.forlife}" class="popup2">
- {$in.nom} {$in.prenom}</a>
+ {profile user=$user}
</td>
</tr>
-{/iterate}
+{/foreach}
</table>
<div class="right">
- [<a href="{rel}/marketing/this_week?sort=date_ins">par date</a>]
- [<a href="{rel}/marketing/this_week?sort=promo">par promo</a>]
+ [<a href="marketing/this_week/per_date">par date</a>]
+ [<a href="marketing/this_week/per_promo">par promo</a>]
</div>
-{* vim:set et sw=2 sts=2 sws=2: *}
+{* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}