📄 login.asp
字号:
<!--#include file="conn.asp"-->
<%
id = request("id")
dim num1
dim rndnum
Randomize
Do While Len(rndnum)<4
num1=CStr(Chr((57-48)*rnd+48))
rndnum=rndnum&num1
loop
session("verifycode")=rndnum
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<STYLE>TD {
FONT-SIZE: 9pt; LINE-HEIGHT: 140%
}
BODY {
FONT-SIZE: 9pt; LINE-HEIGHT: 140%
}
A:link {
COLOR: #0033cc; TEXT-DECORATION: none
}
A:visited {
COLOR: #0033cc; TEXT-DECORATION: none
}
A:active {
COLOR: #ff0000; TEXT-DECORATION: none
}
A:hover {
COLOR: #000000; TEXT-DECORATION: underline
}
.header {
font-family: Tahoma, Verdana; font-size: 9pt; color: #FFFFFF; background-color: #69C37C
}
.category{
font-family: Tahoma, Verdana; font-size: 9pt; color: #000000; background-color: #EFEFEF
}
</STYLE>
<title>教师登陆</title>
</head>
<body text=#000000 bgColor=#ffffff leftMargin=0 topMargin=0>
<!--#include file="head.asp"-->
<form action="check.asp" method="post">
<table style="BORDER-COLLAPSE: collapse" borderColor=#808080 width="300" border="1" align="center" cellpadding=1>
<tr align=center><td class="header" colspan=2>教师登陆</td></tr>
<tr align=center><td align=center>登录名/ID</td><td align=left> <input type=text name="id" size=15 value="<%=id%>" title="请输入您的登录名或ID" tabindex="1"></td></tr>
<tr align=center><td align=center>请输入您的密码</td><td align=left> <input type=password name="password" size=15 title="请输入您的密码" tabindex="2"> <a href=getpwd.asp title="重新设置密码">忘记密码</a></td></tr>
<tr align=center><td>请输入验证码</td><td align="left"> <input type=text name="verifycode" size=15 title="请输入右侧数字" tabindex="3">
<img src="num.ASP">
</td></tr>
</table>
<center><br><input type=submit name="submit" value="登陆" tabindex="4">
</center>
</form>
</body>
</html>
<%
conn.close
set conn = nothing
%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -