2 // vim: set expandtab tabstop=4 softtabstop=4 shiftwidth=4:
3 // +--------------------------------------------------------------------+
4 // | Luca's Website (L'SWS) |
5 // +--------------------------------------------------------------------+
6 // | This file is part of L'SWS. |
8 // | L'SWS is free software; you can redistribute it and/or modify it |
9 // | under the terms of the GNU General Public License as published by |
10 // | the Free Software Foundation; either version 2 of the License, or |
11 // | (at your option) any later version. |
13 // | L'SWS is distributed in the hope that it will be useful, but |
14 // | WITHOUT ANY WARRANTY; without even the implied warranty of |
15 // | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
16 // | General Public License for more details. |
18 // | You should have received a copy of the GNU General Public License |
19 // | along with Hooks; if not, write to the Free Software Foundation, |
20 // | Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
21 // +--------------------------------------------------------------------+
22 // | Created: vie ene 31 01:16:41 ART 2003 |
23 // | Authors: Leandro Lucarella <luca@lugmen.org.ar> |
24 // +--------------------------------------------------------------------+
29 require_once 'Hook.php';
30 require_once 'Hook/Menu.php';
33 * Draws the HTML header.
37 $menu = $CONFIG['menu'];
38 $title = $CONFIG['title'];
39 $root = $CONFIG['root'];
42 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
45 <? Hook::hook('head') ?>
47 <TABLE class="structure">
50 <TD class="logocontainer">
54 <A href="<?= $root ?>/">
55 <IMG src="<?= $root ?>/images/home"
56 alt="Volver a la página inicial"/>
60 <TD class="titlecontainer" colspan="2">
61 <H2><?= $title ?></H2>
65 <TD class="menucontainer">
66 <? Hook_Menu::menu($menu['up'], $menu['root'], $menu['deep'], $menu['level']) ?>
68 <TD class="bodycontainer" colspan="2">