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

数据库编程

开发平台:

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. strShowErr = "<li>暂时关闭注册功能</li><li>或者系统参数丢失!</li>"
  10. Response.Redirect("lib/Error.asp?ErrCodes="&Server.URLEncode(strShowErr)&"&ErrorUrl="&Request.ServerVariables("URL")&"?"&request.QueryString&"")
  11. Response.end
  12. End if
  13. if Not isnull(DefaultGroupID) then
  14.   if DefaultGroupID = 0 then
  15. strShowErr = "<li>管理员还没设置默认会员组。现在暂时不能注册,请与管理员联系!</li>"
  16. Response.Redirect("lib/Error.asp?ErrCodes="&Server.URLEncode(strShowErr)&"&ErrorUrl="&Request.ServerVariables("URL")&"?"&request.QueryString&"")
  17. Response.end
  18.   end if
  19.   dim rsGroup
  20.   set rsGroup = User_Conn.execute("select GroupID,GroupName from FS_ME_Group where GroupType=1 and GroupID="&clng(DefaultGroupID))
  21.   if rsGroup.eof then
  22. strShowErr = "<li>数据异常!</li><li>请与系统提供商获得技术支持!!</li>"
  23. Response.Redirect("lib/Error.asp?ErrCodes="&Server.URLEncode(strShowErr)&"&ErrorUrl="&Request.ServerVariables("URL")&"?"&request.QueryString&"")
  24. Response.end
  25.   end if
  26.   rsGroup.close:set rsGroup=nothing
  27. else
  28. strShowErr = "<li>管理员还没设置默认会员组。现在暂时不能注册,请与管理员联系!</li>"
  29. Response.Redirect("lib/Error.asp?ErrCodes="&Server.URLEncode(strShowErr)&"&ErrorUrl="&Request.ServerVariables("URL")&"?"&request.QueryString&"")
  30. Response.end
  31. end if
  32. response.Cookies("FoosunUserCookies")("UserLogin_Style_Num")  = p_LoginStyle
  33. If p_LoginStyle="" Or p_LoginStyle = 0 then
  34. response.Cookies("FoosunUserCookies")("UserLogin_Style_Num") = "2"
  35. End if
  36. %>
  37. <html xmlns="http://www.w3.org/1999/xhtml">
  38. <title>会员注册step 1 of  4 step</title>
  39. <meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
  40. <meta content="MSHTML 6.00.3790.2491" name="GENERATOR" />
  41. <meta name="keywords" content="风讯,风讯cms,cms,FoosunCMS,FoosunOA,FoosunVif,vif,风讯网站内容管理系统">
  42. <link href="images/skin/Css_<%=Request.Cookies("FoosunUserCookies")("UserLogin_Style_Num")%>/<%=Request.Cookies("FoosunUserCookies")("UserLogin_Style_Num")%>.css" rel="stylesheet" type="text/css">
  43. <head>
  44. <body oncontextmenu="return false;">
  45. <table width="98%" border="0" align="center" cellpadding="1" cellspacing="0">
  46.   <tr> 
  47.     <td><table width="100%" height="279" border="0" align="center" cellpadding="4" cellspacing="1" class="table">
  48.         <tr class="back"> 
  49.           <td   colspan="2" class="xingmu" height="24">·User Register step 1.(注册协议)</td>
  50.         </tr>
  51.         <tr class="back"> 
  52.           <td width="15%" valign="top" class="hback"><strong>【注册步骤】</strong> <br>
  53.             <br>
  54.             <div align="left"> →同意注册协议<br>
  55.               <br>
  56.               ×填写会员资料<br>
  57.               <br>
  58.               ×填写联系资料<br>
  59.               <br>
  60.               ×注册成功</div>
  61.             </td>
  62.           <td width="85%" valign="top" class="hback"> 
  63.   <%If RegisterTF = false then%>
  64.      <div align="center" class="tx"><p></p>
  65.               <p>&nbsp;</p>
  66.               <p>管理员已经关闭注册!</p>
  67.             </div>
  68.   <%Else%>
  69.               <table width="96%" border="0" align="center" cellpadding="0" cellspacing="0">
  70. <tr> 
  71.                   <td height="228"><% =  RegisterNotice %></td>
  72.                 </tr>
  73.                 <tr> 
  74.                   <td height="39">
  75. <div align="center">
  76. <input style="CURSOR: hand" onClick="window.location.href='Reg_info.asp?SubSys=<%=Request.QueryString("SubSys")%>'" type="submit" name="Submit3" value="同意协议" id="agree">
  77.  
  78. <input class="button" onClick="location.href='../'" type="button" value="不同意" name="Submit12" />
  79.   
  80.                     </div></td>
  81.                 </tr>
  82.               </table>
  83.   <%End if%>
  84.             </td>
  85.         </tr>
  86.         <tr class="back"> 
  87.           <td height="26"  colspan="2" class="xingmu"> <div align="left"> 
  88.               <!--#include file="Copyright.asp" -->
  89.             </div></td>
  90.         </tr>
  91.       </table></td>
  92.   </tr>
  93. </table>
  94. </body>
  95. </html>
  96. <!--Powsered by Foosun Inc.,Product:FoosunCMS V4.0系列-->
  97. <SCRIPT LANGUAGE="JavaScript">
  98. <!--
  99. document.getElementById('agree').disabled=true;
  100. for (i=6; i>0; i--)
  101. {
  102. window.setTimeout('change('+i+')',i*1000);
  103. }
  104. window.setTimeout("agree()",6000);
  105. function agree()
  106. {
  107. document.getElementById('agree').value='同意协议';
  108. document.getElementById('agree').disabled=false;
  109. }
  110. function change(Num)
  111. {
  112. Num = 6-Num;
  113. document.getElementById('agree').value='同意协议'+Num;
  114. }
  115. //-->
  116. </SCRIPT>