您没有管理本页面的权限。"
call dvbbs_error()
else
if request("action")="save" then
call saveconst()
else
call consted()
end if
if founderr then call dvbbs_error()
conn.close
set conn=nothing
end if
sub consted()
dim sel
%>
<%
end sub
sub saveconst()
if trim(request("skinid"))="" then
Founderr=true
Errmsg=Errmsg+" "+"
请选择保存的模板名称"
else
Forum_ads=request("index_ad_t") & "$" & request("index_ad_f") & "$" & request("index_moveFlag") & "$" & request("MovePic") & "$" & request("MoveUrl") & "$" & request("move_w") & "$" & request("move_h") & "$" & request("Board_moveFlag") & "$" & request("fixupPic") & "$" & request("FixupUrl") & "$" & request("Fixup_w") & "$" & request("Fixup_h") & "$" & request("Board_fixupFlag") & "$" & request("index_fixupFlag")
'response.write Forum_ads
if request("checkall")="1" then
sql = "update config set Forum_ads='"&CheckStr(Forum_ads)&"'"
conn.execute(sql)
else
if request("skinid")<>"" then
sql = "update config set Forum_ads='"&CheckStr(Forum_ads)&"' where id in ( "&request("skinid")&" )"
conn.execute(sql)
end if
end if
response.write "设置成功。"
end if
end sub
%>