source/class/class_member.php
}
$param = array('bbname' => $this->setting['bbname'], 'username' => $_G['username'], 'usergroup' => $_G['group']['gro
uptitle'], 'uid' => $_G['uid']);
if(strpos($url_forward, $this->setting['regname']) !== false || strpos($url_forward, 'buyinvitecode') !== false) {
$url_forward = 'forum.php';
}
$href = str_replace("'", "\'", $url_forward);
if ($_G['uid']){
$ucsynloginjs = $this->setting['allowsynlogin'] ? uc_user_synlogin($_G['uid']) : 'err!!!!!!!';
}
$extra = array(
'showid' => 'succeedmessage',
'extrajs' => $ucsynloginjs.
'<script type="text/javascript">'.
'setTimeout("window.location.href =\''.$href.'\';", 5000);'.
'$(\'succeedmessage_href\').href = \''.$href.'\';'.
'$(\'main_message\').style.display = \'none\';'.
'$(\'main_succeed\').style.display = \'\';'.
'$(\'succeedlocation\').innerHTML = \''.lang('message', $locationmessage).'\';'.
'</script>',
'striptags' => false,
);
$extra['extrajs'] = showmessage($message, $url_forward, $param, $extra);
}