soft_pass.asp
来自「欢迎使用《雨点下载系统 2.0》! 本系统仅提供给个人网站免费使用」· ASP 代码 · 共 30 行
ASP
30 行
<!--#include file="conn.asp"-->
<!--#include file="config.asp"-->
<!--#include file="chkadmin.asp"-->
<!--#include file="inc/char.asp"-->
<%dim id,poster
id=CInt(Trim(Request.QueryString("id")))
poster=Trim(Request.QueryString("poster"))
dim errmsg,founderr
founderr=false
if chkadmin=false or power(3)="0" then
founderr=true
errmsg=errmsg&"<li>您没有审核软件的权限</li>"
end if
if founderr=false then
conn.execute("update Software set PostType=2 where ID="&id)
conn.execute("update UserInfo set Point=Point+"&PostPoint&" where USR='"&poster&"'")
dim gourl,msg
gourl=request.ServerVariables("HTTP_REFERER")
msg="此软件已通过审核!"
call ok()
else
call error()
end if
conn.close
set conn=nothing
%>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?