{
$mailtype = 'TXT';
require_once(DEDEINC.'/mail.class.php');
$smtp = new smtp($cfg_smtp_server,$cfg_smtp_port,true,$cfg_smtp_usermail,$cfg_smtp_password);
$smtp->debug = false;
$smtp->sendmail($email,$cfg_webname,$cfg_smtp_usermail, $mailtitle, $mailbody, $mailtype);
}
else
{
@mail($email, $mailtitle, $mailbody, $headers);
}
}//End 邮件验证
if($cfg_mb_reginfo == 'Y')
{
ShowMsg("完成基本信息的注册,接下来完善详细资料...","index_do.php?fmdo=user&dopost=regnew&step=2",0,1000);
exit();
} else {
require_once(DEDEMEMBER."/templets/reg-new3.htm");
exit;
}
}
else
{
ShowMsg("注册失败,请检查资料是否有误或与管理员联系!", "-1");
exit();
}
}
require_once(DEDEMEMBER."/templets/reg-new.htm");
}else {
if(!$cfg_ml->IsLogin())
{
ShowMsg("尚未完成基本信息的注册,请返回重新填写!", "index_do.php?fmdo=user&dopost=regnew");
exit;
} else {
if($cfg_ml->fields['spacesta'] == 2)
{
ShowMsg('你已经登陆系统,无需重新注册!', 'index.php');
exit;
}
}
$membermodel = new membermodel($cfg_ml->M_MbType);
标签: