Ejemplo n.º 1
0
}
// Create new frontend object
if (!isset($wb) || !$wb instanceof frontend) {
    $wb = new frontend();
}
// Make sure the login is enabled
if (!FRONTEND_LOGIN) {
    if (INTRO_PAGE) {
        header('Location: ' . WB_URL . '/index.php');
        exit(0);
    } else {
        header('Location: ' . WB_URL . '/index.php');
        exit(0);
        if ($wb->get_user_id() && $wb->ami_group_member('1')) {
        } else {
            $wb->print_missing_frontend_login();
        }
        exit(0);
    }
}
$page_id = @$_SESSION['PAGE_ID'] ?: 0;
// Required page details
// $page_id = 0;
$page_description = '';
$page_keywords = '';
define('PAGE_ID', $page_id);
define('ROOT_PARENT', 0);
define('PARENT', 0);
define('LEVEL', 0);
define('PAGE_TITLE', $TEXT['PLEASE_LOGIN']);
define('MENU_TITLE', $TEXT['PLEASE_LOGIN']);