)
		)
	),
	array (
		'type' => 'separator',
	),
	array (
		'type' => 'item',
		'name' => 'Ausloggen',
		'tooltip' => 'Loggt disch aus',
		'icon' => 'navi/logout.png',
		'command' => 'core/session.php?logout'
	)
);
*/
$naviObj = new StandardNavigation();
?>
<html>
<head>
	<?php 
echo $naviObj->getHeader();
?>
</head>

<body>
	<?php 
echo $naviObj->getHTML();
?>
	<p>Erste Zeile</p>
	<br />
	<br />
/**
 * This file is called by StandardNavigation. It externalizes the CSS and JS code of
 * StandardNavigation, assuming it does not change for each side. This saves some
 * bandwith, as this file should be cached.
 * 
 * @author Eni Kao
 */
define('BADGER_ROOT', '../..');
require_once BADGER_ROOT . '/includes/fileHeaderBackEnd.inc.php';
require_once BADGER_ROOT . '/core/navi/StandardNavigation.class.php';
require_once BADGER_ROOT . '/core/navi/NavigationFromDB.class.php';
//require_once(BADGER_ROOT . '/core/UserSettings.class.php'); // sollte das nicht auch in die Includes??
if (isset($_GET['part'])) {
    $callerBadgerRoot = isset($_GET['badger_root']) ? getGPC($_GET, 'badger_root') : "";
    $navi = NavigationFromDB::getNavigation($callerBadgerRoot);
    $naviObj = new StandardNavigation();
    $naviObj->setStructure($navi);
    //We do our best to get this cached
    //header('Cache-Control: public');
    //header('Expires: ' . date('r', time() + 24 * 60 * 60));
    switch (getGPC($_GET, 'part')) {
        case 'css':
            header('Content-Type: text/css');
            echo $naviObj->getCSS();
            break;
        case 'js':
            header('Content-Type: text/javascript');
            echo "function loadNavigation() {\n" . $naviObj->getJS() . "\n}";
            break;
    }
}
* Visit http://www.badger-finance.org 
*
**/
/*
 * Due to internal changes in StandardNavigation, this example is more ore less the same as
 * StandardNavigationTest.php.
 * 
 * This example requires the table navi in the database.
 * See http://svn.berlios.de/viewcvs/badger/techdoc/navi/
 */
define('BADGER_ROOT', '../..');
require_once BADGER_ROOT . '/includes/fileHeaderFrontEnd.inc.php';
require_once BADGER_ROOT . '/core/navi/NavigationFromDB.class.php';
require_once BADGER_ROOT . '/core/navi/StandardNavigation.class.php';
$navi1 = NavigationFromDB::getNavigation("../..");
$naviObj = new StandardNavigation();
$naviObj->setStructure($navi1);
?>
<html>
<head>
	<?php 
echo $naviObj->getHeader();
?>

<body>
	<?php 
echo $naviObj->getHTML();
?>
	<p>Erste Zeile</p>
	<br />
	<br />