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

📄 chuli.asp

📁 本学期要实讯
💻 ASP
字号:
<%option explicit %>
<!--#include file="odbc_connection.asp"-->
<%session("user")=request("user")%>
<style type="text/css">
<!--
.style1 {font-size: 12px}
-->
</style>
</head>
<style type="text/css">
<!--
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
}
.style2 {
	color: #000000;
	font-size: 12px;
}
.style3 {color: #6600FF}
.style5 {color: #000000}
-->
</style>
<table width="760" height="231" border="0" align="center" cellpadding="0" cellspacing="0" background="images/bbg.jpg">
  <tr>
    <td height="94" align="left" valign="top"><!--#include file="top.asp"--></td>
  </tr>
  <tr>
    <td height="68" align="center" valign="top">
	<%
dim rs,sql,body
sql="select * from login where user='"&request.Form("user")&"' and psw1='"&request.Form("psw1")&"'"
set rs=db.execute(sql)
if rs.bof and rs.eof then%>
	<table width="319" height="32" border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td width="319" height="32"><span class="style1 style2">对不起,你的用户名或者密码有错误</span><span class="style1 style5">!</span><span class="style1 style3">&nbsp;&nbsp;&nbsp; </span><a href="index.asp">返回重新登录</a></td>
      </tr>
    </table>
	<%else
if  rs("body")="个人" then
response.Redirect"userindex.asp"
end if
if  rs("body")="公司" then
response.Redirect"comindex.asp"
end if
if  rs("body")="管理员" then
response.Redirect"admin.asp"
end if
end if
%>
	</td>
  </tr>
</table>

⌨️ 快捷键说明

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