예제 #1
0
@(include $include_path . "settings.php");
require_once $include_path . "backend/backend.php";
// We'll need to use some general functions, like urlize:
require_once $include_path . "lib/general.lib.php";
$this_page = setThisPage();
// And playlists:
require_once $include_path . "playlists/class.php";
// We need services for the URL stuff:
require_once $include_path . "services/class.php";
$jzSERVICES = new jzServices();
$jzSERVICES->loadStandardServices();
// Make a fake user, just in case:
if (defined('JZ_NO_USER')) {
    $jzUSER = new jzUser(false);
} else {
    $jzUSER = new jzUser();
}
$jzSERVICES->loadUserServices();
handleUserInit();
include_once $include_path . "frontend/icons.lib.php";
include_once $include_path . "frontend/frontends/{$my_frontend}/header.php";
// Let's build a display class:
require_once $include_path . "frontend/display.php";
$display = new jzDisplay();
// This is a bundle of useful display functions.
$blocks = new jzBlocks();
// Another useful bundle of functions.
$css = $jzSERVICES->cmsCSS();
$define_only = true;
include $css;
unset($define_only);