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

📄 manlog.asp

📁 在开发大型软件的漫长过程中
💻 ASP
字号:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href=images/font.css rel=stylesheet type=text/css>
<title>轻舞飞扬--BBS</title>

<style type="text/css">
<!--
.style4 {font-family: Georgia, "Times New Roman", Times, serif}
.style9 {color: #0000FF; font-size: 18px; }
body {
	background-image: url(images/background.gif);
}
-->
</style>
</head>

<body>
<table width="597" border="3" align="center" cellpadding="1">
	<tr>
    	<td width="587"><img src="images/qwfy.png" width="660" height="130"></td>
  	</tr>
  	<tr>
    	<td align=center valign=center bgcolor="#FFFFcc">
<%        
	name=request("name")
	password=request("password")
	set adocon=server.createobject("adodb.connection")       
	adocon.open session("constr")       
	sqlstr="select * from t_user where f_name='" & name & "' and f_password='" & password & "'"
	set rs=adocon.execute(sqlstr)
	if rs.eof and rs.bof then
		response.write "用户不存在,无法登陆!" 
	else
		if rs("f_manboardid")<>0 then
			session("admin")=rs("f_id")
			response.redirect "mantopic.asp?boardid=" & rs("f_manboardid")
		else
			response.write "不是管理员,无法登陆!" 
		end if
	end if
%></td>   
    </tr>   
  	<tr>    
    	<td height="30" align="center" valign="middle" bgcolor="#CC6633">    
	      <span class="style9">版权所有@<span class="style4">corner</span></span></td>    
  	</tr>      
</table>    
</body>    
</html>

⌨️ 快捷键说明

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