<!--#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>
<font face="Verdana, Arial" size="1">Co Net MIB Ver 1.0 </font> Design By <a href="mailto:Hypo@Wz163.com">Hypo</a>
</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
%>