0337d704 |
1 | {**************************************************************************} |
2 | {* *} |
5ddeb07c |
3 | {* Copyright (C) 2003-2007 Polytechnique.org *} |
0337d704 |
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 | {**************************************************************************} |
493b6abe |
22 | <?xml version="1.0" encoding="utf-8"?> |
0337d704 |
23 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> |
24 | <html xmlns="http://www.w3.org/1999/xhtml"> |
25 | <head> |
d083f500 |
26 | <base href="{$globals->baseurl}/" /> |
493b6abe |
27 | <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> |
0337d704 |
28 | <meta name="description" content="Les associations polytechniciennes" /> |
29 | <meta name="keywords" content="Ecole polytechnique, associations polytechniciennes, groupes X, binets" /> |
06c2f76f |
30 | |
31 | <link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" /> |
32 | <link rel="icon" href="images/favicon.png" type="image/png" /> |
33 | |
7b2413f6 |
34 | <link rel="stylesheet" type="text/css" href="css/xnet.css" media="screen" /> |
0337d704 |
35 | |
a7de4ef7 |
36 | <link rel="bookmark" href="http://www.polytechnique.fr/" title="| École polytechnique" /> |
0337d704 |
37 | <link rel="bookmark" href="http://www.polytechnique.edu/" title="| Institutionnal site" /> |
38 | <link rel="bookmark" href="http://www.fondationx.org/" title="| FX" /> |
39 | <link rel="bookmark" href="http://www.polytechniciens.com/" title="| AX" /> |
40 | <link rel="bookmark" href="http://www.polytechnique.org/" title="| Polytechnique.org" /> |
a7de4ef7 |
41 | <link rel="bookmark" href="http://www.polytechnique.fr/eleves/" title="| Site d'élèves" /> |
0337d704 |
42 | |
43 | {foreach from=$xorg_css item=css} |
7b2413f6 |
44 | <link rel="stylesheet" type="text/css" href="css/{$css}" /> |
0337d704 |
45 | {/foreach} |
46 | {foreach from=$xorg_js item=js} |
05a11a4d |
47 | <script type="text/javascript" src="javascript/{$js}"></script> |
0337d704 |
48 | {/foreach} |
7b2413f6 |
49 | <script type="text/javascript" src="javascript/overlib.js"></script> |
24bcf50c |
50 | |
51 | {if $xorg_rss} |
52 | <link rel="alternate" type="application/rss+xml" title="{$xorg_rss.title}" href="{$xorg_rss.href}" /> |
53 | {/if} |
54 | |
7383676c |
55 | {if $xorg_extra_header} |
56 | {$xorg_extra_header|smarty:nodefaults} |
57 | {/if} |
58 | |
06c2f76f |
59 | <title>Les associations polytechniciennes</title> |
0337d704 |
60 | {include file=skin/common.bandeau.head.tpl} |
61 | </head> |
9931a3c9 |
62 | <body> |
0337d704 |
63 | {include file=skin/common.devel.tpl} |
c0d230b0 |
64 | {if !$simple} |
65 | {include file=skin/common.bandeau.tpl} |
66 | {/if} |
0337d704 |
67 | |
68 | <table id="layout" cellspacing="0" cellpadding="0"> |
c0d230b0 |
69 | {if !$simple} |
49848fd7 |
70 | <tr> |
0337d704 |
71 | <td colspan="2"> |
49848fd7 |
72 | <table cellspacing="0" cellpadding="0" id="top"> |
73 | <tr> |
74 | <td style="width: 150px"> |
75 | <a href=""><img src="images/asso-montants.png" alt="Logo Assos" /></a> |
76 | </td> |
77 | <td style="width: 106px"> |
6fb8424a |
78 | {if $xnet_type} |
49848fd7 |
79 | <img src="images/logo_{$xnet_type}.png" alt="Logo {$xnet_type}" width="106" height="96" /> |
6fb8424a |
80 | {else} |
81 | <img src="images/logo_institutions.png" alt="Logo {$xnet_type}" width="106" height="96" /> |
82 | {/if} |
49848fd7 |
83 | </td> |
84 | <td style="width: 44px"> |
85 | <img src="images/fin_logo.jpg" alt="Fin logo" width="44" height="96" /> |
86 | </td> |
8175295d |
87 | <td style="width: auto;"> |
88 | <img src="images/bandeau.jpg" alt="bandeau" height="96" width="100%" /> |
49848fd7 |
89 | </td> |
6fb8424a |
90 | {if $xnet_type} |
8175295d |
91 | <td style="width: 280px"> |
92 | <img src="images/texte_{$xnet_type}.jpg" alt="{$xnet_type}" width="280" height="96" /> |
49848fd7 |
93 | </td> |
8175295d |
94 | {if $asso} |
95 | <td class="logo"> |
49848fd7 |
96 | {if $asso.site} |
6fb8424a |
97 | <a href="{$asso.site}"><img src='{$platal->ns}logo' alt="LOGO" height="80" /></a> |
49848fd7 |
98 | {else} |
6fb8424a |
99 | <img src='{$platal->ns}logo' alt="LOGO" height="80"/> |
49848fd7 |
100 | {/if} |
49848fd7 |
101 | </td> |
8175295d |
102 | {/if} |
6fb8424a |
103 | {else} |
104 | <td class="logo"> |
a7de4ef7 |
105 | <img src="images/asso.png" alt="Le serveur des activés associative des X" /> |
6fb8424a |
106 | <a href="http://www.polytechnique.org"> |
107 | <img src="images/logo-xorg.png" alt="Polytechnique.org" height="80" /> |
108 | </a> |
109 | </td> |
110 | {/if} |
49848fd7 |
111 | </tr> |
112 | </table> |
0337d704 |
113 | </td> |
114 | </tr> |
c0d230b0 |
115 | {/if}{* fin simple *} |
0337d704 |
116 | |
c0d230b0 |
117 | {if $menu && !$simple} |
0337d704 |
118 | <tr> |
119 | <td id="menu"> |
120 | {foreach from=$menu key=title item=submenu} |
c0d230b0 |
121 | {if $title neq 'no_title'}<h1>{$title}</h1>{/if} |
122 | {foreach from=$submenu key=tit item=url} |
123 | {if is_array($url)} |
124 | <a{foreach from=$url key=var item=val} {$var}="{$val}"{/foreach}>{$tit}</a> |
125 | {else} |
126 | <a href="{$url}">{$tit}</a> |
127 | {/if} |
128 | {/foreach} |
0337d704 |
129 | {/foreach} |
130 | </td> |
59ff13cf |
131 | <td id="body"> |
7903a47a |
132 | {if $asso && ($is_admin || $smarty.session.suid.perms eq 'admin' || $smarty.session.suid.may_update[$asso.id])} |
0deaff1d |
133 | <div style="float: right" class="breadcrumb"> |
134 | <form method="post" action="{$platal->ns}change_rights"> |
135 | <div style="display: inline"> |
136 | <small>voir le site en tant que... |
137 | <select name="right" onchange="this.form.submit()"> |
138 | {if $smarty.session.perms eq 'admin' || $smarty.session.suid.perms eq 'admin'} |
139 | <option value="admin" {if $smarty.session.perms eq 'admin'}selected="selected"{/if}>Administrateur</option> |
140 | {/if} |
141 | <option value="anim" {if $is_admin && $smarty.session.perms neq 'admin'}selected="selected"{/if}>Animateur</option> |
142 | <option value="member" {if !$is_admin && $is_member}selected="selected"{/if}>Membre</option> |
143 | <option value="logged" {if !$is_admin && !$is_member}selected="selected"{/if}>Non-membre</option> |
144 | </select> |
145 | </small> |
146 | </div> |
147 | </form> |
148 | </div> |
149 | {/if} |
0337d704 |
150 | <div class="breadcrumb"> |
a7de4ef7 |
151 | <a href=".">X.net</a> » |
0337d704 |
152 | {if $asso} |
a7de4ef7 |
153 | <a href="groups/{$asso.cat}">{$asso.cat|cat_pp}</a> » |
c0d230b0 |
154 | {if $asso.dom} |
a7de4ef7 |
155 | <a href="groups/{$asso.cat}/{$asso.dom}">{$asso.domnom}</a> » |
c0d230b0 |
156 | {/if} |
157 | {$asso.nom} |
0e02493e |
158 | {elseif $cat} |
a7de4ef7 |
159 | <a href="groups/{$cat}">{$cat|cat_pp}</a> » |
c0d230b0 |
160 | {if $dom || !$doms} |
161 | {if $cat eq 'promotions'} |
162 | Choix de la promotion |
163 | {else} |
164 | Choix de l'Asso |
165 | {/if} |
166 | {else} |
167 | Choix du domaine |
168 | {/if} |
41ab970e |
169 | {elseif $wikipage} |
c0d230b0 |
170 | <a href="Xnet">Documentation</a> |
0337d704 |
171 | {/if} |
172 | </div> |
10ba3144 |
173 | <div style="clear: both"> |
0337d704 |
174 | {include file="skin/common.content.tpl"} |
10ba3144 |
175 | </div> |
0337d704 |
176 | </td> |
177 | </tr> |
178 | {else} |
179 | <tr> |
49848fd7 |
180 | <td colspan="2"> |
0337d704 |
181 | {include file="skin/common.content.tpl"} |
182 | </td> |
183 | </tr> |
c0d230b0 |
184 | {if !$simple} |
87b14ce7 |
185 | <tr><td colspan="2"><img src="images/barre.png" alt="----------" width="100%" /></td></tr> |
0337d704 |
186 | |
187 | <tr> |
49848fd7 |
188 | <td colspan="2"> |
0337d704 |
189 | <table class="links" summary="liens" cellspacing="0" cellpadding="0"> |
190 | <tr> |
6fb8424a |
191 | <td class="left"> <a href="groups/groupesx">Groupes X</a> </td> |
192 | <td class="left"> <a href="groups/binets">Binets</a> </td> |
193 | <td class="center"> <a href="groups/promotions">Promotions</a> </td> |
194 | <td class="center"> <a href="groups/institutions">Institutions</a> </td> |
195 | <td class="right"> <a href="plan">Tous</a> </td> |
0337d704 |
196 | </tr> |
197 | </table> |
198 | </td> |
199 | </tr> |
200 | {/if} |
c0d230b0 |
201 | {/if} |
202 | {if !$simple} |
87b14ce7 |
203 | <tr><td colspan="2"><img src="images/barre.png" alt="----------" width="100%" /></td></tr> |
0337d704 |
204 | |
205 | <tr> |
6fb8424a |
206 | <td colspan="2"> |
207 | <table style="width: 100%"> |
208 | <tr> |
209 | <td id="perso"> |
210 | {list_all_my_groups} |
211 | {if !$smarty.session.auth} |
212 | <div>Me connecter :</div> |
59d63e1a |
213 | <a class='gp' href="login/{$platal->pl_self()}">polytechnicien</a> |
6fb8424a |
214 | {/if} |
215 | </td> |
216 | <td class="right" style="vertical-align: middle"> |
8383ee06 |
217 | {if $smarty.session.perms eq admin} |
218 | <a href="admin" title="Administration des groupes"> |
a7de4ef7 |
219 | Gérer les groupes |
8383ee06 |
220 | {icon name=wrench title="Administration"} |
221 | </a><br /> |
222 | {/if} |
27455960 |
223 | <a href="Xnet" title="Manuel d'aide en ligne"> |
6fb8424a |
224 | Manuel de l'utilisateur |
225 | {icon name=lightbulb title="Documentation"} |
226 | </a> |
227 | </td> |
228 | </tr> |
229 | </table> |
0337d704 |
230 | </td> |
0337d704 |
231 | </tr> |
232 | |
87b14ce7 |
233 | <tr><td colspan="2"><img src="images/barre.png" alt="----------" width="100%" /></td></tr> |
0337d704 |
234 | |
235 | <tr> |
49848fd7 |
236 | <td colspan="2" id="credits"> |
6fb8424a |
237 | <a href="plan">plan du site</a> - |
a7de4ef7 |
238 | <a href="Xnet/Services">services proposés</a> - |
239 | <a href="Xnet/APropos">à propos de ce site</a> - |
0337d704 |
240 | {mailto address="contact@polytechnique.org" text="nous contacter" encode="javascript"} |
65b1cb38 |
241 | {if $smarty.session.auth} |
c0d230b0 |
242 | - <a href="send_bug" class="popup_840x600">signaler un bug</a> |
65b1cb38 |
243 | {/if} |
0337d704 |
244 | <br /> |
a7de4ef7 |
245 | © Copyright 2000-2007 <a href="http://x-org.polytechnique.org/">Association Polytechnique.org</a> |
0337d704 |
246 | </td> |
247 | </tr> |
c0d230b0 |
248 | {/if} |
0337d704 |
249 | </table> |
250 | </body> |
251 | </html> |
a7de4ef7 |
252 | {* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *} |