% '################################################################################# '## Copyright (C) 2000 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 '################################################################################# %> <% '################################################################################# '## Variable declaration '################################################################################# dim strSelecSize dim intCols, intRows %> <% '################################################################################# '## Initialise variables '################################################################################# strSelectSize = Request.Form("SelectSize") strRqMethod = Request.QueryString("method") strRqForumID = Request.QueryString("FORUM_ID") strRqCatID = Request.QueryString("CAT_ID") strCkPassWord = Request.Cookies(strUniqueID & "User")("Pword") '################################################################################# '## Page-code start '################################################################################# if strSelectSize = "" or IsNull(strSelectSize) then strSelectSize = Request.Cookies(strCookieURL & "strSelectSize") end if if not(IsNull(strSelectSize)) then Response.Cookies(strCookieURL & "strSelectSize") = strSelectSize Response.Cookies(strCookieURL & "strSelectSize").expires = Now() + 365 end if %> <% select case strSelectSize case "1" intCols = 45 intRows = 6 case "2" intCols = 80 intRows = 12 case "3" intCols = 90 intRows = 12 case "4" intCols = 130 intRows = 15 case else intCols = 45 intRows = 6 end select %> <% Msg = "" if Request.Querystring("method") = "ReplyQuote" or Request.Querystring("method") = "Forward" then '## Forum_SQL strSql = "SELECT * " strSql = strSql & " FROM " & strTablePrefix & "PM " strSql = strSql & " WHERE " & strTablePrefix & "PM.M_ID = " & Request.QueryString("id") set rs = my_Conn.Execute (strSql) strAuthor = rs("M_FROM") '** if Request.QueryString("method") = "Edit" then TxtMsg = rs("M_MESSAGE") else if Request.Querystring("method") = "ReplyQuote" then TxtMsg = "[quote]" & vbCrLf TxtMsg = TxtMsg & rs("M_MESSAGE") & vbCrLf TxtMsg = TxtMsg & "[/quote]" end if if Request.Querystring("method") = "Forward" then TxtMsg = "----- Forwarded Message -----" & vbCrLf TxtMsg = TxtMsg & rs("M_MESSAGE") & vbCrLf TxtMsg = TxtMsg & "-----------------------------" end if end if 'boolReply = rs("R_MAIL") end if %>
|
|
<% =Msg %>
<% If Request.QueryString("Method") = "Reply" or _ Request.QueryString("Method") = "TopicQuote" or _ Request.Querystring("method") = "Forward" or _ Request.QueryString("Method") = "ReplyQuote" then %>| size="<% =strDefaultFontSize %>" color="<% =strHeadFontColor %>">M E S S A G E R E V I E W | |
| " & ChkString(rs("M_NAME"),"display") & " | " & vbCrLf Response.Write "" & formatStr(rs("M_MESSAGE")) & " | " & vbCrLf Response.Write "