⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 userregcheck.asp

📁 PDA,若你死昂师傅你说的附件是打开附件上课的附件四度空间就大方快速减肥
💻 ASP
字号:
<!--#include file="../act_inc/ACT.User.asp"-->
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>用 户 激 活-By ActCMS.com</title>
<link href="Images/css/css.css" rel="stylesheet" type="text/css">
<%

			Dim UserName:UserName=ACTCMS.RSQL(ACTCMS.S("UserName"))
			Dim CheckNum:CheckNum=ACTCMS.S("CheckNum")
		  If ACTCMS.S("Flag")="Check" Then
		    Dim RS:Set RS=Server.CreateObject("ADODB.RECORDSET")
			RS.Open "Select CheckNum,GroupID,UserName From User_Act Where UserName='" & UserName & "'",Conn,1,3
			If RS.Eof And RS.Bof Then
			rs.close:set rs=nothing
			 Response.Write "<script>alert('对不起,您输入的用户名不存在!');history.back();</script>":response.end
			else
			  if rs("checknum")=checknum then
				   rs("groupid")=3
				   rs.update
				   Response.Write "<script>alert('恭喜您,账号激活成功!');location.href='Index.asp';</script>":response.end
			  else
				  rs.close:set rs=nothing
				   Response.Write "<script>alert('激活码有误,请重新输入!');history.back();</script>":response.end
			  end if
			end if
			rs.close:set rs=nothing
		  End If
		   %>
		   
		    <form name="myform" method="post" action="?Flag=Check" onSubmit="return CheckForm();">
                 <table width="96%"  border="0" align="center" cellpadding="0" cellspacing="1" class="table">
					  <tr class="Title">
							<td height="24" colspan="2" align="center" class="bg_tr">用 户 激 活</td>
					  </tr>
						  <TR class="tdbg">
						    <TD height=25 align="right">您的用户名:</TD>
						    <TD><input name="UserName" type="text" id="UserName" size="20" value="<%=UserName%>"></TD>
			              </TR>
						  <TR class="tdbg">
							<TD width="40%" height=25 align="right"> 您的激活码:</TD>
							<TD width="60%"><input name="CheckNum" type="text" id="CheckNum" size="20" value="<%=CheckNum%>"></TD>
						  </TR>
						  <TR class="tdbg">
							<TD  colspan="2" height=42 align="center"> 
							<input name="Submit" type="submit" class="ACT_btn" value="确定激活">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </TD>
						  </TR>
						</TBODY>
			  </TABLE>
</form>

 

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -