?? login.asp
字號:
<%
response.cookies("jy_down_admin")=""
if request("user")<>"" and request("pwd")<>"" then%>
<!--#include file="dbpath.asp"-->
<%
user=replace(request("user")," ","+++ close")
user=replace(user," ","")
set rs=server.createobject("adodb.recordset")
sql="select * from admin where user='"&user&"' and pwd='"&request("pwd")&"'"
rs.open sql,conn,1,1
if not rs.eof then
response.cookies("jy_down_admin")=Server.MapPath(".")
response.redirect "admlist.asp"
response.end
end if
rs.close
set rs=nothing
conn.close
set conn=nothing
end if%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" href="css.css">
<title>管理登陸</title>
</head>
<body>
<form method="post" action="login.asp" target="_top">
<div align="center">
<center>
<table border="0" bgcolor="#E9E9E9" cellspacing="1" cellpadding="0">
<tr>
<td width="100%">
<p align="center">用戶登陸</td>
</tr>
<tr>
<td width="100%" bgcolor="#FFFFFF">
<table width="100%" border="0" cellspacing="1" cellpadding="0">
<tr>
<td width="33%" align="right" nowrap>
<div align="center">用戶名:</div>
</td>
<td width="67%" nowrap><input name="user" maxlength="20" size="20">
</td>
</tr>
<tr>
<td width="33%" align="right" nowrap>
<div align="center">密 碼:</div>
</td>
<td width="67%" nowrap>
<input type="password" name="pwd" maxlength="16" size="20">
</td>
</tr>
<tr>
<td width="100%" align="right" colspan="2" nowrap>
<p align="center"><input type="submit" name="Submit" value="確定">
</td>
</tr>
</table>
</td>
</tr>
</table>
</center>
</div>
</form>
<p align="center"><a href="../"><<返回首頁>></a></p>
</body>
</html>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -