Don't put the <?xml > tag if the browser is IE6 (thanks to mYk) ==> great improvemnts...
[platal.git] / templates / skin / openweb.tpl
1 {**************************************************************************}
2 {*                                                                        *}
3 {*  Copyright (C) 2003-2007 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 {include file=skin/common.doctype.tpl}
24     <link rel="stylesheet" type="text/css" href="css/openweb.css" media="all" />
25     {include file=skin/common.header.tpl}
26     {include file=skin/common.bandeau.head.tpl}
27   </head>
28   <body>
29     {include file=skin/common.devel.tpl}
30
31     {if $smarty.session.suid}
32     <table id="suid" cellpadding="0" cellspacing="0">
33       <tr>
34         <td>
35           {$smarty.session.suid} ({$smarty.session.forlife})
36           [<a href="exit">exit</a>]
37         </td>
38       </tr>
39     </table>
40     {/if}
41
42   {if $simple}
43
44   <div id="body">
45     {include file="skin/common.content.tpl"}
46   </div>
47
48   {else}
49
50     {include file=skin/common.bandeau.tpl}
51
52     <table id="body" cellpadding="0" cellspacing="0">
53       <tr>
54         <td id="body-logo">
55           <a href=""><img src="images/skins/default_headlogo.jpg" alt="[ LOGO ]" /></a>
56         </td>
57         <td id="body-top">
58           <a href=""><img src="images/skins/default_ban.jpg" alt="[ Polytechnique.org ]" /></a>
59           {include file="skin/common.title.header.tpl"}
60         </td>
61       </tr>
62       <tr>
63         <td id="body-menu">
64         {include file=skin/common.menu.tpl}
65         </td>
66         <td style="vertical-align: top">
67           <div id="content">
68           {include file="skin/common.content.tpl"}
69           </div>
70         </td>
71       </tr>
72       <tr>
73         <td id="body-bottom" colspan='2'>
74           {include file=skin/common.footer.tpl}
75         </td>
76       </tr>
77     </table>
78   {/if}
79   </body>
80 </html>
81 {* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}