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