dedecms会员注册成功后直接跳转到验证的邮箱地址
<span style='font-family: tahoma, arial, "Microsoft YaHei"; font-size: 14px;'>打开members下templets下reg-new3.htm这段代码: </span><br style='font-family: tahoma, arial, "Microsoft YaHei"; font-size: 14px;'><br style='font-family: tahoma, arial, "Microsoft YaHei"; font-size: 14px;'><div class="msgheader" style='margin: 3px auto 0px; padding: 0px 3px; outline: none; line-height: 21.6px; clear: both; border-width: 1px; border-style: solid; border-color: rgb(0, 153, 204); background: rgb(246, 251, 255); overflow: hidden; font-family: tahoma, arial, "Microsoft YaHei";'><div class="right">
<span><u>复制代码</u></span>
</div>
代码如下:</div>
<div class="msgborder" id="phpcode2" style='margin: 0px auto 3px; padding: 0px 3px; outline: none; line-height: 25.2px; font-size: 14px; clear: both; border-right: 1px solid rgb(0, 153, 204); background: rgb(221, 237, 251); overflow: hidden; border-left: 1px solid rgb(0, 153, 204); word-break: break-all; border-bottom: 1px solid rgb(0, 153, 204); word-wrap: break-word; font-family: tahoma, arial, "Microsoft YaHei";'>
<br>
<div class="bor"><div class="<?php echo ($cfg_mb_reginfo == 'Y')? '' : 's';?>tip3"></div> <br>
<p class="success">注册成功!<?php echo $uname=empty($uname)? '' : '您的用户名:<font color="#ff6600">'.$uname.'</font>,';?>您已成为本站的正式会员!<br>
<?php if($cfg_mb_spacesta=="-10") echo '<font color="#ff6600">由于系统开启了邮件审核机制,因此你的帐号需要审核后才能发信息!</font><br>
';?> <br>
<font color="#ff6600"><span id="loadtime">10</span></font>秒钟后自动转到会员中心!<br><br>
<a href="<?php echo $cfg_cmspath; ?>/member/index_do.php?fmdo=email_tiao&email=<?php echo $email;?>" target="_blank">立刻进入邮箱验证</a> <br>
<a href="<?php echo $cfg_cmspath; ?>/member/">马上进入会员中心</a>&nbsp;&nbsp;<a href="<?php echo $cfg_cmspath; ?>/">返回网站首页</a></p></div> </div>
<br style='font-family: tahoma, arial, "Microsoft YaHei"; font-size: 14px;'><span style='font-family: tahoma, arial, "Microsoft YaHei"; font-size: 14px;'>点击立刻进入邮箱验证的时候,传值,到index_do.php,新建一个else if </span><br style='font-family: tahoma, arial, "Microsoft YaHei"; font-size: 14px;'><br style='font-family: tahoma, arial, "Microsoft YaHei"; font-size: 14px;'><div class="msgheader" style='margin: 3px auto 0px; padding: 0px 3px; outline: none; line-height: 21.6px; clear: both; border-width: 1px; border-style: solid; border-color: rgb(0, 153, 204); background: rgb(246, 251, 255); overflow: hidden; font-family: tahoma, arial, "Microsoft YaHei";'>
<div class="right">
<span><u>复制代码</u></span>
</div>
代码如下:</div>
<div class="msgborder" id="phpcode3" style='margin: 0px auto 3px; padding: 0px 3px; outline: none; line-height: 25.2px; font-size: 14px; clear: both; border-right: 1px solid rgb(0, 153, 204); background: rgb(221, 237, 251); overflow: hidden; border-left: 1px solid rgb(0, 153, 204); word-break: break-all; border-bottom: 1px solid rgb(0, 153, 204); word-wrap: break-word; font-family: tahoma, arial, "Microsoft YaHei";'>
<br>
else if($fmdo=='email_tiao') <br>
{ <br>
$email=$_GET['email']; <br>
$email_arr=explode("@",$email); <br>
$email_b=$email_arr; <br>
if($email_b=='qq.com'){ <br>
$url="?"; <br>
ShowMsg("请稍等,5秒钟后转向登录邮箱主页...",$url,0,2000); <br>
} <br>
else if($email_b=='163.com'){ <br>
$url="http://mail.163.com/"; <br>
ShowMsg("请稍等,5秒钟后转向登录邮箱主页...",$url,0,2000); <br>
} <br>
else if($email_b=='vip.163.com'){ <br>
$url="http://vip.163.com/?b10bpj1yhsy"; <br>
ShowMsg("请稍等,5秒钟后转向登录邮箱主页...",$url,0,2000); <br>
} <br>
else if($email_b=='sina.com'){ <br>
$url="http://mail.sina.com.cn/"; <br>
ShowMsg("请稍等,5秒钟后转向登录邮箱主页...",$url,0,2000); <br>
} <br>
else if($email_b=='vip.sina.com'){ <br>
$url="http://mail.sina.com.cn/cgi-bin/viplogin.php"; <br>
ShowMsg("请稍等,5秒钟后转向登录邮箱主页...",$url,0,2000); <br>
} <br>
else if($email_b=='sohu.com'){ <br>
$url="http://login.mail.sohu.com/"; <br>
ShowMsg("请稍等,5秒钟后转向登录邮箱主页...",$url,0,2000); <br>
} <br>
else if($email_b=='tom.com'){ <br>
echo '走<u>QQ</u>邮箱了'; <br>
$url="http://pass.tom.com/login.php?err=1&svcid=47&backurl=http%3A%2F%2Ftom.com%2F"; <br>
ShowMsg("请稍等,5秒钟后转向登录邮箱主页...",$url,0,2000); <br>
} <br>
else if($email_b=='163.net'){ <br>
$url="http://mail.163.net/"; <br>
ShowMsg("请稍等,5秒钟后转向登录邮箱主页...",$url,0,2000); <br>
} <br>
else if($email_b=='263.net'){ <br>
$url="http://mail.263.net/"; <br>
ShowMsg("请稍等,5秒钟后转向登录邮箱主页...",$url,0,2000); <br>
} <br>
else if($email_b=='21cn.com'){ <br>
$url="http://public.webmail.21cn.com/"; <br>
ShowMsg("请稍等,5秒钟后转向登录邮箱主页...",$url,0,2000); <br>
} <br>
else if($email_b=='yahoo.com.cn'){ <br>
$url=""; <br>
ShowMsg("请稍等,5秒钟后转向登录邮箱主页...",$url,0,2000); <br>
} <br>
else if($email_b=='126.com'){ <br>
$url="http://mail.126.com/"; <br>
ShowMsg("请稍等,5秒钟后转向登录邮箱主页...",$url,0,2000); <br>
} <br>
else if($email_b=='eyou.com'){ <br>
$url="http://www.eyou.com/"; <br>
ShowMsg("请稍等,5秒钟后转向登录邮箱主页...",$url,0,2000); <br>
} <br>
else if($email_b=='xinhuanet.com'){ <br>
$url="http://mail.xinhuanet.com/portal/mail.xinhuanet.com/index.jsp?locale=zh_cn"; <br>
ShowMsg("请稍等,5秒钟后转向登录邮箱主页...",$url,0,2000); <br>
} <br>
else if($email_b=='hotmail.com'){ <br>
$url=""; <br>
ShowMsg("请稍等,5秒钟后转向登录邮箱主页...",$url,0,2000); <br>
} <br>
else if($email_b=='msn.com'){ <br>
$url=""; <br>
ShowMsg("请稍等,5秒钟后转向登录邮箱主页...",$url,0,2000); <br>
} <br>
} </div>
<br style='font-family: tahoma, arial, "Microsoft YaHei"; font-size: 14px;'><span style='font-family: tahoma, arial, "Microsoft YaHei"; font-size: 14px;'>即可实现邮箱验证 </span>
頁:
[1]