예제 #1
0
$unhtml_specialchars_replace = array('>', '<', '"', '&');
// BEGIN Disable Registration MOD
if ($config['registration_status'] && !$user->data['session_logged_in']) {
    if (empty($config['registration_closed'])) {
        message_die(GENERAL_MESSAGE, 'registration_status', 'Information');
    } else {
        message_die(GENERAL_MESSAGE, $config['registration_closed'], 'Information');
    }
}
// END Disable Registration MOD
// CrackerTracker v5.x
// BEGIN CrackerTracker v5.x
include_once IP_ROOT_PATH . 'includes/ctracker/classes/class_ct_userfunctions.' . PHP_EXT;
$profile_security = new ct_userfunctions();
$profile_security->handle_profile();
isset($_POST['submit']) ? $profile_security->password_functions() : null;
// END CrackerTracker v5.x
// CrackerTracker v5.x
// Load agreement template since user has not yet agreed to registration conditions/coppa
function show_coppa()
{
    global $config, $user, $template, $lang;
    // Load the appropriate Rules file
    $lang_file = 'lang_rules';
    $l_title = $lang['BoardRules'];
    // Include the rules settings
    setup_extra_lang(array($lang_file));
    //
    // Pull the array data from the lang pack
    //
    $j = 0;