?? cekpwd.asp
字號:
<!--#include file="../inc/title.inc"-->
<style>
TD {
FONT-SIZE: 9pt
; color: #000000
}
</style>
<!--#include file="../inc/conn.asp"-->
<%
set rs=server.CreateObject("adodb.recordset")
sql="select * from adm where nam='"&request.Form("nam")&"' and pwd='"&request.Form("pwd")&"'"
'response.Write sql
rs.open sql,conn,1,1
if not(rs.bof and rs.eof) and request.Form("verifycode")=request.Form("verifycode2") then
session("nam")=rs("nam")
session("pwd")=rs("pwd")
session("power")=rs("power")
response.Redirect("damin.asp")
else
%>
<style>
TD {
FONT-SIZE: 9pt
; color: #000000
}
</style>
<table width="848" border="0" cellpadding="0" cellspacing="0" align="center" bgcolor="#CCCCCC">
<tr>
<td width="415" align="center" valign="middle" bgcolor="#ede2e4" ><div align="center"><a href="#"><img src="imgs/chucuo.jpg" width="286" height="214" border="0" style="FILTER: Alpha(Opacity=80,style=2)"></a>
</div></td>
</tr>
<tr>
<td height="1" colspan="4" valign="middle" align="center" ><table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="f6a2b2">
<tr>
<td width="848" height="1"></td>
</tr>
</table></td>
</tr>
<tr>
<td height="54" colspan="3" valign="top" ><table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="796" height="54" valign="top"><font color="#FF0000">錯誤原因可能你沒有輸入正確的密碼或用戶名或驗證碼!在此<a href="index.asp">返回</a></font></td>
</tr>
</table></td>
</tr>
</table>
<!--#include file="../inc/copyright.inc"-->
<%
end if
%>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -