%
Dvbbs.stats="版主管理页面"
Dvbbs.LoadTemplates("")
Dvbbs.Nav()
Dim sql1,rs1,sql,Rs,i
If Dvbbs.UserID=0 Then Response.redirect "showerr.asp?ErrCodes=
您没有指定相应论坛ID,不能进行管理。&action=OtherErr"
End If
Rs("Boardmaster") = Boardmaster
Rs("Readme") = Readme
Rs("Rules") = Rules
Rs("BoardType") = BoardType
If Cint(Dvbbs.Board_Setting(2)) = 1 Then Rs("Boarduser") = Boarduser
Rs("Sid") = Clng(Sid)
Rs.Update
Response.Write "论坛修改成功!"
'Dvbbs.ReloadBoardInfo(Dvbbs.BoardID)
'Dvbbs.ReloadBoardCache Dvbbs.BoardID,Boardmaster,8,0
'Dvbbs.ReloadBoardCache Dvbbs.BoardID,Readme,7,0
'Dvbbs.ReloadBoardCache Dvbbs.BoardID,BoardType,1,0
'Dvbbs.ReloadBoardCache Dvbbs.BoardID,Sid,15,0
'If Cint(Dvbbs.Board_Setting(2)) = 1 Then Dvbbs.ReloadBoardCache Dvbbs.BoardID,Boarduser,13,0
Dvbbs.ReloadBoardInfo(Dvbbs.BoardID)
End Sub
Function fixjs(Str)
If Str <>"" Then
str = replace(str,"\", "\\")
Str = replace(str, chr(34), "\""")
Str = replace(str, chr(39),"\'")
Str = Replace(str, chr(13), "\n")
Str = Replace(str, chr(10), "\r")
str = replace(str,"'", "'")
End If
fixjs=Str
End Function
Function enfixjs(Str)
If Str <>"" Then
Str = replace(str,"'", "'")
Str = replace(str,"\""" , chr(34))
Str = replace(str, "\'",chr(39))
Str = Replace(str, "\r", chr(10))
Str = Replace(str, "\n", chr(13))
Str = replace(str,"\\", "\")
End If
enfixjs=Str
End Function
%>