1 {**************************************************************************}
3 {* Copyright (C) 2003-2004 Polytechnique.org *}
4 {* http://opensource.polytechnique.org/ *}
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. *}
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. *}
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 *}
21 {**************************************************************************}
23 <h1>{$asso.nom} : <a href='evenements.php'>Evénements</a> </h1>
26 L'événement {$evt.intitule} {if $evt.titre} - {$evt.titre}{/if} comptera {$evt.nb_tot} personne{if $evt.nb_tot > 1}s{/if}.
29 {if $evt.participant_list}
31 [<a href="mailto:{$evt.short_name}-participants@evts.polytechnique.org">envoyer un mail à ceux qui viennent</a>] - [<a href="mailto:{$evt.short_name}-absents@evts.polytechnique.org">envoyer un mail aux membres non inscrits</a>]
37 [<a href="{$smarty.server.PHP_SELF}?eid={$smarty.request.eid}"{if !$smarty.request.item_id}class="erreur"{/if}>tout</a>]
38 {foreach from=$moments item=m}
39 [<a href="{$smarty.server.PHP_SELF}?eid={$m.eid}&item_id={$m.item_id}" {if $smarty.request.item_id eq $m.item_id}class="erreur"{/if}>{$m.titre}</a>]
45 [<a href="{$url_page}" {if !$smarty.request.initiale}class="erreur"{/if}>tout</a>]
46 {foreach from=$alphabet item=c}
47 [<a href="{$url_page}&initiale={$c}"{if $smarty.request.initiale eq $c} class="erreur"{/if}>{$c}</a>]
52 <script type="text/javascript">
53 function remplitAuto(mail) {
54 document.getElementById('inscription').mail.value=mail;
55 document.getElementById('montant').mail.value=mail;
63 Ils ont payé mais ont oublié de s'inscrire :
66 <table summary="payé mais non inscrits" class="tiny">
73 {iterate from=$oubliinscription item=m}
74 <tr style="background:#d0c198;">
76 <a href="" {if $admin}onclick="return remplitAuto('{$m.email}')"{/if}>
82 <a href="https://www.polytechnique.org/fiche.php?user={$m.email}"><img src="{rel}/images/loupe.gif" alt="[fiche]" /></a>
83 <a href="https://www.polytechnique.org/vcard.php/{$m.email}.vcf/?x={$m.email}"><img src="{rel}/images/vcard.png" alt="[vcard]" /></a>
84 <a href="mailto:{$m.email}@polytechnique.org"><img src="{rel}/images/mail.png" alt="mail" /></a>
96 <table summary="participants a l'evenement" class="{if $tout}large{else}tiny{/if}">
103 {foreach from=$moments item=m}
109 {if $admin && $money}
117 {foreach from=$participants item=m}
118 <tr style="background:#d0c198;">
120 <a href="" {if $admin}onclick="return remplitAuto('{$m.email}')"{/if}>
121 {if $m.femme}•{/if}{$m.prenom} {$m.nom}
127 <a href="https://www.polytechnique.org/fiche.php?user={$m.email}"><img src="{rel}/images/loupe.gif" alt="[fiche]" /></a>
128 <a href="https://www.polytechnique.org/vcard.php/{$m.email}.vcf/?x={$m.email}"><img src="{rel}/images/vcard.png" alt="[vcard]" /></a>
129 <a href="mailto:{$m.email}@polytechnique.org"><img src="{rel}/images/mail.png" alt="mail" /></a>
131 <a href="mailto:{$m.email}"><img src="{rel}/images/mail.png" alt="mail"></a>
136 {foreach from=$moments item=i}
137 <td>{$m[$i.item_id]}</td>
142 {if $admin && $money}
143 <td {if $m.montant > $m.paid}class="erreur"{/if}>{$m.montant}€</td>
144 <td>{$m.paid}€</td>
156 {foreach from=$links item=ofs key=txt}
157 <a href="{$url_page}&offset={$ofs}&initiale={$smarty.request.initiale}"{if $smarty.request.offset eq $ofs} class="erreur"{/if}>{$txt}</a>
164 [<a href="evt-csv.php/{$evt.intitule}{if $evt.titre}.{$evt.titre}{/if}.csv?eid={$smarty.request.eid}&item_id={$smarty.request.item_id}">Télécharger le fichier Excel</a>]
170 En tant qu'administrateur, tu peux fixer la venue (accompagnée ou pas) d'un des membres du groupe.
171 Donne ici son mail (complet pour les extérieurs, sans @polytechnique.org pour les X), ainsi que le
172 nombre de participants.
175 <form action="{$smarty.server.REQUEST_URI}" method="post" id="inscription">
177 <input type="hidden" name="eid" value="{$smarty.request.eid}" />
178 <input type="hidden" name="adm" value="nbs" />
180 Mail: <input name="mail" size="20" />
181 {if $smarty.request.item_id}
182 <input type="hidden" name="item_id" value="{$smarty.request.item_id}" />
183 {$evt.titre}: <input name="nb{$smarty.request.item_id}" size="1" value="1" />
186 {foreach from=$moments item=m}
187 {$m.titre}: <input name="nb{$m.item_id}" size="1" value="1"/>
190 Nombre: <input name="nb1" size="1" value="1" />
193 <input type="submit" />
200 En tant qu'administrateur, tu peux entrer un paiement reçu par une autre source que le télépaiement
201 du site X.org. Ce montant s'ajoutera aux montants déjà entrés. Si tu as fait une erreur, tu peux
202 entrer un montant négatif.
206 Note que tu peux cliquer sur les noms des membres pour remplir automatiquement la case ci-dessous
209 <form action="{$smarty.server.REQUEST_URI}" method="post" id="montant">
211 <input type="hidden" name="eid" value="{$smarty.request.eid}" />
212 <input type="hidden" name="adm" value="prix" />
213 Mail: <input name="mail" size="20" />
214 montant: <input name="montant" size="3" value="0,00" /> €
215 <input type="submit" />
220 {* vim:set et sw=2 sts=2 sws=2: *}