showsummary.asp

来自「南鄂电子商务学校网: 学校概况、校园动态、师资力量、教学成果、师生论坛、友情链接」· ASP 代码 · 共 44 行

ASP
44
字号
<!--#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/summarycat.asp"-->
<!--#include file="body/showsummary_body.asp"-->
<!--#include file="body/foot.asp"-->
<%
stats="学校师资"
dim founderr,errmsg
founderr=false
errmsg=""

if request.querystring("summary_id")="" then
  founderr=true
  errmsg=errmsg+"<br>"+"<li>请指定操作的对象!"
else
  if not isInteger(request.querystring("summary_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 showsummary_body()
call endpage()
end if

function rcount()

set rscount=conn.execute("select * from summary")
sql="UPDATE summary SET summary_count = summary_count + 1 where summary_id="&request.querystring("summary_id")
conn.execute (sql)
rscount.close
set rscount=nothing
end function
%>

⌨️ 快捷键说明

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