Beispiel #1
0
            } else {
            }
        }
        if ($proceed) {
            // do some other checks when we are logged in
            $statuses = participant_status__get_statuses();
            $statuses_profile = participant_status__get("access_to_profile");
            if (isset($participant) && !in_array($participant['status_id'], $statuses_profile)) {
                message($statuses[$participant['status_id']]['error'] . " " . lang('if_you_have_questions_write_to') . " " . support_mail_link());
                redirect("public/");
            }
        }
    }
}
if ($proceed) {
    $pagetitle = $settings['default_area'];
    if (!isset($title)) {
        $title = "";
    }
    if ($title) {
        $title = lang($title);
    }
    $pagetitle = $pagetitle . ': ' . $title;
    if (!isset($suppress_html_header) || !$suppress_html_header) {
        html__header();
        html__show_style_header('public', $title);
        echo "<center>";
        show_message();
        echo "</center>";
    }
}
Beispiel #2
0
}
if ($proceed) {
    if (isset($expadmindata['pw_update_requested']) && $expadmindata['pw_update_requested'] && $document != "admin_pw.php") {
        message(lang('please_change_your_password'));
        redirect("admin/admin_pw.php");
    }
}
if ($proceed) {
    if (isset($_REQUEST['new_language'])) {
        $expadmindata['language'] = $_REQUEST['new_language'];
        $_SESSION['expadmindata'] = $expadmindata;
    }
    if (!isset($expadmindata['language'])) {
        $expadmindata['language'] = $settings['admin_standard_language'];
    }
    $authdata['language'] = $expadmindata['language'];
    $_SESSION['authdata'] = $authdata;
    $lang = load_language($expadmindata['language']);
    if (!isset($title)) {
        $title = "";
    }
    if ($title) {
        $title = lang($title);
    }
    $pagetitle = $settings['default_area'] . ': ' . $title;
    html__header();
    html__show_style_header('admin', $title);
    echo "<center>";
    show_message();
    echo "</center>";
}