📄 admin.asp
字号:
<% @LANGUAGE="VBSCRIPT" CODEPAGE="65001" %>
<%
'=================================================
' Copyright 2007-05 jinqiu. All Rights Reserved.
' Last Update: 2007-05-15 HTTP://www.wapfs.net
'=================================================
%>
<%Response.ContentType = "text/vnd.wap.wml; charset=utf-8"%>
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">
<!--#INCLUDE FILE="conn.asp"-->
<%
set rs = server.createobject("adodb.recordset")
sql ="select * from admin where shouji='"&pno&"'"
rs.open sql,conn,1,1
if not rs.eof then
session.Timeout=30
session("admin")=rs("username")
session("flag")=rs("flag")
response.redirect "main.asp"
end if
rs.close
set rs=nothing
%>
<wml>
<head>
<meta http-equiv='Cache-Control' content='no-Cache'/>
<meta http-equiv='Cache-Control' content='max-age=0'/>
</head>
<card id='main' title='手工登陆' >
<p>管理者登陆
<br/>-------------
<br/>用户:<input type='text' name='username' size='10'/>
<br/>密码:<input type='password' name='password' size='10'/>
<br/>验证码:<img src='getcode.asp'/>
<br/><input type='text' name='mofei' size='10' format='*N' emptyok='false' maxlength='4'/>
<br/><anchor>[-登陆-]
<go href='chkadmin.asp' method='post' accept-charset='utf-8'>
<postfield name='username' value='$(username)'/>
<postfield name='password' value='$(password)'/>
<postfield name='mofei' value='$(mofei)'/>
</go>
</anchor>
<br/>------------
<br/><a href='../index.asp'>返回首页</a></p>
</card>
</wml>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -