% '################################################################################# '## Copyright (C) 2000-01 Michael Anderson and Pierre Gorissen '## '## This program is free software; you can redistribute it and/or '## modify it under the terms of the GNU General Public License '## as published by the Free Software Foundation; either version 2 '## of the License, or any later version. '## '## All copyright notices regarding Snitz Forums 2000 '## must remain intact in the scripts and in the outputted HTML '## The "powered by" text/logo with a link back to '## http://forum.snitz.com in the footer of the pages MUST '## remain visible when the pages are viewed on the internet or intranet. '## '## This program is distributed in the hope that it will be useful, '## but WITHOUT ANY WARRANTY; without even the implied warranty of '## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the '## GNU General Public License for more details. '## '## You should have received a copy of the GNU General Public License '## along with this program; if not, write to the Free Software '## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. '## '## Support can be obtained from support forums at: '## http://forum.snitz.com '## '## Correspondence and Marketing Questions can be sent to: '## reinhold@bigfoot.com '## '## or '## '## Snitz Communications '## C/O: Michael Anderson '## PO Box 200 '## Harpswell, ME 04079 '################################################################################# %> <% Dim ArchiveView if request("ARCHIVE") = "true" then strActivePrefix = strArchiveTablePrefix ArchiveView = "true" else strActivePrefix = strTablePrefix ArchiveView = "" end if set rs = Server.CreateObject("ADODB.Recordset") ' DEM --> Added code for topic moderation If mlev = 3 then strSql = "SELECT FORUM_ID FROM " & strTablePrefix & "MODERATOR " & _ " WHERE MEMBER_ID = " & MemberID set rsmod = my_Conn.Execute (strSql) if rsmod.EOF or rsmod.BOF then ' Do Nothing - User is not an active moderator else modcount = 0 ModOfForums = "(" do until rsmod.EOF modcount = modcount + 1 if modcount > 1 then ModOfForums = ModOfForums & ", " end if ModOfForums = ModOfForums & rsmod("FORUM_ID") rsmod.MoveNext loop ModOfForums = ModOfForums & ")" end if end if Response.Write "
" & vbNewline & _
" " & _
" " & vbNewline If Request.QueryString("mode") = "DoIt" then Response.Write " " Response.Write " | " & vbNewline & _
"
|
You must enter keywords
<% end if Else %> <% end if on error resume next set rs = nothing WriteFooter sub ForumAdminOptions() if (AdminAllowed = 1) or (lcase(strNoCookies) = "1") then if rsCFStatus("CAT_STATUS") = 0 then if mlev = 4 then %> ')">" if ((mxpages > 9) and (mxpages > strPageNumberSize)) or ((counter > 9) and (mxpages < strPageNumberSize)) then ref = ref & " " end if ref = ref & widenum(counter) & "" & counter & " | " Response.Write ref if counter mod strPageNumberSize = 0 then Response.Write("|
") end if next Response.Write(" |