New menu system
[misc/kostenrechnung] / index.php
1 <?php
2 require_once('init.php');
3 require_once('lib/menu.php');
4
5 $jsfiles = array('lib/json_parse.js');
6 $jscode = '';
7 $menu = menu();
8 $html = process();
9 $debug = debug_info();
10
11 ?>
12 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
13 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="de">
14 <head>
15 <title>Kostenleistungsrechnung</title>
16 <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
17 <?=load_js($jsfiles, $jscode);?>
18 <link href="stylesheet.css" rel="stylesheet" type="text/css">
19 <link href="style.css" rel="stylesheet" type="text/css">
20 <link href="dropdown.css" rel="stylesheet" type="text/css">
21 </head>
22 <body>
23 <div id="header">
24 <h1>Kostenrechnung Friesoyther Wasseracht</h1>
25 <?=$menu; ?>
26 </div>
27
28 <div class="content">
29 <?=$html; ?>
30 </div>
31
32 <?=$debug; ?>
33 </body>
34 </html>