📄 login.asp
字号:
<!--#include file="Conn.asp"-->
<%if Request.QueryString("no")<>"eshop" then%>
<html>
<head>
<title>企业网站后台管理系统</title>
<meta name="Author" content="Hypo">
<meta name="Contact" content="Hypo@Wz163.com">
<meta name="Copyright" content="Lw163.com">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="Inc/ManageMent.css" rel="stylesheet" type="text/css">
</head>
<body>
<FORM ACTION="Login.asp?no=eshop" METHOD="post">
<br>
<center>
<table width="300" border="0" cellpadding="0" cellspacing="2" class="HeaderTdStyle">
<tr>
<td height="30" colspan="2" align="center"> <b>企业网站后台管理系统登陆</b> </td>
</tr>
<tr>
<td height="30" align="right">管理帐号:</td>
<td>
<input name="Name" size=12 maxlength="20"
>
</td>
</tr>
<tr>
<td height="30" align="right">管理密码:</td>
<td>
<input name="Pwd" type="password" size=12 maxlength="20">
</td>
</tr>
<tr>
<td height="30" colspan="2" align="center">
<input name="Submit" type="submit" value="登陆系统">
</td>
</tr>
</table>
<p></p>
<p></p>
<p></p>
<p>非管理人员请勿尝试,否则结果自负!</p>
<p>联系购买正式版:QQ:4959489</p>
</center>
</form>
</body>
</html>
<%else%>
<%
pwd = request.form("pwd")
name = request.form("name")
Set rs = Server.CreateObject("ADODB.Connection")
sql = "select * from Manage_User where UserName='" & name & "' And PassWord='"&encrypt(pwd)&"'"
Set rs = conn.Execute(sql)
If Not rs.EOF = True Then
Session("Name") = rs("UserName")
Session("pwd") = rs("PassWord")
Response.Redirect("Manage.asp")
Else
Response.Redirect "Loginsb.asp?msg=您输入了错误的帐号或口令,请再次输入!"
End If
end if
%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -