1 {**************************************************************************}
3 {* Copyright (C) 2003-2007 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 {include file="skin/common.doctype.tpl"}
24 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
25 <meta name="description" content="Les associations polytechniciennes" />
26 <meta name="keywords" content="Ecole polytechnique, associations polytechniciennes, groupes X, binets" />
28 <link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />
29 <link rel="icon" href="images/favicon.png" type="image/png" />
31 <link rel="stylesheet" type="text/css" href="css/xnet.css" media="screen" />
33 <link rel="bookmark" href="http://www.polytechnique.fr/" title="| École polytechnique" />
34 <link rel="bookmark" href="http://www.polytechnique.edu/" title="| Institutionnal site" />
35 <link rel="bookmark" href="http://www.fondationx.org/" title="| FX" />
36 <link rel="bookmark" href="http://www.polytechniciens.com/" title="| AX" />
37 <link rel="bookmark" href="http://www.polytechnique.org/" title="| Polytechnique.org" />
38 <link rel="bookmark" href="http://www.polytechnique.fr/eleves/" title="| Site d'élèves" />
40 {foreach from=$xorg_css item=css}
41 <link rel="stylesheet" type="text/css" href="css/{$css}" />
43 <script type="text/javascript">
44 if (window.top != window)
45 document.write('<link rel="stylesheet" type="text/css" href="css/onlycontent.css" media="all"/>');
47 {foreach from=$xorg_js item=js}
48 <script type="text/javascript" src="javascript/{$js}"></script>
50 <script type="text/javascript" src="javascript/overlib.js"></script>
51 <script type="text/javascript" src="http://jquery.com/src/jquery-latest.pack.js"></script>
53 <script type="text/javascript">
54 $(document).ready(function() {
55 $("td.center > a").click(function() {
58 url: $(this).attr("href"),
60 success: function (msg) {
61 alert("Data Saved :"+msg);
71 <link rel="alternate" type="application/rss+xml" title="{$xorg_rss.title}" href="{$xorg_rss.href}" />
74 {if $xorg_extra_header}
75 {$xorg_extra_header|smarty:nodefaults}
78 <title>Les associations polytechniciennes</title>
79 {include file=skin/common.bandeau.head.tpl}
82 {include file=skin/common.devel.tpl}
84 {include file=skin/common.bandeau.tpl}
87 <table id="layout" cellspacing="0" cellpadding="0">
91 <table cellspacing="0" cellpadding="0" id="top">
93 <td style="width: 150px">
94 <a href=""><img src="images/asso-montants.png" alt="Logo Assos" /></a>
96 <td style="width: 106px">
98 <img src="images/logo_{$xnet_type}.png" alt="Logo {$xnet_type}" width="106" height="96" />
100 <img src="images/logo_institutions.png" alt="Logo {$xnet_type}" width="106" height="96" />
103 <td style="width: 44px">
104 <img src="images/fin_logo.jpg" alt="Fin logo" width="44" height="96" />
106 <td style="width: auto;">
107 <img src="images/bandeau.jpg" alt="bandeau" height="96" width="100%" />
110 <td style="width: 280px">
111 <img src="images/texte_{$xnet_type}.jpg" alt="{$xnet_type}" width="280" height="96" />
116 <a href="{$asso.site}"><img src='{$platal->ns}logo' alt="LOGO" height="80" /></a>
118 <img src='{$platal->ns}logo' alt="LOGO" height="80"/>
124 <img src="images/asso.png" alt="Le serveur des activés associative des X" />
125 <a href="http://www.polytechnique.org">
126 <img src="images/logo-xorg.png" alt="Polytechnique.org" height="80" />
134 {/if}{* fin simple *}
136 {if $menu && !$simple}
139 {foreach from=$menu key=title item=submenu}
140 {if $title neq 'no_title'}<h1>{$title}</h1>{/if}
141 {foreach from=$submenu key=tit item=url}
143 <a{foreach from=$url key=var item=val} {$var}="{$val}"{/foreach}>{$tit}</a>
145 <a href="{$url}">{$tit}</a>
151 {if $asso && ($is_admin || $smarty.session.suid.perms eq 'admin' || $smarty.session.suid.may_update[$asso.id])}
152 <div style="float: right" class="breadcrumb">
153 <form method="post" action="{$platal->ns}change_rights">
154 <div style="display: inline">
155 <small>voir le site en tant que...
156 <select name="right" onchange="this.form.submit()">
157 {if $smarty.session.perms->hasFlag('admin') || $smarty.session.suid.perms->hasFlag('admin')}
158 <option value="admin" {if $smarty.session.perms->hasFlag('admin')}selected="selected"{/if}>Administrateur</option>
160 <option value="anim" {if $is_admin && !$smarty.session.perms->hasFlag('admin')}selected="selected"{/if}>Animateur</option>
161 <option value="member" {if !$is_admin && $is_member}selected="selected"{/if}>Membre</option>
162 <option value="logged" {if !$is_admin && !$is_member}selected="selected"{/if}>Non-membre</option>
169 <div class="breadcrumb">
170 <a href=".">X.net</a> »
172 <a href="groups/{$asso.cat}">{$asso.cat|cat_pp}</a> »
174 <a href="groups/{$asso.cat}/{$asso.dom}">{$asso.domnom}</a> »
178 <a href="groups/{$cat}">{$cat|cat_pp}</a> »
180 {if $cat eq 'promotions'}
181 Choix de la promotion
189 <a href="Xnet">Documentation</a>
192 <div style="clear: both">
193 {include file="skin/common.content.tpl"}
200 {include file="skin/common.content.tpl"}
204 <tr class="hideable"><td colspan="2"><img src="images/barre.png" alt="----------" width="100%" /></td></tr>
206 <tr class="hideable">
208 <table class="links" summary="liens" cellspacing="0" cellpadding="0">
210 <td class="left"> <a href="groups/groupesx">Groupes X</a> </td>
211 <td class="left"> <a href="groups/binets">Binets</a> </td>
212 <td class="center"> <a href="groups/promotions">Promotions</a> </td>
213 <td class="center"> <a href="groups/institutions">Institutions</a> </td>
214 <td class="right"> <a href="plan">Tous</a> </td>
222 <tr class="hideable"><td colspan="2"><img src="images/barre.png" alt="----------" width="100%" /></td></tr>
224 <tr class="hideable">
226 <table style="width: 100%">
230 {if !$smarty.session.auth}
231 <div>Me connecter :</div>
232 <a class='gp' href="login/{$platal->pl_self()}">polytechnicien</a>
235 <td class="right" style="vertical-align: middle">
236 {if $smarty.session.perms->hasFlag('admin')}
237 <a href="admin" title="Administration des groupes">
239 {icon name=wrench title="Administration"}
242 <a href="Xnet" title="Manuel d'aide en ligne">
243 Manuel de l'utilisateur
244 {icon name=lightbulb title="Documentation"}
252 <tr class="hideable"><td colspan="2"><img src="images/barre.png" alt="----------" width="100%" /></td></tr>
254 <tr class="hideable">
255 <td colspan="2" id="credits">
256 <a href="plan">plan du site</a> -
257 <a href="Xnet/Services">services proposés</a> -
258 <a href="Xnet/APropos">à propos de ce site</a> -
259 {mailto address="contact@polytechnique.org" text="nous contacter" encode="javascript"}
260 {if $smarty.session.auth}
261 - <a href="send_bug" class="popup_840x600">signaler un bug</a>
264 © Copyright 2000-2007 <a href="http://x-org.polytechnique.org/">Association Polytechnique.org</a>
271 {* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}