Move general management into init.php
[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 </head>
21 <body>
22 <div id="header">
23 <h1>Kostenrechnung Friesoyther Wasseracht</h1>
24 <?=$menu; ?>
25 </div>
26
27 <div class="content">
28 <?=$html; ?>
29 </div>
30
31 <?=$debug; ?>
32 </body>
33 </html>