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

📄 news_detail.asp

📁 网上购物系统
💻 ASP
字号:
<!--#include file=Conn.asp -->
<!--#include file=include/MyRequest.asp -->
<!--#include file=Sub.asp -->
<%
id=my_request("id",1)

' 更新浏览次数
sql="update news_info set news_info_hitnums=news_info_hitnums+1 where id="&id
conn.execute (sql)

dim news_info_title,news_info_content,news_info_addtime,news_info_hitnums
sql="select news_info_title,news_info_content,news_info_addtime,news_info_hitnums from news_info where id="&id
set rs=conn.execute (sql)
news_info_title  =rs(0)
news_info_content=rs(1)
news_info_addtime=rs(2)
news_info_hitnums=rs(3)
rs.close
set rs=nothing

nav="<a href=news_list.asp>网站动态</a> &raquo; 信息详情"
Call Header(news_info_title,nav)
response.write  "<h2 align=center>"&news_info_title&"</h2>"&_
				"<div class=MainDesc>"&_
				"	<center>发布时间:"&datevalue(news_info_addtime)&"</font>&nbsp;&nbsp;浏览次数:"&news_info_hitnums&"次</center>"&_
				"	<hr noshade color=#CCCCCC size=1>"
response.write  	news_info_content
response.write "</div>"
Footer
%>

⌨️ 快捷键说明

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