📄 wantlogin.asp
字号:
<!--#include file="articleconn.asp"-->
<!--#include file="../MD5/md5.asp" -->
<%
if request("userid1")<>"" then
set rst=server.createobject("adodb.recordset")
sql="select money,online from users where userid='"&request("userid1")&"' and password='"&md5(request("pws"))&"'"
rst.open sql,conn,1,3
'if request.cookies("userid")="" then
' response.write"<script>alert('同一帐号请不要同时多人登录!');history.back();</Script>"
'else
if rst.eof and rst.bof then
response.write"<script>alert('用户名或密码错误!');history.back();</Script>"
else
userid=Replace(request.cookies("userid"), "'", "''")
conn.Execute("Delete From online where username='"&request("userid1")&"'")
'application(""&userid&"")=""
response.cookies("userid")=""
response.cookies("password")=""
response.cookies("okerer")=""
response.write"<script>alert('恢复成功你现在可以登陆!');</Script>"
response.write"<script Language=Javascript>location.href = 'index.html';</script>"
rst.close
set rst=nothing
conn.close
set conn=nothing
end if
end if
'end if
%>
<HTML><HEAD>
<META content="text/html; charset=gb2312" http-equiv=Content-Type><LINK href="../images/style.css" rel=stylesheet type=text/css>
</HEAD>
<BODY bgcolor="#3b591b">
<TABLE cellSpacing=0 cellPadding=0 width=350 align=center border=0>
<TBODY>
<TR>
<TD><IMG src="../images/mixtop.gif"></TD>
</TR>
<TR>
<TD background=../images/mediatop2.gif height=27> </TD>
</TR>
<TR>
<TD background=../images/mixmediabg.gif> <TABLE cellSpacing=0 cellPadding=0 width=328 align=center bgColor=#c3ef29
border=0>
<TBODY>
<TR>
<TD align=middle background=../images/logotopbg.gif>
<p align="center"><b><font size="2">恢复帐号</font></b></TD>
</TR>
<TR>
<TD> <table cellspacing=0 cellpadding=3 width="100%" border=0>
<form action=wantlogin.asp method=post name=loginform>
<tbody>
<tr>
<td align=right width="40%" height=25>
<p align="center"><font
color=#3b591b> 用户名:</font></td>
<td width="65%">
<input class=button2
onFocus=javascript:this.select(); size=14 name=userid1></td>
</tr>
<tr>
<td align=right width="40%" height=13>
<p align="center"><font
color=#3b591b> 密 码:</font></td>
<td>
<input class=button2 onFocus=javascript:this.select();
type=password size=14 name=pws></td>
</tr>
<tr>
<td align=right width="40%" height=13>
<p align="center"><font
color=#3b591b> 验证码:</font></td>
<td>
<INPUT class=button2 maxLength=4 name=validateCode
onfocus=javascript:this.select(); size=4><script src="verify.asp"></script> </td>
</tr>
<tr>
<td align=middle colspan=2 height=25>
<input class=button1 type=submit value="提 交" name=oker>
<input class=button1 type=reset value="重 置" name=B2>
</tr>
</form>
</table></TD>
</TR>
</TABLE></TD>
</TR>
<TR>
<TD><IMG src="../images/mixend.gif"></TD>
</TR>
</TBODY>
</TABLE>
</BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -