📄 login.asp
字号:
<!--#include file="conn.asp"-->
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>系统登陆</title>
</head>
<body>
<% dim rndnum,verifycode
Randomize
Do While Len(rndnum)<4
num1=CStr(Chr((57-48)*rnd+48))
rndnum=rndnum&num1
loop
session("verifycode")=rndnum
%>
<table width="500" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="50"> </td>
</tr>
<tr>
<td align="center"><TABLE WIDTH=400 BORDER=0 align="center" CELLPADDING=0 CELLSPACING=0>
<TR>
<TD><IMG SRC="images/login_1.jpg" WIDTH=400 HEIGHT=41 ALT=""></TD>
</TR>
<TR>
<TD height="230" background="images/login_2.jpg">
<form name="form1" method="post" action="check_login.asp">
<table width="90%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="40%" height="30" align="right">用户名:</td>
<td><input name="admin_name" type="text" id="admin_name"></td>
</tr>
<tr>
<td height="30" align="right">密 码:</td>
<td><input name="admin_pass" type="password" id="admin_pass"></td>
</tr>
<tr>
<td height="30" align="right">验证码:</td>
<td><input name="verifycode" type="text" size="4" maxlength="20"><font color="#FF0000"><%=session("verifycode")%></font> <input type="hidden" name="verifycode2" value="<%=session("verifycode")%>"></td>
</tr>
<tr>
<td height="30" colspan="2" align="center">
<input type="submit" name="Submit" value="登陆"> </td>
</tr>
</table>
</form></TD>
</TR>
<TR>
<TD><IMG SRC="images/login_3.jpg" WIDTH=400 HEIGHT=21 ALT=""></TD>
</TR>
</TABLE></td>
</tr>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -