<?php

/***************************************************************************

 m_setgraphics.php
 ------------------
 copyright : (C) 2002-2003 The ezContents Development Team

 ***************************************************************************/

/***************************************************************************
 The ezContents Development Team offers no warranties on this script.
 The owner/licensee of the script is solely responsible for any problems
 caused by installation of the script or use of the script.

 All copyright notices regarding ezContents must remain intact on the
 scripts and in the HTML for the scripts.

 For more info on ezContents,
 visit http://www.ezcontents.org/

/***************************************************************************

/***************************************************************************
 *
 *   This program is free software; you can redistribute it and/or modify
 *   it under the terms of the License which can be found within the
 *   zipped package.
 *
 ***************************************************************************/

include_once ("rootdatapath.php");
require_once ($GLOBALS["rootdp"]."include/config.php");
require_once ($GLOBALS["rootdp"]."include/db.php");
require_once ($GLOBALS["rootdp"]."include/session.php");

include ($GLOBALS["rootdp"]."include/access.php");


// Security vet.
// Start by setting all security access to false.
// Do it in the code to overwrite any spurious values that a hacker may
//    have tried to pass in the url
$GLOBALS["specialedit"] = $GLOBALS["canedit"] = $GLOBALS["canadd"] = $GLOBALS["canview"] = False;
$GLOBALS["fieldstatus"] = '';

// Validate the user's level of access for this form.
$GLOBALS["form"] = 'setgraphics';
$validaccess = VerifyAdminLogin2();

include ($GLOBALS["rootdp"]."include/settings.php");
include ("adminfunctions.php");
include ($GLOBALS["rootdp"]."include/functions.php");
includeLanguageFiles('admin','setgraphics');


$ImageFileTypes = array('gif', 'jpg', 'jpeg', 'png');


$GLOBALS["tabindex"] = 1024;

if ($HTTP_POST_VARS["submitted"] == "yes") {
   // User has submitted the data
   UpdateSiteImages();
   Header("Location: ".BuildLink('start.php')."&RefreshMenu=styles");
}
GetGlobalData();
frmSetGraphics();


function frmSetGraphics()
{
   adminformheader();
   adminformopen('tvhomepagelogo');
   adminformtitle(4,$GLOBALS["tFormTitle"]);
   adminsubheader(4,$GLOBALS["thSiteLogo"]);
   ?>
   <tr class="tablecontent">
       <?php FieldHeading("HomepageLogo","tvhomepagelogo"); ?>
       <td valign="top" colspan="3" class="content" width="75%">
           <input type="text" name="tvhomepagelogo" size="64" value="<?php echo $GLOBALS["fsHomepageLogo"]; ?>" maxlength="255"<?php echo $GLOBALS["fieldstatus"]; ?>>
           <?php adminimagedisplay('tvhomepagelogo',$GLOBALS["fsHomepageLogo"],$GLOBALS["tShowImage"]); ?>
       </td>
   </tr>
   <?php adminsubheader(4,$GLOBALS["thBackgrounds"]); ?>
   <tr class="tablecontent">
       <?php FieldHeading("MainBackground","tvmainbg"); ?>
       <td valign="top" colspan="3" class="content">
           <input type="text" name="tvmainbg" size="64" value="<?php echo $GLOBALS["fsMainBg"]; ?>" maxlength="255"<?php echo $GLOBALS["fieldstatus"]; ?>>
           <?php adminimagedisplay('tvmainbg',$GLOBALS["fsMainBg"],$GLOBALS["tShowImage"]); ?>
       </td>
   </tr>
   <tr class="tablecontent">
       <?php FieldHeading("MainBackgroundRepeat","tvmainbgrep"); ?>
       <td valign="top" class="content" width="25%">
           <input type="checkbox" name="tvmainbgrep" value="Y" <?php if($GLOBALS["fbMainBgRep"] == 'Y') echo "checked"; ?><?php echo $GLOBALS["fieldstatus"]; ?>>
       </td>
       <?php FieldHeading("MainBackgroundFixed","tvmainbgfix"); ?>
       <td valign="top" class="content" width="25%">
           <input type="checkbox" name="tvmainbgfix" value="Y" <?php if($GLOBALS["fbMainBgFix"] == 'Y') echo "checked"; ?><?php echo $GLOBALS["fieldstatus"]; ?>>
       </td>
   </tr>
   <tr class="tablecontent">
       <?php FieldHeading("ContentBackground","tvheaderbg"); ?>
       <td valign="top" colspan="3" class="content">
           <input type="text" name="tvheaderbg" size="64" value="<?php echo $GLOBALS["fsHeaderBg"]; ?>" maxlength="255"<?php echo $GLOBALS["fieldstatus"]; ?>>
           <?php adminimagedisplay('tvheaderbg',$GLOBALS["fsHeaderBg"],$GLOBALS["tShowImage"]); ?>
       </td>
   </tr>
   <tr class="tablecontent">
       <?php FieldHeading("ContentBackgroundRepeat","tvheaderbgrep"); ?>
       <td valign="top" colspan="3" class="content">
           <input type="checkbox" name="tvheaderbgrep" value="Y" <?php if($GLOBALS["fbHeaderBgRep"] == 'Y') echo "checked"; ?><?php echo $GLOBALS["fieldstatus"]; ?>>
       </td>
   </tr>
   <?php
   if ($GLOBALS["gsShowTopMenu"] == 'Y') {
      ?>
      <tr class="tablecontent">
          <?php FieldHeading("TopMenuBackground","tvtopmenubg"); ?>
          <td valign="top" colspan="3" class="content">
              <input type="text" name="tvtopmenubg" size="64" value="<?php echo $GLOBALS["fsTopMenuBg"]; ?>" maxlength="255"<?php echo $GLOBALS["fieldstatus"]; ?>>
              <?php adminimagedisplay('tvtopmenubg',$GLOBALS["fsTopMenuBg"],$GLOBALS["tShowImage"]); ?>
          </td>
      </tr>
      <tr class="tablecontent">
          <?php FieldHeading("TopMenuBackgroundRepeat","tvtopmenubgrep"); ?>
          <td valign="top" class="content">
              <input type="checkbox" name="tvtopmenubgrep" value="Y" <?php if ($GLOBALS["fbTopMenuBgRep"] == 'Y') echo "checked"; ?><?php echo $GLOBALS["fieldstatus"]; ?>>
          </td>
          <?php FieldHeading("TopMenuBackgroundFixed","tvtopmenubgfix"); ?>
          <td valign="top" class="content">
              <input type="checkbox" name="tvtopmenubgfix" value="Y" <?php if ($GLOBALS["fbTopMenuBgFix"] == 'Y') echo "checked"; ?><?php echo $GLOBALS["fieldstatus"]; ?>>
          </td>
      </tr>
      <?php
   } else {
      ?>
      <input type="hidden" name="tvtopmenubg" value="<?php echo $GLOBALS["fsTopMenuBg"]; ?>">
      <input type="hidden" name="tvtopmenubgrep" value="<?php echo $GLOBALS["fbTopMenuBgRep"]; ?>">
      <input type="hidden" name="tvtopmenubgfix" value="<?php echo $GLOBALS["fbTopMenuBgFix"]; ?>">
      <?php
   }
   ?>
   <tr class="tablecontent">
       <?php FieldHeading("MenuBackground","tvmenubg"); ?>
       <td valign="top" colspan="3" class="content">
           <input type="text" name="tvmenubg" size="64" value="<?php echo $GLOBALS["fsMenuBg"]; ?>" maxlength="255"<?php echo $GLOBALS["fieldstatus"]; ?>>
           <?php adminimagedisplay('tvmenubg',$GLOBALS["fsMenuBg"],$GLOBALS["tShowImage"]); ?>
       </td>
   </tr>
   <tr class="tablecontent">
       <?php FieldHeading("MenuBackgroundRepeat","tvmenubgrep"); ?>
       <td valign="top" class="content">
           <input type="checkbox" name="tvmenubgrep" value="Y" <?php if($GLOBALS["fbMenuBgRep"] == 'Y') echo "checked"; ?><?php echo $GLOBALS["fieldstatus"]; ?>>
       </td>
       <?php FieldHeading("MenuBackgroundFixed","tvmenubgfix"); ?>
       <td valign="top" class="content">
           <input type="checkbox" name="tvmenubgfix" value="Y" <?php if($GLOBALS["fbMenuBgFix"] == 'Y') echo "checked"; ?><?php echo $GLOBALS["fieldstatus"]; ?>>
       </td>
   </tr>
   <tr class="tablecontent">
       <?php FieldHeading("TopBackground","tvtopbg"); ?>
       <td valign="top" colspan="3" class="content">
           <input type="text" name="tvtopbg" size="64" value="<?php echo $GLOBALS["fsTopBg"]; ?>" maxlength="255"<?php echo $GLOBALS["fieldstatus"]; ?>>
           <?php adminimagedisplay('tvtopbg',$GLOBALS["fsTopBg"],$GLOBALS["tShowImage"]); ?>
       </td>
   </tr>
   <tr class="tablecontent">
       <?php FieldHeading("TopBackgroundRepeat","tvtopbgrep"); ?>
       <td valign="top" class="content">
           <input type="checkbox" name="tvtopbgrep" value="Y" <?php if($GLOBALS["fbTopBgRep"] == 'Y') echo "checked"; ?><?php echo $GLOBALS["fieldstatus"]; ?>>
       </td>
       <?php FieldHeading("TopBackgroundFixed","tvtopbgfix"); ?>
       <td valign="top" class="content">
           <input type="checkbox" name="tvtopbgfix" value="Y" <?php if($GLOBALS["fbTopBgFix"] == 'Y') echo "checked"; ?><?php echo $GLOBALS["fieldstatus"]; ?>>
       </td>
   </tr>
   <?php
   if ($GLOBALS["gnBottomFrame"] == 'Y') {
      ?>
      <tr class="tablecontent">
          <?php FieldHeading("FooterBackground","tvfooterbg"); ?>
          <td valign="top" colspan="3" class="content">
              <input type="text" name="tvfooterbg" size="64" value="<?php echo $GLOBALS["fsFooterBg"]; ?>" maxlength="255"<?php echo $GLOBALS["fieldstatus"]; ?>>
              <?php adminimagedisplay('tvfooterbg',$GLOBALS["fsFooterBg"],$GLOBALS["tShowImage"]); ?>
          </td>
      </tr>
      <tr class="tablecontent">
          <?php FieldHeading("FooterBackgroundRepeat","tvfooterbgrep"); ?>
          <td valign="top" class="content">
              <input type="checkbox" name="tvfooterbgrep" value="Y" <?php if ($GLOBALS["fbFooterBgRep"] == 'Y') echo "checked"; ?><?php echo $GLOBALS["fieldstatus"]; ?>>
          </td>
          <?php FieldHeading("FooterBackgroundFixed","tvfooterbgfix"); ?>
          <td valign="top" class="content">
              <input type="checkbox" name="tvfooterbgfix" value="Y" <?php if ($GLOBALS["fbFooterBgFix"] == 'Y') echo "checked"; ?><?php echo $GLOBALS["fieldstatus"]; ?>>
          </td>
      </tr>
      <?php
   } else {
      ?>
      <input type="hidden" name="tvfooterbg" value="<?php echo $GLOBALS["fsFooterBg"]; ?>">
      <input type="hidden" name="tvfooterbgrep" value="<?php echo $GLOBALS["fbFooterBgRep"]; ?>">
      <input type="hidden" name="tvfooterbgfix" value="<?php echo $GLOBALS["fbFooterBgFix"]; ?>">
      <?php
   }
   ?>
   <?php adminsubheader(4,$GLOBALS["thPagingIcons"]); ?>
   <tr class="tablecontent">
       <?php FieldHeading("FirstPageIcon","tvfirstpageicon"); ?>
       <td valign="top" colspan="3" class="content">
           <input type="text" name="tvfirstpageicon" size="64" value="<?php echo $GLOBALS["fsFirstPageIcon"]; ?>" maxlength="255"<?php echo $GLOBALS["fieldstatus"]; ?>>
           <?php adminimagedisplay('tvfirstpageicon',$GLOBALS["fsFirstPageIcon"],$GLOBALS["tShowImage"]); ?>
       </td>
   </tr>
   <tr class="tablecontent">
       <?php FieldHeading("PrevPageIcon","tvprevpageicon"); ?>
       <td valign="top" colspan="3" class="content">
           <input type="text" name="tvprevpageicon" size="64" value="<?php echo $GLOBALS["fsPrevPageIcon"]; ?>" maxlength="255"<?php echo $GLOBALS["fieldstatus"]; ?>>
           <?php adminimagedisplay('tvprevpageicon',$GLOBALS["fsPrevPageIcon"],$GLOBALS["tShowImage"]); ?>
       </td>
   </tr>
   <tr class="tablecontent">
       <?php FieldHeading("NextPageIcon","tvnextpageicon"); ?>
       <td valign="top" colspan="3" class="content">
           <input type="text" name="tvnextpageicon" size="64" value="<?php echo $GLOBALS["fsNextPageIcon"]; ?>" maxlength="255"<?php echo $GLOBALS["fieldstatus"]; ?>>
           <?php adminimagedisplay('tvnextpageicon',$GLOBALS["fsNextPageIcon"],$GLOBALS["tShowImage"]); ?>
       </td>
   </tr>
   <tr class="tablecontent">
       <?php FieldHeading("LastPageIcon","tvlastpageicon"); ?>
       <td valign="top" colspan="3" class="content">
           <input type="text" name="tvlastpageicon" size="64" value="<?php echo $GLOBALS["fsLastPageIcon"]; ?>" maxlength="255"<?php echo $GLOBALS["fieldstatus"]; ?>>
           <?php adminimagedisplay('tvlastpageicon',$GLOBALS["fsLastPageIcon"],$GLOBALS["tShowImage"]); ?>
       </td>
   </tr>
   <?php adminsubheader(4,$GLOBALS["thMenuIcons"]); ?>
   <tr class="tablecontent">
       <?php FieldHeading("ExpandIcon","tvexpandicon"); ?>
       <td valign="top" colspan="3" class="content">
           <input type="text" name="tvexpandicon" size="64" value="<?php echo $GLOBALS["fsExpandIcon"]; ?>" maxlength="255"<?php echo $GLOBALS["fieldstatus"]; ?>>
           <?php adminimagedisplay('tvexpandicon',$GLOBALS["fsExpandIcon"],$GLOBALS["tShowImage"]); ?>
       </td>
   </tr>
   <tr class="tablecontent">
       <?php FieldHeading("CollapseIcon","tvcollapseicon"); ?>
       <td valign="top" colspan="3" class="content">
           <input type="text" name="tvcollapseicon" size="64" value="<?php echo $GLOBALS["fsCollapseIcon"]; ?>" maxlength="255"<?php echo $GLOBALS["fieldstatus"]; ?>>
           <?php adminimagedisplay('tvcollapseicon',$GLOBALS["fsCollapseIcon"],$GLOBALS["tShowImage"]); ?>
       </td>
   </tr>
   <tr class="tablecontent">
       <?php FieldHeading("NoExpandIcon","tvnoexpandicon"); ?>
       <td valign="top" colspan="3" class="content">
           <input type="text" name="tvnoexpandicon" size="64" value="<?php echo $GLOBALS["fsNoExpandIcon"]; ?>" maxlength="255"<?php echo $GLOBALS["fieldstatus"]; ?>>
           <?php adminimagedisplay('tvnoexpandicon',$GLOBALS["fsNoExpandIcon"],$GLOBALS["tShowImage"]); ?>
       </td>
   </tr>
   <tr class="tablecontent">
       <?php FieldHeading("SecureIcon","tvsecureicon"); ?>
       <td valign="top" colspan="3" class="content">
           <input type="text" name="tvsecureicon" size="64" value="<?php echo $GLOBALS["fsSecureIcon"]; ?>" maxlength="255"<?php echo $GLOBALS["fieldstatus"]; ?>>
           <?php adminimagedisplay('tvsecureicon',$GLOBALS["fsSecureIcon"],$GLOBALS["tShowImage"]); ?>
       </td>
   </tr>
   <?php adminsubheader(4,$GLOBALS["thSpecialIcons"]); ?>
   <tr class="tablecontent">
       <?php FieldHeading("PrintIcon","tvprinticon"); ?>
       <td valign="top" colspan="3" class="content">
           <input type="text" name="tvprinticon" size="64" value="<?php echo $GLOBALS["fsPrintIcon"]; ?>" maxlength="255"<?php echo $GLOBALS["fieldstatus"]; ?>>
           <?php adminimagedisplay('tvprinticon',$GLOBALS["fsPrintIcon"],$GLOBALS["tShowImage"]); ?>
       </td>
   </tr>
   <tr class="tablecontent">
       <?php FieldHeading("RatingIcon","tvratingicon"); ?>
       <td valign="top" colspan="3" class="content">
           <input type="text" name="tvratingicon" size="64" value="<?php echo $GLOBALS["fsRatingIcon"]; ?>" maxlength="255"<?php echo $GLOBALS["fieldstatus"]; ?>>
           <?php adminimagedisplay('tvratingicon',$GLOBALS["fsRatingIcon"],$GLOBALS["tShowImage"]); ?>
       </td>
   </tr>
   <tr class="tablecontent">
       <?php FieldHeading("CommentIcon","tvcommenticon"); ?>
       <td valign="top" colspan="3" class="content">
           <input type="text" name="tvcommenticon" size="64" value="<?php echo $GLOBALS["fsCommentIcon"]; ?>" maxlength="255"<?php echo $GLOBALS["fieldstatus"]; ?>>
           <?php adminimagedisplay('tvcommenticon',$GLOBALS["fsCommentIcon"],$GLOBALS["tShowImage"]); ?>
       </td>
   </tr>
   <?php
   adminformsavebar(4,'start.php');
   if ($GLOBALS["specialedit"] == True) { adminhelpmsg(4); }
   adminformclose();
} // function frmSetGraphics()


