📄 resource.asp
字号:
<!--#include file="../my_lib/my_request.asp" -->
<!--#include file="db_conn.asp" -->
<%
id=my_request("id",0)
if id="" or isnull(id) or IsNumeric(id)=False then
response.write("<script>alert(""参数错误!"");location.href=""default.asp"";</script>")
response.end
else
sql="select info_title,info_content from info_set where id="&id
set rs=conn.execute (sql)
info_title=rs(0)
info_content=rs(1)
rs.close
set rs=nothing
end if
%>
<html>
<head>
<meta http-equiv="Content-Language" content="zh-cn">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="../css/css.css" rel="stylesheet" type="text/css">
<title><%=info_title%></title>
</head>
<body topmargin="0">
<!--#include file="head.asp"-->
<div align="center">
<table border="1" width="760" id="table1" cellspacing="1" style="border-collapse: collapse" bordercolor="#F47E36">
<tr>
<td>
<table border="0" width="100%" id="table2" cellspacing="1">
<tr>
<td bgcolor="#FFEEDD" height="25"><p align="center"><font face="黑体"><%=info_title%></font></td>
</tr>
<tr><td bgcolor="#FFFFFF" class=smallfont>
<%=info_content%>
</td>
</tr>
<tr><td bgcolor="#FFFFFF" class=smallfont align=right><a href="javascript:window.close()">关闭窗口</a></td>
</tr>
</table>
</td>
</tr>
</table>
</div>
<!--#include file="end.asp" -->
</body>
</html>
<%
conn.close
set conn=nothing
%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -