5ba0dbe55e56f8fb49b896d085904110b9f29e67
[platal.git] / templates / marketing / promo.tpl
1 {**************************************************************************}
2 {*                                                                        *}
3 {*  Copyright (C) 2003-2008 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 <form action="marketing/promo/" method="post" onsubmit="this.action += this.promo.value">
24   <div class="center">
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>
27
28     &nbsp;
29     Promo&nbsp;:<input type="text" name="promo" value="{$promo}" size="4" maxlength="4" /><input type="submit" value="GO" />
30     &nbsp;
31
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>
34   </div>
35 </form>
36
37 <br />
38
39 <div class="center">
40   <a href="javascript:void(window.open('stats/promos/{$promo}','','width=800,height=600,toolbar=no'))">
41     Voir l'évolution des inscriptions de la promotion
42   </a>
43 </div>
44
45 <br />
46
47 <form action="marketing/promo" method="post">
48   <table class="bicol" summary="liste des inscriptions non confirmées">
49     <tr>
50       <th>Nom</th>
51       <th>Dernière adresse connue</th>
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'}
61         Relance le&nbsp;: {$it.dern_rel}
62         {elseif $it.email}
63         En cours&nbsp;: {$it.email}
64         {else}
65         -
66         {/if}
67       </td>
68       <td class="center">
69         <a href="marketing/private/{$it.user_id}">{icon name=wrench title="Marketing"}</a>
70         <a href="http://www.polytechniciens.com/?page=AX_FICHE_ANCIEN&amp;anc_id={$it.matricule_ax}">{*
71           *}{icon name=user_gray title="fiche AX"}</a>
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
83 {* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}