| 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 | {if !$smarty.request.xpromo || $error} |
| 26 | <h1> |
| 27 | Trombinoscope promo |
| 28 | </h1> |
| 29 | <p> |
| 30 | Cette page te permet de voir l'album photo d'une promotion |
| 31 | donnée. |
| 32 | </p> |
| 33 | <p> |
| 34 | Fais attention, si tu as une connexion à internet lente (par |
| 35 | exemple si tu es sur un vieux modem), la page que tu vas télécharger |
| 36 | en validant peut être longue à afficher. Pour te donner une |
| 37 | idée de la taille, chaque photo est limitée à 30 ko, et |
| 38 | chaque page affiche au plus {$limit} photos. |
| 39 | </p> |
| 40 | |
| 41 | <form action="{$smarty.server.PHP_SELF}" method="get"> |
| 42 | <table class="tinybicol" cellpadding="3" summary="Saisie promo" style="width: 30%; margin-left:35%"> |
| 43 | <tr> |
| 44 | <th colspan="2"> |
| 45 | Trombinoscope |
| 46 | </th> |
| 47 | </tr> |
| 48 | <tr> |
| 49 | <td class="titre" style="vertical-align: middle;"> |
| 50 | Promotion |
| 51 | </td> |
| 52 | <td> |
| 53 | <input type="text" name="xpromo" size="4" maxlength="4" /> |
| 54 | <input type="hidden" name="offset" value="0" /> <input type="submit" value="Ok" /> |
| 55 | </td> |
| 56 | </tr> |
| 57 | </table> |
| 58 | </form> |
| 59 | |
| 60 | <h1>Site web promo</h1> |
| 61 | <p>Pour accéder à la liste des sites web promo, clique <a href="http://www.polytechnique.net/groupes.php?cat=promotions">ici</a>.</p> |
| 62 | |
| 63 | {else} |
| 64 | |
| 65 | <h1> |
| 66 | {if $smarty.request.xpromo eq 'all'} |
| 67 | Album photo Polytechnique.org |
| 68 | {else} |
| 69 | Album photo promotion {$smarty.request.xpromo} |
| 70 | {/if} |
| 71 | </h1> |
| 72 | |
| 73 | {$trombi->show()|smarty:nodefaults} |
| 74 | |
| 75 | {/if} |
| 76 | |
| 77 | |
| 78 | |
| 79 | {* vim:set et sw=2 sts=2 sws=2: *} |