📄 regaction.asp
字号:
<!--#include file="Connections/connY.asp" -->
<!--#include file="Inc/Info.asp" -->
<!--#include file="Inc/TimeFormat.asp" -->
<!--#include file="Inc/UBBCode.asp" -->
<!--#include file="Inc/Md5.asp" -->
<!--#include file="Inc/SetCss.asp" -->
<%
UserID=LiannCheckBadWord(Request.Form("UserID"))
NickName=LiannCheckBadWord(Request.Form("NickName"))
Sex=Request.Form("Sex")
If Request("PFace")="" Then
PFace=LiannCheckBadWord(Request.Form("PFace2"))
Height=Request.Form("PHeight2")
Width=Request.Form("PWidth2")
Face=Request.Form("Face")
Else
Face=Request.Form("Face2")
PFace=LiannCheckBadWord(Request.Form("PFace"))
Height=Request.Form("PHeight")
Width=Request.Form("PWidth")
End If
BirthYear=Request.Form("BirthYear")
BirthMonth=Request.Form("BirthMonth")
BirthDay=Request.Form("BirthDay")
Password=Md5(Request.Form("Pass"))
Oicq=Request.Form("Oicq")
Email=Request.Form("Email")
HomePage=Request.Form("HomePage")
From=Request.Form("From")
Personality=Request.Form("Personality")
RegTime=Request.Form("RegTime")
IP=Request.Form("IP")
Set rsAdd = Server.CreateObject("ADODB.Recordset")
Sql = "Select * From tUserManage Where rUserID='"&UserID&"'"
rsAdd.Open Sql,ConnY,3,3
If Not rsAdd.Eof And Not rsAdd.Bof Then
Note="<font color=red>对不起,该登录帐号已经存在</font><br><br><a href='javascript:history.go(-1)' onFocus='this.blur()'>重新注册</a>"
Nav="注册失败"
Else
rsAdd.Close
Sql = "Select * From tUserManage Where rNickName='"&NickName&"'"
rsAdd.Open Sql,ConnY,3,3
If Not rsAdd.Eof Then
Note="<font color=red>对不起,该昵称已经存在</font><br><br><a href='javascript:history.go(-1)' onFocus='this.blur()'>重新注册</a>"
Nav="注册失败"
Else
rsAdd.Close
Sql = "Select * From tUserManage"
rsAdd.Open Sql,ConnY,3,3
rsAdd.AddNew
rsAdd("rUserID")=UserID
rsAdd("rNickName")=NickName
rsAdd("rPassword")=Password
rsAdd("rSex")=Sex
rsAdd("rFace")=Face
rsAdd("rPFace")=PFace
rsAdd("rWidth")=Width
rsAdd("rHeight")=Height
rsAdd("rEmail")=Email
rsAdd("rHomePage")=HomePage
rsAdd("rRegTime")=RegTime
rsAdd("rRegIP")=IP
rsAdd("rAddress")=From
rsAdd("rPersonality")=Personality
rsAdd("rOicq")=Oicq
rsAdd("rBirthYear")=BirthYear
rsAdd("rBirthMonth")=BirthMonth
rsAdd("rBirthDay")=BirthDay
rsAdd("rLevel")=1
rsAdd.Update
Note="<font color=red>注册成功<br><br><a href='Login.asp' onFocus='this.blur()'>立刻登录</a></font>"
Nav="注册成功"
rsAdd.Close
set rsAdd=Nothing
End If
End if
%>
<html>
<head>
<title><%=Forum_Title%></title>
<meta http-equiv="Content-Type" content="text/html;">
<meta http-equiv="Expires" CONTENT="0">
<meta http-equiv="Cache-Control" CONTENT="no-cache">
<meta http-equiv="Pragma" CONTENT="no-cache">
<!--#include file="Inc/Css.asp" -->
<script language=Javascript src="Js/Menu.Js"></script>
<script language=Javascript src="Js/Button.Js"></script>
<script language=Javascript src="Js/Operate.Js"></script>
</head>
<body leftmargin="0" topmargin="0" bgcolor="<%=Forum_ColorList_BgColor%>" vlink="<%=Forum_Css_A_Link_Color%>">
<!--#include file="Inc/Top.asp" -->
<table width="<%=Forum_Width%>" border="0" cellspacing="1" cellpadding="0" align="center" bgcolor="<%=Forum_ColorList_BorderColor%>">
<tr>
<td height="20" bgcolor="<%=Forum_ColorList_BgColor%>">
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="font">
<tr>
<td> 您所在的位置: <a href="../" onFocus="this.blur()">首页</a> >>
<a href="List.asp" onFocus="this.blur()">讨论组</a> >> <font color="<%=Forum_ColorList_NavFontColor%>"><%=Nav%></font></td>
<td width="150"></td>
<td width="18">
<div align="center"></div>
</td>
</tr>
</table>
</td>
</tr>
</table>
<table width="<%=Forum_Width%>" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td height=1></td>
</tr>
</table>
<table width="<%=Forum_Width%>" border="0" cellspacing="1" cellpadding="2" align="center" class="font" bgcolor="<%=Forum_ColorList_BorderColor%>">
<tr>
<td bgcolor="<%=Forum_ColorList_BgColor%>" height="344">
<div align="center">
<table width="400" border="0" cellspacing="1" cellpadding="2" bgcolor="<%=Forum_ColorList_BorderColor%>" class="font">
<tr>
<td height="100" bgcolor="<%=Forum_ColorList_AlternateColor1%>">
<div align="center"><%=Note%></div>
</td>
</tr>
</table>
<br>
<br>
<br>
<br>
<br>
<br>
</div>
</td>
</tr>
</table>
<table width="<%=Forum_Width%>" border="0" cellspacing="0" cellpadding="0" align="center" id=infoborder style="DISPLAY: none">
<tr>
<td height=1></td>
</tr>
</table>
<!--#include file="Inc/Bottom.asp" -->
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -