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 | <h1>Marketing volontaire</h1> |
24 | |
25 | <p> |
e8439508 |
26 | Choix de la promo : |
0337d704 |
27 | </p> |
28 | <p> |
29 | {foreach from=$promos item=p} |
7b2413f6 |
30 | <a href="marketing/volontaire/{$p}">{$p}</a> |
0337d704 |
31 | {cycle values=",,,,,,,,,,,,,,<br />"} |
32 | {/foreach} |
33 | </p> |
34 | |
35 | {if $addr} |
36 | |
7b2413f6 |
37 | <p>[<a href="marketing/promo/{$platal->argv[1]}">Marketing promo pour la promo {$platal->argv[1]}</a>]</p> |
0337d704 |
38 | |
39 | {if $addr->total()} |
40 | <h2>Marketing volontaire</h2> |
a7de4ef7 |
41 | <table class="bicol" cellpadding="3" summary="Adresses déjà utilisées"> |
0337d704 |
42 | <tr> |
a7de4ef7 |
43 | <th>Camarade concerné</th> |
0337d704 |
44 | <th>Adresse email</th> |
45 | <th>"informateur"</th> |
46 | </tr> |
47 | {iterate from=$addr item=it} |
48 | <tr class="{cycle values="pair,impair"}"> |
38c6fe96 |
49 | <td><a href="marketing/private/{$it.uid}">{profile user=$it.uid link=false promo=true}</a></td> |
0337d704 |
50 | <td>{$it.email}</td> |
51 | <td>{$it.forlife}</td> |
52 | </tr> |
53 | {/iterate} |
54 | </table> |
55 | {else} |
56 | <p> |
57 | pas d'informations pour les gens de cette promo |
58 | </p> |
59 | {/if} |
60 | {/if} |
61 | |
a7de4ef7 |
62 | {* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *} |