function GetGlobalData()
{
   $GLOBALS["fsHomepageLogo"]	= $GLOBALS["gsHomepageLogo"];
   $GLOBALS["fsMainBg"]		= $GLOBALS["gsMainBg"];
   $GLOBALS["fbMainBgRep"]	= $GLOBALS["gbMainBgRep"];
   $GLOBALS["fbMainBgFix"]	= $GLOBALS["gbMainBgFix"];
   $GLOBALS["fsHeaderBg"]	= $GLOBALS["gsHeaderBg"];
   $GLOBALS["fbHeaderBgRep"]	= $GLOBALS["gbHeaderBgRep"];
   $GLOBALS["fsTopBg"]		= $GLOBALS["gsTopBg"];
   $GLOBALS["fbTopBgRep"]	= $GLOBALS["gbTopBgRep"];
   $GLOBALS["fbTopBgFix"]	= $GLOBALS["gbTopBgFix"];
   $GLOBALS["fsTopMenuBg"]	= $GLOBALS["gsTopMenuBg"];
   $GLOBALS["fbTopMenuBgRep"]	= $GLOBALS["gbTopMenuBgRep"];
   $GLOBALS["fbTopMenuBgFix"]	= $GLOBALS["gbTopMenuBgFix"];
   $GLOBALS["fsMenuBg"]		= $GLOBALS["gsMenuBg"];
   $GLOBALS["fbMenuBgRep"]	= $GLOBALS["gbMenuBgRep"];
   $GLOBALS["fbMenuBgFix"]	= $GLOBALS["gbMenuBgFix"];
   $GLOBALS["fsFooterBg"]	= $GLOBALS["gsFooterBg"];
   $GLOBALS["fbFooterBgRep"]	= $GLOBALS["gbFooterBgRep"];
   $GLOBALS["fbFooterBgFix"]	= $GLOBALS["gbFooterBgFix"];
   $GLOBALS["fsFirstPageIcon"]	= $GLOBALS["gsFirstPageIcon"];
   $GLOBALS["fsPrevPageIcon"]	= $GLOBALS["gsPrevPageIcon"];
   $GLOBALS["fsNextPageIcon"]	= $GLOBALS["gsNextPageIcon"];
   $GLOBALS["fsLastPageIcon"]	= $GLOBALS["gsLastPageIcon"];
   $GLOBALS["fsExpandIcon"]	= $GLOBALS["gsExpandIcon"];
   $GLOBALS["fsCollapseIcon"]	= $GLOBALS["gsCollapseIcon"];
   $GLOBALS["fsNoExpandIcon"]	= $GLOBALS["gsNoExpandIcon"];
   $GLOBALS["fsSecureIcon"]	= $GLOBALS["gsSecureIcon"];
   $GLOBALS["fsPrintIcon"]	= $GLOBALS["gsPrintIcon"];
   $GLOBALS["fsRatingIcon"]	= $GLOBALS["gsRatingIcon"];
   $GLOBALS["fsCommentIcon"]	= $GLOBALS["gsCommentIcon"];
} // function GetGlobalData()


