📄 joinserver.asp
字号:
<!--#include file="conn.asp"-->
<!--#include file="ip.asp"-->
<!--#include file="../MD5/md5.asp" -->
<%
if Replace(request("userid"), "'", "''")="" or Replace(request("password"), "'", "''")="" or request("myemail")="" then
response.write "<script>alert('表单未填完整不能注册!');history.back();</Script>"
response.end
end if
%>
<%
'dim radpass
set rs=server.createobject("adodb.recordset")
sql="select userid from users where userid='"&Replace(request("userid"), "'", "''")&"' or email='"&request("myemail")&"' "
rs.open sql,conn,1,2
if not rs.eof then
response.write "<script>alert('您的“用户名称”已被占用,或者您的EMAIL已注册过了,请重新输入!');history.back();</Script>"
response.end
end if
dim rs
dim sql1
set rs=server.createobject("adodb.recordset")
sql1="select * from users"
rs.open sql1,conn,1,3
rs.addnew
rs("userid")=Replace(request("userid"), "'", "''")
rs("password")=md5(Replace(request("password"), "'", "''"))
rs("name")=request("name")
rs("Province")=request("Province")
rs("city")=request("city")
rs("adress")=request("adress")
rs("homeaddress")=request("homeaddress")
rs("sex")=request("sex")
rs("phone")=request("phone")
rs("askmejoin")=request("askmejoin")
rs("email")=request("myemail")
rs("lasthits")=date()
rs("oklook")=0
rs("money")=now()
rs("baoyue")=0
rs("usercount")=0 '注册即获得电影点数,不要的话只要改为0即可!
rs.update
rs.close
set rs=nothing
conn.close
set conn=nothing
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>注册成功</title>
<style><!--body, td, p, li, input, select{FONT-SIZE: 9pt; font-family:宋体; COLOR: #ffffff; font-family:Arial}
.fontshadow { width:100%; filter:dropshadow(color=#ffffff,offx=1,offy=1);}
A:link{COLOR: #ffffff; text-decoration: none;}
A:visited{COLOR: #ffffff; text-decoration: none;}
A:Active{color : #ffffff; TEXT-DECORATION: none;}
A:hover{color: #ffffff; TEXT-DECORATION: none;}
A.a1:link{COLOR: #000000; TEXT-DECORATION: none;}
A.a1:visited{COLOR: #000000; TEXT-DECORATION: none;}
A.a1:Active{color : #000000; TEXT-DECORATION: none;}
A.a1:hover{color : #000000; TEXT-DECORATION: none;}
A.a2:link{COLOR: #1B409B; TEXT-DECORATION: none;}
A.a2:visited{COLOR: #1B409B; TEXT-DECORATION: none;}
A.a2:Active{color : #1B409B; TEXT-DECORATION: none;}
A.a2:A:hover{color: #1B409B;T EXT-DECORATION: none;}
.L17{line-height:170%}
.L18{line-height:180%}
.L20{line-height:200%}
--></style>
</head>
<body bgcolor="#0F0DAE" text="0" leftmargin="0">
<table border="0" cellspacing="0" align=center style="border-collapse: collapse" bordercolor="#111111" width="359" id="AutoNumber1" cellpadding="0">
<TR>
<TD align="center" class="title">
<img border="0" src="../images/login-top1.gif" width="359" height="85"></TD>
</TR>
<TR>
<td width="100%">
<img border="0" src="../images/pay_title.gif" width="360" height="42"></td>
</TR>
<TR>
<TD valign="top" background="../images/login-bg.jpg" > <table width="90%" border="0" align="center">
<tr><br>
<td width="100%">
<p align="center"><font color=000000>如果您要继续升级会员, 请点下面继续进行购买吧。<br>
<br>
希望您会喜欢我们的网站:)<br>
</font></p>
</td>
</tr>
<tr>
<td width="400" height="16">
<form method="POST" action="buy.asp">
<p align="center"><input name=B1 type=image src="../images/pay_want.gif" name=B2 value=我要付费 width="81" height="20">
<a href="../"><img src="../images/pay_no.gif" border=0 name=submit2 value=我不付费 width="81" height="20"></a></p>
</div>
</form> </td>
</tr>
</table></TD>
</TR>
<tr>
<td><img border="0" src="../images/login-bottom.gif" width="359" height="28"></td>
</tr>
</TABLE>
</center>
</div>
</body>
</html>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -