Always disable Rico debugging
[misc/kostenrechnung] / index.php
index 4dbfdb6..688a57e 100644 (file)
--- a/index.php
+++ b/index.php
@@ -1,34 +1,29 @@
 <?php
-require_once('config.php');
-require_once('lib/general.php');
+require_once('init.php');
+require_once('lib/menu.php');
 
 $jsfiles = array('lib/json_parse.js');
 $jscode = '';
+$menu = menu();
 $html = process();
-
 $debug = debug_info();
 
 ?>
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="de">
 <head>
-<title>Kostenleistungsrechnung</title>
+<title>Kostenleistungsrechnung Friesoyther Wasseracht</title>
 <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+<meta http-equiv="refresh" content="14400; URL=./?logout=true ">
 <?=load_js($jsfiles, $jscode);?>
 <link href="stylesheet.css" rel="stylesheet" type="text/css">
 <link href="style.css" rel="stylesheet" type="text/css">
+<link href="dropdown.css" rel="stylesheet" type="text/css">
 </head>
 <body>
 <div id="header">
 <h1>Kostenrechnung Friesoyther Wasseracht</h1>
- <div id="menu">
-  <ul id="nav">
-   <li><a href="#">Start</a></li>
-   <li><a href="#">Eingabe</a></li>
-   <li><a href="#">Abfragen</a></li>
-   <li><a href="#">FooBar</a></li>
-  </ul>
- </div>
+<?=$menu; ?>
 </div>
 
 <div class="content">