first reimport from platal
[platal.git] / templates / marketing / promo.tpl
1 {**************************************************************************}
2 {*                                                                        *}
3 {*  Copyright (C) 2003-2004 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
24
25 <table style="margin-left: auto; margin-right: auto">
26   <tr>
27     <td>
28       <form action="?" method="get">
29         <div>
30           <input type="hidden" name="promo" value="{$promo-10}" />
31           <input type="submit" value="&lt;&lt;" />
32         </div>
33       </form>
34     </td>
35     <td>
36       <form action="?" method="get">
37         <div>
38           <input type="hidden" name="promo" value="{$promo-1}" />
39           <input type="submit" value="&lt;" />
40         </div>
41       </form>
42     </td>
43     <td>
44       <form action="?" method="get">
45         <div>
46           Promotion : <input type="text" name="promo" value="{$promo}" size="4" maxlength="4" />
47           <input type="submit" value="GO" />
48         </div>
49       </form>
50     </td>
51     <td>
52       <form action="?" method="get">
53         <div>
54           <input type="hidden" name="promo" value="{$promo+1}" />
55           <input type="submit" value="&gt;" />
56         </div>
57       </form>
58     </td>
59     <td>
60       <form action="?" method="get">
61         <div>
62           <input type="hidden" name="promo" value="{$promo+10}" />
63           <input type="submit" value="&gt;&gt;" />
64         </div>
65       </form> 
66     </td>
67   </tr>
68 </table>
69
70 <br />
71
72 <div class="center">
73   <a href="javascript:void(window.open('{"stats/stats_promo.php"|url}?promo={$promo}','','width=800,height=600,toolbar=no'))">
74     Voir l'évolution des inscriptions de la promotion
75   </a>
76 </div>
77
78 <form action="{$smarty.server.PHP_SELF}" method="post">
79   <table class="bicol" summary="liste des inscriptions non confirmées">
80     <tr>
81       <th>Nom</th>
82       <th>Dernière adresse connue</th>
83       <th>Statut</th>
84       <th>&nbsp;</th>
85     </tr>
86     {iterate from=$nonins item=it}
87     <tr class="{cycle values="pair,impair"}">
88       <td>{$it.nom} {$it.prenom}</td>
89       <td>{if $it.last_known_email}{mailto address=$it.last_known_email}{/if}</td>
90       <td class="center">
91         {if $it.dern_rel && $it.dern_rel != '0000-00-00'}
92         Relance le: {$it.dern_rel}
93         {elseif $it.email}
94         En cours : {$it.email}
95         {else}
96         -
97         {/if}
98       </td>
99       <td class="center">
100         <a href="private.php?uid={$it.user_id}">{*
101           *}<img src="{rel}/images/admin.png" alt='Marketing' title="Marketing" /></a>
102         <a href="http://www.polytechniciens.com/index.php?page=AX_FICHE_ANCIEN&amp;anc_id={$it.matricule_ax}">{*
103           *}<img src="{rel}/images/ax.png" alt='AX' title="fiche AX" /></a>
104       </td>
105     </tr>
106     {/iterate}
107   </table>
108 </form>
109
110 <p>
111 {$nonins->total()} Polytechniciens de la promo {$promo} ne sont pas inscrits !
112 </p>
113
114
115 {* vim:set et sw=2 sts=2 sws=2: *}