少有不孤 發表於 2023-11-16 00:00:00

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>
        &lt;div class="bor"&gt;&lt;div class="&lt;?php echo ($cfg_mb_reginfo == 'Y')? '' : 's';?&gt;tip3"&gt;&lt;/div&gt; <br>
        &lt;p class="success"&gt;注册成功!&lt;?php echo $uname=empty($uname)? '' : '您的用户名:&lt;font color="#ff6600"&gt;'.$uname.'&lt;/font&gt;,';?&gt;您已成为本站的正式会员!<br>
        &lt;?php if($cfg_mb_spacesta=="-10") echo '&lt;font color="#ff6600"&gt;由于系统开启了邮件审核机制,因此你的帐号需要审核后才能发信息!&lt;/font&gt;<br>
        ';?&gt; <br>
        &lt;font color="#ff6600"&gt;&lt;span id="loadtime"&gt;10&lt;/span&gt;&lt;/font&gt;秒钟后自动转到会员中心!<br><br>
        &lt;a href="&lt;?php echo $cfg_cmspath; ?&gt;/member/index_do.php?fmdo=email_tiao&amp;email=&lt;?php echo $email;?&gt;" target="_blank"&gt;立刻进入邮箱验证&lt;/a&gt; <br>
        &lt;a href="&lt;?php echo $cfg_cmspath; ?&gt;/member/"&gt;马上进入会员中心&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;a href="&lt;?php echo $cfg_cmspath; ?&gt;/"&gt;返回网站首页&lt;/a&gt;&lt;/p&gt;&lt;/div&gt; </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&amp;svcid=47&amp;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]
查看完整版本: dedecms会员注册成功后直接跳转到验证的邮箱地址