ddd6cbbf3d33ef0a45fe13816d24f4c0eebd1e69
[platal.git] / templates / xnet / skin.tpl
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 <?xml version="1.0" encoding="iso-8859-15"?>
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>
26     <base href="{$globals->baseurl}/" />
27     <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-15" />
28
29     <title>Les associations polytechniciennes</title>
30     <meta name="description" content="Les associations polytechniciennes" />
31     <meta name="keywords" content="Ecole polytechnique, associations polytechniciennes, groupes X, binets" />
32     <link rel="stylesheet" type="text/css" href="css/xnet.css" media="screen" />
33     <link rel="shortcut icon" type="image/png" href="images/favicon.png" />
34
35     <link rel="bookmark" href="http://www.polytechnique.fr/"        title="| École polytechnique" />
36     <link rel="bookmark" href="http://www.polytechnique.edu/"       title="| Institutionnal site" />
37     <link rel="bookmark" href="http://www.fondationx.org/"          title="| FX" />
38     <link rel="bookmark" href="http://www.polytechniciens.com/"     title="| AX" />
39     <link rel="bookmark" href="http://www.polytechnique.org/"       title="| Polytechnique.org" />
40     <link rel="bookmark" href="http://www.polytechnique.fr/eleves/" title="| Site d'élèves" />
41
42     {foreach from=$xorg_css item=css}
43     <link rel="stylesheet" type="text/css" href="css/{$css}" />
44     {/foreach}
45     {foreach from=$xorg_js item=js}
46     <script type="text/javascript" src="javascript/{$js}"></script>
47     {/foreach}
48     <script type="text/javascript" src="javascript/overlib.js"></script>
49
50     {if $xorg_rss}
51     <link rel="alternate" type="application/rss+xml" title="{$xorg_rss.title}" href="{$xorg_rss.href}" />
52     {/if}
53
54     {if $xorg_extra_header}
55     {$xorg_extra_header|smarty:nodefaults}
56     {/if}
57
58     {include file=skin/common.bandeau.head.tpl}
59   </head>
60   <body>
61     {include file=skin/common.devel.tpl}
62     {if !$simple}
63       {include file=skin/common.bandeau.tpl}
64     {/if}
65
66     <table id="layout" cellspacing="0" cellpadding="0">
67     {if !$simple}
68       <tr>
69         <td colspan="2">
70         <table cellspacing="0" cellpadding="0" id="top">
71           <tr>
72             <td style="width: 150px">
73               <a href=""><img src="images/asso-montants.png" alt="Logo Assos" /></a>
74             </td>
75             <td style="width: 106px">
76               {if $xnet_type}
77               <img src="images/logo_{$xnet_type}.png" alt="Logo {$xnet_type}" width="106" height="96" />
78               {else}
79               <img src="images/logo_institutions.png" alt="Logo {$xnet_type}" width="106" height="96" />
80               {/if}
81             </td>
82             <td style="width: 44px">
83               <img src="images/fin_logo.jpg" alt="Fin logo" width="44" height="96" />
84             </td>
85             <td style="width: auto;">
86               <img src="images/bandeau.jpg" alt="bandeau" height="96" width="100%" />
87             </td>
88             {if $xnet_type}
89             <td style="width: 280px">
90               <img src="images/texte_{$xnet_type}.jpg" alt="{$xnet_type}" width="280" height="96" />
91             </td>
92             {if $asso}
93             <td class="logo">
94               {if $asso.site}
95                 <a href="{$asso.site}"><img src='{$platal->ns}logo' alt="LOGO" height="80" /></a>
96               {else}
97                 <img src='{$platal->ns}logo' alt="LOGO" height="80"/>
98               {/if}
99             </td>
100             {/if}
101             {else}
102             <td class="logo">
103               <img src="images/asso.png" alt="Le serveur des activés associative des X" />
104               <a href="http://www.polytechnique.org">
105                 <img src="images/logo-xorg.png" alt="Polytechnique.org" height="80" />
106               </a>
107             </td>
108             {/if}
109           </tr>
110         </table>
111         </td>
112       </tr>
113     {/if}{* fin simple *}
114
115       {if $menu && !$simple}
116       <tr>
117         <td id="menu">
118           {foreach from=$menu key=title item=submenu}
119             {if $title neq 'no_title'}<h1>{$title}</h1>{/if}
120             {foreach from=$submenu key=tit item=url}
121               {if is_array($url)}
122                 <a{foreach from=$url key=var item=val} {$var}="{$val}"{/foreach}>{$tit}</a>
123               {else}
124                 <a href="{$url}">{$tit}</a>
125               {/if}
126             {/foreach}
127           {/foreach}
128         </td>
129         <td id="body">
130           <div class="breadcrumb">
131             <a href=".">X.net</a> »
132             {if $asso}
133               <a href="groups/{$asso.cat}">{$asso.cat|cat_pp}</a> »
134               {if $asso.dom}
135                 <a href="groups/{$asso.cat}/{$asso.dom}">{$asso.domnom}</a> »
136               {/if}
137               {$asso.nom}
138             {elseif $cat}
139               <a href="groups/{$cat}">{$cat|cat_pp}</a> »
140               {if $dom || !$doms}
141                 {if $cat eq 'promotions'}
142                   Choix de la promotion
143                 {else}
144                   Choix de l'Asso
145                 {/if}
146               {else}
147                 Choix du domaine
148               {/if}
149             {elseif $wikipage}
150               <a href="Xnet">Documentation</a>
151             {/if}
152           </div>
153           {include file="skin/common.content.tpl"}
154         </td>
155       </tr>
156       {else}
157       <tr>
158         <td colspan="2">
159           {include file="skin/common.content.tpl"}
160         </td>
161       </tr>
162       {if !$simple}
163       <tr><td colspan="2"><img src="images/barre.png" alt="----------" width="100%" /></td></tr>
164
165       <tr>
166         <td colspan="2">
167           <table class="links" summary="liens" cellspacing="0" cellpadding="0">
168             <tr>
169               <td class="left">   <a href="groups/groupesx">Groupes X</a> </td>
170               <td class="left"> <a href="groups/binets">Binets</a> </td>
171               <td class="center"> <a href="groups/promotions">Promotions</a> </td>
172               <td class="center"> <a href="groups/institutions">Institutions</a> </td>
173               <td class="right">  <a href="plan">Tous</a> </td>
174             </tr>
175           </table>
176         </td>
177       </tr>
178       {/if}
179       {/if}
180     {if !$simple}
181       <tr><td colspan="2"><img src="images/barre.png" alt="----------" width="100%" /></td></tr>
182
183       <tr>
184         <td colspan="2">
185         <table style="width: 100%">
186           <tr>
187             <td id="perso">
188               {list_all_my_groups}
189               {if !$smarty.session.auth}
190               <div>Me connecter :</div>
191               <a class='gp' href="login">polytechnicien</a>
192               {/if}
193             </td>
194             <td class="right" style="vertical-align: middle">
195               {if $smarty.session.perms eq admin}
196               <a href="admin" title="Administration des groupes">
197                 Gérer les groupes
198                 {icon name=wrench title="Administration"}
199               </a><br />
200               {/if}
201               <a href="Xnet" title="Manuel d'aide en ligne">
202                 Manuel de l'utilisateur
203                 {icon name=lightbulb title="Documentation"}
204               </a>
205             </td>
206           </tr>
207         </table>
208         </td>
209       </tr>
210
211       <tr><td colspan="2"><img src="images/barre.png" alt="----------" width="100%" /></td></tr>
212
213       <tr>
214         <td colspan="2" id="credits">
215           <a href="plan">plan du site</a> -
216           <a href="Xnet/Services">services proposés</a> -
217           <a href="Xnet/APropos">à propos de ce site</a> -
218           {mailto address="contact@polytechnique.org" text="nous contacter" encode="javascript"}
219           {if $smarty.session.auth}
220             - <a href="send_bug" class="popup_840x600">signaler un bug</a>
221           {/if}
222           <br />
223           © Copyright 2000-2006 <a href="http://x-org.polytechnique.org/">Association Polytechnique.org</a>
224         </td>
225       </tr>
226     {/if}
227     </table>
228   </body>
229 </html>
230 {* vim:set et sw=2 sts=2 sws=2: *}