📄 log.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">
<!--
body {
background-image: url(images/background.gif);
}
.style4 {font-family: Georgia, "Times New Roman", Times, serif}
.style9 {color: #0000FF; font-size: 18px; }
-->
</style></head>
<body>
<table width="45" border="3" align="center" cellpadding="1">
<tr>
<td width="35"><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 "用户不存在,无法登陆 " & "<a href=default.asp>返回首页</a>"
else
session("userid")=rs("f_id")
response.redirect "default.asp"
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 + -