template_dir = "templates"; $smarty->compile_dir = "../tmp"; /** * @deprecated Start des Cachingmodules */ $data["nav"] = $_GET["kat"]; $data["page"] = $_GET["page"]; $data["ssnav"] = $_GET["ssnav"]; if ($data["ssnav"]) { $data["subtpl"] = $data["nav"]."/".$data["page"]."/".$data["ssnav"].".tpl"; } elseif ($data["nav"]) { $data["subtpl"] = $data["nav"]."/".$data["page"].".tpl"; } else { $data["subtpl"] = "index.tpl"; } /** * @deprecated Uebergabe der Variablen an Smarty */ if (empty($data["subtpl"])) { $data["subtpl"] = "index.tpl"; } $smarty->assign(array( "data" => $data)); $smarty->display("content.tpl"); ?>