Ejemplo n.º 1
0
    // Assign
    $smarty->assign('default_design', $auth['design']);
}
initializeDesign();
### Load Rotation Banner
if ($_GET['design'] != 'popup' and $_GET['action'] != 'wizard' and !$_SESSION['lansuite']['fullscreen'] and $db->success and $func->isModActive('sponsor')) {
    include_once "modules/sponsor/banner.php";
}
### Create Boxes / load Boxmanager
if (!$IsAboutToInstall and $_GET['design'] != 'base') {
    include_once "modules/boxes/boxes.php";
}
### index_module.inc.php load the Modulactions and Codes
$db->DisplayErrors();
if ($PHPErrors) {
    $func->error($PHPErrors);
}
$PHPErrors = '';
#$func->error($func->FormatFileSize(memory_get_usage()));
#trigger_error(memory_get_usage(), E_USER_ERROR);
include_once 'index_module.inc.php';
### Complete Framework and Output HTML
$framework->set_design($auth['design']);
$db->DisplayErrors();
if ($PHPErrors) {
    $func->error($PHPErrors);
}
$PHPErrors = '';
$framework->add_content($FrameworkMessages);
// Add old Frameworkmessages (sollten dann ausgetauscht werden)
$framework->add_content($MainContent);