Merge branch 'platal-0.10.0'
[platal.git] / templates / marketing / promo.tpl
CommitLineData
0337d704 1{**************************************************************************}
2{* *}
8d84c630 3{* Copyright (C) 2003-2009 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
7b2413f6 23<form action="marketing/promo/" method="post" onsubmit="this.action += this.promo.value">
0025a0c5 24 <div class="center">
3883b57a 25 <a href="marketing/promo/{$promo-10}" title="-10"><img src="images/icons/resultset_first.gif" alt="[&lt;&lt;]" /></a>
26 <a href="marketing/promo/{$promo-1}" title="-1"><img src="images/icons/resultset_previous.gif" alt="[&lt;]" /></a>
0025a0c5 27
28 &nbsp;
841ff7e7 29 Promo&nbsp;:<input type="text" name="promo" value="{$promo}" size="4" maxlength="4" /><input type="submit" value="GO" />
0025a0c5 30 &nbsp;
31
3883b57a 32 <a href="marketing/promo/{$promo+1}" title="+1"><img src="images/icons/resultset_next.gif" alt="[&gt;]" /></a>
33 <a href="marketing/promo/{$promo+10}" title="+10"><img src="images/icons/resultset_last.gif" alt="[&gt;&gt;]" /></a>
0025a0c5 34 </div>
35</form>
0337d704 36
37<br />
38
39<div class="center">
a2fa0614 40 <a href="javascript:void(window.open('stats/promos/{$promo}','','width=800,height=600,toolbar=no'))">
a7de4ef7 41 Voir l'évolution des inscriptions de la promotion
0337d704 42 </a>
43</div>
44
0025a0c5 45<br />
46
7b2413f6 47<form action="marketing/promo" method="post">
a7de4ef7 48 <table class="bicol" summary="liste des inscriptions non confirmées">
0337d704 49 <tr>
50 <th>Nom</th>
a7de4ef7 51 <th>Dernière adresse connue</th>
0337d704 52 <th>Statut</th>
53 <th>&nbsp;</th>
54 </tr>
55 {iterate from=$nonins item=it}
56 <tr class="{cycle values="pair,impair"}">
57 <td>{$it.nom} {$it.prenom}</td>
58 <td>{if $it.last_known_email}{mailto address=$it.last_known_email}{/if}</td>
59 <td class="center">
60 {if $it.dern_rel && $it.dern_rel != '0000-00-00'}
841ff7e7 61 Relance le&nbsp;: {$it.dern_rel}
0337d704 62 {elseif $it.email}
e8439508 63 En cours&nbsp;: {$it.email}
0337d704 64 {else}
65 -
66 {/if}
67 </td>
68 <td class="center">
2faf884e 69 <a href="marketing/private/{$it.user_id}">{icon name=wrench title="Marketing"}</a>
a2fa0614 70 <a href="http://www.polytechniciens.com/?page=AX_FICHE_ANCIEN&amp;anc_id={$it.matricule_ax}">{*
22b95ab1 71 *}{icon name=user_gray title="fiche AX"}</a>
0337d704 72 </td>
73 </tr>
74 {/iterate}
75 </table>
76</form>
77
78<p>
79{$nonins->total()} Polytechniciens de la promo {$promo} ne sont pas inscrits !
80</p>
81
82
a7de4ef7 83{* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}