$value) { $_REQUEST[$key] = f_clean($value); } $PHPSESSID = session_id(); if(!isset($_GET[category])) $_GET[category] = 5; /* Navigation laden */ $a_navi = navi($_GET[category], $PHPSESSID, $_GET[group]); $navi_content = $a_navi[0]; $navi = load_template($a_navi[1]); /* Skript laden */ $get_sitedata = db_query("SELECT * FROM files WHERE id='$_GET[category]'"); $sitedata = mysql_fetch_array($get_sitedata); if(!@include_once("$SCRIPTS/$sitedata[script]")) die("Kein Skript vorhanden"); /* HTML-Header laden */ $content = load_template("$TEMPLATES/header.tpl"); while(preg_match_all("",$content,$matches)) { foreach($matches[1] as $link) { $content = str_replace("", $$link, $content); unset($matches); } } // Seite ausgeben echo $content; ?>