0) { $row = mysql_fetch_object ($read); $_SESSION[loginUser] = $row->kdID; } include ("config.inc.php"); } if ($_REQUEST[searchKey]) { $_SESSION[searchKey] = $_REQUEST[searchKey]; } if ($_GET[logout] == "set") { unset($_SESSION[loginUser]); } if ($_REQUEST[form_go]) { include ("form_out.php"); } else { if (!$_SESSION[language]) { $_SESSION[language] = 1; } if ($_REQUEST[change_language]) { $_SESSION[language] = $_REQUEST[change_language]; header ("Location: /" . startseite () . "/index.html"); } if (!$_REQUEST[id] || check_language_id () != 1) { $_REQUEST[id] = startseite (); } $sql = "SELECT * FROM navigation WHERE navID = '$_REQUEST[id]'"; $read = mysql_query ($sql); $row = mysql_fetch_object ($read); if ($row->goto) { header ("Location: " . $row->goto . ""); } define (URL, url ()); variables (); include ("functions/content.php"); $content = content (); include ("functions/navigation.php"); include ("functions/html.php"); include ("functions/form.php"); $html = str_replace ("--SITEMAP--", $sitemap, $html); $html = str_replace ("--MICROSITE--", $microsite, $html); $html = str_replace ("--TITLE--", $content[Title], $html); $html = str_replace ("--DESCRIPTION--", $content[Description], $html); $html = str_replace ("--KEYWORDS--", $content[Keywords], $html); $html = str_replace ("--STYLE--", style (), $html); $html = str_replace ("--TOPNAVI--", topnavi (), $html); $html = str_replace ("--NAVIGATION--", navigation (), $html); $html = str_replace ("--SEARCH--", search (), $html); $html = str_replace ("--RIGHT--", right ($content_id), $html); $html = str_replace ("--LANGUAGE--", language (), $html); $html = str_replace ("--HEAD--", head ($content_id), $html); $html1 = explode ("--CONTENT--", $html); echo $html1[0]; $content[Text] = formgen::convert($content[Text]); $content[Text] = variable_h1 ($content[Text]); echo $content[Text]; if ($content[Modul]) { $content[Text] = include ("module/$content[Modul]"); } echo $html1[1]; } require ("functions/waytocontact.php"); ?>