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

📄 shiyan.asp

📁 商城源码程序(上海数字商城整站) 功能列表: 商品管理
💻 ASP
字号:
<!--#include file="conn.asp"-->
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>无标题文档</title>
</head>

<body>
<%
admin_name=trim(request("admin_name"))
admin_pass=trim(request("admin_pass"))
verifycode=trim(Request("verifycode"))
verifycode2=trim(Request("verifycode2"))
if admin_name="" or admin_pass="" then
response.Write "<script language=javascript>alert('用户名或密码不能为空!');window.location.href='login.asp';</script>"
response.end
end if
sql="select * from sys_admin where admin_name='"&admin_name&"' and admin_pass='"&md5(admin_pass)&"'"
response.Write(sql)
'response.End()
set rs=server.CreateObject("adodb.recordset")
rs.open sql,conn,1,1
if rs.eof and rs.bof then
response.Write "<script language=javascript>alert('用户名不存在!');window.location.href='login.asp';</script>"
else
session("admin_name")=trim(rs("admin_name"))
session("proview")=trim(rs("proview"))
response.redirect("index.asp")
end if
%>
</body>
</html>

⌨️ 快捷键说明

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