pending commit, finished during MQ/S download ...
[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-1"?>
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     <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
27
28     <title>Les associations polytechniciennes</title>
29     <meta name="description" content="Les associations polytechniciennes" />
30     <meta name="keywords" content="Ecole polytechnique, associations polytechniciennes, groupes X, binets" />
31     <link rel="stylesheet" type="text/css" href="{rel}/css/xnet.css" media="screen" />
32     <link rel="icon" type="image/png" href="{rel}/images/favicon.png" />
33
34     <link rel="bookmark" href="http://www.polytechnique.fr/"        title="| École polytechnique" />
35     <link rel="bookmark" href="http://www.polytechnique.edu/"       title="| Institutionnal site" />
36     <link rel="bookmark" href="http://www.fondationx.org/"          title="| FX" />
37     <link rel="bookmark" href="http://www.polytechniciens.com/"     title="| AX" />
38     <link rel="bookmark" href="http://www.polytechnique.org/"       title="| Polytechnique.org" />
39     <link rel="bookmark" href="http://www.polytechnique.fr/eleves/" title="| Site d'élèves" />
40
41     {foreach from=$xorg_css item=css}
42     <link rel="stylesheet" type="text/css" href="{rel}/{$css}" />
43     {/foreach}
44     {foreach from=$xorg_js item=js}
45     <script type="text/javascript" src="{rel}/{$js}"></script>
46     {/foreach}
47     <script type="text/javascript" src="{rel}/javascript/overlib.js"></script>
48     
49     {if $xorg_extra_header}
50     {$xorg_extra_header|smarty:nodefaults}
51     {/if}
52
53     {include file=skin/common.bandeau.head.tpl}
54   </head>
55   <body>
56     {include file=skin/common.devel.tpl}
57     {include file=skin/common.bandeau.tpl}
58
59     <table id="layout" cellspacing="0" cellpadding="0">
60       {if $xnet_type}
61       <tr id="top">
62         <td>
63           <a href="{rel}/"><img src="{rel}/images/asso-montants.png" alt="Logo Assos" /></a>
64         </td>
65         <td>
66           <img src="{rel}/images/logo_{$xnet_type}.png" alt="Logo {$xnet_type}" width="106" height="96" />
67         </td>
68         <td colspan="2">
69           <img src="{rel}/images/texte_{$xnet_type}.jpg" alt="{$xnet_type}" width="490" height="96" />
70         </td>
71       </tr>
72       {else}
73       <tr id="top">
74         <td>
75           <img src="{rel}/images/logo.png" alt="LOGO Assos" />
76         </td>
77         <td colspan="3" style="text-align: right">
78           <a href="https://www.polytechnique.org/"><img src="{rel}/images/logo-xorg.png" alt="LOGO X.Org" /></a>
79           <img src="{rel}/images/asso2.png" alt="titre_du_site" />
80         </td>
81       </tr>
82       <tr><td colspan="4"><img src="{rel}/images/barre.png" alt="----------" width="765" /></td></tr>
83       {/if}
84
85       {if $menu}
86       <tr>
87         <td id="menu">
88           {foreach from=$menu key=title item=submenu}
89           <h1>{$title}</h1>
90           {foreach from=$submenu key=tit item=url}
91           <a href="{rel}/{$url}">{$tit}</a>
92           {/foreach}
93           {/foreach}
94         </td>
95         <td colspan="3">
96           <div class="breadcrumb">
97             {if $asso}
98             <a href="{rel}/groups/{$asso.cat}">{$asso.cat|cat_pp}</a> »
99             {if $asso.dom}
100             <a href="{rel}/groups/{$asso.cat}/{$asso.dom}">{$asso.domnom}</a> »
101             {/if}
102             {$asso.nom}
103             {elseif $cat}
104             <a href="{rel}/groups/{$cat}">{$cat|cat_pp}</a> »
105             {if $dom || !$doms}
106             Choix de l'Asso
107             {else}
108             Choix du domaine
109             {/if}
110             {/if}
111           </div>
112           {include file="skin/common.content.tpl"}
113         </td>
114       </tr>
115       {else}
116       <tr>
117         <td colspan="4">
118           {include file="skin/common.content.tpl"}
119         </td>
120       </tr>
121
122       <tr><td colspan="4"><img src="{rel}/images/barre.png" alt="----------" width="765" /></td></tr>
123
124       <tr>
125         <td colspan="4">
126           <table class="links" summary="liens" cellspacing="0" cellpadding="0">
127             <tr>
128               <td> <a href="{rel}/plan">PLAN DU SITE</a> </td>
129               <td> <a href="{rel}/groups/groupesx">groupes X</a> </td>
130               <td> <a href="{rel}/groups/binets">binets</a> </td>
131               <td> <a href="{rel}/groups/promotions">promotions</a> </td>
132               <td> <a href="{rel}/groups/institutions">institutions</a> </td>
133             </tr>
134           </table>
135         </td>
136       </tr>
137       {/if}
138
139       <tr><td colspan="4"><img src="{rel}/images/barre.png" alt="----------" width="765" /></td></tr>
140
141       <tr>
142         <td colspan="4" id="perso">
143           {list_all_my_groups}
144           {only_public}
145           <div>Me connecter :</div>
146           <a class='gp' href="{$smarty.session.loginX}">polytechnicien</a>
147           {/only_public}
148
149           <a href="{rel}/manuel" title="Manuel d'aide en ligne" style="float: right"><img src="{rel}/images/manuel.png" alt="manuel" /></a>
150         </td>
151         <!--
152         NOBODY UNDERSTANDS EXALEAD< JUST DROP IT !
153
154         <td id="search">
155           <form method="get" action="{rel}/recherche.php">
156             <div>
157               <a href="{rel}/manuel" title="Manuel d'aide en ligne"><img src="{rel}/images/manuel.png" alt="manuel" /></a>
158               <input type="text" name="query" value="{$exalead_data->query->query}" size="25" maxlength="60" />
159               <input type="image" src="{rel}/images/recherche.png" title="Chercher" value="submit" />
160
161               <br />
162               <strong><a href="http://www.exalead.com/">Powered by</a></strong>
163               <a href="http://www.exalead.com/"><img src="{rel}/images/Exalead-logo-Carved-100.gif" alt="exalead" /></a>
164             </div>
165           </form>
166         </td>
167         -->
168       </tr>
169
170       <tr><td colspan="4"><img src="{rel}/images/barre.png" alt="----------" width="765" /></td></tr>
171
172       <tr>
173         <td colspan="4" id="credits">
174           <a href="{rel}/plan">liste des associations</a> -
175           <a href="{rel}/services">services proposés</a> -
176           <a href="{rel}/about">à propos de ce site</a> -
177           {mailto address="contact@polytechnique.org" text="nous contacter" encode="javascript"}
178           <br />
179           © Copyright 2000-2006 <a href="http://x-org.polytechnique.org/">Association Polytechnique.org</a>
180         </td>
181       </tr>
182
183     </table>
184   </body>
185 </html>
186 {* vim:set et sw=2 sts=2 sws=2: *}