📄 index.asp
字号:
<!--#include file="inc/conn.asp"-->
<!--#include file="inc/copy.inc"-->
<% dim rndnum,verifycode
Randomize
Do While Len(rndnum)<4
num1=CStr(Chr((57-48)*rnd+48))
rndnum=rndnum&num1
loop
session("verifycode")=rndnum
%>
<%
dim rs,sql
set rs=server.createobject("adodb.recordset")
sql="select top 1 * from admin"
rs.open sql,conn,1,3
%>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>管理登陆</title>
<style type="text/css">
<!--
body {
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
background-image: url(images/index_01.jpg);
}
-->
</style>
<link href="zi.css" rel="stylesheet" type="text/css" />
</head>
<body>
<form action="inc/check.asp?action=login" method="POST">
<table width="491" height="72" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td> </td>
</tr>
</table>
<table width="491" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td><img src="images/index_04.jpg" width="491" height="72" alt="" /></td>
</tr>
</table>
<table width="491" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td><img src="images/index_06.jpg" width="491" height="67" alt="" /></td>
</tr>
</table>
<table width="491" height="168" border="0" align="center" cellpadding="0" cellspacing="0" background="images/index_07.jpg">
<tr>
<td><table width="391" height="94" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="68" height="39" class="zi">用户名:</td>
<td width="175"><input name="admin_name" type="text" value="" size="14" /></td>
<td width="148" rowspan="2"><div align="center"><input type="image" src="images/dl.jpg" name="submit2"/>
</div></td>
</tr>
<tr>
<td height="35" class="zi">密 码:</td>
<td><input name="admin_pass" type="password" value="" size="14" /></td>
</tr>
<tr>
<td class="zi">验证码:</td>
<td><input name="verifycode" type="text" value="" size="14" /><%=session("verifycode")%>
<input type="hidden" name="verifycode2" value="<%=session("verifycode")%>"></td>
<td> </td>
</tr>
</table></td>
</tr>
</table>
<table width="491" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td><img src="images/index_08.jpg" width="491" height="126" alt="" /></td>
</tr>
</table>
<%
rs.close
Set rs = Nothing
conn.close
set conn=nothing
%>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -