%
'ON ERROR RESUME NEXT
if Request.Cookies("admindj")<>"1" then
Response.Write "
权限不足,你没有此功能的管理权限"
Response.end
end if
%>
<%
lmid=trim(request("lmid"))
if lmid<>"" then
conn.Execute "update [config] set [tglm]='"&lmid&"' "
'Application("tglm")=lmid
conn.close:set conn=nothing
Response.Write "
投稿栏目设置成功!
"
Response.end
end if
set rsnewsx= Server.CreateObject("ADODB.RecordSet"):rsnewsx.cursorlocation=3
rsnewsx.Open "select top 1 [id],[tglm] from [config]",conn,1,1
if rsnewsx.recordcount<>0 then
tglm=rsnewsx("tglm")&" "
end if
rsnewsx.close
set rsnewsx=nothing
%>