| 1 | {**************************************************************************} |
| 2 | {* *} |
| 3 | {* Copyright (C) 2003-2006 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 | {if $smarty.session.sub_state.forlife} |
| 25 | |
| 26 | <h1>Formulaire de pré-inscription</h1> |
| 27 | |
| 28 | <form action="{rel}/register" method="post"> |
| 29 | {if $smarty.session.sub_state.mailorg2} |
| 30 | <p> |
| 31 | Tu n'as pour le moment aucun homonyme dans notre base de données, nous allons |
| 32 | donc te donner l'adresse <strong>{$smarty.session.sub_state.bestalias}@polytechnique.org</strong>, |
| 33 | en plus de ton adresse à vie <strong>{$smarty.session.sub_state.forlife}@polytechnique.org</strong>. |
| 34 | Sache que tu peux perdre l'adresse <strong>{$smarty.session.sub_state.bestalias}@polytechnique.org</strong> |
| 35 | si un homonyme s'inscrit (même si cela reste assez rare). |
| 36 | </p> |
| 37 | {else} |
| 38 | <p> |
| 39 | Tu as déjà un homonyme inscrit dans notre base de données mais dans une autre promotion, nous allons |
| 40 | donc te donner l'adresse <strong>{$smarty.session.sub_state.bestalias}@polytechnique.org</strong>, en plus |
| 41 | de ton adresse à vie <strong>{$smarty.session.sub_state.forlife}@polytechnique.org</strong>. |
| 42 | </p> |
| 43 | {/if} |
| 44 | |
| 45 | <p> |
| 46 | Ces adresses sont des redirections vers des adresses e-mail de ton choix. |
| 47 | Indique-s-en un pour commencer (tu pourras indiquer les autres une fois l'inscription terminée) et pouvoir |
| 48 | terminer ton inscription. |
| 49 | </p> |
| 50 | <p> |
| 51 | Attention, il doit <strong>impérativement être correct</strong> pour que nous puissions |
| 52 | t'envoyer ton mot de passe. |
| 53 | </p> |
| 54 | |
| 55 | <table class="bicol"> |
| 56 | <tr> |
| 57 | <th colspan="2"> |
| 58 | Contact et sécurité |
| 59 | </th> |
| 60 | </tr> |
| 61 | <tr> |
| 62 | <td class="titre"> |
| 63 | E-mail<br /> |
| 64 | <span class="smaller">(Première redirection)</span> |
| 65 | </td> |
| 66 | <td> |
| 67 | <input type="text" size="35" maxlength="50" name="email" value="{$smarty.post.email}" /> |
| 68 | </td> |
| 69 | </tr> |
| 70 | <tr> |
| 71 | <td class="titre"> |
| 72 | Date de naissance<br /> |
| 73 | <span class="smaller">(Format JJMMAAAA)</span> |
| 74 | </td> |
| 75 | <td> |
| 76 | <input type="text" size="8" maxlength="8" name="naissance" value="{$smarty.post.naissance}" /> |
| 77 | (demandée si perte de mot de passe) |
| 78 | </td> |
| 79 | </tr> |
| 80 | <tr> |
| 81 | <td colspan="2" class="center"> |
| 82 | <input type="submit" value="Terminer la pré-inscription" /> |
| 83 | </td> |
| 84 | </tr> |
| 85 | </table> |
| 86 | </form> |
| 87 | |
| 88 | {/if} |
| 89 | |
| 90 | {* vim:set et sw=2 sts=2 sws=2: *} |