function UpdateSiteImages()
{
   global $HTTP_POST_VARS;

   $cssSettingsModified = False;
   if (UpdateSetting($HTTP_POST_VARS["tvhomepagelogo"],'homepagelogo'))		{ $cssSettingsModified = True; }
   if (UpdateSetting($HTTP_POST_VARS["tvmainbg"],'mainbg'))			{ $cssSettingsModified = True; }
   if (UpdateSetting($HTTP_POST_VARS["tvmainbgrep"],'mainbgrep'))		{ $cssSettingsModified = True; }
   if (UpdateSetting($HTTP_POST_VARS["tvmainbgfix"],'mainbgfix'))		{ $cssSettingsModified = True; }
   if (UpdateSetting($HTTP_POST_VARS["tvheaderbg"],'headerbg'))			{ $cssSettingsModified = True; }
   if (UpdateSetting($HTTP_POST_VARS["tvheaderbgrep"],'headerbgrep'))		{ $cssSettingsModified = True; }
   if (UpdateSetting($HTTP_POST_VARS["tvtopmenubg"],'topmenubg'))		{ $cssSettingsModified = True; }
   if (UpdateSetting($HTTP_POST_VARS["tvtopmenubgrep"],'topmenubgrep'))		{ $cssSettingsModified = True; }
   if (UpdateSetting($HTTP_POST_VARS["tvtopmenubgfix"],'topmenubgfix'))		{ $cssSettingsModified = True; }
   if (UpdateSetting($HTTP_POST_VARS["tvmenubg"],'menubg'))			{ $cssSettingsModified = True; }
   if (UpdateSetting($HTTP_POST_VARS["tvmenubgrep"],'menubgrep'))		{ $cssSettingsModified = True; }
   if (UpdateSetting($HTTP_POST_VARS["tvmenubgfix"],'menubgfix'))		{ $cssSettingsModified = True; }
   if (UpdateSetting($HTTP_POST_VARS["tvtopbg"],'topbg'))			{ $cssSettingsModified = True; }
   if (UpdateSetting($HTTP_POST_VARS["tvtopbgrep"],'topbgrep'))			{ $cssSettingsModified = True; }
   if (UpdateSetting($HTTP_POST_VARS["tvtopbgfix"],'topbgfix'))			{ $cssSettingsModified = True; }
   if (UpdateSetting($HTTP_POST_VARS["tvfooterbg"],'footerbg'))			{ $cssSettingsModified = True; }
   if (UpdateSetting($HTTP_POST_VARS["tvfooterbgrep"],'footerbgrep'))		{ $cssSettingsModified = True; }
   if (UpdateSetting($HTTP_POST_VARS["tvfooterbgfix"],'footerbgfix'))		{ $cssSettingsModified = True; }
   if (UpdateSetting($HTTP_POST_VARS["tvfirstpageicon"],'firstpageicon'))	{ $cssSettingsModified = True; }
   if (UpdateSetting($HTTP_POST_VARS["tvprevpageicon"],'prevpageicon'))		{ $cssSettingsModified = True; }
   if (UpdateSetting($HTTP_POST_VARS["tvnextpageicon"],'nextpageicon'))		{ $cssSettingsModified = True; }
   if (UpdateSetting($HTTP_POST_VARS["tvlastpageicon"],'lastpageicon'))		{ $cssSettingsModified = True; }
   if (UpdateSetting($HTTP_POST_VARS["tvexpandicon"],'expandicon'))		{ $cssSettingsModified = True; }
   if (UpdateSetting($HTTP_POST_VARS["tvcollapseicon"],'collapseicon'))		{ $cssSettingsModified = True; }
   if (UpdateSetting($HTTP_POST_VARS["tvnoexpandicon"],'noexpandicon'))		{ $cssSettingsModified = True; }
   if (UpdateSetting($HTTP_POST_VARS["tvsecureicon"],'secureicon'))		{ $cssSettingsModified = True; }
   if (UpdateSetting($HTTP_POST_VARS["tvprinticon"],'printicon'))		{ $cssSettingsModified = True; }
   if (UpdateSetting($HTTP_POST_VARS["tvratingicon"],'ratingicon'))		{ $cssSettingsModified = True; }
   if (UpdateSetting($HTTP_POST_VARS["tvcommenticon"],'commenticon'))		{ $cssSettingsModified = True; }
   dbCommit();

   if ($cssSettingsModified) { RebuildStyleSheet(); }
} // function UpdateSiteImages()

?>


<?php include($GLOBALS["rootdp"]."include/javafuncs.php"); ?>
