?? showachieve.asp
字號:
<!--#include file="config.asp"-->
<!--#include file="conn.asp"-->
<!--#include file="format.asp"-->
<!--#include file="error.asp"-->
<!--#include file="body/incjs.asp"-->
<!--#include file="body/top.asp"-->
<!--#include file="body/achievecat.asp"-->
<!--#include file="body/showachieve_body.asp"-->
<!--#include file="body/foot.asp"-->
<%
stats="精品文章"
dim founderr,errmsg
founderr=false
errmsg=""
if request.querystring("achieve_id")="" then
founderr=true
errmsg=errmsg+"<br>"+"<li>請指定操作的對象!"
else
if not isInteger(request.querystring("achieve_id")) then
founderr=true
errmsg=errmsg+"<br>"+"<li>非法的文章id參數。"
end if
end if
if founderr then
call diserror()
response.end
else
call top()
rcount
call showachieve_body()
call endpage()
end if
function rcount()
set rscount=conn.execute("select * from achieve")
sql="UPDATE achieve SET achieve_count = achieve_count + 1 where achieve_id="&request.querystring("achieve_id")
conn.execute (sql)
rscount.close
set rscount=nothing
end function
%>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -