| 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 | <h1> |
| 24 | Trombinoscope promo |
| 25 | </h1> |
| 26 | <p> |
| 27 | Cette page te permet de voir l'album photo d'une promotion |
| 28 | donnée. |
| 29 | </p> |
| 30 | <p> |
| 31 | Fais attention, si tu as une connexion à internet lente (par |
| 32 | exemple si tu es sur un vieux modem), la page que tu vas télécharger |
| 33 | en validant peut être longue à afficher. |
| 34 | </p> |
| 35 | |
| 36 | <form action="trombi/" method="post"> |
| 37 | <table class="tinybicol" cellpadding="3" summary="Saisie promo" style="width: 30%; margin-left:35%"> |
| 38 | <tr> |
| 39 | <th colspan="2"> |
| 40 | Trombinoscope |
| 41 | </th> |
| 42 | </tr> |
| 43 | <tr> |
| 44 | <td class="titre" style="vertical-align: middle;"> |
| 45 | Promotion |
| 46 | </td> |
| 47 | <td> |
| 48 | <input type="text" name="xpromo" size="4" maxlength="4" value="{$smarty.session.promo}" /> |
| 49 | <input type="submit" value="Ok" |
| 50 | onclick='this.form.action = this.form.action + this.form.xpromo.value' /> |
| 51 | </td> |
| 52 | </tr> |
| 53 | </table> |
| 54 | </form> |
| 55 | |
| 56 | {if $trombi} |
| 57 | |
| 58 | <h1> |
| 59 | Album photo |
| 60 | {if $platal->argv[1] eq -1} |
| 61 | {#globals.core.sitename#} |
| 62 | {else} |
| 63 | promotion {$platal->argv[1]} |
| 64 | {/if} |
| 65 | </h1> |
| 66 | |
| 67 | {$trombi->show()|smarty:nodefaults} |
| 68 | |
| 69 | {/if} |
| 70 | |
| 71 | {* vim:set et sw=2 sts=2 sws=2: *} |