⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 login.asp

📁 一个非常好的旅游网站程序.
💻 ASP
字号:
<!--#include file="conn.asp"-->
<%
if request("intereye")="提交" then
	dim sql
	dim name
	dim pass
	name=Trim(Request("name"))
	pass=Trim(Request("pass"))
	Set rs=Server.CreateObject("ADODB.Recordset")
	sql="SELECT * FROM admin"
	rs.open sql,conn,1,1
	Do While Not rs.Eof
		If rs("name")=name and rs("password")=pass Then
				Session("logined")=true
				rs.close
				set rs=nothing
				response.redirect"admin_index.asp"
		End If
	rs.MoveNext
	Loop
	Response.Write"<br><center>用户名或密码错误!</center><br><center><a href='#' onclick='history.go(-1)'>点此返回</a></center>"
	Response.End
	rs.Close
	Set rs=Nothing
End if
%>
<!--#include file="config.asp"-->
<html>
<head>
<script LANGUAGE="JavaScript" src="../validator.js"></script>
<meta http-equiv="Content-Type" content="text/html; charset=GBK">
<title><%=title_name%> - 管理员登陆</title>
<SCRIPT language=javascript src="images/pop.js"></SCRIPT>
<style type="text/css">
<!--
td {  font-family: "宋体", "serif"; font-size: 9pt; font-weight: normal}
a:link {  text-decoration: none}
a:visited {  text-decoration: none; font-weight: normal}
body {  font-family: "宋体", "serif"; font-size: 9pt}
tr {  font-family: "宋体", "serif"; font-size: 9pt}
.unnamed1 {  font-size: 9pt; font-weight: bold}
.p9 {  font-family: "宋体"; font-size: 9pt}
.unnamed2 {  font-size: 11pt}
-->
</style>
<style fprolloverstyle>A:hover {color: #F79E26}
</style>
</head>

<body bgcolor="#B2B0B1" leftmargin="0" topmargin="0" link="#000000" vlink="#000000" alink="#000000">
<table width="753" border="0" align="center" cellpadding="0" cellspacing="0">
<tr> 
<td width="13" valign="top" background="zzzcn_bjl.gif">
<img src="images/zzzcn_left.gif" width="13" height="161"></td>
<td width="721" valign="top" bgcolor="#F8F8F8">
<table width="721" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><img src="images/zzzcn_title.gif" width="721" height="24"></td>
</tr>
<tr>
<td height="27" align="right" background="zzzcn_bj2h.gif">
<p style="margin-left: 10; margin-right: 10"> 
<img border="0" src="images/zzzcn_dot.gif" width="10" height="12">&nbsp; <font color="#B2B0B1"><%=title_name%>&nbsp;</font> 
<img border="0" src="images/zzzcn_dot.gif" width="10" height="12"></td>
</tr>
<tr>
<td valign="top"> 
<table width="721" border="0" cellspacing="0" cellpadding="0" style="border-collapse: collapse" bordercolor="#111111" height="399">
<tr> 
<td width="28" rowspan="4" valign="top" height="399">
<img src="images/zzzcn_leftlian.gif" width="16" height="110"></td>

<form action="username.jsp" method="POST"  name="registerForm" onSubmit="return CheckForm(document.registerForm)">               

</form>		
</tr>
<tr> 
<td width="693" height="67">
<p style="line-height: 150%; margin-left: 50; margin-right: 50"><FONT 
color=#0066cc>注意事项:<BR>
<SMALL>◆</SMALL>.<span lang="zh-cn">电话号码必须填写区号。</span><BR>
<SMALL>◆</SMALL>.<span lang="zh-cn">以下所有带“*”部分必须填写!</span></FONT></td>
</tr>
<tr> 
<td height="331" width="693">
<div align=center>
<center>
    <table border=1 cellpadding=0 cellspacing=0 style=border-collapse:collapse bordercolor=#336699 width=200 class=table001 height=69>
      <tr><td width=295 align=center height=22 class=jnfont3>
超级用户登陆入口<tr>
<td width=295 align=center height=78>
<form method=POST action=login.asp>
<table border=1 cellpadding=0 cellspacing=0 class="table002" width="196" style="border-collapse: collapse" bordercolor="#C0C0C0"><tr>
  <td width=61 height=27 align=center>用户名</td>
                <td width=132 height=27> 
                <input type=text name=name size=17 class="input1"></td></tr><tr>
    <td width=61 height=27 align=center>密&nbsp; 码</td>
                <td width=132 height=27> 
                <input type=password name=pass size=17 class="input1"></td></tr><tr>
    <td height=27 colspan=2 width="194">
<p align=center><input type=submit value=提交 name=intereye class="input2">&nbsp; 
<input type=reset value=重置 name=reset class="input2">
</td>
</tr>
</table>
</td>
</form>
<tr>
        <td align="center" height=23 class=jnfont3><span lang="zh-cn">友缘网络</span>反馈<span lang="zh-cn">表单</span>管理系统</td>
</tr>
</table></center></div>
</td>
</tr>
<tr> 
<td width="693" height="60">
<p style="line-height: 150%; margin-left: 50; margin-right: 50"><br> 

</p>
<p style="margin-left: 50; margin-right: 50"><FONT 
color=#0066cc>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <BR> </FONT></td>
</tr>
</table></td>
</tr>
</table>
</td>
<td width="19" valign="top" background="zzzcn_bjr.gif"><p> </p>
<p> </p><br>
<p><img src="images/zzzcn_right.gif" width="19" height="125"></p>
<p> </p>
<p> </p></td>
</tr>
<tr> 
<td colspan="3"><img src="images/zzzcn_di.gif" width="753" height="30" title="当前版本信息:uyuan.net For V2.5 Free <%time2=timer()
response.write"页面执行时间:"&FormatNumber((time2-time1)*1000,3)&" 毫秒"%>"></td>
</tr>
</table>
</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -