<% '################################################################################# '## 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 '################################################################################# %> <% If Session(strCookieURL & "Approval") = "15916941253" Then %>
 All Forums
 Admin Section
 Font/Table Color Code Configuration
<% if Request.Form("Method_Type") = "Write_Configuration" then '## Forum_SQL strSql = "UPDATE " & strTablePrefix & "CONFIG " strSql = strSql & " SET C_STRDEFAULTFONTFACE = '" & Request.Form("strDefaultFontFace") & "', " strSql = strSql & " C_STRDEFAULTFONTSIZE = '" & Request.Form("strDefaultFontSize") & "', " strSql = strSql & " C_STRHEADERFONTSIZE = '" & Request.Form("strHeaderFontSize") & "', " strSql = strSql & " C_STRFOOTERFONTSIZE = '" & Request.Form("strFooterFontSize") & "', " strSql = strSql & " C_STRPAGEBGCOLOR = '" & Request.Form("strPageBGColor") & "', " strSql = strSql & " C_STRDEFAULTFONTCOLOR = '" & Request.Form("strDefaultFontColor") & "', " strSql = strSql & " C_STRLINKCOLOR = '" & Request.Form("strLinkColor") & "', " strSql = strSql & " C_STRLINKTEXTDECORATION = '" & Request.Form("strLinkTextDecoration") & "', " strSql = strSql & " C_STRVISITEDLINKCOLOR = '" & Request.Form("strVisitedLinkColor") & "', " strSql = strSql & " C_STRVISITEDTEXTDECORATION = '" & Request.Form("strVisitedTextDecoration") & "', " strSql = strSql & " C_STRACTIVELINKCOLOR = '" & Request.Form("strActiveLinkColor") & "', " strSql = strSql & " C_STRHOVERFONTCOLOR = '" & Request.Form("strHoverFontColor") & "', " strSql = strSql & " C_STRHOVERTEXTDECORATION = '" & Request.Form("strHoverTextDecoration") & "', " strSql = strSql & " C_STRHEADCELLCOLOR = '" & Request.Form("strHeadCellColor") & "', " strSql = strSql & " C_STRHEADFONTCOLOR = '" & Request.Form("strHeadFontColor") & "', " strSql = strSql & " C_STRCATEGORYCELLCOLOR = '" & Request.Form("strCategoryCellColor") & "', " strSql = strSql & " C_STRCATEGORYFONTCOLOR = '" & Request.Form("strCategoryFontColor") & "', " strSql = strSql & " C_STRFORUMFIRSTCELLCOLOR = '" & Request.Form("strForumFirstCellColor") & "', " strSql = strSql & " C_STRFORUMCELLCOLOR = '" & Request.Form("strForumCellColor") & "', " strSql = strSql & " C_STRALTFORUMCELLCOLOR = '" & Request.Form("strAltForumCellColor") & "', " strSql = strSql & " C_STRFORUMFONTCOLOR = '" & Request.Form("strForumFontColor") & "', " strSql = strSql & " C_STRFORUMLINKCOLOR = '" & Request.Form("strForumLinkColor") & "', " strSql = strSql & " C_STRTABLEBORDERCOLOR = '" & Request.Form("strTableBorderColor") & "', " strSql = strSql & " C_STRPOPUPTABLECOLOR = '" & Request.Form("strPopUpTableColor") & "', " strSql = strSql & " C_STRPOPUPBORDERCOLOR = '" & Request.Form("strPopUpBorderColor") & "', " strSql = strSql & " C_STRNEWFONTCOLOR = '" & Request.Form("strNewFontColor") & "', " strSql = strSql & " C_STRTOPICWIDTHLEFT = '" & Request.Form("strTopicWidthLeft") & "', " strSql = strSql & " C_STRTOPICNOWRAPLEFT = " & Request.Form("strTopicNoWrapLeft") & ", " strSql = strSql & " C_STRTOPICWIDTHRIGHT = '" & Request.Form("strTopicWidthRight") & "', " strSql = strSql & " C_STRTOPICNOWRAPRIGHT = " & Request.Form("strTopicNoWrapRight") & " " strSql = strSql & " WHERE CONFIG_ID = " & 1 ' Response.Write(strSql) ' Response.End my_Conn.Execute (strSql) Application(strCookieURL & "ConfigLoaded") = "" %>

Configuration Posted!

Congratulations!

Back To Admin Home

<% else %>
Font/Table Color Code Configuration
Font Face Type:  ">
Default Font Size: 
Header Font Size: 
Footer Font Size: 
Base Background Color:  ">
Default Font Color:  ">
Link Color:  ">
Link Decoration: 
Visited Link Color:  ">
Visited Link Decoration: 
Active Link Color:  ">
Hover Link Color:  ">
Hover Link Decoration: 
Header Background Color:  ">
Header Font Color:  ">
Category Background Color:  ">
Category Font Color:  ">
First Cell Color:  ">
First Alternating Cell Color:  ">
Second Alternating Cell Color:  ">
In Forum Font Color:  ">
In Forum Link Color:  ">
Table Border Color:  ">
Pop-Up Table Color:  ">
Pop-Up Table Border Color:  ">
New Font Color:  ">
Table Size Configuration
Topic Left Column Width:  ">
Topic NOWRAP Left:  On: "0" or lcase(TopicNoWrapLeft) <> "0") then Response.Write("checked")%>> Off: >
Topic Right Column Width:  ">
Topic NOWRAP Right:  On: > Off: "1" or lcase(TopicNoWrapRight) <> "1") then Response.Write("checked")%>>
<% end if %> <% Else %> <% Response.Redirect "admin_login.asp" %> <% End IF %>