Add debugging facility
[misc/kostenrechnung] / index.php
1 <?php
2 require_once('config.php');
3 require_once('lib/general.php');
4
5 $jsfiles = array('lib/json_parse.js');
6 $jscode = '';
7 $html = process();
8
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  <div id="menu">
25   <ul id="nav">
26    <li><a href="#">Start</a></li>
27    <li><a href="#">Eingabe</a></li>
28    <li><a href="#">Abfragen</a></li>
29    <li><a href="#">FooBar</a></li>
30   </ul>
31  </div>
32 </div>
33
34 <div class="content">
35 <?=$html; ?>
36 </div>
37
38 <?=$debug; ?>
39 </body>
40 </html>