📄 login.asp
字号:
<!--#include file="conn.asp"-->
<html>
<head>
<link href="styles.css" rel="stylesheet" type="text/css">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>填写留言</title>
</head>
<body bgcolor="#EEEEEE" leftmargin="0" topmargin="2" marginwidth="0" marginheight="0">
<script language="JavaScript">
<!--
function Submitcheck1(){
if (document.frmAnnounce1.t1.value<><%=adminuser%> or document.frmAnnounce1.t2.value<><%=adminpassword%>
{
alert("对不起,管理员名称或密码不正确,请返回重新输入");
return false;
}
else
{
alert("登陆成功!");
<%
Session.Contents("login")="yes"
response.redirect("index.asp")
%>
}
return true
}
//-->
</script>
<div align=center>
<table border="0" width="58%" bgcolor="#eeeeee" cellspacing="1" cellpadding="0" height="1">
<tr>
<td width="100%" height="1">
<table border="0" width="88%" bgcolor="#FFFFFF" height="425" cellspacing="0" cellpadding="0">
<tr>
<td width="100%" height="129" colspan="3"><img border="0" src="images/banner.jpg" width="608" height="125"></td>
</tr>
<tr>
<td width="19%" height="24" background="images/default_log_title_bg.jpg"> <img border="0" src="images/home.gif" width="16" height="16">
<a href="<%=weburl%>">返回首页</a></td>
<td width="57%" height="24" background="images/default_log_title_bg.jpg">
<p align="center">管理员登陆</p>
</td>
<td width="24%" height="24" background="images/default_log_title_bg.jpg">
<p align="center"><img border="0" src="images/female.gif" width="10" height="17">
<a href="adminlogin.asp">管理登陆</a></p>
</td>
</tr>
<tr>
<td width="100%" height="155" colspan="3" valign="top">
<table border="0" width="100%" height="223" cellspacing="0" cellpadding="0">
<tr>
<td width="100%" valign="top" height="223">
<p align="center">
<div class="commentbox" style="width: 608; height: 338">
<table border="0" width="110%" cellspacing="0" cellpadding="0" height="67">
<tr>
<td width="100%" background="images/comm_title_bg.jpg" height="24"> </td>
</tr>
<td width="1%" height="85" class="commentbox-content" rowspan="3">
<form form method="post" action="" onSubmit="return Submitcheck1()" name="frmAnnounce1">
<table border="0" width="100%" height="266" cellspacing="1" cellpadding="0">
<tr>
<td width="19%" height="264" rowspan="8">
<p align="center"></td>
<td width="51%" height="38" colspan="3"></td>
<td width="30%" height="264" rowspan="8"></td>
</tr>
<tr>
<td width="51%" height="14" colspan="3">
<p align="center">请输入管理员名称及密码。</td>
</tr>
<tr>
<td width="11%" height="13"></td>
<td width="10%" height="13"></td>
<td width="30%" height="13"></td>
</tr>
<tr>
<td width="11%" height="29">
<p align="right"><img border="0" src="images/female.gif" width="10" height="17"> </p>
</td>
<td width="10%" height="29" align="center">用户名:</td>
<td width="30%" height="29">
<p><input type="text" name="t1" size="20"></p>
</td>
</tr>
<tr>
<td width="11%" height="33">
<p align="right"><img border="0" src="images/password.gif" width="16" height="17"></p>
</td>
<td width="10%" height="33" align="center">密 码:</td>
<td width="30%" height="33"><input type="password" name="t2" size="20"></td>
</tr>
<tr>
<td width="51%" height="34" colspan="3">
<p align="center"><input type="submit" value="提交" name="B1">
<input type="reset" value="全部重写" name="B2"></td>
</tr>
<tr>
<td width="51%" height="37" colspan="3"></td>
</tr>
<tr>
<td width="51%" height="51" colspan="3"></td>
</tr>
</table> </form>
<p>
</td>
</table>
</div>
<br>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</div>
</body>
</html>
<!--#include file="footer.asp" -->
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -