📄 skin_del.asp
字号:
<!--#include file="conn.asp"-->
<!--#include file="chkadmin.asp"-->
<!--#include file="inc/char.asp"-->
<%dim skin,errmsg,founderr
skin=Trim(Request.QueryString("skin"))
founderr=false
if chkadmin=false or power(5)="0" then
founderr=true
errmsg=errmsg+"<li>您没有删除配色方案的权限</li>"
end if
if skin="默认方案" then
founderr=true
errmsg=errmsg+"<li>默认方案不能删除</li>"
end if
if founderr=false then
conn.execute("delete from Skin where SkinName='"&skin&"'")
dim gourl,msg
gourl="skin_list.asp"
msg="此配色方案已删除!"
call ok()
else
call error()
end if
conn.close
set conn=nothing%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -