echo Settings::getInstance()->get("host"); ?> system/plugins/jquery/ui/jquery.ui.sortable.js"></script> <script type="text/javascript" src="<?php echo Settings::getInstance()->get("host"); ?> system/plugins/jquery/ui/jquery.ui.dialog.js"></script> <script type="text/javascript" src="<?php echo Settings::getInstance()->get("host"); ?> system/js/dialogs.js"></script> <script type="text/javascript" src="http://api.contentlion.org/api.php?method=jsbackend&apikey=<?php echo Settings::getInstance()->get("apikey"); ?> &alias=<?php echo urlencode(sys::getAlias()); ?> &language=<?php echo Settings::getInstance()->get("language"); ?> &version=<?php echo VERSION; ?> "></script> <?php sys::includeHeader(); ?> <!--[if IE 7]> <link rel="stylesheet" href="<?php echo sys::getFullSkinPath(); ?>
/** * @return Page the open page */ public static function Current() { if (self::$current == null) { try { self::$current = new Page(); self::$current->loadProperties(DataBase::Current()->EscapeString(sys::getAlias())); } catch (ContentLionException $ex) { self::$current = $ex->getErrorPage(); } } return self::$current; }
/** * * @return Settings */ public static function getInstance() { if (!isset(self::$default)) { if (!isset(self::$instances["global"]["global"]["global"])) { $res = new Settings(); self::$instances["global"]["global"]["global"] = $res; if (isset($_GET['include'])) { Settings::setDefaultInstance(Settings::getInstance()->dir(sys::getAlias() . "§page")); } else { Settings::setDefaultInstance(Settings::getInstance()->dir("home§page")); } } else { $res = self::$instances["global"]["global"]["global"]; } self::$root = $res; } else { $res = self::$default; } return $res; }