📄 notice.asp
字号:
<!--#include file="inc/conn.asp"-->
<!--#include file="inc/func.asp"-->
<!--#include file="inc/md5.asp"-->
<!--#include file="inc/sqlin.asp"-->
<%
dim txtR
txtR = "<div id='content1'><h4>阅读</h4><p/><div class='doctitle'>{theTitle}</div><hr>作者:{theAuthor} 发表时间:{theTime} 点击次数:{theHits}<p/>{theContent}<p/></div>"
Call DBConnBegin()
Conn.Execute("update notice set hits=hits+1 where id=" & Request.QueryString("id"))
Sql="select * from notice where id=" & Request.QueryString("id")
rs.open sql,conn,1,1
txtR = Replace(txtR, "{theTitle}", rs("title"))
txtR = Replace(txtR, "{theTime}", rs("time"))
txtR = Replace(txtR, "{theAuthor}", rs("name"))
txtR = Replace(txtR, "{theHits}", rs("hits"))
txtR = Replace(txtR, "{theContent}", rs("say"))
Response.write replace(FSOFileRead("html/exam_common.txt"), "{theRightFrmContent}", txtR)
%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -