loadConfigById(ONLINEEDITOR_M_ID, $admin_path['admin'], $oe_optionen); $oeObj->mysql_table = $oe_optionen['mysql_table']; $oeObj->optionen = $oe_optionen; # online editor-content anhand der url laden $oeContent[__FILE__] = $oeObj->getOnlineEditorContent(); $oeContent['id'] = $oeContent[__FILE__]['id']; #print_r($oeContent); # meta-angaben $meta_array['title'] = $oeContent[__FILE__]['meta']['title']; $meta_array['keywords'] = $oeContent[__FILE__]['meta']['keywords']; $meta_array['description'] = $oeContent[__FILE__]['meta']['description']; # keine rechte spalte?! $keineRechteSpalte = $oeContent[__FILE__]['oe_vars']['keineRechteSpalte']; # kopfzeilen-stichworte (head.inc.php) $siteWords = $oeContent[__FILE__]['bereiche'][0]; # kopf der seite require(SERVER_PATH_TO_ROOT . 'head.inc.php'); if (is_array($oeContent)) { # smarty require(SERVER_PATH_TO_ROOT . 'includes/smarty_setup.inc.php'); $smarty = new Smarty_Frontend; # online editor-bereiche $smarty->assign('oeContent', $oeContent[__FILE__]); # online editor-template $smarty->display('file:'.$smarty->template_dir . $oeContent[__FILE__]['oe_template']); } # fuss der seite require(SERVER_PATH_TO_ROOT . 'foot.inc.php'); ?>