help_detail.asp

来自「网上购物系统」· ASP 代码 · 共 31 行

ASP
31
字号
<%
dim startime
startime=timer()
%>
<!--#include file=Conn.asp -->
<!--#include file=include/MyRequest.asp -->
<!--#include file=Sub.asp -->
<%
id=my_request("id",1)
if id="" or isnull(id) or IsNumeric(id)=False then
    response.write("<script>alert(""参数错误!"");location.href=""help_List.asp"";</script>")
    response.end
end if

sql="select help_info_title,help_info_content from help_info where id="&id
set rs=conn.execute (sql)
txt_info_title  =rs(0)
txt_info_content=rs(1)
rs.close
set rs=nothing
nav="<a href=help_list.asp>帮助中心</a> &raquo; "&txt_info_title
call header(txt_info_title,nav)
response.write  "<h2 align=center>"&txt_info_title&"</h2>"&_
				"<hr noshade color=#CCCCCC size=1>"&_
				"<div class=MainDesc>"&txt_info_content&"<br></div>"
Footer
dim endtime
endtime=timer()
response.write  "页面执行时间:"&FormatNumber((endtime-startime)*1000,3)&"毫秒"
%>

⌨️ 快捷键说明

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