Reg_Result.asp
上传用户:jisenq
上传日期:2014-06-29
资源大小:7216k
文件大小:7k
源码类别:

数据库编程

开发平台:

ASP/ASPX

  1. <% Option Explicit %>
  2. <!--#include file="../FS_Inc/Const.asp" -->
  3. <!--#include file="../FS_InterFace/MF_Function.asp" -->
  4. <!--#include file="../FS_Inc/Function.asp" -->
  5. <!--#include file="lib/strlib.asp" -->
  6. <%
  7. User_GetParm
  8. if RegisterTF =false then
  9. Response.Redirect("lib/Error.asp?ErrCodes=<li>暂时关闭注册功能</li><li>或者系统参数丢失!</li>&ErrorUrl="&Request.ServerVariables("URL")&"?"&request.QueryString&"")
  10. Response.end
  11. End if
  12. if  session("FS_UserName") = "" or  session("FS_UserNumber") = "" or session("FS_NickName") = "" or  session("FS_UserPassword") ="" or session("FS_IsCorp") = "" or  session("FS_UserEmail") = "" then
  13. Response.Redirect("lib/Error.asp?ErrCodes=<li>错误的参数</li><li>请不要在外部访问本页!</li>&ErrorUrl=/")
  14. Response.end
  15. End if
  16. response.Cookies("FoosunUserCookies")("UserLogin_Style_Num")  = p_LoginStyle
  17. If p_LoginStyle="" Or p_LoginStyle = 0 then
  18. Request.Cookies("FoosunUserCookies")("UserLogin_Style_Num") = "1"
  19. End if
  20. Dim ReturnUrlpage,strReturnUrlpage
  21. if p_NumReturnUrl = 0 then
  22. ReturnUrlpage = "会员中心首页"
  23. strReturnUrlpage = "main.asp"
  24. ElseIf p_NumReturnUrl = 1 then
  25. ReturnUrlpage = "网站首页"
  26. strReturnUrlpage = "../"
  27. End if
  28. %>
  29. <html xmlns="http://www.w3.org/1999/xhtml">
  30. <title>会员注册step 4 of 4 step</title>
  31. <meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
  32. <meta content="MSHTML 6.00.3790.2491" name="GENERATOR" />
  33. <meta name="keywords" content="风讯,风讯cms,cms,FoosunCMS,FoosunOA,FoosunVif,vif,风讯网站内容管理系统">
  34. <link href="images/skin/Css_<%=Request.Cookies("FoosunUserCookies")("UserLogin_Style_Num")%>/<%=Request.Cookies("FoosunUserCookies")("UserLogin_Style_Num")%>.css" rel="stylesheet" type="text/css">
  35. <head>
  36. <body oncontextmenu="return false;" onLoad="setTimeout('leavePage()', 1000)">
  37. <table width="98%" border="0" align="center" cellpadding="1" cellspacing="0">
  38.   <tr> 
  39.     <td><table width="100%" height="279" border="0" align="center" cellpadding="4" cellspacing="1" class="table">
  40.         <tr class="back"> 
  41.           <td   colspan="2" class="xingmu" height="24">·User Register step 4.(注册成功)</td>
  42.         </tr>
  43.         <tr class="back"> 
  44.           <td width="15%" valign="top" class="hback"><strong>【注册步骤】</strong> <br>
  45.             <br>
  46.             <div align="left"> √同意注册协议<br>
  47.               <br>
  48.               √填写会员资料<br>
  49.               <br>
  50.               √填写联系资料<br>
  51.               <br>
  52.               →注册成功</div>
  53.             </td>
  54.           <td width="85%" valign="top" class="hback"> 
  55.             <div align="center" class="tx"> 
  56.               <table width="100%" border="0" cellspacing="0" cellpadding="0">
  57.                 <tr>
  58.                   <td>&nbsp;</td>
  59.                 </tr>
  60.               </table>
  61.             </div>
  62.   
  63.             <table width="96%" border="0" align="center" cellpadding="4" cellspacing="1" class="table">
  64.               <tr> 
  65.                 <td height="18" class="xingmu">恭喜您:<span class="tx"><% = session("FS_NickName") %></span>,您已经在本站注册成功! </td>
  66.               </tr>
  67.               <tr>
  68.                 <td height="29" class="back"><table width="100%" border="0" cellspacing="1" cellpadding="5">
  69.                     <tr class="hback"> 
  70.                       <td width="21%"><div align="right"><strong>用户号:</strong></div></td>
  71.                       <td width="79%"><% = session("FS_UserNumber") %>
  72.                              <span class="tx">请牢记用户编号,以后有需要</span></td>
  73.                     </tr>
  74.                     <tr class="hback"> 
  75.                       <td><div align="right"><strong>用户名:</strong></div></td>
  76.                       <td><% = session("FS_UserName") %></td>
  77.                     </tr>
  78.                     <tr class="hback"> 
  79.                       <td><div align="right"><strong>电子邮件:</strong></div></td>
  80.                       <td><% = session("FS_UserEmail") %></td>
  81.                     </tr>
  82.                     <tr class="hback"> 
  83.                       <td><div align="right"><strong>密码:</strong></div></td>
  84.                       <td>
  85.   <%
  86.   if p_isValidate =1 then
  87.     Response.Write("密码已经发送到您的邮箱")
  88.    Else
  89.     Response.Write""&session("TMP_UserPassword")&""
  90.    End if
  91.    %></td>
  92.                     </tr>
  93. <tr class="hback">
  94.                       <td><div align="right"><strong>状态:</strong></div></td>
  95.                       <td><%
  96.   if session("FS_IsLock") =1 then 
  97.   Response.Write("未审核")
  98.   Else
  99.   Response.Write("已审核")
  100.   End if
  101.   %></td>
  102.                     </tr>
  103. <tr class="hback"> 
  104.                       <td><div align="right"><strong>会员类型:</strong></div></td>
  105.                       <td> <%
  106. if  session("FS_IsCorp") =1 then
  107.    Response.Write("企业会员")
  108. if p_isCheckCorp = 1 then 
  109. Response.Write("(等待审核)")
  110. Else
  111. Response.Write("(资料已经审核)")
  112. End if
  113. Else
  114.    Response.Write("个人会员")
  115. End if
  116.    %></td>
  117.                     </tr>
  118.                     
  119.                     <tr class="hback"> 
  120.                       <td><div align="right"><strong>电子邮件状态:</strong></div></td>
  121.                       <td>
  122.   <%
  123.   Dim str_isSendMail
  124.   If str_isSendMail = false then
  125. Response.Write("未发送或者未发送成功")
  126.   Else
  127. Response.Write("邮件已经发送到您的电子邮件:"& session("FS_UserEmail") &",请注意查看")
  128.   End if
  129.   %>
  130.   </td>
  131.                     </tr>
  132.                     <tr class="hback"> 
  133.                       <td><div align="right"><strong>进入会员中心:</strong></div></td>
  134.                       <td> <table width="100%" height="41" border="0" cellpadding="0" cellspacing="0">
  135.                           <tr> 
  136.                             <td width="23" height="41"><span id="countdown" class="titletx"> 
  137.                               <script language="JavaScript">document.write(intLeft);</script>
  138.                               </span></td>
  139.                             <td width="578">秒后自动转到会员中心,直接进入<a href="<% = strReturnUrlpage %>" ><b><% = ReturnUrlpage %></b></a></td>
  140.                           </tr>
  141.                         </table></td>
  142.                     </tr>
  143.                   </table></td>
  144.               </tr>
  145.             </table>
  146.           </td>
  147.         </tr>
  148.         <tr class="back"> 
  149.           <td height="26"  colspan="2" class="xingmu"> <div align="left"> 
  150.               <!--#include file="Copyright.asp" -->
  151.             </div></td>
  152.         </tr>
  153.       </table></td>
  154.   </tr>
  155. </table>
  156. </body>
  157. </html>
  158. <%
  159. 'User_Conn.close
  160. 'set User_Conn=nothing
  161. %>
  162. <!--Powsered by Foosun Inc.,Product:FoosunCMS V4.0系列-->
  163. <script language="JavaScript">
  164. var intLeft = 16; 
  165. function leavePage() {
  166. if (0 == intLeft)
  167. window.location.href='<%=strReturnUrlpage%>'
  168. else {
  169. intLeft -= 1;
  170. document.all.countdown.innerText = intLeft + " ";
  171. setTimeout("leavePage()", 1000);
  172. }
  173. }
  174. </script>