| 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 | {if $asso.site} |
| 24 | <a href="{$asso.site}"><img src='getlogo.php' alt="LOGO" style="float: right;" /></a> |
| 25 | {else} |
| 26 | <img src='getlogo.php' alt="LOGO" style="float: right;" /> |
| 27 | {/if} |
| 28 | |
| 29 | <h1>{$asso.nom} : Accueil</h1> |
| 30 | |
| 31 | <table cellpadding="0" cellspacing="0" class='tiny'> |
| 32 | {if $asso.site} |
| 33 | <tr> |
| 34 | <td class="titre"> |
| 35 | Site Web: |
| 36 | </td> |
| 37 | <td><a href="{$asso.site}">{$asso.site}</a></td> |
| 38 | </tr> |
| 39 | {/if} |
| 40 | |
| 41 | {if $asso.resp || $asso.mail} |
| 42 | <tr> |
| 43 | <td class="titre"> |
| 44 | Contact: |
| 45 | </td> |
| 46 | <td> |
| 47 | {if $asso.mail} |
| 48 | {mailto address=$asso.mail text=$asso.resp|default:"par mail" encode=javascript} |
| 49 | {else} |
| 50 | {$asso.resp} |
| 51 | {/if} |
| 52 | </td> |
| 53 | </tr> |
| 54 | {/if} |
| 55 | |
| 56 | {if $asso.forum} |
| 57 | <tr> |
| 58 | <td class="titre"> |
| 59 | Forum: |
| 60 | </td> |
| 61 | <td> |
| 62 | <a href="https://www.polytechnique.org/banana/thread.php?group={$asso.forum}">par le web</a> |
| 63 | ou <a href="news://ssl.polytechnique.org/{$asso.forum}">par nntp</a> |
| 64 | </td> |
| 65 | </tr> |
| 66 | {/if} |
| 67 | |
| 68 | {if !$is_member && $logged && $asso.pub eq 'public' && $asso.inscriptible && $xnet_type != 'promo'} |
| 69 | <tr> |
| 70 | <td class="titre"> |
| 71 | M'inscrire : |
| 72 | </td> |
| 73 | <td> |
| 74 | <a href="{$asso.sub_url|default:"inscrire.php"}">m'inscrire</a> |
| 75 | </td> |
| 76 | </tr> |
| 77 | {/if} |
| 78 | |
| 79 | {if $asso.ax} |
| 80 | <tr> |
| 81 | <td class="titre center" colspan="2"> |
| 82 | groupe agréé par l'AX |
| 83 | </td> |
| 84 | </tr> |
| 85 | {/if} |
| 86 | </table> |
| 87 | |
| 88 | <br /> |
| 89 | |
| 90 | <div> |
| 91 | {$asso.descr|smarty:nodefaults} |
| 92 | </div> |
| 93 | |
| 94 | {* vim:set et sw=2 sts=2 sws=2: *} |