<?php
/************************************************************************/
/* Maximus CMS: Web Portal System                                       */
/* ==============================                                       */
/*                                                                      */
/* Copyright (c) 2002 - 2006                                            */
/* http://www.php-maximus.fr                                            */
/* dev@php-maximus.org                                                  */
/*                                                                      */
/* 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.       */
/************************************************************************/
/* Based on PHP-NUKE: Web Portal System                                 */
/************************************************************************/
if (!defined('ADMIN_ALLOW') && !defined('ADMIN_MAX')) {
	die ("Access Denied");
}
if ($acces == 1) {
if($admintest && $adminsecu)  {


$pagetitle = _CACHEMODULES;
  incoh();
 
if (!file_exists("".$cache."/Configuration/".$cache_prefix."_cMax_config.php") & !file_exists("".$cache."/Configuration/".$cache_prefix."_cMax_configold.php")) {
Max_OpenTable();
echo "<table width=\"100%\"><center>"._CACHECONFIG."<br /><br />"._CREATECACHE2."</center>"
    ."<form action=\"".$admin_file.".php\" method=\"post\">"
    ."<input type=\"hidden\" name=\"op\" value=\"UpdatecMax\">"
    ."<table align=\"center\"><td ><br /><input type=\"submit\" value=\""._CREATECACHE."\" /></td></form></table><br /><br />";
Max_CloseTable();
incof();
}

//Max_OpenTable();
echo "<table width='100%'><tr><td><center>"._CACHECONFIG."<br />";
if (file_exists("".$cache."/Configuration/".$cache_prefix."_cMax_config.php") && !file_exists("".$cache."/Configuration/".$cache_prefix."_cMax_configold.php")) {
include_once ("".$cache."/Configuration/".$cache_prefix."_cMax_config.php");
echo "<a href=\"".$admin_file.".php?op=DeactivecMax\">"._DEACTIVATECACHE."</a></center><br />";
$cmaxdeactive = 1 ; } else {
echo "<a href=\"".$admin_file.".php?op=ReactivecMax\">"._REACTIVATECACHE."</a></center><br />";}
echo "</td></tr></table>";
//Max_CloseTable();

echo "<table width=\"100%\"><tr><td>"
	."<img src=\"images/nukesentinel/delete.png\" alt='' /> <a href=\"".$admin_file.".php?op=EmptyCache&folder=Blocks\">"._EMPTYCACHEBLOCKS."</a><br />"
	."<img src=\"images/nukesentinel/delete.png\" alt='' / > <a href=\"".$admin_file.".php?op=EmptyCache&folder=Modules\">"._EMPTYCACHEMODULES."</a><br />"
	."<img src=\"images/nukesentinel/delete.png\" alt='' /> <a href=\"".$admin_file.".php?op=EmptyCache&folder=Configuration\">"._EMPTYCACHEMODULES."</a><br />"
	."</td></tr></table><br />";


echo "<table border=\"1\" width=\"100%\"><tr>"
	."<td align=\"center\" bgcolor=\"$bgcolor2\"><b>"._MODULES."</b></td>"
	."<td align=\"center\" bgcolor=\"$bgcolor2\"><b>"._PAGE."</b></td>"
	."<td align=\"center\" bgcolor=\"$bgcolor2\" colspan=\"3\"><b>"._TEMPO."</b></td></tr>"
	."<form action=\"".$admin_file.".php\" method=\"post\">";
/*
$se0=$se1=$se2=$se3=$se4=$se5=$se6=$se7=$se8=$se9=$se10=$se11=$se12=$se13=$se14=$se15=$se16=$se17=$se18=$se19= "";
if ($cache_admin == 0) { $se0 = " selected"; }
elseif  ($cache_admin == 300) { $se1 = " selected"; }
elseif  ($cache_admin == 600) { $se2 = " selected"; }
elseif  ($cache_admin == 900) { $se3 = " selected"; }
elseif  ($cache_admin == 1800) { $se4 = " selected"; }
elseif  ($cache_admin == 3600) { $se5 = " selected"; }
elseif  ($cache_admin == 7200) { $se6 = " selected"; }
elseif  ($cache_admin == 10800) { $se7 = " selected"; }
elseif  ($cache_admin == 21600) { $se8 = " selected"; }
elseif  ($cache_admin == 43200) { $se9 = " selected"; }
elseif  ($cache_admin == 86400) { $se10 = " selected"; }
elseif  ($cache_admin == 172800) { $se11 = " selected"; }
elseif  ($cache_admin == 259200) { $se12 = " selected"; }
elseif  ($cache_admin == 345600) { $se13 = " selected"; }
elseif  ($cache_admin == 432000) { $se14 = " selected"; }
elseif  ($cache_admin == 516000) { $se15 = " selected"; }
elseif  ($cache_admin == 604800) { $se16 = " selected"; }
elseif  ($cache_admin == 1208000) { $se17 = " selected"; }
elseif  ($cache_admin == 1814400) { $se18 = " selected"; }
elseif  ($cache_admin == 2419200) { $se19 = " selected"; }

// Admin
echo "<tr><td height=\"15\"></td></tr>"
    ."<tr><td bgcolor=\"$bgcolor2\">&nbsp; Administration"
    ."<td align=\"center\"><a href=\"".$admin_file.".php\">".$admin_file.".php</a></td>"
    ."<td align=\"center\"> - </td>"
    ."<td align=\"center\"> - </td>"
    ."<td align=\"center\">"
    ."<select name=\"xcache_admin\">"
    ."<option name=\"xcache_admin\" value=\"0\" $se0>"._NOCACHE."</option>"
    ."<option name=\"xcache_admin\" value=\"300\" $se1>"._5MINUTS."</option>"
    ."<option name=\"xcache_admin\" value=\"600\" $se2>"._10MINUTS."</option>"
    ."<option name=\"xcache_admin\" value=\"900\" $se3>"._15MINUTS."</option>"
    ."<option name=\"xcache_admin\" value=\"1800\" $se4>"._30MINUTS."</option>"
    ."<option name=\"xcache_admin\" value=\"3600\" $se5>"._1HOUR."</option>"
    ."<option name=\"xcache_admin\" value=\"7200\" $se6>"._2HOURS."</option>"
    ."<option name=\"xcache_admin\" value=\"10800\" $se7>"._3HOURS."</option>"
    ."<option name=\"xcache_admin\" value=\"21600\" $se8>"._6HOURS."</option>"
    ."<option name=\"xcache_admin\" value=\"43200\" $se9>"._12HOURS."</option>"
    ."<option name=\"xcache_admin\" value=\"86400\" $se10>"._1DAY."</option>"
    ."<option name=\"xcache_admin\" value=\"172800\" $se11>"._2DAYS."</option>"
    ."<option name=\"xcache_admin\" value=\"259200\" $se12>"._3DAYS."</option>"
    ."<option name=\"xcache_admin\" value=\"345600\" $se13>"._4DAYS."</option>"
    ."<option name=\"xcache_admin\" value=\"432000\" $se14>"._5DAYS."</option>"
    ."<option name=\"xcache_admin\" value=\"516000\" $se15>"._6DAYS."</option>"
    ."<option name=\"xcache_admin\" value=\"604800\" $se16>"._1WEEK."</option>"
    ."<option name=\"xcache_admin\" value=\"1208000\" $se17>"._2WEEKS."</option>"
    ."<option name=\"xcache_admin\" value=\"1814400\" $se18>"._3WEEKS."</option>"
    ."<option name=\"xcache_admin\" value=\"2419200\" $se19>"._4WEEKS."</option>"
    ."</select>"
    ."</td></tr>";
*/


// content
if ((is_active("Copyrights")) && (file_exists("modules/Copyrights/credits.php")) && (file_exists("modules/Copyrights/copyright.php")) ){

//global CACHE_VPLAN, $cache_uplan, $cache_aplan;

$se0=$se1=$se2=$se3=$se4=$se5=$se6=$se7=$se8=$se9=$se10=$se11=$se12=$se13=$se14=$se15=$se16=$se17=$se18=$se19= "";
if (CACHE_VPLAN == 0) { $se0 = " selected"; }
elseif  (CACHE_VPLAN == 300) { $se1 = " selected"; }
elseif  (CACHE_VPLAN == 600) { $se2 = " selected"; }
elseif  (CACHE_VPLAN == 900) { $se3 = " selected"; }
elseif  (CACHE_VPLAN == 1800) { $se4 = " selected"; }
elseif  (CACHE_VPLAN == 3600) { $se5 = " selected"; }
elseif  (CACHE_VPLAN == 7200) { $se6 = " selected"; }
elseif  (CACHE_VPLAN == 10800) { $se7 = " selected"; }
elseif  (CACHE_VPLAN == 21600) { $se8 = " selected"; }
elseif  (CACHE_VPLAN == 43200) { $se9 = " selected"; }
elseif  (CACHE_VPLAN == 86400) { $se10 = " selected"; }
elseif  (CACHE_VPLAN == 172800) { $se11 = " selected"; }
elseif  (CACHE_VPLAN == 259200) { $se12 = " selected"; }
elseif  (CACHE_VPLAN == 345600) { $se13 = " selected"; }
elseif  (CACHE_VPLAN == 432000) { $se14 = " selected"; }
elseif  (CACHE_VPLAN == 516000) { $se15 = " selected"; }
elseif  (CACHE_VPLAN == 604800) { $se16 = " selected"; }
elseif  (CACHE_VPLAN == 1208000) { $se17 = " selected"; }
elseif  (CACHE_VPLAN == 1814400) { $se18 = " selected"; }
elseif  (CACHE_VPLAN == 2419200) { $se19 = " selected"; }



echo "<tr><td height=\"15\"></td></tr>"
    ."<tr><td bgcolor=\"$bgcolor2\">&nbsp; Plan "
    ."<td align=\"center\"><a href=\"plan.php\">"._HOMEPLAN."</a>"
    ."</td>"
    ."<td align=\"center\">"
    ."<select name=\"vplan\">"
    ."<option name=\"vplan\" value=\"0\" $se0>"._NOCACHE."</option>"
    ."<option name=\"vplan\" value=\"300\" $se1>"._5MINUTS."</option>"
    ."<option name=\"vplan\" value=\"600\" $se2>"._10MINUTS."</option>"
    ."<option name=\"vplan\" value=\"900\" $se3>"._15MINUTS."</option>"
    ."<option name=\"vplan\" value=\"1800\" $se4>"._30MINUTS."</option>"
    ."<option name=\"vplan\" value=\"3600\" $se5>"._1HOUR."</option>"
    ."<option name=\"vplan\" value=\"7200\" $se6>"._2HOURS."</option>"
    ."<option name=\"vplan\" value=\"10800\" $se7>"._3HOURS."</option>"
    ."<option name=\"vplan\" value=\"21600\" $se8>"._6HOURS."</option>"
    ."<option name=\"vplan\" value=\"43200\" $se9>"._12HOURS."</option>"
    ."<option name=\"vplan\" value=\"86400\" $se10>"._1DAY."</option>"
    ."<option name=\"vplan\" value=\"172800\" $se11>"._2DAYS."</option>"
    ."<option name=\"vplan\" value=\"259200\" $se12>"._3DAYS."</option>"
    ."<option name=\"vplan\" value=\"345600\" $se13>"._4DAYS."</option>"
    ."<option name=\"vplan\" value=\"432000\" $se14>"._5DAYS."</option>"
    ."<option name=\"vplan\" value=\"516000\" $se15>"._6DAYS."</option>"
    ."<option name=\"vplan\" value=\"604800\" $se16>"._1WEEK."</option>"
    ."<option name=\"vplan\" value=\"1208000\" $se17>"._2WEEKS."</option>"
    ."<option name=\"vplan\" value=\"1814400\" $se18>"._3WEEKS."</option>"
    ."<option name=\"vplan\" value=\"2419200\" $se19>"._4WEEKS."</option>"
    ."</select>"
    ."</td>";

/*
$se0=$se1=$se2=$se3=$se4=$se5=$se6=$se7=$se8=$se9=$se10=$se11=$se12=$se13=$se14=$se15=$se16=$se17=$se18=$se19= "";
if ($cache_uplan == 0) { $se0 = " selected"; }
elseif  ($cache_uplan == 300) { $se1 = " selected"; }
elseif  ($cache_uplan == 600) { $se2 = " selected"; }
elseif  ($cache_uplan == 900) { $se3 = " selected"; }
elseif  ($cache_uplan == 1800) { $se4 = " selected"; }
elseif  ($cache_uplan == 3600) { $se5 = " selected"; }
elseif  ($cache_uplan == 7200) { $se6 = " selected"; }
elseif  ($cache_uplan == 10800) { $se7 = " selected"; }
elseif  ($cache_uplan == 21600) { $se8 = " selected"; }
elseif  ($cache_uplan == 43200) { $se9 = " selected"; }
elseif  ($cache_uplan == 86400) { $se10 = " selected"; }
elseif  ($cache_uplan == 172800) { $se11 = " selected"; }
elseif  ($cache_uplan == 259200) { $se12 = " selected"; }
elseif  ($cache_uplan == 345600) { $se13 = " selected"; }
elseif  ($cache_uplan == 432000) { $se14 = " selected"; }
elseif  ($cache_uplan == 516000) { $se15 = " selected"; }
elseif  ($cache_uplan == 604800) { $se16 = " selected"; }
elseif  ($cache_uplan == 1208000) { $se17 = " selected"; }
elseif  ($cache_uplan == 1814400) { $se18 = " selected"; }
elseif  ($cache_uplan == 2419200) { $se19 = " selected"; }


echo "<td align=\"center\">"
    ."<select name=\"xcache_uplan\">"
    ."<option name=\"xcache_uplan\" value=\"0\" $se0>"._NOCACHE."</option>"
    ."<option name=\"xcache_uplan\" value=\"300\" $se1>"._5MINUTS."</option>"
    ."<option name=\"xcache_uplan\" value=\"600\" $se2>"._10MINUTS."</option>"
    ."<option name=\"xcache_uplan\" value=\"900\" $se3>"._15MINUTS."</option>"
    ."<option name=\"xcache_uplan\" value=\"1800\" $se4>"._30MINUTS."</option>"
    ."<option name=\"xcache_uplan\" value=\"3600\" $se5>"._1HOUR."</option>"
    ."<option name=\"xcache_uplan\" value=\"7200\" $se6>"._2HOURS."</option>"
    ."<option name=\"xcache_uplan\" value=\"10800\" $se7>"._3HOURS."</option>"
    ."<option name=\"xcache_uplan\" value=\"21600\" $se8>"._6HOURS."</option>"
    ."<option name=\"xcache_uplan\" value=\"43200\" $se9>"._12HOURS."</option>"
    ."<option name=\"xcache_uplan\" value=\"86400\" $se10>"._1DAY."</option>"
    ."<option name=\"xcache_uplan\" value=\"172800\" $se11>"._2DAYS."</option>"
    ."<option name=\"xcache_uplan\" value=\"259200\" $se12>"._3DAYS."</option>"
    ."<option name=\"xcache_uplan\" value=\"345600\" $se13>"._4DAYS."</option>"
    ."<option name=\"xcache_uplan\" value=\"432000\" $se14>"._5DAYS."</option>"
    ."<option name=\"xcache_uplan\" value=\"516000\" $se15>"._6DAYS."</option>"
    ."<option name=\"xcache_uplan\" value=\"604800\" $se16>"._1WEEK."</option>"
    ."<option name=\"xcache_uplan\" value=\"1208000\" $se17>"._2WEEKS."</option>"
    ."<option name=\"xcache_uplan\" value=\"1814400\" $se18>"._3WEEKS."</option>"
    ."<option name=\"xcache_uplan\" value=\"2419200\" $se19>"._4WEEKS."</option>"
    ."</select>"
    ."</td>";

$se0=$se1=$se2=$se3=$se4=$se5=$se6=$se7=$se8=$se9=$se10=$se11=$se12=$se13=$se14=$se15=$se16=$se17=$se18=$se19= "";
if ($cache_aplan == 0) { $se0 = " selected"; }
elseif  ($cache_aplan == 300) { $se1 = " selected"; }
elseif  ($cache_aplan == 600) { $se2 = " selected"; }
elseif  ($cache_aplan == 900) { $se3 = " selected"; }
elseif  ($cache_aplan == 1800) { $se4 = " selected"; }
elseif  ($cache_aplan == 3600) { $se5 = " selected"; }
elseif  ($cache_aplan == 7200) { $se6 = " selected"; }
elseif  ($cache_aplan == 10800) { $se7 = " selected"; }
elseif  ($cache_aplan == 21600) { $se8 = " selected"; }
elseif  ($cache_aplan == 43200) { $se9 = " selected"; }
elseif  ($cache_aplan == 86400) { $se10 = " selected"; }
elseif  ($cache_aplan == 172800) { $se11 = " selected"; }
elseif  ($cache_aplan == 259200) { $se12 = " selected"; }
elseif  ($cache_aplan == 345600) { $se13 = " selected"; }
elseif  ($cache_aplan == 432000) { $se14 = " selected"; }
elseif  ($cache_aplan == 516000) { $se15 = " selected"; }
elseif  ($cache_aplan == 604800) { $se16 = " selected"; }
elseif  ($cache_aplan == 1208000) { $se17 = " selected"; }
elseif  ($cache_aplan == 1814400) { $se18 = " selected"; }
elseif  ($cache_aplan == 2419200) { $se19 = " selected"; }
echo "<td align=\"center\">"
    ."<select name=\"xcache_aplan\">"
    ."<option name=\"xcache_aplan\" value=\"0\" $se0>"._NOCACHE."</option>"
    ."<option name=\"xcache_aplan\" value=\"300\" $se1>"._5MINUTS."</option>"
    ."<option name=\"xcache_aplan\" value=\"600\" $se2>"._10MINUTS."</option>"
    ."<option name=\"xcache_aplan\" value=\"900\" $se3>"._15MINUTS."</option>"
    ."<option name=\"xcache_aplan\" value=\"1800\" $se4>"._30MINUTS."</option>"
    ."<option name=\"xcache_aplan\" value=\"3600\" $se5>"._1HOUR."</option>"
    ."<option name=\"xcache_aplan\" value=\"7200\" $se6>"._2HOURS."</option>"
    ."<option name=\"xcache_aplan\" value=\"10800\" $se7>"._3HOURS."</option>"
    ."<option name=\"xcache_aplan\" value=\"21600\" $se8>"._6HOURS."</option>"
    ."<option name=\"xcache_aplan\" value=\"43200\" $se9>"._12HOURS."</option>"
    ."<option name=\"xcache_aplan\" value=\"86400\" $se10>"._1DAY."</option>"
    ."<option name=\"xcache_aplan\" value=\"172800\" $se11>"._2DAYS."</option>"
    ."<option name=\"xcache_aplan\" value=\"259200\" $se12>"._3DAYS."</option>"
    ."<option name=\"xcache_aplan\" value=\"345600\" $se13>"._4DAYS."</option>"
    ."<option name=\"xcache_aplan\" value=\"432000\" $se14>"._5DAYS."</option>"
    ."<option name=\"xcache_aplan\" value=\"516000\" $se15>"._6DAYS."</option>"
    ."<option name=\"xcache_aplan\" value=\"604800\" $se16>"._1WEEK."</option>"
    ."<option name=\"xcache_aplan\" value=\"1208000\" $se17>"._2WEEKS."</option>"
    ."<option name=\"xcache_aplan\" value=\"1814400\" $se18>"._3WEEKS."</option>"
    ."<option name=\"xcache_aplan\" value=\"2419200\" $se19>"._4WEEKS."</option>"
    ."</select>"
    ."</td></tr>";*/

echo "<td></td><td></td></tr>";
}

// content
if ((is_active("Content")) && (file_exists("modules/Content/credits.php")) && (file_exists("modules/Content/copyright.php")) ){

//global CACHE_VPLAN, $cache_ucontent, $cache_acontent;
//global CACHE_VCONTENT;

$se0=$se1=$se2=$se3=$se4=$se5=$se6=$se7=$se8=$se9=$se10=$se11=$se12=$se13=$se14=$se15=$se16=$se17=$se18=$se19= "";
if (CACHE_VCONTENT == 0) { $se0 = " selected"; }
elseif  (CACHE_VCONTENT == 300) { $se1 = " selected"; }
elseif  (CACHE_VCONTENT == 600) { $se2 = " selected"; }
elseif  (CACHE_VCONTENT == 900) { $se3 = " selected"; }
elseif  (CACHE_VCONTENT == 1800) { $se4 = " selected"; }
elseif  (CACHE_VCONTENT == 3600) { $se5 = " selected"; }
elseif  (CACHE_VCONTENT == 7200) { $se6 = " selected"; }
elseif  (CACHE_VCONTENT == 10800) { $se7 = " selected"; }
elseif  (CACHE_VCONTENT == 21600) { $se8 = " selected"; }
elseif  (CACHE_VCONTENT == 43200) { $se9 = " selected"; }
elseif  (CACHE_VCONTENT == 86400) { $se10 = " selected"; }
elseif  (CACHE_VCONTENT == 172800) { $se11 = " selected"; }
elseif  (CACHE_VCONTENT == 259200) { $se12 = " selected"; }
elseif  (CACHE_VCONTENT == 345600) { $se13 = " selected"; }
elseif  (CACHE_VCONTENT == 432000) { $se14 = " selected"; }
elseif  (CACHE_VCONTENT == 516000) { $se15 = " selected"; }
elseif  (CACHE_VCONTENT == 604800) { $se16 = " selected"; }
elseif  (CACHE_VCONTENT == 1208000) { $se17 = " selected"; }
elseif  (CACHE_VCONTENT == 1814400) { $se18 = " selected"; }
elseif  (CACHE_VCONTENT == 2419200) { $se19 = " selected"; }



echo "<tr><td height=\"15\"></td></tr>"
    ."<tr><td bgcolor=\"$bgcolor2\">&nbsp; Content "
    ."<td align=\"center\"><a href=\"modules.php?name=Content\">"._HOMECONTENT."</a>"
    ."</td>"
    ."<td align=\"center\">"
    ."<select name=\"vcontent\">"
    ."<option name=\"vcontent\" value=\"0\" $se0>"._NOCACHE."</option>"
    ."<option name=\"vcontent\" value=\"300\" $se1>"._5MINUTS."</option>"
    ."<option name=\"vcontent\" value=\"600\" $se2>"._10MINUTS."</option>"
    ."<option name=\"vcontent\" value=\"900\" $se3>"._15MINUTS."</option>"
    ."<option name=\"vcontent\" value=\"1800\" $se4>"._30MINUTS."</option>"
    ."<option name=\"vcontent\" value=\"3600\" $se5>"._1HOUR."</option>"
    ."<option name=\"vcontent\" value=\"7200\" $se6>"._2HOURS."</option>"
    ."<option name=\"vcontent\" value=\"10800\" $se7>"._3HOURS."</option>"
    ."<option name=\"vcontent\" value=\"21600\" $se8>"._6HOURS."</option>"
    ."<option name=\"vcontent\" value=\"43200\" $se9>"._12HOURS."</option>"
    ."<option name=\"vcontent\" value=\"86400\" $se10>"._1DAY."</option>"
    ."<option name=\"vcontent\" value=\"172800\" $se11>"._2DAYS."</option>"
    ."<option name=\"vcontent\" value=\"259200\" $se12>"._3DAYS."</option>"
    ."<option name=\"vcontent\" value=\"345600\" $se13>"._4DAYS."</option>"
    ."<option name=\"vcontent\" value=\"432000\" $se14>"._5DAYS."</option>"
    ."<option name=\"vcontent\" value=\"516000\" $se15>"._6DAYS."</option>"
    ."<option name=\"vcontent\" value=\"604800\" $se16>"._1WEEK."</option>"
    ."<option name=\"vcontent\" value=\"1208000\" $se17>"._2WEEKS."</option>"
    ."<option name=\"vcontent\" value=\"1814400\" $se18>"._3WEEKS."</option>"
    ."<option name=\"vcontent\" value=\"2419200\" $se19>"._4WEEKS."</option>"
    ."</select>"
    ."</td>";

/*
$se0=$se1=$se2=$se3=$se4=$se5=$se6=$se7=$se8=$se9=$se10=$se11=$se12=$se13=$se14=$se15=$se16=$se17=$se18=$se19= "";
if ($cache_ucontent == 0) { $se0 = " selected"; }
elseif  ($cache_ucontent == 300) { $se1 = " selected"; }
elseif  ($cache_ucontent == 600) { $se2 = " selected"; }
elseif  ($cache_ucontent == 900) { $se3 = " selected"; }
elseif  ($cache_ucontent == 1800) { $se4 = " selected"; }
elseif  ($cache_ucontent == 3600) { $se5 = " selected"; }
elseif  ($cache_ucontent == 7200) { $se6 = " selected"; }
elseif  ($cache_ucontent == 10800) { $se7 = " selected"; }
elseif  ($cache_ucontent == 21600) { $se8 = " selected"; }
elseif  ($cache_ucontent == 43200) { $se9 = " selected"; }
elseif  ($cache_ucontent == 86400) { $se10 = " selected"; }
elseif  ($cache_ucontent == 172800) { $se11 = " selected"; }
elseif  ($cache_ucontent == 259200) { $se12 = " selected"; }
elseif  ($cache_ucontent == 345600) { $se13 = " selected"; }
elseif  ($cache_ucontent == 432000) { $se14 = " selected"; }
elseif  ($cache_ucontent == 516000) { $se15 = " selected"; }
elseif  ($cache_ucontent == 604800) { $se16 = " selected"; }
elseif  ($cache_ucontent == 1208000) { $se17 = " selected"; }
elseif  ($cache_ucontent == 1814400) { $se18 = " selected"; }
elseif  ($cache_ucontent == 2419200) { $se19 = " selected"; }


echo "<td align=\"center\">"
    ."<select name=\"xcache_ucontent\">"
    ."<option name=\"xcache_ucontent\" value=\"0\" $se0>"._NOCACHE."</option>"
    ."<option name=\"xcache_ucontent\" value=\"300\" $se1>"._5MINUTS."</option>"
    ."<option name=\"xcache_ucontent\" value=\"600\" $se2>"._10MINUTS."</option>"
    ."<option name=\"xcache_ucontent\" value=\"900\" $se3>"._15MINUTS."</option>"
    ."<option name=\"xcache_ucontent\" value=\"1800\" $se4>"._30MINUTS."</option>"
    ."<option name=\"xcache_ucontent\" value=\"3600\" $se5>"._1HOUR."</option>"
    ."<option name=\"xcache_ucontent\" value=\"7200\" $se6>"._2HOURS."</option>"
    ."<option name=\"xcache_ucontent\" value=\"10800\" $se7>"._3HOURS."</option>"
    ."<option name=\"xcache_ucontent\" value=\"21600\" $se8>"._6HOURS."</option>"
    ."<option name=\"xcache_ucontent\" value=\"43200\" $se9>"._12HOURS."</option>"
    ."<option name=\"xcache_ucontent\" value=\"86400\" $se10>"._1DAY."</option>"
    ."<option name=\"xcache_ucontent\" value=\"172800\" $se11>"._2DAYS."</option>"
    ."<option name=\"xcache_ucontent\" value=\"259200\" $se12>"._3DAYS."</option>"
    ."<option name=\"xcache_ucontent\" value=\"345600\" $se13>"._4DAYS."</option>"
    ."<option name=\"xcache_ucontent\" value=\"432000\" $se14>"._5DAYS."</option>"
    ."<option name=\"xcache_ucontent\" value=\"516000\" $se15>"._6DAYS."</option>"
    ."<option name=\"xcache_ucontent\" value=\"604800\" $se16>"._1WEEK."</option>"
    ."<option name=\"xcache_ucontent\" value=\"1208000\" $se17>"._2WEEKS."</option>"
    ."<option name=\"xcache_ucontent\" value=\"1814400\" $se18>"._3WEEKS."</option>"
    ."<option name=\"xcache_ucontent\" value=\"2419200\" $se19>"._4WEEKS."</option>"
    ."</select>"
    ."</td>";

$se0=$se1=$se2=$se3=$se4=$se5=$se6=$se7=$se8=$se9=$se10=$se11=$se12=$se13=$se14=$se15=$se16=$se17=$se18=$se19= "";
if ($cache_acontent == 0) { $se0 = " selected"; }
elseif  ($cache_acontent == 300) { $se1 = " selected"; }
elseif  ($cache_acontent == 600) { $se2 = " selected"; }
elseif  ($cache_acontent == 900) { $se3 = " selected"; }
elseif  ($cache_acontent == 1800) { $se4 = " selected"; }
elseif  ($cache_acontent == 3600) { $se5 = " selected"; }
elseif  ($cache_acontent == 7200) { $se6 = " selected"; }
elseif  ($cache_acontent == 10800) { $se7 = " selected"; }
elseif  ($cache_acontent == 21600) { $se8 = " selected"; }
elseif  ($cache_acontent == 43200) { $se9 = " selected"; }
elseif  ($cache_acontent == 86400) { $se10 = " selected"; }
elseif  ($cache_acontent == 172800) { $se11 = " selected"; }
elseif  ($cache_acontent == 259200) { $se12 = " selected"; }
elseif  ($cache_acontent == 345600) { $se13 = " selected"; }
elseif  ($cache_acontent == 432000) { $se14 = " selected"; }
elseif  ($cache_acontent == 516000) { $se15 = " selected"; }
elseif  ($cache_acontent == 604800) { $se16 = " selected"; }
elseif  ($cache_acontent == 1208000) { $se17 = " selected"; }
elseif  ($cache_acontent == 1814400) { $se18 = " selected"; }
elseif  ($cache_acontent == 2419200) { $se19 = " selected"; }
echo "<td align=\"center\">"
    ."<select name=\"xcache_acontent\">"
    ."<option name=\"xcache_acontent\" value=\"0\" $se0>"._NOCACHE."</option>"
    ."<option name=\"xcache_acontent\" value=\"300\" $se1>"._5MINUTS."</option>"
    ."<option name=\"xcache_acontent\" value=\"600\" $se2>"._10MINUTS."</option>"
    ."<option name=\"xcache_acontent\" value=\"900\" $se3>"._15MINUTS."</option>"
    ."<option name=\"xcache_acontent\" value=\"1800\" $se4>"._30MINUTS."</option>"
    ."<option name=\"xcache_acontent\" value=\"3600\" $se5>"._1HOUR."</option>"
    ."<option name=\"xcache_acontent\" value=\"7200\" $se6>"._2HOURS."</option>"
    ."<option name=\"xcache_acontent\" value=\"10800\" $se7>"._3HOURS."</option>"
    ."<option name=\"xcache_acontent\" value=\"21600\" $se8>"._6HOURS."</option>"
    ."<option name=\"xcache_acontent\" value=\"43200\" $se9>"._12HOURS."</option>"
    ."<option name=\"xcache_acontent\" value=\"86400\" $se10>"._1DAY."</option>"
    ."<option name=\"xcache_acontent\" value=\"172800\" $se11>"._2DAYS."</option>"
    ."<option name=\"xcache_acontent\" value=\"259200\" $se12>"._3DAYS."</option>"
    ."<option name=\"xcache_acontent\" value=\"345600\" $se13>"._4DAYS."</option>"
    ."<option name=\"xcache_acontent\" value=\"432000\" $se14>"._5DAYS."</option>"
    ."<option name=\"xcache_acontent\" value=\"516000\" $se15>"._6DAYS."</option>"
    ."<option name=\"xcache_acontent\" value=\"604800\" $se16>"._1WEEK."</option>"
    ."<option name=\"xcache_acontent\" value=\"1208000\" $se17>"._2WEEKS."</option>"
    ."<option name=\"xcache_acontent\" value=\"1814400\" $se18>"._3WEEKS."</option>"
    ."<option name=\"xcache_acontent\" value=\"2419200\" $se19>"._4WEEKS."</option>"
    ."</select>"
    ."</td></tr>";*/
echo "<td></td><td></td></tr>";
}
// downloads
if ((is_active('Downloads')) && (file_exists('modules/Downloads/credits.php')) && (file_exists('modules/Downloads/copyright.php')) ){

//global CACHE_VDOWNLOADS, CACHE_UDOWNLOADS, CACHE_ADOWNLOADS;

$se0=$se1=$se2=$se3=$se4=$se5=$se6=$se7=$se8=$se9=$se10=$se11=$se12=$se13=$se14=$se15=$se16=$se17=$se18=$se19= "";
if (CACHE_VDOWNLOADS == 0) { $se0 = " selected"; }
elseif  (CACHE_VDOWNLOADS == 300) { $se1 = " selected"; }
elseif  (CACHE_VDOWNLOADS == 600) { $se2 = " selected"; }
elseif  (CACHE_VDOWNLOADS == 900) { $se3 = " selected"; }
elseif  (CACHE_VDOWNLOADS == 1800) { $se4 = " selected"; }
elseif  (CACHE_VDOWNLOADS == 3600) { $se5 = " selected"; }
elseif  (CACHE_VDOWNLOADS == 7200) { $se6 = " selected"; }
elseif  (CACHE_VDOWNLOADS == 10800) { $se7 = " selected"; }
elseif  (CACHE_VDOWNLOADS == 21600) { $se8 = " selected"; }
elseif  (CACHE_VDOWNLOADS == 43200) { $se9 = " selected"; }
elseif  (CACHE_VDOWNLOADS == 86400) { $se10 = " selected"; }
elseif  (CACHE_VDOWNLOADS == 172800) { $se11 = " selected"; }
elseif  (CACHE_VDOWNLOADS == 259200) { $se12 = " selected"; }
elseif  (CACHE_VDOWNLOADS == 345600) { $se13 = " selected"; }
elseif  (CACHE_VDOWNLOADS == 432000) { $se14 = " selected"; }
elseif  (CACHE_VDOWNLOADS == 516000) { $se15 = " selected"; }
elseif  (CACHE_VDOWNLOADS == 604800) { $se16 = " selected"; }
elseif  (CACHE_VDOWNLOADS == 1208000) { $se17 = " selected"; }
elseif  (CACHE_VDOWNLOADS == 1814400) { $se18 = " selected"; }
elseif  (CACHE_VDOWNLOADS == 2419200) { $se19 = " selected"; }



echo "<tr><td height=\"15\"></td></tr>"
    ."<tr><td bgcolor=\"$bgcolor2\">&nbsp; Downloads "
    ."<td align=\"center\"><a href=\"modules.php?name=Downloads\">"._HOMEDOWNLOADS."</a>"
    ."</td>"
    ."<td align=\"center\">"
    ."<select name=\"vdownloads\">"
    ."<option name=\"vdownloads\" value=\"0\" $se0>"._NOCACHE."</option>"
    ."<option name=\"vdownloads\" value=\"300\" $se1>"._5MINUTS."</option>"
    ."<option name=\"vdownloads\" value=\"600\" $se2>"._10MINUTS."</option>"
    ."<option name=\"vdownloads\" value=\"900\" $se3>"._15MINUTS."</option>"
    ."<option name=\"vdownloads\" value=\"1800\" $se4>"._30MINUTS."</option>"
    ."<option name=\"vdownloads\" value=\"3600\" $se5>"._1HOUR."</option>"
    ."<option name=\"vdownloads\" value=\"7200\" $se6>"._2HOURS."</option>"
    ."<option name=\"vdownloads\" value=\"10800\" $se7>"._3HOURS."</option>"
    ."<option name=\"vdownloads\" value=\"21600\" $se8>"._6HOURS."</option>"
    ."<option name=\"vdownloads\" value=\"43200\" $se9>"._12HOURS."</option>"
    ."<option name=\"vdownloads\" value=\"86400\" $se10>"._1DAY."</option>"
    ."<option name=\"vdownloads\" value=\"172800\" $se11>"._2DAYS."</option>"
    ."<option name=\"vdownloads\" value=\"259200\" $se12>"._3DAYS."</option>"
    ."<option name=\"vdownloads\" value=\"345600\" $se13>"._4DAYS."</option>"
    ."<option name=\"vdownloads\" value=\"432000\" $se14>"._5DAYS."</option>"
    ."<option name=\"vdownloads\" value=\"516000\" $se15>"._6DAYS."</option>"
    ."<option name=\"vdownloads\" value=\"604800\" $se16>"._1WEEK."</option>"
    ."<option name=\"vdownloads\" value=\"1208000\" $se17>"._2WEEKS."</option>"
    ."<option name=\"vdownloads\" value=\"1814400\" $se18>"._3WEEKS."</option>"
    ."<option name=\"vdownloads\" value=\"2419200\" $se19>"._4WEEKS."</option>"
    ."</select>"
    ."</td>";


$se0=$se1=$se2=$se3=$se4=$se5=$se6=$se7=$se8=$se9=$se10=$se11=$se12=$se13=$se14=$se15=$se16=$se17=$se18=$se19= "";
if (CACHE_UDOWNLOADS == 0) { $se0 = " selected"; }
elseif  (CACHE_UDOWNLOADS == 300) { $se1 = " selected"; }
elseif  (CACHE_UDOWNLOADS == 600) { $se2 = " selected"; }
elseif  (CACHE_UDOWNLOADS == 900) { $se3 = " selected"; }
elseif  (CACHE_UDOWNLOADS == 1800) { $se4 = " selected"; }
elseif  (CACHE_UDOWNLOADS == 3600) { $se5 = " selected"; }
elseif  (CACHE_UDOWNLOADS == 7200) { $se6 = " selected"; }
elseif  (CACHE_UDOWNLOADS == 10800) { $se7 = " selected"; }
elseif  (CACHE_UDOWNLOADS == 21600) { $se8 = " selected"; }
elseif  (CACHE_UDOWNLOADS == 43200) { $se9 = " selected"; }
elseif  (CACHE_UDOWNLOADS == 86400) { $se10 = " selected"; }
elseif  (CACHE_UDOWNLOADS == 172800) { $se11 = " selected"; }
elseif  (CACHE_UDOWNLOADS == 259200) { $se12 = " selected"; }
elseif  (CACHE_UDOWNLOADS == 345600) { $se13 = " selected"; }
elseif  (CACHE_UDOWNLOADS == 432000) { $se14 = " selected"; }
elseif  (CACHE_UDOWNLOADS == 516000) { $se15 = " selected"; }
elseif  (CACHE_UDOWNLOADS == 604800) { $se16 = " selected"; }
elseif  (CACHE_UDOWNLOADS == 1208000) { $se17 = " selected"; }
elseif  (CACHE_UDOWNLOADS == 1814400) { $se18 = " selected"; }
elseif  (CACHE_UDOWNLOADS == 2419200) { $se19 = " selected"; }


echo "<td align=\"center\">"
    ."<select name=\"udownloads\">"
    ."<option name=\"udownloads\" value=\"0\" $se0>"._NOCACHE."</option>"
    ."<option name=\"udownloads\" value=\"300\" $se1>"._5MINUTS."</option>"
    ."<option name=\"udownloads\" value=\"600\" $se2>"._10MINUTS."</option>"
    ."<option name=\"udownloads\" value=\"900\" $se3>"._15MINUTS."</option>"
    ."<option name=\"udownloads\" value=\"1800\" $se4>"._30MINUTS."</option>"
    ."<option name=\"udownloads\" value=\"3600\" $se5>"._1HOUR."</option>"
    ."<option name=\"udownloads\" value=\"7200\" $se6>"._2HOURS."</option>"
    ."<option name=\"udownloads\" value=\"10800\" $se7>"._3HOURS."</option>"
    ."<option name=\"udownloads\" value=\"21600\" $se8>"._6HOURS."</option>"
    ."<option name=\"udownloads\" value=\"43200\" $se9>"._12HOURS."</option>"
    ."<option name=\"udownloads\" value=\"86400\" $se10>"._1DAY."</option>"
    ."<option name=\"udownloads\" value=\"172800\" $se11>"._2DAYS."</option>"
    ."<option name=\"udownloads\" value=\"259200\" $se12>"._3DAYS."</option>"
    ."<option name=\"udownloads\" value=\"345600\" $se13>"._4DAYS."</option>"
    ."<option name=\"udownloads\" value=\"432000\" $se14>"._5DAYS."</option>"
    ."<option name=\"udownloads\" value=\"516000\" $se15>"._6DAYS."</option>"
    ."<option name=\"udownloads\" value=\"604800\" $se16>"._1WEEK."</option>"
    ."<option name=\"udownloads\" value=\"1208000\" $se17>"._2WEEKS."</option>"
    ."<option name=\"udownloads\" value=\"1814400\" $se18>"._3WEEKS."</option>"
    ."<option name=\"udownloads\" value=\"2419200\" $se19>"._4WEEKS."</option>"
    ."</select>"
    ."</td>";

$se0=$se1=$se2=$se3=$se4=$se5=$se6=$se7=$se8=$se9=$se10=$se11=$se12=$se13=$se14=$se15=$se16=$se17=$se18=$se19= "";
if (CACHE_ADOWNLOADS == 0) { $se0 = " selected"; }
elseif  (CACHE_ADOWNLOADS == 300) { $se1 = " selected"; }
elseif  (CACHE_ADOWNLOADS == 600) { $se2 = " selected"; }
elseif  (CACHE_ADOWNLOADS == 900) { $se3 = " selected"; }
elseif  (CACHE_ADOWNLOADS == 1800) { $se4 = " selected"; }
elseif  (CACHE_ADOWNLOADS == 3600) { $se5 = " selected"; }
elseif  (CACHE_ADOWNLOADS == 7200) { $se6 = " selected"; }
elseif  (CACHE_ADOWNLOADS == 10800) { $se7 = " selected"; }
elseif  (CACHE_ADOWNLOADS == 21600) { $se8 = " selected"; }
elseif  (CACHE_ADOWNLOADS == 43200) { $se9 = " selected"; }
elseif  (CACHE_ADOWNLOADS == 86400) { $se10 = " selected"; }
elseif  (CACHE_ADOWNLOADS == 172800) { $se11 = " selected"; }
elseif  (CACHE_ADOWNLOADS == 259200) { $se12 = " selected"; }
elseif  (CACHE_ADOWNLOADS == 345600) { $se13 = " selected"; }
elseif  (CACHE_ADOWNLOADS == 432000) { $se14 = " selected"; }
elseif  (CACHE_ADOWNLOADS == 516000) { $se15 = " selected"; }
elseif  (CACHE_ADOWNLOADS == 604800) { $se16 = " selected"; }
elseif  (CACHE_ADOWNLOADS == 1208000) { $se17 = " selected"; }
elseif  (CACHE_ADOWNLOADS == 1814400) { $se18 = " selected"; }
elseif  (CACHE_ADOWNLOADS == 2419200) { $se19 = " selected"; }
echo "<td align=\"center\">"
    ."<select name=\"adownloads\">"
    ."<option name=\"adownloads\" value=\"0\" $se0>"._NOCACHE."</option>"
    ."<option name=\"adownloads\" value=\"300\" $se1>"._5MINUTS."</option>"
    ."<option name=\"adownloads\" value=\"600\" $se2>"._10MINUTS."</option>"
    ."<option name=\"adownloads\" value=\"900\" $se3>"._15MINUTS."</option>"
    ."<option name=\"adownloads\" value=\"1800\" $se4>"._30MINUTS."</option>"
    ."<option name=\"adownloads\" value=\"3600\" $se5>"._1HOUR."</option>"
    ."<option name=\"adownloads\" value=\"7200\" $se6>"._2HOURS."</option>"
    ."<option name=\"adownloads\" value=\"10800\" $se7>"._3HOURS."</option>"
    ."<option name=\"adownloads\" value=\"21600\" $se8>"._6HOURS."</option>"
    ."<option name=\"adownloads\" value=\"43200\" $se9>"._12HOURS."</option>"
    ."<option name=\"adownloads\" value=\"86400\" $se10>"._1DAY."</option>"
    ."<option name=\"adownloads\" value=\"172800\" $se11>"._2DAYS."</option>"
    ."<option name=\"adownloads\" value=\"259200\" $se12>"._3DAYS."</option>"
    ."<option name=\"adownloads\" value=\"345600\" $se13>"._4DAYS."</option>"
    ."<option name=\"adownloads\" value=\"432000\" $se14>"._5DAYS."</option>"
    ."<option name=\"adownloads\" value=\"516000\" $se15>"._6DAYS."</option>"
    ."<option name=\"adownloads\" value=\"604800\" $se16>"._1WEEK."</option>"
    ."<option name=\"adownloads\" value=\"1208000\" $se17>"._2WEEKS."</option>"
    ."<option name=\"adownloads\" value=\"1814400\" $se18>"._3WEEKS."</option>"
    ."<option name=\"adownloads\" value=\"2419200\" $se19>"._4WEEKS."</option>"
    ."</select>"
    ."</td></tr>";
}

// encyclopedia
if ((is_active("Encyclopedia")) && (file_exists("modules/Encyclopedia/credits.php")) && (file_exists("modules/Encyclopedia/copyright.php")) ){

//global CACHE_VENCYCLO, $cache_uencyclo, $cache_aencyclo;
//global CACHE_VENCYCLO;
$se0=$se1=$se2=$se3=$se4=$se5=$se6=$se7=$se8=$se9=$se10=$se11=$se12=$se13=$se14=$se15=$se16=$se17=$se18=$se19= "";
if (CACHE_VENCYCLO == 0) { $se0 = " selected"; }
elseif  (CACHE_VENCYCLO == 300) { $se1 = " selected"; }
elseif  (CACHE_VENCYCLO == 600) { $se2 = " selected"; }
elseif  (CACHE_VENCYCLO == 900) { $se3 = " selected"; }
elseif  (CACHE_VENCYCLO == 1800) { $se4 = " selected"; }
elseif  (CACHE_VENCYCLO == 3600) { $se5 = " selected"; }
elseif  (CACHE_VENCYCLO == 7200) { $se6 = " selected"; }
elseif  (CACHE_VENCYCLO == 10800) { $se7 = " selected"; }
elseif  (CACHE_VENCYCLO == 21600) { $se8 = " selected"; }
elseif  (CACHE_VENCYCLO == 43200) { $se9 = " selected"; }
elseif  (CACHE_VENCYCLO == 86400) { $se10 = " selected"; }
elseif  (CACHE_VENCYCLO == 172800) { $se11 = " selected"; }
elseif  (CACHE_VENCYCLO == 259200) { $se12 = " selected"; }
elseif  (CACHE_VENCYCLO == 345600) { $se13 = " selected"; }
elseif  (CACHE_VENCYCLO == 432000) { $se14 = " selected"; }
elseif  (CACHE_VENCYCLO == 516000) { $se15 = " selected"; }
elseif  (CACHE_VENCYCLO == 604800) { $se16 = " selected"; }
elseif  (CACHE_VENCYCLO == 1208000) { $se17 = " selected"; }
elseif  (CACHE_VENCYCLO == 1814400) { $se18 = " selected"; }
elseif  (CACHE_VENCYCLO == 2419200) { $se19 = " selected"; }



echo "<tr><td height=\"15\"></td></tr>"
    ."<tr><td bgcolor=\"$bgcolor2\">&nbsp; Encyclopedia "
    ."<td align=\"center\"><a href=\"modules.php?name=Encyclopedia\">"._HOMEENCYCLO."</a>"
    ."</td>"
    ."<td align=\"center\">"
    ."<select name=\"vencyclo\">"
    ."<option name=\"vencyclo\" value=\"0\" $se0>"._NOCACHE."</option>"
    ."<option name=\"vencyclo\" value=\"300\" $se1>"._5MINUTS."</option>"
    ."<option name=\"vencyclo\" value=\"600\" $se2>"._10MINUTS."</option>"
    ."<option name=\"vencyclo\" value=\"900\" $se3>"._15MINUTS."</option>"
    ."<option name=\"vencyclo\" value=\"1800\" $se4>"._30MINUTS."</option>"
    ."<option name=\"vencyclo\" value=\"3600\" $se5>"._1HOUR."</option>"
    ."<option name=\"vencyclo\" value=\"7200\" $se6>"._2HOURS."</option>"
    ."<option name=\"vencyclo\" value=\"10800\" $se7>"._3HOURS."</option>"
    ."<option name=\"vencyclo\" value=\"21600\" $se8>"._6HOURS."</option>"
    ."<option name=\"vencyclo\" value=\"43200\" $se9>"._12HOURS."</option>"
    ."<option name=\"vencyclo\" value=\"86400\" $se10>"._1DAY."</option>"
    ."<option name=\"vencyclo\" value=\"172800\" $se11>"._2DAYS."</option>"
    ."<option name=\"vencyclo\" value=\"259200\" $se12>"._3DAYS."</option>"
    ."<option name=\"vencyclo\" value=\"345600\" $se13>"._4DAYS."</option>"
    ."<option name=\"vencyclo\" value=\"432000\" $se14>"._5DAYS."</option>"
    ."<option name=\"vencyclo\" value=\"516000\" $se15>"._6DAYS."</option>"
    ."<option name=\"vencyclo\" value=\"604800\" $se16>"._1WEEK."</option>"
    ."<option name=\"vencyclo\" value=\"1208000\" $se17>"._2WEEKS."</option>"
    ."<option name=\"vencyclo\" value=\"1814400\" $se18>"._3WEEKS."</option>"
    ."<option name=\"vencyclo\" value=\"2419200\" $se19>"._4WEEKS."</option>"
    ."</select>"
    ."</td>";

/*
$se0=$se1=$se2=$se3=$se4=$se5=$se6=$se7=$se8=$se9=$se10=$se11=$se12=$se13=$se14=$se15=$se16=$se17=$se18=$se19= "";
if ($cache_uencyclo == 0) { $se0 = " selected"; }
elseif  ($cache_uencyclo == 300) { $se1 = " selected"; }
elseif  ($cache_uencyclo == 600) { $se2 = " selected"; }
elseif  ($cache_uencyclo == 900) { $se3 = " selected"; }
elseif  ($cache_uencyclo == 1800) { $se4 = " selected"; }
elseif  ($cache_uencyclo == 3600) { $se5 = " selected"; }
elseif  ($cache_uencyclo == 7200) { $se6 = " selected"; }
elseif  ($cache_uencyclo == 10800) { $se7 = " selected"; }
elseif  ($cache_uencyclo == 21600) { $se8 = " selected"; }
elseif  ($cache_uencyclo == 43200) { $se9 = " selected"; }
elseif  ($cache_uencyclo == 86400) { $se10 = " selected"; }
elseif  ($cache_uencyclo == 172800) { $se11 = " selected"; }
elseif  ($cache_uencyclo == 259200) { $se12 = " selected"; }
elseif  ($cache_uencyclo == 345600) { $se13 = " selected"; }
elseif  ($cache_uencyclo == 432000) { $se14 = " selected"; }
elseif  ($cache_uencyclo == 516000) { $se15 = " selected"; }
elseif  ($cache_uencyclo == 604800) { $se16 = " selected"; }
elseif  ($cache_uencyclo == 1208000) { $se17 = " selected"; }
elseif  ($cache_uencyclo == 1814400) { $se18 = " selected"; }
elseif  ($cache_uencyclo == 2419200) { $se19 = " selected"; }


echo "<td align=\"center\">"
    ."<select name=\"xcache_uencyclo\">"
    ."<option name=\"xcache_uencyclo\" value=\"0\" $se0>"._NOCACHE."</option>"
    ."<option name=\"xcache_uencyclo\" value=\"300\" $se1>"._5MINUTS."</option>"
    ."<option name=\"xcache_uencyclo\" value=\"600\" $se2>"._10MINUTS."</option>"
    ."<option name=\"xcache_uencyclo\" value=\"900\" $se3>"._15MINUTS."</option>"
    ."<option name=\"xcache_uencyclo\" value=\"1800\" $se4>"._30MINUTS."</option>"
    ."<option name=\"xcache_uencyclo\" value=\"3600\" $se5>"._1HOUR."</option>"
    ."<option name=\"xcache_uencyclo\" value=\"7200\" $se6>"._2HOURS."</option>"
    ."<option name=\"xcache_uencyclo\" value=\"10800\" $se7>"._3HOURS."</option>"
    ."<option name=\"xcache_uencyclo\" value=\"21600\" $se8>"._6HOURS."</option>"
    ."<option name=\"xcache_uencyclo\" value=\"43200\" $se9>"._12HOURS."</option>"
    ."<option name=\"xcache_uencyclo\" value=\"86400\" $se10>"._1DAY."</option>"
    ."<option name=\"xcache_uencyclo\" value=\"172800\" $se11>"._2DAYS."</option>"
    ."<option name=\"xcache_uencyclo\" value=\"259200\" $se12>"._3DAYS."</option>"
    ."<option name=\"xcache_uencyclo\" value=\"345600\" $se13>"._4DAYS."</option>"
    ."<option name=\"xcache_uencyclo\" value=\"432000\" $se14>"._5DAYS."</option>"
    ."<option name=\"xcache_uencyclo\" value=\"516000\" $se15>"._6DAYS."</option>"
    ."<option name=\"xcache_uencyclo\" value=\"604800\" $se16>"._1WEEK."</option>"
    ."<option name=\"xcache_uencyclo\" value=\"1208000\" $se17>"._2WEEKS."</option>"
    ."<option name=\"xcache_uencyclo\" value=\"1814400\" $se18>"._3WEEKS."</option>"
    ."<option name=\"xcache_uencyclo\" value=\"2419200\" $se19>"._4WEEKS."</option>"
    ."</select>"
    ."</td>";

$se0=$se1=$se2=$se3=$se4=$se5=$se6=$se7=$se8=$se9=$se10=$se11=$se12=$se13=$se14=$se15=$se16=$se17=$se18=$se19= "";
if ($cache_aencyclo == 0) { $se0 = " selected"; }
elseif  ($cache_aencyclo == 300) { $se1 = " selected"; }
elseif  ($cache_aencyclo == 600) { $se2 = " selected"; }
elseif  ($cache_aencyclo == 900) { $se3 = " selected"; }
elseif  ($cache_aencyclo == 1800) { $se4 = " selected"; }
elseif  ($cache_aencyclo == 3600) { $se5 = " selected"; }
elseif  ($cache_aencyclo == 7200) { $se6 = " selected"; }
elseif  ($cache_aencyclo == 10800) { $se7 = " selected"; }
elseif  ($cache_aencyclo == 21600) { $se8 = " selected"; }
elseif  ($cache_aencyclo == 43200) { $se9 = " selected"; }
elseif  ($cache_aencyclo == 86400) { $se10 = " selected"; }
elseif  ($cache_aencyclo == 172800) { $se11 = " selected"; }
elseif  ($cache_aencyclo == 259200) { $se12 = " selected"; }
elseif  ($cache_aencyclo == 345600) { $se13 = " selected"; }
elseif  ($cache_aencyclo == 432000) { $se14 = " selected"; }
elseif  ($cache_aencyclo == 516000) { $se15 = " selected"; }
elseif  ($cache_aencyclo == 604800) { $se16 = " selected"; }
elseif  ($cache_aencyclo == 1208000) { $se17 = " selected"; }
elseif  ($cache_aencyclo == 1814400) { $se18 = " selected"; }
elseif  ($cache_aencyclo == 2419200) { $se19 = " selected"; }
echo "<td align=\"center\">"
    ."<select name=\"xcache_aencyclo\">"
    ."<option name=\"xcache_aencyclo\" value=\"0\" $se0>"._NOCACHE."</option>"
    ."<option name=\"xcache_aencyclo\" value=\"300\" $se1>"._5MINUTS."</option>"
    ."<option name=\"xcache_aencyclo\" value=\"600\" $se2>"._10MINUTS."</option>"
    ."<option name=\"xcache_aencyclo\" value=\"900\" $se3>"._15MINUTS."</option>"
    ."<option name=\"xcache_aencyclo\" value=\"1800\" $se4>"._30MINUTS."</option>"
    ."<option name=\"xcache_aencyclo\" value=\"3600\" $se5>"._1HOUR."</option>"
    ."<option name=\"xcache_aencyclo\" value=\"7200\" $se6>"._2HOURS."</option>"
    ."<option name=\"xcache_aencyclo\" value=\"10800\" $se7>"._3HOURS."</option>"
    ."<option name=\"xcache_aencyclo\" value=\"21600\" $se8>"._6HOURS."</option>"
    ."<option name=\"xcache_aencyclo\" value=\"43200\" $se9>"._12HOURS."</option>"
    ."<option name=\"xcache_aencyclo\" value=\"86400\" $se10>"._1DAY."</option>"
    ."<option name=\"xcache_aencyclo\" value=\"172800\" $se11>"._2DAYS."</option>"
    ."<option name=\"xcache_aencyclo\" value=\"259200\" $se12>"._3DAYS."</option>"
    ."<option name=\"xcache_aencyclo\" value=\"345600\" $se13>"._4DAYS."</option>"
    ."<option name=\"xcache_aencyclo\" value=\"432000\" $se14>"._5DAYS."</option>"
    ."<option name=\"xcache_aencyclo\" value=\"516000\" $se15>"._6DAYS."</option>"
    ."<option name=\"xcache_aencyclo\" value=\"604800\" $se16>"._1WEEK."</option>"
    ."<option name=\"xcache_aencyclo\" value=\"1208000\" $se17>"._2WEEKS."</option>"
    ."<option name=\"xcache_aencyclo\" value=\"1814400\" $se18>"._3WEEKS."</option>"
    ."<option name=\"xcache_aencyclo\" value=\"2419200\" $se19>"._4WEEKS."</option>"
    ."</select>"
    ."</td></tr>";*/
echo "<td></td><td></td></tr>";
}

// faq
if ((is_active("FAQ")) && (file_exists("modules/FAQ/credits.php")) && (file_exists("modules/FAQ/copyright.php")) ){

//global $cache_faq, $cache_ufaq, $cache_afaq;

$se0=$se1=$se2=$se3=$se4=$se5=$se6=$se7=$se8=$se9=$se10=$se11=$se12=$se13=$se14=$se15=$se16=$se17=$se18=$se19= "";
if (CACHE_VFAQ == 0) { $se0 = " selected"; }
elseif  (CACHE_VFAQ == 300) { $se1 = " selected"; }
elseif  (CACHE_VFAQ == 600) { $se2 = " selected"; }
elseif  (CACHE_VFAQ == 900) { $se3 = " selected"; }
elseif  (CACHE_VFAQ == 1800) { $se4 = " selected"; }
elseif  (CACHE_VFAQ == 3600) { $se5 = " selected"; }
elseif  (CACHE_VFAQ == 7200) { $se6 = " selected"; }
elseif  (CACHE_VFAQ == 10800) { $se7 = " selected"; }
elseif  (CACHE_VFAQ == 21600) { $se8 = " selected"; }
elseif  (CACHE_VFAQ == 43200) { $se9 = " selected"; }
elseif  (CACHE_VFAQ == 86400) { $se10 = " selected"; }
elseif  (CACHE_VFAQ == 172800) { $se11 = " selected"; }
elseif  (CACHE_VFAQ == 259200) { $se12 = " selected"; }
elseif  (CACHE_VFAQ == 345600) { $se13 = " selected"; }
elseif  (CACHE_VFAQ == 432000) { $se14 = " selected"; }
elseif  (CACHE_VFAQ == 516000) { $se15 = " selected"; }
elseif  (CACHE_VFAQ == 604800) { $se16 = " selected"; }
elseif  (CACHE_VFAQ == 1208000) { $se17 = " selected"; }
elseif  (CACHE_VFAQ == 1814400) { $se18 = " selected"; }
elseif  (CACHE_VFAQ == 2419200) { $se19 = " selected"; }



echo "<tr><td height=\"15\"></td></tr>"
    ."<tr><td bgcolor=\"$bgcolor2\">&nbsp; FAQ "
    ."<td align=\"center\"><a href=\"modules.php?name=Top\">"._HOMEFAQ."</a>"
    ."</td>"
    ."<td align=\"center\">"
    ."<select name=\"vfaq\">"
    ."<option name=\"vfaq\" value=\"0\" $se0>"._NOCACHE."</option>"
    ."<option name=\"vfaq\" value=\"300\" $se1>"._5MINUTS."</option>"
    ."<option name=\"vfaq\" value=\"600\" $se2>"._10MINUTS."</option>"
    ."<option name=\"vfaq\" value=\"900\" $se3>"._15MINUTS."</option>"
    ."<option name=\"vfaq\" value=\"1800\" $se4>"._30MINUTS."</option>"
    ."<option name=\"vfaq\" value=\"3600\" $se5>"._1HOUR."</option>"
    ."<option name=\"vfaq\" value=\"7200\" $se6>"._2HOURS."</option>"
    ."<option name=\"vfaq\" value=\"10800\" $se7>"._3HOURS."</option>"
    ."<option name=\"vfaq\" value=\"21600\" $se8>"._6HOURS."</option>"
    ."<option name=\"vfaq\" value=\"43200\" $se9>"._12HOURS."</option>"
    ."<option name=\"vfaq\" value=\"86400\" $se10>"._1DAY."</option>"
    ."<option name=\"vfaq\" value=\"172800\" $se11>"._2DAYS."</option>"
    ."<option name=\"vfaq\" value=\"259200\" $se12>"._3DAYS."</option>"
    ."<option name=\"vfaq\" value=\"345600\" $se13>"._4DAYS."</option>"
    ."<option name=\"vfaq\" value=\"432000\" $se14>"._5DAYS."</option>"
    ."<option name=\"vfaq\" value=\"516000\" $se15>"._6DAYS."</option>"
    ."<option name=\"vfaq\" value=\"604800\" $se16>"._1WEEK."</option>"
    ."<option name=\"vfaq\" value=\"1208000\" $se17>"._2WEEKS."</option>"
    ."<option name=\"vfaq\" value=\"1814400\" $se18>"._3WEEKS."</option>"
    ."<option name=\"vfaq\" value=\"2419200\" $se19>"._4WEEKS."</option>"
    ."</select>"
    ."</td>";
echo "<td></td><td></td></tr>";
/*
$se0=$se1=$se2=$se3=$se4=$se5=$se6=$se7=$se8=$se9=$se10=$se11=$se12=$se13=$se14=$se15=$se16=$se17=$se18=$se19= "";
if ($cache_ufaq == 0) { $se0 = " selected"; }
elseif  ($cache_ufaq == 300) { $se1 = " selected"; }
elseif  ($cache_ufaq == 600) { $se2 = " selected"; }
elseif  ($cache_ufaq == 900) { $se3 = " selected"; }
elseif  ($cache_ufaq == 1800) { $se4 = " selected"; }
elseif  ($cache_ufaq == 3600) { $se5 = " selected"; }
elseif  ($cache_ufaq == 7200) { $se6 = " selected"; }
elseif  ($cache_ufaq == 10800) { $se7 = " selected"; }
elseif  ($cache_ufaq == 21600) { $se8 = " selected"; }
elseif  ($cache_ufaq == 43200) { $se9 = " selected"; }
elseif  ($cache_ufaq == 86400) { $se10 = " selected"; }
elseif  ($cache_ufaq == 172800) { $se11 = " selected"; }
elseif  ($cache_ufaq == 259200) { $se12 = " selected"; }
elseif  ($cache_ufaq == 345600) { $se13 = " selected"; }
elseif  ($cache_ufaq == 432000) { $se14 = " selected"; }
elseif  ($cache_ufaq == 516000) { $se15 = " selected"; }
elseif  ($cache_ufaq == 604800) { $se16 = " selected"; }
elseif  ($cache_ufaq == 1208000) { $se17 = " selected"; }
elseif  ($cache_ufaq == 1814400) { $se18 = " selected"; }
elseif  ($cache_ufaq == 2419200) { $se19 = " selected"; }


echo "<td align=\"center\">"
    ."<select name=\"xcache_ufaq\">"
    ."<option name=\"xcache_ufaq\" value=\"0\" $se0>"._NOCACHE."</option>"
    ."<option name=\"xcache_ufaq\" value=\"300\" $se1>"._5MINUTS."</option>"
    ."<option name=\"xcache_ufaq\" value=\"600\" $se2>"._10MINUTS."</option>"
    ."<option name=\"xcache_ufaq\" value=\"900\" $se3>"._15MINUTS."</option>"
    ."<option name=\"xcache_ufaq\" value=\"1800\" $se4>"._30MINUTS."</option>"
    ."<option name=\"xcache_ufaq\" value=\"3600\" $se5>"._1HOUR."</option>"
    ."<option name=\"xcache_ufaq\" value=\"7200\" $se6>"._2HOURS."</option>"
    ."<option name=\"xcache_ufaq\" value=\"10800\" $se7>"._3HOURS."</option>"
    ."<option name=\"xcache_ufaq\" value=\"21600\" $se8>"._6HOURS."</option>"
    ."<option name=\"xcache_ufaq\" value=\"43200\" $se9>"._12HOURS."</option>"
    ."<option name=\"xcache_ufaq\" value=\"86400\" $se10>"._1DAY."</option>"
    ."<option name=\"xcache_ufaq\" value=\"172800\" $se11>"._2DAYS."</option>"
    ."<option name=\"xcache_ufaq\" value=\"259200\" $se12>"._3DAYS."</option>"
    ."<option name=\"xcache_ufaq\" value=\"345600\" $se13>"._4DAYS."</option>"
    ."<option name=\"xcache_ufaq\" value=\"432000\" $se14>"._5DAYS."</option>"
    ."<option name=\"xcache_ufaq\" value=\"516000\" $se15>"._6DAYS."</option>"
    ."<option name=\"xcache_ufaq\" value=\"604800\" $se16>"._1WEEK."</option>"
    ."<option name=\"xcache_ufaq\" value=\"1208000\" $se17>"._2WEEKS."</option>"
    ."<option name=\"xcache_ufaq\" value=\"1814400\" $se18>"._3WEEKS."</option>"
    ."<option name=\"xcache_ufaq\" value=\"2419200\" $se19>"._4WEEKS."</option>"
    ."</select>"
    ."</td>";

$se0=$se1=$se2=$se3=$se4=$se5=$se6=$se7=$se8=$se9=$se10=$se11=$se12=$se13=$se14=$se15=$se16=$se17=$se18=$se19= "";
if ($cache_afaq == 0) { $se0 = " selected"; }
elseif  ($cache_afaq == 300) { $se1 = " selected"; }
elseif  ($cache_afaq == 600) { $se2 = " selected"; }
elseif  ($cache_afaq == 900) { $se3 = " selected"; }
elseif  ($cache_afaq == 1800) { $se4 = " selected"; }
elseif  ($cache_afaq == 3600) { $se5 = " selected"; }
elseif  ($cache_afaq == 7200) { $se6 = " selected"; }
elseif  ($cache_afaq == 10800) { $se7 = " selected"; }
elseif  ($cache_afaq == 21600) { $se8 = " selected"; }
elseif  ($cache_afaq == 43200) { $se9 = " selected"; }
elseif  ($cache_afaq == 86400) { $se10 = " selected"; }
elseif  ($cache_afaq == 172800) { $se11 = " selected"; }
elseif  ($cache_afaq == 259200) { $se12 = " selected"; }
elseif  ($cache_afaq == 345600) { $se13 = " selected"; }
elseif  ($cache_afaq == 432000) { $se14 = " selected"; }
elseif  ($cache_afaq == 516000) { $se15 = " selected"; }
elseif  ($cache_afaq == 604800) { $se16 = " selected"; }
elseif  ($cache_afaq == 1208000) { $se17 = " selected"; }
elseif  ($cache_afaq == 1814400) { $se18 = " selected"; }
elseif  ($cache_afaq == 2419200) { $se19 = " selected"; }
echo "<td align=\"center\">"
    ."<select name=\"xcache_afaq\">"
    ."<option name=\"xcache_afaq\" value=\"0\" $se0>"._NOCACHE."</option>"
    ."<option name=\"xcache_afaq\" value=\"300\" $se1>"._5MINUTS."</option>"
    ."<option name=\"xcache_afaq\" value=\"600\" $se2>"._10MINUTS."</option>"
    ."<option name=\"xcache_afaq\" value=\"900\" $se3>"._15MINUTS."</option>"
    ."<option name=\"xcache_afaq\" value=\"1800\" $se4>"._30MINUTS."</option>"
    ."<option name=\"xcache_afaq\" value=\"3600\" $se5>"._1HOUR."</option>"
    ."<option name=\"xcache_afaq\" value=\"7200\" $se6>"._2HOURS."</option>"
    ."<option name=\"xcache_afaq\" value=\"10800\" $se7>"._3HOURS."</option>"
    ."<option name=\"xcache_afaq\" value=\"21600\" $se8>"._6HOURS."</option>"
    ."<option name=\"xcache_afaq\" value=\"43200\" $se9>"._12HOURS."</option>"
    ."<option name=\"xcache_afaq\" value=\"86400\" $se10>"._1DAY."</option>"
    ."<option name=\"xcache_afaq\" value=\"172800\" $se11>"._2DAYS."</option>"
    ."<option name=\"xcache_afaq\" value=\"259200\" $se12>"._3DAYS."</option>"
    ."<option name=\"xcache_afaq\" value=\"345600\" $se13>"._4DAYS."</option>"
    ."<option name=\"xcache_afaq\" value=\"432000\" $se14>"._5DAYS."</option>"
    ."<option name=\"xcache_afaq\" value=\"516000\" $se15>"._6DAYS."</option>"
    ."<option name=\"xcache_afaq\" value=\"604800\" $se16>"._1WEEK."</option>"
    ."<option name=\"xcache_afaq\" value=\"1208000\" $se17>"._2WEEKS."</option>"
    ."<option name=\"xcache_afaq\" value=\"1814400\" $se18>"._3WEEKS."</option>"
    ."<option name=\"xcache_afaq\" value=\"2419200\" $se19>"._4WEEKS."</option>"
    ."</select>"
    ."</td></tr>";
*/
//global CACHE_VFAQ1, $cache_ufaq1, $cache_afaq1;

$se0=$se1=$se2=$se3=$se4=$se5=$se6=$se7=$se8=$se9=$se10=$se11=$se12=$se13=$se14=$se15=$se16=$se17=$se18=$se19= "";
if (CACHE_VFAQ1 == 0) { $se0 = " selected"; }
elseif  (CACHE_VFAQ1 == 300) { $se1 = " selected"; }
elseif  (CACHE_VFAQ1 == 600) { $se2 = " selected"; }
elseif  (CACHE_VFAQ1 == 900) { $se3 = " selected"; }
elseif  (CACHE_VFAQ1 == 1800) { $se4 = " selected"; }
elseif  (CACHE_VFAQ1 == 3600) { $se5 = " selected"; }
elseif  (CACHE_VFAQ1 == 7200) { $se6 = " selected"; }
elseif  (CACHE_VFAQ1 == 10800) { $se7 = " selected"; }
elseif  (CACHE_VFAQ1 == 21600) { $se8 = " selected"; }
elseif  (CACHE_VFAQ1 == 43200) { $se9 = " selected"; }
elseif  (CACHE_VFAQ1 == 86400) { $se10 = " selected"; }
elseif  (CACHE_VFAQ1 == 172800) { $se11 = " selected"; }
elseif  (CACHE_VFAQ1 == 259200) { $se12 = " selected"; }
elseif  (CACHE_VFAQ1 == 345600) { $se13 = " selected"; }
elseif  (CACHE_VFAQ1 == 432000) { $se14 = " selected"; }
elseif  (CACHE_VFAQ1 == 516000) { $se15 = " selected"; }
elseif  (CACHE_VFAQ1 == 604800) { $se16 = " selected"; }
elseif  (CACHE_VFAQ1 == 1208000) { $se17 = " selected"; }
elseif  (CACHE_VFAQ1 == 1814400) { $se18 = " selected"; }
elseif  (CACHE_VFAQ1 == 2419200) { $se19 = " selected"; }



echo ""
    ."<tr><td>"
    ."<td align=\"center\"><a href=\"modules.php?name=FAQ\">"._DETAILFAQ."</a>"
    ."</td>"
    ."<td align=\"center\">"
    ."<select name=\"vfaq1\">"
    ."<option name=\"vfaq1\" value=\"0\" $se0>"._NOCACHE."</option>"
    ."<option name=\"vfaq1\" value=\"300\" $se1>"._5MINUTS."</option>"
    ."<option name=\"vfaq1\" value=\"600\" $se2>"._10MINUTS."</option>"
    ."<option name=\"vfaq1\" value=\"900\" $se3>"._15MINUTS."</option>"
    ."<option name=\"vfaq1\" value=\"1800\" $se4>"._30MINUTS."</option>"
    ."<option name=\"vfaq1\" value=\"3600\" $se5>"._1HOUR."</option>"
    ."<option name=\"vfaq1\" value=\"7200\" $se6>"._2HOURS."</option>"
    ."<option name=\"vfaq1\" value=\"10800\" $se7>"._3HOURS."</option>"
    ."<option name=\"vfaq1\" value=\"21600\" $se8>"._6HOURS."</option>"
    ."<option name=\"vfaq1\" value=\"43200\" $se9>"._12HOURS."</option>"
    ."<option name=\"vfaq1\" value=\"86400\" $se10>"._1DAY."</option>"
    ."<option name=\"vfaq1\" value=\"172800\" $se11>"._2DAYS."</option>"
    ."<option name=\"vfaq1\" value=\"259200\" $se12>"._3DAYS."</option>"
    ."<option name=\"vfaq1\" value=\"345600\" $se13>"._4DAYS."</option>"
    ."<option name=\"vfaq1\" value=\"432000\" $se14>"._5DAYS."</option>"
    ."<option name=\"vfaq1\" value=\"516000\" $se15>"._6DAYS."</option>"
    ."<option name=\"vfaq1\" value=\"604800\" $se16>"._1WEEK."</option>"
    ."<option name=\"vfaq1\" value=\"1208000\" $se17>"._2WEEKS."</option>"
    ."<option name=\"vfaq1\" value=\"1814400\" $se18>"._3WEEKS."</option>"
    ."<option name=\"vfaq1\" value=\"2419200\" $se19>"._4WEEKS."</option>"
    ."</select>"
    ."</td>";
/*

$se0=$se1=$se2=$se3=$se4=$se5=$se6=$se7=$se8=$se9=$se10=$se11=$se12=$se13=$se14=$se15=$se16=$se17=$se18=$se19= "";
if ($cache_ufaq1 == 0) { $se0 = " selected"; }
elseif  ($cache_ufaq1 == 300) { $se1 = " selected"; }
elseif  ($cache_ufaq1 == 600) { $se2 = " selected"; }
elseif  ($cache_ufaq1 == 900) { $se3 = " selected"; }
elseif  ($cache_ufaq1 == 1800) { $se4 = " selected"; }
elseif  ($cache_ufaq1 == 3600) { $se5 = " selected"; }
elseif  ($cache_ufaq1 == 7200) { $se6 = " selected"; }
elseif  ($cache_ufaq1 == 10800) { $se7 = " selected"; }
elseif  ($cache_ufaq1 == 21600) { $se8 = " selected"; }
elseif  ($cache_ufaq1 == 43200) { $se9 = " selected"; }
elseif  ($cache_ufaq1 == 86400) { $se10 = " selected"; }
elseif  ($cache_ufaq1 == 172800) { $se11 = " selected"; }
elseif  ($cache_ufaq1 == 259200) { $se12 = " selected"; }
elseif  ($cache_ufaq1 == 345600) { $se13 = " selected"; }
elseif  ($cache_ufaq1 == 432000) { $se14 = " selected"; }
elseif  ($cache_ufaq1 == 516000) { $se15 = " selected"; }
elseif  ($cache_ufaq1 == 604800) { $se16 = " selected"; }
elseif  ($cache_ufaq1 == 1208000) { $se17 = " selected"; }
elseif  ($cache_ufaq1 == 1814400) { $se18 = " selected"; }
elseif  ($cache_ufaq1 == 2419200) { $se19 = " selected"; }


echo "<td align=\"center\">"
    ."<select name=\"xcache_ufaq1\">"
    ."<option name=\"xcache_ufaq1\" value=\"0\" $se0>"._NOCACHE."</option>"
    ."<option name=\"xcache_ufaq1\" value=\"300\" $se1>"._5MINUTS."</option>"
    ."<option name=\"xcache_ufaq1\" value=\"600\" $se2>"._10MINUTS."</option>"
    ."<option name=\"xcache_ufaq1\" value=\"900\" $se3>"._15MINUTS."</option>"
    ."<option name=\"xcache_ufaq1\" value=\"1800\" $se4>"._30MINUTS."</option>"
    ."<option name=\"xcache_ufaq1\" value=\"3600\" $se5>"._1HOUR."</option>"
    ."<option name=\"xcache_ufaq1\" value=\"7200\" $se6>"._2HOURS."</option>"
    ."<option name=\"xcache_ufaq1\" value=\"10800\" $se7>"._3HOURS."</option>"
    ."<option name=\"xcache_ufaq1\" value=\"21600\" $se8>"._6HOURS."</option>"
    ."<option name=\"xcache_ufaq1\" value=\"43200\" $se9>"._12HOURS."</option>"
    ."<option name=\"xcache_ufaq1\" value=\"86400\" $se10>"._1DAY."</option>"
    ."<option name=\"xcache_ufaq1\" value=\"172800\" $se11>"._2DAYS."</option>"
    ."<option name=\"xcache_ufaq1\" value=\"259200\" $se12>"._3DAYS."</option>"
    ."<option name=\"xcache_ufaq1\" value=\"345600\" $se13>"._4DAYS."</option>"
    ."<option name=\"xcache_ufaq1\" value=\"432000\" $se14>"._5DAYS."</option>"
    ."<option name=\"xcache_ufaq1\" value=\"516000\" $se15>"._6DAYS."</option>"
    ."<option name=\"xcache_ufaq1\" value=\"604800\" $se16>"._1WEEK."</option>"
    ."<option name=\"xcache_ufaq1\" value=\"1208000\" $se17>"._2WEEKS."</option>"
    ."<option name=\"xcache_ufaq1\" value=\"1814400\" $se18>"._3WEEKS."</option>"
    ."<option name=\"xcache_ufaq1\" value=\"2419200\" $se19>"._4WEEKS."</option>"
    ."</select>"
    ."</td>";

$se0=$se1=$se2=$se3=$se4=$se5=$se6=$se7=$se8=$se9=$se10=$se11=$se12=$se13=$se14=$se15=$se16=$se17=$se18=$se19= "";
if ($cache_afaq1 == 0) { $se0 = " selected"; }
elseif  ($cache_afaq1 == 300) { $se1 = " selected"; }
elseif  ($cache_afaq1 == 600) { $se2 = " selected"; }
elseif  ($cache_afaq1 == 900) { $se3 = " selected"; }
elseif  ($cache_afaq1 == 1800) { $se4 = " selected"; }
elseif  ($cache_afaq1 == 3600) { $se5 = " selected"; }
elseif  ($cache_afaq1 == 7200) { $se6 = " selected"; }
elseif  ($cache_afaq1 == 10800) { $se7 = " selected"; }
elseif  ($cache_afaq1 == 21600) { $se8 = " selected"; }
elseif  ($cache_afaq1 == 43200) { $se9 = " selected"; }
elseif  ($cache_afaq1 == 86400) { $se10 = " selected"; }
elseif  ($cache_afaq1 == 172800) { $se11 = " selected"; }
elseif  ($cache_afaq1 == 259200) { $se12 = " selected"; }
elseif  ($cache_afaq1 == 345600) { $se13 = " selected"; }
elseif  ($cache_afaq1 == 432000) { $se14 = " selected"; }
elseif  ($cache_afaq1 == 516000) { $se15 = " selected"; }
elseif  ($cache_afaq1 == 604800) { $se16 = " selected"; }
elseif  ($cache_afaq1 == 1208000) { $se17 = " selected"; }
elseif  ($cache_afaq1 == 1814400) { $se18 = " selected"; }
elseif  ($cache_afaq1 == 2419200) { $se19 = " selected"; }
echo "<td align=\"center\">"
    ."<select name=\"xcache_afaq1\">"
    ."<option name=\"xcache_afaq1\" value=\"0\" $se0>"._NOCACHE."</option>"
    ."<option name=\"xcache_afaq1\" value=\"300\" $se1>"._5MINUTS."</option>"
    ."<option name=\"xcache_afaq1\" value=\"600\" $se2>"._10MINUTS."</option>"
    ."<option name=\"xcache_afaq1\" value=\"900\" $se3>"._15MINUTS."</option>"
    ."<option name=\"xcache_afaq1\" value=\"1800\" $se4>"._30MINUTS."</option>"
    ."<option name=\"xcache_afaq1\" value=\"3600\" $se5>"._1HOUR."</option>"
    ."<option name=\"xcache_afaq1\" value=\"7200\" $se6>"._2HOURS."</option>"
    ."<option name=\"xcache_afaq1\" value=\"10800\" $se7>"._3HOURS."</option>"
    ."<option name=\"xcache_afaq1\" value=\"21600\" $se8>"._6HOURS."</option>"
    ."<option name=\"xcache_afaq1\" value=\"43200\" $se9>"._12HOURS."</option>"
    ."<option name=\"xcache_afaq1\" value=\"86400\" $se10>"._1DAY."</option>"
    ."<option name=\"xcache_afaq1\" value=\"172800\" $se11>"._2DAYS."</option>"
    ."<option name=\"xcache_afaq1\" value=\"259200\" $se12>"._3DAYS."</option>"
    ."<option name=\"xcache_afaq1\" value=\"345600\" $se13>"._4DAYS."</option>"
    ."<option name=\"xcache_afaq1\" value=\"432000\" $se14>"._5DAYS."</option>"
    ."<option name=\"xcache_afaq1\" value=\"516000\" $se15>"._6DAYS."</option>"
    ."<option name=\"xcache_afaq1\" value=\"604800\" $se16>"._1WEEK."</option>"
    ."<option name=\"xcache_afaq1\" value=\"1208000\" $se17>"._2WEEKS."</option>"
    ."<option name=\"xcache_afaq1\" value=\"1814400\" $se18>"._3WEEKS."</option>"
    ."<option name=\"xcache_afaq1\" value=\"2419200\" $se19>"._4WEEKS."</option>"
    ."</select>"
    ."</td></tr>";*/
echo "<td></td><td></td></tr>";
}




// News
if ((is_active("News")) && (file_exists("modules/News/credits.php"))){

//global CACHE_VNEWS, CACHE_UNEWS, CACHE_ANEWS;
// homenews
$se0=$se1=$se2=$se3=$se4=$se5=$se6=$se7=$se8=$se9=$se10=$se11=$se12=$se13=$se14=$se15=$se16=$se17=$se18=$se19= "";
if (CACHE_VNEWS == 0) { $se0 = " selected"; }
elseif  (CACHE_VNEWS == 300) { $se1 = " selected"; }
elseif  (CACHE_VNEWS == 600) { $se2 = " selected"; }
elseif  (CACHE_VNEWS == 900) { $se3 = " selected"; }
elseif  (CACHE_VNEWS == 1800) { $se4 = " selected"; }
elseif  (CACHE_VNEWS == 3600) { $se5 = " selected"; }
elseif  (CACHE_VNEWS == 7200) { $se6 = " selected"; }
elseif  (CACHE_VNEWS == 10800) { $se7 = " selected"; }
elseif  (CACHE_VNEWS == 21600) { $se8 = " selected"; }
elseif  (CACHE_VNEWS == 43200) { $se9 = " selected"; }
elseif  (CACHE_VNEWS == 86400) { $se10 = " selected"; }
elseif  (CACHE_VNEWS == 172800) { $se11 = " selected"; }
elseif  (CACHE_VNEWS == 259200) { $se12 = " selected"; }
elseif  (CACHE_VNEWS == 345600) { $se13 = " selected"; }
elseif  (CACHE_VNEWS == 432000) { $se14 = " selected"; }
elseif  (CACHE_VNEWS == 516000) { $se15 = " selected"; }
elseif  (CACHE_VNEWS == 604800) { $se16 = " selected"; }
elseif  (CACHE_VNEWS == 1208000) { $se17 = " selected"; }
elseif  (CACHE_VNEWS == 1814400) { $se18 = " selected"; }
elseif  (CACHE_VNEWS == 2419200) { $se19 = " selected"; }



echo "<tr><td height=\"10\"></td></tr>"
    ."<tr><td bgcolor=\"$bgcolor2\">&nbsp; News"
    ."<td align=\"center\"><a href=\"modules.php?name=News\">"._HOMENEWS."</a>"
    ."</td>"
    ."<td align=\"center\">"
    ."<select name=\"vnews\">"
    ."<option name=\"vnews\" value=\"0\" $se0>"._NOCACHE."</option>"
    ."<option name=\"vnews\" value=\"300\" $se1>"._5MINUTS."</option>"
    ."<option name=\"vnews\" value=\"600\" $se2>"._10MINUTS."</option>"
    ."<option name=\"vnews\" value=\"900\" $se3>"._15MINUTS."</option>"
    ."<option name=\"vnews\" value=\"1800\" $se4>"._30MINUTS."</option>"
    ."<option name=\"vnews\" value=\"3600\" $se5>"._1HOUR."</option>"
    ."<option name=\"vnews\" value=\"7200\" $se6>"._2HOURS."</option>"
    ."<option name=\"vnews\" value=\"10800\" $se7>"._3HOURS."</option>"
    ."<option name=\"vnews\" value=\"21600\" $se8>"._6HOURS."</option>"
    ."<option name=\"vnews\" value=\"43200\" $se9>"._12HOURS."</option>"
    ."<option name=\"vnews\" value=\"86400\" $se10>"._1DAY."</option>"
    ."<option name=\"vnews\" value=\"172800\" $se11>"._2DAYS."</option>"
    ."<option name=\"vnews\" value=\"259200\" $se12>"._3DAYS."</option>"
    ."<option name=\"vnews\" value=\"345600\" $se13>"._4DAYS."</option>"
    ."<option name=\"vnews\" value=\"432000\" $se14>"._5DAYS."</option>"
    ."<option name=\"vnews\" value=\"516000\" $se15>"._6DAYS."</option>"
    ."<option name=\"vnews\" value=\"604800\" $se16>"._1WEEK."</option>"
    ."<option name=\"vnews\" value=\"1208000\" $se17>"._2WEEKS."</option>"
    ."<option name=\"vnews\" value=\"1814400\" $se18>"._3WEEKS."</option>"
    ."<option name=\"vnews\" value=\"2419200\" $se19>"._4WEEKS."</option>"
    ."</select>"
    ."</td>";

/*
$se0=$se1=$se2=$se3=$se4=$se5=$se6=$se7=$se8=$se9=$se10=$se11=$se12=$se13=$se14=$se15=$se16=$se17=$se18=$se19= "";
if (CACHE_UNEWS == 0) { $se0 = " selected"; }
elseif  (CACHE_UNEWS == 300) { $se1 = " selected"; }
elseif  (CACHE_UNEWS == 600) { $se2 = " selected"; }
elseif  (CACHE_UNEWS == 900) { $se3 = " selected"; }
elseif  (CACHE_UNEWS == 1800) { $se4 = " selected"; }
elseif  (CACHE_UNEWS == 3600) { $se5 = " selected"; }
elseif  (CACHE_UNEWS == 7200) { $se6 = " selected"; }
elseif  (CACHE_UNEWS == 10800) { $se7 = " selected"; }
elseif  (CACHE_UNEWS == 21600) { $se8 = " selected"; }
elseif  (CACHE_UNEWS == 43200) { $se9 = " selected"; }
elseif  (CACHE_UNEWS == 86400) { $se10 = " selected"; }
elseif  (CACHE_UNEWS == 172800) { $se11 = " selected"; }
elseif  (CACHE_UNEWS == 259200) { $se12 = " selected"; }
elseif  (CACHE_UNEWS == 345600) { $se13 = " selected"; }
elseif  (CACHE_UNEWS == 432000) { $se14 = " selected"; }
elseif  (CACHE_UNEWS == 516000) { $se15 = " selected"; }
elseif  (CACHE_UNEWS == 604800) { $se16 = " selected"; }
elseif  (CACHE_UNEWS == 1208000) { $se17 = " selected"; }
elseif  (CACHE_UNEWS == 1814400) { $se18 = " selected"; }
elseif  (CACHE_UNEWS == 2419200) { $se19 = " selected"; }


echo "<td align=\"center\">"
    ."<select name=\"xcache_unews\">"
    ."<option name=\"xcache_unews\" value=\"0\" $se0>"._NOCACHE."</option>"
    ."<option name=\"xcache_unews\" value=\"300\" $se1>"._5MINUTS."</option>"
    ."<option name=\"xcache_unews\" value=\"600\" $se2>"._10MINUTS."</option>"
    ."<option name=\"xcache_unews\" value=\"900\" $se3>"._15MINUTS."</option>"
    ."<option name=\"xcache_unews\" value=\"1800\" $se4>"._30MINUTS."</option>"
    ."<option name=\"xcache_unews\" value=\"3600\" $se5>"._1HOUR."</option>"
    ."<option name=\"xcache_unews\" value=\"7200\" $se6>"._2HOURS."</option>"
    ."<option name=\"xcache_unews\" value=\"10800\" $se7>"._3HOURS."</option>"
    ."<option name=\"xcache_unews\" value=\"21600\" $se8>"._6HOURS."</option>"
    ."<option name=\"xcache_unews\" value=\"43200\" $se9>"._12HOURS."</option>"
    ."<option name=\"xcache_unews\" value=\"86400\" $se10>"._1DAY."</option>"
    ."<option name=\"xcache_unews\" value=\"172800\" $se11>"._2DAYS."</option>"
    ."<option name=\"xcache_unews\" value=\"259200\" $se12>"._3DAYS."</option>"
    ."<option name=\"xcache_unews\" value=\"345600\" $se13>"._4DAYS."</option>"
    ."<option name=\"xcache_unews\" value=\"432000\" $se14>"._5DAYS."</option>"
    ."<option name=\"xcache_unews\" value=\"516000\" $se15>"._6DAYS."</option>"
    ."<option name=\"xcache_unews\" value=\"604800\" $se16>"._1WEEK."</option>"
    ."<option name=\"xcache_unews\" value=\"1208000\" $se17>"._2WEEKS."</option>"
    ."<option name=\"xcache_unews\" value=\"1814400\" $se18>"._3WEEKS."</option>"
    ."<option name=\"xcache_unews\" value=\"2419200\" $se19>"._4WEEKS."</option>"
    ."</select>"
    ."</td>";
*/
echo "<td></td>";
$se0=$se1=$se2=$se3=$se4=$se5=$se6=$se7=$se8=$se9=$se10=$se11=$se12=$se13=$se14=$se15=$se16=$se17=$se18=$se19= "";
if (CACHE_ANEWS == 0) { $se0 = " selected"; }
elseif  (CACHE_ANEWS == 300) { $se1 = " selected"; }
elseif  (CACHE_ANEWS == 600) { $se2 = " selected"; }
elseif  (CACHE_ANEWS == 900) { $se3 = " selected"; }
elseif  (CACHE_ANEWS == 1800) { $se4 = " selected"; }
elseif  (CACHE_ANEWS == 3600) { $se5 = " selected"; }
elseif  (CACHE_ANEWS == 7200) { $se6 = " selected"; }
elseif  (CACHE_ANEWS == 10800) { $se7 = " selected"; }
elseif  (CACHE_ANEWS == 21600) { $se8 = " selected"; }
elseif  (CACHE_ANEWS == 43200) { $se9 = " selected"; }
elseif  (CACHE_ANEWS == 86400) { $se10 = " selected"; }
elseif  (CACHE_ANEWS == 172800) { $se11 = " selected"; }
elseif  (CACHE_ANEWS == 259200) { $se12 = " selected"; }
elseif  (CACHE_ANEWS == 345600) { $se13 = " selected"; }
elseif  (CACHE_ANEWS == 432000) { $se14 = " selected"; }
elseif  (CACHE_ANEWS == 516000) { $se15 = " selected"; }
elseif  (CACHE_ANEWS == 604800) { $se16 = " selected"; }
elseif  (CACHE_ANEWS == 1208000) { $se17 = " selected"; }
elseif  (CACHE_ANEWS == 1814400) { $se18 = " selected"; }
elseif  (CACHE_ANEWS == 2419200) { $se19 = " selected"; }
echo "<td align=\"center\">"
    ."<select name=\"anews\">"
    ."<option name=\"anews\" value=\"0\" $se0>"._NOCACHE."</option>"
    ."<option name=\"anews\" value=\"300\" $se1>"._5MINUTS."</option>"
    ."<option name=\"anews\" value=\"600\" $se2>"._10MINUTS."</option>"
    ."<option name=\"anews\" value=\"900\" $se3>"._15MINUTS."</option>"
    ."<option name=\"anews\" value=\"1800\" $se4>"._30MINUTS."</option>"
    ."<option name=\"anews\" value=\"3600\" $se5>"._1HOUR."</option>"
    ."<option name=\"anews\" value=\"7200\" $se6>"._2HOURS."</option>"
    ."<option name=\"anews\" value=\"10800\" $se7>"._3HOURS."</option>"
    ."<option name=\"anews\" value=\"21600\" $se8>"._6HOURS."</option>"
    ."<option name=\"anews\" value=\"43200\" $se9>"._12HOURS."</option>"
    ."<option name=\"anews\" value=\"86400\" $se10>"._1DAY."</option>"
    ."<option name=\"anews\" value=\"172800\" $se11>"._2DAYS."</option>"
    ."<option name=\"anews\" value=\"259200\" $se12>"._3DAYS."</option>"
    ."<option name=\"anews\" value=\"345600\" $se13>"._4DAYS."</option>"
    ."<option name=\"anews\" value=\"432000\" $se14>"._5DAYS."</option>"
    ."<option name=\"anews\" value=\"516000\" $se15>"._6DAYS."</option>"
    ."<option name=\"anews\" value=\"604800\" $se16>"._1WEEK."</option>"
    ."<option name=\"anews\" value=\"1208000\" $se17>"._2WEEKS."</option>"
    ."<option name=\"anews\" value=\"1814400\" $se18>"._3WEEKS."</option>"
    ."<option name=\"anews\" value=\"2419200\" $se19>"._4WEEKS."</option>"
    ."</select>"
    ."</td></tr>";


// article
$se0=$se1=$se2=$se3=$se4=$se5=$se6=$se7=$se8=$se9=$se10=$se11=$se12=$se13=$se14=$se15=$se16=$se17=$se18=$se19= "";
if (CACHE_VANEWS == 0) { $se0 = " selected"; }
elseif  (CACHE_VANEWS == 300) { $se1 = " selected"; }
elseif  (CACHE_VANEWS == 600) { $se2 = " selected"; }
elseif  (CACHE_VANEWS == 900) { $se3 = " selected"; }
elseif  (CACHE_VANEWS == 1800) { $se4 = " selected"; }
elseif  (CACHE_VANEWS == 3600) { $se5 = " selected"; }
elseif  (CACHE_VANEWS == 7200) { $se6 = " selected"; }
elseif  (CACHE_VANEWS == 10800) { $se7 = " selected"; }
elseif  (CACHE_VANEWS == 21600) { $se8 = " selected"; }
elseif  (CACHE_VANEWS == 43200) { $se9 = " selected"; }
elseif  (CACHE_VANEWS == 86400) { $se10 = " selected"; }
elseif  (CACHE_VANEWS == 172800) { $se11 = " selected"; }
elseif  (CACHE_VANEWS == 259200) { $se12 = " selected"; }
elseif  (CACHE_VANEWS == 345600) { $se13 = " selected"; }
elseif  (CACHE_VANEWS == 432000) { $se14 = " selected"; }
elseif  (CACHE_VANEWS == 516000) { $se15 = " selected"; }
elseif  (CACHE_VANEWS == 604800) { $se16 = " selected"; }
elseif  (CACHE_VANEWS == 1208000) { $se17 = " selected"; }
elseif  (CACHE_VANEWS == 1814400) { $se18 = " selected"; }
elseif  (CACHE_VANEWS == 2419200) { $se19 = " selected"; }



echo "<tr><td></td>"
    ."<td align=\"center\"><a href=\"modules.php?name=News&sid=1\">"._THEARTICLE."</a>"
    ."</td>"
    ."<td align=\"center\">"
    ."<select name=\"vanews\">"
    ."<option name=\"vanews\" value=\"0\" $se0>"._NOCACHE."</option>"
    ."<option name=\"vanews\" value=\"300\" $se1>"._5MINUTS."</option>"
    ."<option name=\"vanews\" value=\"600\" $se2>"._10MINUTS."</option>"
    ."<option name=\"vanews\" value=\"900\" $se3>"._15MINUTS."</option>"
    ."<option name=\"vanews\" value=\"1800\" $se4>"._30MINUTS."</option>"
    ."<option name=\"vanews\" value=\"3600\" $se5>"._1HOUR."</option>"
    ."<option name=\"vanews\" value=\"7200\" $se6>"._2HOURS."</option>"
    ."<option name=\"vanews\" value=\"10800\" $se7>"._3HOURS."</option>"
    ."<option name=\"vanews\" value=\"21600\" $se8>"._6HOURS."</option>"
    ."<option name=\"vanews\" value=\"43200\" $se9>"._12HOURS."</option>"
    ."<option name=\"vanews\" value=\"86400\" $se10>"._1DAY."</option>"
    ."<option name=\"vanews\" value=\"172800\" $se11>"._2DAYS."</option>"
    ."<option name=\"vanews\" value=\"259200\" $se12>"._3DAYS."</option>"
    ."<option name=\"vanews\" value=\"345600\" $se13>"._4DAYS."</option>"
    ."<option name=\"vanews\" value=\"432000\" $se14>"._5DAYS."</option>"
    ."<option name=\"vanews\" value=\"516000\" $se15>"._6DAYS."</option>"
    ."<option name=\"vanews\" value=\"604800\" $se16>"._1WEEK."</option>"
    ."<option name=\"vanews\" value=\"1208000\" $se17>"._2WEEKS."</option>"
    ."<option name=\"vanews\" value=\"1814400\" $se18>"._3WEEKS."</option>"
    ."<option name=\"vanews\" value=\"2419200\" $se19>"._4WEEKS."</option>"
    ."</select>"
    ."</td>";

/*
$se0=$se1=$se2=$se3=$se4=$se5=$se6=$se7=$se8=$se9=$se10=$se11=$se12=$se13=$se14=$se15=$se16=$se17=$se18=$se19= "";
if (CACHE_ANEWS == 0) { $se0 = " selected"; }
elseif  ($cache_uanews == 300) { $se1 = " selected"; }
elseif  ($cache_uanews == 600) { $se2 = " selected"; }
elseif  ($cache_uanews == 900) { $se3 = " selected"; }
elseif  ($cache_uanews == 1800) { $se4 = " selected"; }
elseif  ($cache_uanews == 3600) { $se5 = " selected"; }
elseif  ($cache_uanews == 7200) { $se6 = " selected"; }
elseif  ($cache_uanews == 10800) { $se7 = " selected"; }
elseif  ($cache_uanews == 21600) { $se8 = " selected"; }
elseif  ($cache_uanews == 43200) { $se9 = " selected"; }
elseif  ($cache_uanews == 86400) { $se10 = " selected"; }
elseif  ($cache_uanews == 172800) { $se11 = " selected"; }
elseif  ($cache_uanews == 259200) { $se12 = " selected"; }
elseif  ($cache_uanews == 345600) { $se13 = " selected"; }
elseif  ($cache_uanews == 432000) { $se14 = " selected"; }
elseif  ($cache_uanews == 516000) { $se15 = " selected"; }
elseif  ($cache_uanews == 604800) { $se16 = " selected"; }
elseif  ($cache_uanews == 1208000) { $se17 = " selected"; }
elseif  ($cache_uanews == 1814400) { $se18 = " selected"; }
elseif  ($cache_uanews == 2419200) { $se19 = " selected"; }


echo "<td align=\"center\">"
    ."<select name=\"xcache_uanews\">"
    ."<option name=\"xcache_uanews\" value=\"0\" $se0>"._NOCACHE."</option>"
    ."<option name=\"xcache_uanews\" value=\"300\" $se1>"._5MINUTS."</option>"
    ."<option name=\"xcache_uanews\" value=\"600\" $se2>"._10MINUTS."</option>"
    ."<option name=\"xcache_uanews\" value=\"900\" $se3>"._15MINUTS."</option>"
    ."<option name=\"xcache_uanews\" value=\"1800\" $se4>"._30MINUTS."</option>"
    ."<option name=\"xcache_uanews\" value=\"3600\" $se5>"._1HOUR."</option>"
    ."<option name=\"xcache_uanews\" value=\"7200\" $se6>"._2HOURS."</option>"
    ."<option name=\"xcache_uanews\" value=\"10800\" $se7>"._3HOURS."</option>"
    ."<option name=\"xcache_uanews\" value=\"21600\" $se8>"._6HOURS."</option>"
    ."<option name=\"xcache_uanews\" value=\"43200\" $se9>"._12HOURS."</option>"
    ."<option name=\"xcache_uanews\" value=\"86400\" $se10>"._1DAY."</option>"
    ."<option name=\"xcache_uanews\" value=\"172800\" $se11>"._2DAYS."</option>"
    ."<option name=\"xcache_uanews\" value=\"259200\" $se12>"._3DAYS."</option>"
    ."<option name=\"xcache_uanews\" value=\"345600\" $se13>"._4DAYS."</option>"
    ."<option name=\"xcache_uanews\" value=\"432000\" $se14>"._5DAYS."</option>"
    ."<option name=\"xcache_uanews\" value=\"516000\" $se15>"._6DAYS."</option>"
    ."<option name=\"xcache_uanews\" value=\"604800\" $se16>"._1WEEK."</option>"
    ."<option name=\"xcache_uanews\" value=\"1208000\" $se17>"._2WEEKS."</option>"
    ."<option name=\"xcache_uanews\" value=\"1814400\" $se18>"._3WEEKS."</option>"
    ."<option name=\"xcache_uanews\" value=\"2419200\" $se19>"._4WEEKS."</option>"
    ."</select>"
    ."</td>";
*/
echo "<td></td>";

$se0=$se1=$se2=$se3=$se4=$se5=$se6=$se7=$se8=$se9=$se10=$se11=$se12=$se13=$se14=$se15=$se16=$se17=$se18=$se19= "";
if (CACHE_AANEWS == 0) { $se0 = " selected"; }
elseif  (CACHE_AANEWS == 300) { $se1 = " selected"; }
elseif  (CACHE_AANEWS == 600) { $se2 = " selected"; }
elseif  (CACHE_AANEWS == 900) { $se3 = " selected"; }
elseif  (CACHE_AANEWS == 1800) { $se4 = " selected"; }
elseif  (CACHE_AANEWS == 3600) { $se5 = " selected"; }
elseif  (CACHE_AANEWS == 7200) { $se6 = " selected"; }
elseif  (CACHE_AANEWS == 10800) { $se7 = " selected"; }
elseif  (CACHE_AANEWS == 21600) { $se8 = " selected"; }
elseif  (CACHE_AANEWS == 43200) { $se9 = " selected"; }
elseif  (CACHE_AANEWS == 86400) { $se10 = " selected"; }
elseif  (CACHE_AANEWS == 172800) { $se11 = " selected"; }
elseif  (CACHE_AANEWS == 259200) { $se12 = " selected"; }
elseif  (CACHE_AANEWS == 345600) { $se13 = " selected"; }
elseif  (CACHE_AANEWS == 432000) { $se14 = " selected"; }
elseif  (CACHE_AANEWS == 516000) { $se15 = " selected"; }
elseif  (CACHE_AANEWS == 604800) { $se16 = " selected"; }
elseif  (CACHE_AANEWS == 1208000) { $se17 = " selected"; }
elseif  (CACHE_AANEWS == 1814400) { $se18 = " selected"; }
elseif  (CACHE_AANEWS == 2419200) { $se19 = " selected"; }
echo "<td align=\"center\">"
    ."<select name=\"aanews\">"
    ."<option name=\"aanews\" value=\"0\" $se0>"._NOCACHE."</option>"
    ."<option name=\"aanews\" value=\"300\" $se1>"._5MINUTS."</option>"
    ."<option name=\"aanews\" value=\"600\" $se2>"._10MINUTS."</option>"
    ."<option name=\"aanews\" value=\"900\" $se3>"._15MINUTS."</option>"
    ."<option name=\"aanews\" value=\"1800\" $se4>"._30MINUTS."</option>"
    ."<option name=\"aanews\" value=\"3600\" $se5>"._1HOUR."</option>"
    ."<option name=\"aanews\" value=\"7200\" $se6>"._2HOURS."</option>"
    ."<option name=\"aanews\" value=\"10800\" $se7>"._3HOURS."</option>"
    ."<option name=\"aanews\" value=\"21600\" $se8>"._6HOURS."</option>"
    ."<option name=\"aanews\" value=\"43200\" $se9>"._12HOURS."</option>"
    ."<option name=\"aanews\" value=\"86400\" $se10>"._1DAY."</option>"
    ."<option name=\"aanews\" value=\"172800\" $se11>"._2DAYS."</option>"
    ."<option name=\"aanews\" value=\"259200\" $se12>"._3DAYS."</option>"
    ."<option name=\"aanews\" value=\"345600\" $se13>"._4DAYS."</option>"
    ."<option name=\"aanews\" value=\"432000\" $se14>"._5DAYS."</option>"
    ."<option name=\"aanews\" value=\"516000\" $se15>"._6DAYS."</option>"
    ."<option name=\"aanews\" value=\"604800\" $se16>"._1WEEK."</option>"
    ."<option name=\"aanews\" value=\"1208000\" $se17>"._2WEEKS."</option>"
    ."<option name=\"aanews\" value=\"1814400\" $se18>"._3WEEKS."</option>"
    ."<option name=\"aanews\" value=\"2419200\" $se19>"._4WEEKS."</option>"
    ."</select>"
    ."</td></tr>";

}

// reviews
if ((is_active("Reviews")) && (file_exists("modules/Reviews/credits.php")) && (file_exists("modules/Reviews/copyright.php")) ){

//global CACHE_VREVIEWS, $cache_ureviews, $cache_areviews;

$se0=$se1=$se2=$se3=$se4=$se5=$se6=$se7=$se8=$se9=$se10=$se11=$se12=$se13=$se14=$se15=$se16=$se17=$se18=$se19= "";
if (CACHE_VREVIEWS == 0) { $se0 = " selected"; }
elseif  (CACHE_VREVIEWS == 300) { $se1 = " selected"; }
elseif  (CACHE_VREVIEWS == 600) { $se2 = " selected"; }
elseif  (CACHE_VREVIEWS == 900) { $se3 = " selected"; }
elseif  (CACHE_VREVIEWS == 1800) { $se4 = " selected"; }
elseif  (CACHE_VREVIEWS == 3600) { $se5 = " selected"; }
elseif  (CACHE_VREVIEWS == 7200) { $se6 = " selected"; }
elseif  (CACHE_VREVIEWS == 10800) { $se7 = " selected"; }
elseif  (CACHE_VREVIEWS == 21600) { $se8 = " selected"; }
elseif  (CACHE_VREVIEWS == 43200) { $se9 = " selected"; }
elseif  (CACHE_VREVIEWS == 86400) { $se10 = " selected"; }
elseif  (CACHE_VREVIEWS == 172800) { $se11 = " selected"; }
elseif  (CACHE_VREVIEWS == 259200) { $se12 = " selected"; }
elseif  (CACHE_VREVIEWS == 345600) { $se13 = " selected"; }
elseif  (CACHE_VREVIEWS == 432000) { $se14 = " selected"; }
elseif  (CACHE_VREVIEWS == 516000) { $se15 = " selected"; }
elseif  (CACHE_VREVIEWS == 604800) { $se16 = " selected"; }
elseif  (CACHE_VREVIEWS == 1208000) { $se17 = " selected"; }
elseif  (CACHE_VREVIEWS == 1814400) { $se18 = " selected"; }
elseif  (CACHE_VREVIEWS == 2419200) { $se19 = " selected"; }



echo "<tr><td height=\"15\"></td></tr>"
    ."<tr><td bgcolor=\"$bgcolor2\">&nbsp; Reviews "
    ."<td align=\"center\"><a href=\"modules.php?name=Reviews\">"._HOMEREVIEWS."</a>"
    ."</td>"
    ."<td align=\"center\">"
    ."<select name=\"vreviews\">"
    ."<option name=\"vreviews\" value=\"0\" $se0>"._NOCACHE."</option>"
    ."<option name=\"vreviews\" value=\"300\" $se1>"._5MINUTS."</option>"
    ."<option name=\"vreviews\" value=\"600\" $se2>"._10MINUTS."</option>"
    ."<option name=\"vreviews\" value=\"900\" $se3>"._15MINUTS."</option>"
    ."<option name=\"vreviews\" value=\"1800\" $se4>"._30MINUTS."</option>"
    ."<option name=\"vreviews\" value=\"3600\" $se5>"._1HOUR."</option>"
    ."<option name=\"vreviews\" value=\"7200\" $se6>"._2HOURS."</option>"
    ."<option name=\"vreviews\" value=\"10800\" $se7>"._3HOURS."</option>"
    ."<option name=\"vreviews\" value=\"21600\" $se8>"._6HOURS."</option>"
    ."<option name=\"vreviews\" value=\"43200\" $se9>"._12HOURS."</option>"
    ."<option name=\"vreviews\" value=\"86400\" $se10>"._1DAY."</option>"
    ."<option name=\"vreviews\" value=\"172800\" $se11>"._2DAYS."</option>"
    ."<option name=\"vreviews\" value=\"259200\" $se12>"._3DAYS."</option>"
    ."<option name=\"vreviews\" value=\"345600\" $se13>"._4DAYS."</option>"
    ."<option name=\"vreviews\" value=\"432000\" $se14>"._5DAYS."</option>"
    ."<option name=\"vreviews\" value=\"516000\" $se15>"._6DAYS."</option>"
    ."<option name=\"vreviews\" value=\"604800\" $se16>"._1WEEK."</option>"
    ."<option name=\"vreviews\" value=\"1208000\" $se17>"._2WEEKS."</option>"
    ."<option name=\"vreviews\" value=\"1814400\" $se18>"._3WEEKS."</option>"
    ."<option name=\"vreviews\" value=\"2419200\" $se19>"._4WEEKS."</option>"
    ."</select>"
    ."</td>";

/*
$se0=$se1=$se2=$se3=$se4=$se5=$se6=$se7=$se8=$se9=$se10=$se11=$se12=$se13=$se14=$se15=$se16=$se17=$se18=$se19= "";
if ($cache_ureviews == 0) { $se0 = " selected"; }
elseif  ($cache_ureviews == 300) { $se1 = " selected"; }
elseif  ($cache_ureviews == 600) { $se2 = " selected"; }
elseif  ($cache_ureviews == 900) { $se3 = " selected"; }
elseif  ($cache_ureviews == 1800) { $se4 = " selected"; }
elseif  ($cache_ureviews == 3600) { $se5 = " selected"; }
elseif  ($cache_ureviews == 7200) { $se6 = " selected"; }
elseif  ($cache_ureviews == 10800) { $se7 = " selected"; }
elseif  ($cache_ureviews == 21600) { $se8 = " selected"; }
elseif  ($cache_ureviews == 43200) { $se9 = " selected"; }
elseif  ($cache_ureviews == 86400) { $se10 = " selected"; }
elseif  ($cache_ureviews == 172800) { $se11 = " selected"; }
elseif  ($cache_ureviews == 259200) { $se12 = " selected"; }
elseif  ($cache_ureviews == 345600) { $se13 = " selected"; }
elseif  ($cache_ureviews == 432000) { $se14 = " selected"; }
elseif  ($cache_ureviews == 516000) { $se15 = " selected"; }
elseif  ($cache_ureviews == 604800) { $se16 = " selected"; }
elseif  ($cache_ureviews == 1208000) { $se17 = " selected"; }
elseif  ($cache_ureviews == 1814400) { $se18 = " selected"; }
elseif  ($cache_ureviews == 2419200) { $se19 = " selected"; }


echo "<td align=\"center\">"
    ."<select name=\"xcache_ureviews\">"
    ."<option name=\"xcache_ureviews\" value=\"0\" $se0>"._NOCACHE."</option>"
    ."<option name=\"xcache_ureviews\" value=\"300\" $se1>"._5MINUTS."</option>"
    ."<option name=\"xcache_ureviews\" value=\"600\" $se2>"._10MINUTS."</option>"
    ."<option name=\"xcache_ureviews\" value=\"900\" $se3>"._15MINUTS."</option>"
    ."<option name=\"xcache_ureviews\" value=\"1800\" $se4>"._30MINUTS."</option>"
    ."<option name=\"xcache_ureviews\" value=\"3600\" $se5>"._1HOUR."</option>"
    ."<option name=\"xcache_ureviews\" value=\"7200\" $se6>"._2HOURS."</option>"
    ."<option name=\"xcache_ureviews\" value=\"10800\" $se7>"._3HOURS."</option>"
    ."<option name=\"xcache_ureviews\" value=\"21600\" $se8>"._6HOURS."</option>"
    ."<option name=\"xcache_ureviews\" value=\"43200\" $se9>"._12HOURS."</option>"
    ."<option name=\"xcache_ureviews\" value=\"86400\" $se10>"._1DAY."</option>"
    ."<option name=\"xcache_ureviews\" value=\"172800\" $se11>"._2DAYS."</option>"
    ."<option name=\"xcache_ureviews\" value=\"259200\" $se12>"._3DAYS."</option>"
    ."<option name=\"xcache_ureviews\" value=\"345600\" $se13>"._4DAYS."</option>"
    ."<option name=\"xcache_ureviews\" value=\"432000\" $se14>"._5DAYS."</option>"
    ."<option name=\"xcache_ureviews\" value=\"516000\" $se15>"._6DAYS."</option>"
    ."<option name=\"xcache_ureviews\" value=\"604800\" $se16>"._1WEEK."</option>"
    ."<option name=\"xcache_ureviews\" value=\"1208000\" $se17>"._2WEEKS."</option>"
    ."<option name=\"xcache_ureviews\" value=\"1814400\" $se18>"._3WEEKS."</option>"
    ."<option name=\"xcache_ureviews\" value=\"2419200\" $se19>"._4WEEKS."</option>"
    ."</select>"
    ."</td>";

$se0=$se1=$se2=$se3=$se4=$se5=$se6=$se7=$se8=$se9=$se10=$se11=$se12=$se13=$se14=$se15=$se16=$se17=$se18=$se19= "";
if ($cache_areviews == 0) { $se0 = " selected"; }
elseif  ($cache_areviews == 300) { $se1 = " selected"; }
elseif  ($cache_areviews == 600) { $se2 = " selected"; }
elseif  ($cache_areviews == 900) { $se3 = " selected"; }
elseif  ($cache_areviews == 1800) { $se4 = " selected"; }
elseif  ($cache_areviews == 3600) { $se5 = " selected"; }
elseif  ($cache_areviews == 7200) { $se6 = " selected"; }
elseif  ($cache_areviews == 10800) { $se7 = " selected"; }
elseif  ($cache_areviews == 21600) { $se8 = " selected"; }
elseif  ($cache_areviews == 43200) { $se9 = " selected"; }
elseif  ($cache_areviews == 86400) { $se10 = " selected"; }
elseif  ($cache_areviews == 172800) { $se11 = " selected"; }
elseif  ($cache_areviews == 259200) { $se12 = " selected"; }
elseif  ($cache_areviews == 345600) { $se13 = " selected"; }
elseif  ($cache_areviews == 432000) { $se14 = " selected"; }
elseif  ($cache_areviews == 516000) { $se15 = " selected"; }
elseif  ($cache_areviews == 604800) { $se16 = " selected"; }
elseif  ($cache_areviews == 1208000) { $se17 = " selected"; }
elseif  ($cache_areviews == 1814400) { $se18 = " selected"; }
elseif  ($cache_areviews == 2419200) { $se19 = " selected"; }
echo "<td align=\"center\">"
    ."<select name=\"xcache_areviews\">"
    ."<option name=\"xcache_areviews\" value=\"0\" $se0>"._NOCACHE."</option>"
    ."<option name=\"xcache_areviews\" value=\"300\" $se1>"._5MINUTS."</option>"
    ."<option name=\"xcache_areviews\" value=\"600\" $se2>"._10MINUTS."</option>"
    ."<option name=\"xcache_areviews\" value=\"900\" $se3>"._15MINUTS."</option>"
    ."<option name=\"xcache_areviews\" value=\"1800\" $se4>"._30MINUTS."</option>"
    ."<option name=\"xcache_areviews\" value=\"3600\" $se5>"._1HOUR."</option>"
    ."<option name=\"xcache_areviews\" value=\"7200\" $se6>"._2HOURS."</option>"
    ."<option name=\"xcache_areviews\" value=\"10800\" $se7>"._3HOURS."</option>"
    ."<option name=\"xcache_areviews\" value=\"21600\" $se8>"._6HOURS."</option>"
    ."<option name=\"xcache_areviews\" value=\"43200\" $se9>"._12HOURS."</option>"
    ."<option name=\"xcache_areviews\" value=\"86400\" $se10>"._1DAY."</option>"
    ."<option name=\"xcache_areviews\" value=\"172800\" $se11>"._2DAYS."</option>"
    ."<option name=\"xcache_areviews\" value=\"259200\" $se12>"._3DAYS."</option>"
    ."<option name=\"xcache_areviews\" value=\"345600\" $se13>"._4DAYS."</option>"
    ."<option name=\"xcache_areviews\" value=\"432000\" $se14>"._5DAYS."</option>"
    ."<option name=\"xcache_areviews\" value=\"516000\" $se15>"._6DAYS."</option>"
    ."<option name=\"xcache_areviews\" value=\"604800\" $se16>"._1WEEK."</option>"
    ."<option name=\"xcache_areviews\" value=\"1208000\" $se17>"._2WEEKS."</option>"
    ."<option name=\"xcache_areviews\" value=\"1814400\" $se18>"._3WEEKS."</option>"
    ."<option name=\"xcache_areviews\" value=\"2419200\" $se19>"._4WEEKS."</option>"
    ."</select>"
    ."</td></tr>";*/

echo     "<td></td><td></td></tr>";
}

// sections
if ((is_active("Sections")) && (file_exists("modules/Sections/credits.php")) && (file_exists("modules/Sections/copyright.php")) ){

//global CACHE_VSECTIONS, CACHE_USECTIONS, CACHE_ASECTIONS;

$se0=$se1=$se2=$se3=$se4=$se5=$se6=$se7=$se8=$se9=$se10=$se11=$se12=$se13=$se14=$se15=$se16=$se17=$se18=$se19= "";
if (CACHE_VSECTIONS == 0) { $se0 = " selected"; }
elseif  (CACHE_VSECTIONS == 300) { $se1 = " selected"; }
elseif  (CACHE_VSECTIONS == 600) { $se2 = " selected"; }
elseif  (CACHE_VSECTIONS == 900) { $se3 = " selected"; }
elseif  (CACHE_VSECTIONS == 1800) { $se4 = " selected"; }
elseif  (CACHE_VSECTIONS == 3600) { $se5 = " selected"; }
elseif  (CACHE_VSECTIONS == 7200) { $se6 = " selected"; }
elseif  (CACHE_VSECTIONS == 10800) { $se7 = " selected"; }
elseif  (CACHE_VSECTIONS == 21600) { $se8 = " selected"; }
elseif  (CACHE_VSECTIONS == 43200) { $se9 = " selected"; }
elseif  (CACHE_VSECTIONS == 86400) { $se10 = " selected"; }
elseif  (CACHE_VSECTIONS == 172800) { $se11 = " selected"; }
elseif  (CACHE_VSECTIONS == 259200) { $se12 = " selected"; }
elseif  (CACHE_VSECTIONS == 345600) { $se13 = " selected"; }
elseif  (CACHE_VSECTIONS == 432000) { $se14 = " selected"; }
elseif  (CACHE_VSECTIONS == 516000) { $se15 = " selected"; }
elseif  (CACHE_VSECTIONS == 604800) { $se16 = " selected"; }
elseif  (CACHE_VSECTIONS == 1208000) { $se17 = " selected"; }
elseif  (CACHE_VSECTIONS == 1814400) { $se18 = " selected"; }
elseif  (CACHE_VSECTIONS == 2419200) { $se19 = " selected"; }



echo "<tr><td height=\"15\"></td></tr>"
    ."<tr><td bgcolor=\"$bgcolor2\">&nbsp; Sections "
    ."<td align=\"center\"><a href=\"modules.php?name=Sections\">"._HOMESECTIONS."</a>"
    ."</td>"
    ."<td align=\"center\">"
    ."<select name=\"vsections\">"
    ."<option name=\"vsections\" value=\"0\" $se0>"._NOCACHE."</option>"
    ."<option name=\"vsections\" value=\"300\" $se1>"._5MINUTS."</option>"
    ."<option name=\"vsections\" value=\"600\" $se2>"._10MINUTS."</option>"
    ."<option name=\"vsections\" value=\"900\" $se3>"._15MINUTS."</option>"
    ."<option name=\"vsections\" value=\"1800\" $se4>"._30MINUTS."</option>"
    ."<option name=\"vsections\" value=\"3600\" $se5>"._1HOUR."</option>"
    ."<option name=\"vsections\" value=\"7200\" $se6>"._2HOURS."</option>"
    ."<option name=\"vsections\" value=\"10800\" $se7>"._3HOURS."</option>"
    ."<option name=\"vsections\" value=\"21600\" $se8>"._6HOURS."</option>"
    ."<option name=\"vsections\" value=\"43200\" $se9>"._12HOURS."</option>"
    ."<option name=\"vsections\" value=\"86400\" $se10>"._1DAY."</option>"
    ."<option name=\"vsections\" value=\"172800\" $se11>"._2DAYS."</option>"
    ."<option name=\"vsections\" value=\"259200\" $se12>"._3DAYS."</option>"
    ."<option name=\"vsections\" value=\"345600\" $se13>"._4DAYS."</option>"
    ."<option name=\"vsections\" value=\"432000\" $se14>"._5DAYS."</option>"
    ."<option name=\"vsections\" value=\"516000\" $se15>"._6DAYS."</option>"
    ."<option name=\"vsections\" value=\"604800\" $se16>"._1WEEK."</option>"
    ."<option name=\"vsections\" value=\"1208000\" $se17>"._2WEEKS."</option>"
    ."<option name=\"vsections\" value=\"1814400\" $se18>"._3WEEKS."</option>"
    ."<option name=\"vsections\" value=\"2419200\" $se19>"._4WEEKS."</option>"
    ."</select>"
    ."</td>";


$se0=$se1=$se2=$se3=$se4=$se5=$se6=$se7=$se8=$se9=$se10=$se11=$se12=$se13=$se14=$se15=$se16=$se17=$se18=$se19= "";
if (CACHE_USECTIONS == 0) { $se0 = " selected"; }
elseif  (CACHE_USECTIONS == 300) { $se1 = " selected"; }
elseif  (CACHE_USECTIONS == 600) { $se2 = " selected"; }
elseif  (CACHE_USECTIONS == 900) { $se3 = " selected"; }
elseif  (CACHE_USECTIONS == 1800) { $se4 = " selected"; }
elseif  (CACHE_USECTIONS == 3600) { $se5 = " selected"; }
elseif  (CACHE_USECTIONS == 7200) { $se6 = " selected"; }
elseif  (CACHE_USECTIONS == 10800) { $se7 = " selected"; }
elseif  (CACHE_USECTIONS == 21600) { $se8 = " selected"; }
elseif  (CACHE_USECTIONS == 43200) { $se9 = " selected"; }
elseif  (CACHE_USECTIONS == 86400) { $se10 = " selected"; }
elseif  (CACHE_USECTIONS == 172800) { $se11 = " selected"; }
elseif  (CACHE_USECTIONS == 259200) { $se12 = " selected"; }
elseif  (CACHE_USECTIONS == 345600) { $se13 = " selected"; }
elseif  (CACHE_USECTIONS == 432000) { $se14 = " selected"; }
elseif  (CACHE_USECTIONS == 516000) { $se15 = " selected"; }
elseif  (CACHE_USECTIONS == 604800) { $se16 = " selected"; }
elseif  (CACHE_USECTIONS == 1208000) { $se17 = " selected"; }
elseif  (CACHE_USECTIONS == 1814400) { $se18 = " selected"; }
elseif  (CACHE_USECTIONS == 2419200) { $se19 = " selected"; }


echo "<td align=\"center\">"
    ."<select name=\"usections\">"
    ."<option name=\"usections\" value=\"0\" $se0>"._NOCACHE."</option>"
    ."<option name=\"usections\" value=\"300\" $se1>"._5MINUTS."</option>"
    ."<option name=\"usections\" value=\"600\" $se2>"._10MINUTS."</option>"
    ."<option name=\"usections\" value=\"900\" $se3>"._15MINUTS."</option>"
    ."<option name=\"usections\" value=\"1800\" $se4>"._30MINUTS."</option>"
    ."<option name=\"usections\" value=\"3600\" $se5>"._1HOUR."</option>"
    ."<option name=\"usections\" value=\"7200\" $se6>"._2HOURS."</option>"
    ."<option name=\"usections\" value=\"10800\" $se7>"._3HOURS."</option>"
    ."<option name=\"usections\" value=\"21600\" $se8>"._6HOURS."</option>"
    ."<option name=\"usections\" value=\"43200\" $se9>"._12HOURS."</option>"
    ."<option name=\"usections\" value=\"86400\" $se10>"._1DAY."</option>"
    ."<option name=\"usections\" value=\"172800\" $se11>"._2DAYS."</option>"
    ."<option name=\"usections\" value=\"259200\" $se12>"._3DAYS."</option>"
    ."<option name=\"usections\" value=\"345600\" $se13>"._4DAYS."</option>"
    ."<option name=\"usections\" value=\"432000\" $se14>"._5DAYS."</option>"
    ."<option name=\"usections\" value=\"516000\" $se15>"._6DAYS."</option>"
    ."<option name=\"usections\" value=\"604800\" $se16>"._1WEEK."</option>"
    ."<option name=\"usections\" value=\"1208000\" $se17>"._2WEEKS."</option>"
    ."<option name=\"usections\" value=\"1814400\" $se18>"._3WEEKS."</option>"
    ."<option name=\"usections\" value=\"2419200\" $se19>"._4WEEKS."</option>"
    ."</select>"
    ."</td>";

$se0=$se1=$se2=$se3=$se4=$se5=$se6=$se7=$se8=$se9=$se10=$se11=$se12=$se13=$se14=$se15=$se16=$se17=$se18=$se19= "";
if (CACHE_ASECTIONS == 0) { $se0 = " selected"; }
elseif  (CACHE_ASECTIONS == 300) { $se1 = " selected"; }
elseif  (CACHE_ASECTIONS == 600) { $se2 = " selected"; }
elseif  (CACHE_ASECTIONS == 900) { $se3 = " selected"; }
elseif  (CACHE_ASECTIONS == 1800) { $se4 = " selected"; }
elseif  (CACHE_ASECTIONS == 3600) { $se5 = " selected"; }
elseif  (CACHE_ASECTIONS == 7200) { $se6 = " selected"; }
elseif  (CACHE_ASECTIONS == 10800) { $se7 = " selected"; }
elseif  (CACHE_ASECTIONS == 21600) { $se8 = " selected"; }
elseif  (CACHE_ASECTIONS == 43200) { $se9 = " selected"; }
elseif  (CACHE_ASECTIONS == 86400) { $se10 = " selected"; }
elseif  (CACHE_ASECTIONS == 172800) { $se11 = " selected"; }
elseif  (CACHE_ASECTIONS == 259200) { $se12 = " selected"; }
elseif  (CACHE_ASECTIONS == 345600) { $se13 = " selected"; }
elseif  (CACHE_ASECTIONS == 432000) { $se14 = " selected"; }
elseif  (CACHE_ASECTIONS == 516000) { $se15 = " selected"; }
elseif  (CACHE_ASECTIONS == 604800) { $se16 = " selected"; }
elseif  (CACHE_ASECTIONS == 1208000) { $se17 = " selected"; }
elseif  (CACHE_ASECTIONS == 1814400) { $se18 = " selected"; }
elseif  (CACHE_ASECTIONS == 2419200) { $se19 = " selected"; }
echo "<td align=\"center\">"
    ."<select name=\"asections\">"
    ."<option name=\"asections\" value=\"0\" $se0>"._NOCACHE."</option>"
    ."<option name=\"asections\" value=\"300\" $se1>"._5MINUTS."</option>"
    ."<option name=\"asections\" value=\"600\" $se2>"._10MINUTS."</option>"
    ."<option name=\"asections\" value=\"900\" $se3>"._15MINUTS."</option>"
    ."<option name=\"asections\" value=\"1800\" $se4>"._30MINUTS."</option>"
    ."<option name=\"asections\" value=\"3600\" $se5>"._1HOUR."</option>"
    ."<option name=\"asections\" value=\"7200\" $se6>"._2HOURS."</option>"
    ."<option name=\"asections\" value=\"10800\" $se7>"._3HOURS."</option>"
    ."<option name=\"asections\" value=\"21600\" $se8>"._6HOURS."</option>"
    ."<option name=\"asections\" value=\"43200\" $se9>"._12HOURS."</option>"
    ."<option name=\"asections\" value=\"86400\" $se10>"._1DAY."</option>"
    ."<option name=\"asections\" value=\"172800\" $se11>"._2DAYS."</option>"
    ."<option name=\"asections\" value=\"259200\" $se12>"._3DAYS."</option>"
    ."<option name=\"asections\" value=\"345600\" $se13>"._4DAYS."</option>"
    ."<option name=\"asections\" value=\"432000\" $se14>"._5DAYS."</option>"
    ."<option name=\"asections\" value=\"516000\" $se15>"._6DAYS."</option>"
    ."<option name=\"asections\" value=\"604800\" $se16>"._1WEEK."</option>"
    ."<option name=\"asections\" value=\"1208000\" $se17>"._2WEEKS."</option>"
    ."<option name=\"asections\" value=\"1814400\" $se18>"._3WEEKS."</option>"
    ."<option name=\"asections\" value=\"2419200\" $se19>"._4WEEKS."</option>"
    ."</select>"
    ."</td></tr>";
}

// Archives
if ((is_active("Stories_Archive")) && (file_exists("modules/Stories_Archive/credits.php"))){

//global CACHE_VARCHIVES, $cache_uarchives, $cache_aarchives, CACHE_VARCHIVES1, $cache_uarchives1, $cache_aarchives1, CACHE_VARCHIVES2, $cache_uarchives2, $cache_aarchives2;

$se0=$se1=$se2=$se3=$se4=$se5=$se6=$se7=$se8=$se9=$se10=$se11=$se12=$se13=$se14=$se15=$se16=$se17=$se18=$se19= "";
if (CACHE_VARCHIVES == 0) { $se0 = " selected"; }
elseif  (CACHE_VARCHIVES == 300) { $se1 = " selected"; }
elseif  (CACHE_VARCHIVES == 600) { $se2 = " selected"; }
elseif  (CACHE_VARCHIVES == 900) { $se3 = " selected"; }
elseif  (CACHE_VARCHIVES == 1800) { $se4 = " selected"; }
elseif  (CACHE_VARCHIVES == 3600) { $se5 = " selected"; }
elseif  (CACHE_VARCHIVES == 7200) { $se6 = " selected"; }
elseif  (CACHE_VARCHIVES == 10800) { $se7 = " selected"; }
elseif  (CACHE_VARCHIVES == 21600) { $se8 = " selected"; }
elseif  (CACHE_VARCHIVES == 43200) { $se9 = " selected"; }
elseif  (CACHE_VARCHIVES == 86400) { $se10 = " selected"; }
elseif  (CACHE_VARCHIVES == 172800) { $se11 = " selected"; }
elseif  (CACHE_VARCHIVES == 259200) { $se12 = " selected"; }
elseif  (CACHE_VARCHIVES == 345600) { $se13 = " selected"; }
elseif  (CACHE_VARCHIVES == 432000) { $se14 = " selected"; }
elseif  (CACHE_VARCHIVES == 516000) { $se15 = " selected"; }
elseif  (CACHE_VARCHIVES == 604800) { $se16 = " selected"; }
elseif  (CACHE_VARCHIVES == 1208000) { $se17 = " selected"; }
elseif  (CACHE_VARCHIVES == 1814400) { $se18 = " selected"; }
elseif  (CACHE_VARCHIVES == 2419200) { $se19 = " selected"; }



echo "<tr><td height=\"15\"></td></tr>"
    ."<tr><td bgcolor=\"$bgcolor2\">&nbsp; Stories Archive"
    ."<td align=\"center\"><a href=\"modules.php?name=Stories_Archive\">"._HOMESTORIESARCHIVES."</a>"
    ."</td>"
    ."<td align=\"center\">"
    ."<select name=\"varchives\">"
    ."<option name=\"varchives\" value=\"0\" $se0>"._NOCACHE."</option>"
    ."<option name=\"varchives\" value=\"300\" $se1>"._5MINUTS."</option>"
    ."<option name=\"varchives\" value=\"600\" $se2>"._10MINUTS."</option>"
    ."<option name=\"varchives\" value=\"900\" $se3>"._15MINUTS."</option>"
    ."<option name=\"varchives\" value=\"1800\" $se4>"._30MINUTS."</option>"
    ."<option name=\"varchives\" value=\"3600\" $se5>"._1HOUR."</option>"
    ."<option name=\"varchives\" value=\"7200\" $se6>"._2HOURS."</option>"
    ."<option name=\"varchives\" value=\"10800\" $se7>"._3HOURS."</option>"
    ."<option name=\"varchives\" value=\"21600\" $se8>"._6HOURS."</option>"
    ."<option name=\"varchives\" value=\"43200\" $se9>"._12HOURS."</option>"
    ."<option name=\"varchives\" value=\"86400\" $se10>"._1DAY."</option>"
    ."<option name=\"varchives\" value=\"172800\" $se11>"._2DAYS."</option>"
    ."<option name=\"varchives\" value=\"259200\" $se12>"._3DAYS."</option>"
    ."<option name=\"varchives\" value=\"345600\" $se13>"._4DAYS."</option>"
    ."<option name=\"varchives\" value=\"432000\" $se14>"._5DAYS."</option>"
    ."<option name=\"varchives\" value=\"516000\" $se15>"._6DAYS."</option>"
    ."<option name=\"varchives\" value=\"604800\" $se16>"._1WEEK."</option>"
    ."<option name=\"varchives\" value=\"1208000\" $se17>"._2WEEKS."</option>"
    ."<option name=\"varchives\" value=\"1814400\" $se18>"._3WEEKS."</option>"
    ."<option name=\"varchives\" value=\"2419200\" $se19>"._4WEEKS."</option>"
    ."</select>"
    ."</td>";

/*
$se0=$se1=$se2=$se3=$se4=$se5=$se6=$se7=$se8=$se9=$se10=$se11=$se12=$se13=$se14=$se15=$se16=$se17=$se18=$se19= "";
if ($cache_uarchives == 0) { $se0 = " selected"; }
elseif  ($cache_uarchives == 300) { $se1 = " selected"; }
elseif  ($cache_uarchives == 600) { $se2 = " selected"; }
elseif  ($cache_uarchives == 900) { $se3 = " selected"; }
elseif  ($cache_uarchives == 1800) { $se4 = " selected"; }
elseif  ($cache_uarchives == 3600) { $se5 = " selected"; }
elseif  ($cache_uarchives == 7200) { $se6 = " selected"; }
elseif  ($cache_uarchives == 10800) { $se7 = " selected"; }
elseif  ($cache_uarchives == 21600) { $se8 = " selected"; }
elseif  ($cache_uarchives == 43200) { $se9 = " selected"; }
elseif  ($cache_uarchives == 86400) { $se10 = " selected"; }
elseif  ($cache_uarchives == 172800) { $se11 = " selected"; }
elseif  ($cache_uarchives == 259200) { $se12 = " selected"; }
elseif  ($cache_uarchives == 345600) { $se13 = " selected"; }
elseif  ($cache_uarchives == 432000) { $se14 = " selected"; }
elseif  ($cache_uarchives == 516000) { $se15 = " selected"; }
elseif  ($cache_uarchives == 604800) { $se16 = " selected"; }
elseif  ($cache_uarchives == 1208000) { $se17 = " selected"; }
elseif  ($cache_uarchives == 1814400) { $se18 = " selected"; }
elseif  ($cache_uarchives == 2419200) { $se19 = " selected"; }


echo "<td align=\"center\">"
    ."<select name=\"xcache_uarchives\">"
    ."<option name=\"xcache_uarchives\" value=\"0\" $se0>"._NOCACHE."</option>"
    ."<option name=\"xcache_uarchives\" value=\"300\" $se1>"._5MINUTS."</option>"
    ."<option name=\"xcache_uarchives\" value=\"600\" $se2>"._10MINUTS."</option>"
    ."<option name=\"xcache_uarchives\" value=\"900\" $se3>"._15MINUTS."</option>"
    ."<option name=\"xcache_uarchives\" value=\"1800\" $se4>"._30MINUTS."</option>"
    ."<option name=\"xcache_uarchives\" value=\"3600\" $se5>"._1HOUR."</option>"
    ."<option name=\"xcache_uarchives\" value=\"7200\" $se6>"._2HOURS."</option>"
    ."<option name=\"xcache_uarchives\" value=\"10800\" $se7>"._3HOURS."</option>"
    ."<option name=\"xcache_uarchives\" value=\"21600\" $se8>"._6HOURS."</option>"
    ."<option name=\"xcache_uarchives\" value=\"43200\" $se9>"._12HOURS."</option>"
    ."<option name=\"xcache_uarchives\" value=\"86400\" $se10>"._1DAY."</option>"
    ."<option name=\"xcache_uarchives\" value=\"172800\" $se11>"._2DAYS."</option>"
    ."<option name=\"xcache_uarchives\" value=\"259200\" $se12>"._3DAYS."</option>"
    ."<option name=\"xcache_uarchives\" value=\"345600\" $se13>"._4DAYS."</option>"
    ."<option name=\"xcache_uarchives\" value=\"432000\" $se14>"._5DAYS."</option>"
    ."<option name=\"xcache_uarchives\" value=\"516000\" $se15>"._6DAYS."</option>"
    ."<option name=\"xcache_uarchives\" value=\"604800\" $se16>"._1WEEK."</option>"
    ."<option name=\"xcache_uarchives\" value=\"1208000\" $se17>"._2WEEKS."</option>"
    ."<option name=\"xcache_uarchives\" value=\"1814400\" $se18>"._3WEEKS."</option>"
    ."<option name=\"xcache_uarchives\" value=\"2419200\" $se19>"._4WEEKS."</option>"
    ."</select>"
    ."</td>";

$se0=$se1=$se2=$se3=$se4=$se5=$se6=$se7=$se8=$se9=$se10=$se11=$se12=$se13=$se14=$se15=$se16=$se17=$se18=$se19= "";
if ($cache_aarchives == 0) { $se0 = " selected"; }
elseif  ($cache_aarchives == 300) { $se1 = " selected"; }
elseif  ($cache_aarchives == 600) { $se2 = " selected"; }
elseif  ($cache_aarchives == 900) { $se3 = " selected"; }
elseif  ($cache_aarchives == 1800) { $se4 = " selected"; }
elseif  ($cache_aarchives == 3600) { $se5 = " selected"; }
elseif  ($cache_aarchives == 7200) { $se6 = " selected"; }
elseif  ($cache_aarchives == 10800) { $se7 = " selected"; }
elseif  ($cache_aarchives == 21600) { $se8 = " selected"; }
elseif  ($cache_aarchives == 43200) { $se9 = " selected"; }
elseif  ($cache_aarchives == 86400) { $se10 = " selected"; }
elseif  ($cache_aarchives == 172800) { $se11 = " selected"; }
elseif  ($cache_aarchives == 259200) { $se12 = " selected"; }
elseif  ($cache_aarchives == 345600) { $se13 = " selected"; }
elseif  ($cache_aarchives == 432000) { $se14 = " selected"; }
elseif  ($cache_aarchives == 516000) { $se15 = " selected"; }
elseif  ($cache_aarchives == 604800) { $se16 = " selected"; }
elseif  ($cache_aarchives == 1208000) { $se17 = " selected"; }
elseif  ($cache_aarchives == 1814400) { $se18 = " selected"; }
elseif  ($cache_aarchives == 2419200) { $se19 = " selected"; }
echo "<td align=\"center\">"
    ."<select name=\"xcache_aarchives\">"
    ."<option name=\"xcache_aarchives\" value=\"0\" $se0>"._NOCACHE."</option>"
    ."<option name=\"xcache_aarchives\" value=\"300\" $se1>"._5MINUTS."</option>"
    ."<option name=\"xcache_aarchives\" value=\"600\" $se2>"._10MINUTS."</option>"
    ."<option name=\"xcache_aarchives\" value=\"900\" $se3>"._15MINUTS."</option>"
    ."<option name=\"xcache_aarchives\" value=\"1800\" $se4>"._30MINUTS."</option>"
    ."<option name=\"xcache_aarchives\" value=\"3600\" $se5>"._1HOUR."</option>"
    ."<option name=\"xcache_aarchives\" value=\"7200\" $se6>"._2HOURS."</option>"
    ."<option name=\"xcache_aarchives\" value=\"10800\" $se7>"._3HOURS."</option>"
    ."<option name=\"xcache_aarchives\" value=\"21600\" $se8>"._6HOURS."</option>"
    ."<option name=\"xcache_aarchives\" value=\"43200\" $se9>"._12HOURS."</option>"
    ."<option name=\"xcache_aarchives\" value=\"86400\" $se10>"._1DAY."</option>"
    ."<option name=\"xcache_aarchives\" value=\"172800\" $se11>"._2DAYS."</option>"
    ."<option name=\"xcache_aarchives\" value=\"259200\" $se12>"._3DAYS."</option>"
    ."<option name=\"xcache_aarchives\" value=\"345600\" $se13>"._4DAYS."</option>"
    ."<option name=\"xcache_aarchives\" value=\"432000\" $se14>"._5DAYS."</option>"
    ."<option name=\"xcache_aarchives\" value=\"516000\" $se15>"._6DAYS."</option>"
    ."<option name=\"xcache_aarchives\" value=\"604800\" $se16>"._1WEEK."</option>"
    ."<option name=\"xcache_aarchives\" value=\"1208000\" $se17>"._2WEEKS."</option>"
    ."<option name=\"xcache_aarchives\" value=\"1814400\" $se18>"._3WEEKS."</option>"
    ."<option name=\"xcache_aarchives\" value=\"2419200\" $se19>"._4WEEKS."</option>"
    ."</select>"
    ."</td></tr>";
*/
echo "<td></td><td></td></tr>";

$se0=$se1=$se2=$se3=$se4=$se5=$se6=$se7=$se8=$se9=$se10=$se11=$se12=$se13=$se14=$se15=$se16=$se17=$se18=$se19= "";
if (CACHE_VARCHIVES1 == 0) { $se0 = " selected"; }
elseif  (CACHE_VARCHIVES1 == 300) { $se1 = " selected"; }
elseif  (CACHE_VARCHIVES1 == 600) { $se2 = " selected"; }
elseif  (CACHE_VARCHIVES1 == 900) { $se3 = " selected"; }
elseif  (CACHE_VARCHIVES1 == 1800) { $se4 = " selected"; }
elseif  (CACHE_VARCHIVES1 == 3600) { $se5 = " selected"; }
elseif  (CACHE_VARCHIVES1 == 7200) { $se6 = " selected"; }
elseif  (CACHE_VARCHIVES1 == 10800) { $se7 = " selected"; }
elseif  (CACHE_VARCHIVES1 == 21600) { $se8 = " selected"; }
elseif  (CACHE_VARCHIVES1 == 43200) { $se9 = " selected"; }
elseif  (CACHE_VARCHIVES1 == 86400) { $se10 = " selected"; }
elseif  (CACHE_VARCHIVES1 == 172800) { $se11 = " selected"; }
elseif  (CACHE_VARCHIVES1 == 259200) { $se12 = " selected"; }
elseif  (CACHE_VARCHIVES1 == 345600) { $se13 = " selected"; }
elseif  (CACHE_VARCHIVES1 == 432000) { $se14 = " selected"; }
elseif  (CACHE_VARCHIVES1 == 516000) { $se15 = " selected"; }
elseif  (CACHE_VARCHIVES1 == 604800) { $se16 = " selected"; }
elseif  (CACHE_VARCHIVES1 == 1208000) { $se17 = " selected"; }
elseif  (CACHE_VARCHIVES1 == 1814400) { $se18 = " selected"; }
elseif  (CACHE_VARCHIVES1 == 2419200) { $se19 = " selected"; }

echo "<td></td><td align=\"center\"><FONT SIZE=\"1\">"._SHOWMONTH."</FONT>"
    ."</td>"
    ."<td align=\"center\">"
    ."<select name=\"varchives1\">"
    ."<option name=\"varchives1\" value=\"0\" $se0>"._NOCACHE."</option>"
    ."<option name=\"varchives1\" value=\"300\" $se1>"._5MINUTS."</option>"
    ."<option name=\"varchives1\" value=\"600\" $se2>"._10MINUTS."</option>"
    ."<option name=\"varchives1\" value=\"900\" $se3>"._15MINUTS."</option>"
    ."<option name=\"varchives1\" value=\"1800\" $se4>"._30MINUTS."</option>"
    ."<option name=\"varchives1\" value=\"3600\" $se5>"._1HOUR."</option>"
    ."<option name=\"varchives1\" value=\"7200\" $se6>"._2HOURS."</option>"
    ."<option name=\"varchives1\" value=\"10800\" $se7>"._3HOURS."</option>"
    ."<option name=\"varchives1\" value=\"21600\" $se8>"._6HOURS."</option>"
    ."<option name=\"varchives1\" value=\"43200\" $se9>"._12HOURS."</option>"
    ."<option name=\"varchives1\" value=\"86400\" $se10>"._1DAY."</option>"
    ."<option name=\"varchives1\" value=\"172800\" $se11>"._2DAYS."</option>"
    ."<option name=\"varchives1\" value=\"259200\" $se12>"._3DAYS."</option>"
    ."<option name=\"varchives1\" value=\"345600\" $se13>"._4DAYS."</option>"
    ."<option name=\"varchives1\" value=\"432000\" $se14>"._5DAYS."</option>"
    ."<option name=\"varchives1\" value=\"516000\" $se15>"._6DAYS."</option>"
    ."<option name=\"varchives1\" value=\"604800\" $se16>"._1WEEK."</option>"
    ."<option name=\"varchives1\" value=\"1208000\" $se17>"._2WEEKS."</option>"
    ."<option name=\"varchives1\" value=\"1814400\" $se18>"._3WEEKS."</option>"
    ."<option name=\"varchives1\" value=\"2419200\" $se19>"._4WEEKS."</option>"
    ."</select>"
    ."</td>";
/*

$se0=$se1=$se2=$se3=$se4=$se5=$se6=$se7=$se8=$se9=$se10=$se11=$se12=$se13=$se14=$se15=$se16=$se17=$se18=$se19= "";
if ($cache_uarchives1 == 0) { $se0 = " selected"; }
elseif  ($cache_uarchives1 == 300) { $se1 = " selected"; }
elseif  ($cache_uarchives1 == 600) { $se2 = " selected"; }
elseif  ($cache_uarchives1 == 900) { $se3 = " selected"; }
elseif  ($cache_uarchives1 == 1800) { $se4 = " selected"; }
elseif  ($cache_uarchives1 == 3600) { $se5 = " selected"; }
elseif  ($cache_uarchives1 == 7200) { $se6 = " selected"; }
elseif  ($cache_uarchives1 == 10800) { $se7 = " selected"; }
elseif  ($cache_uarchives1 == 21600) { $se8 = " selected"; }
elseif  ($cache_uarchives1 == 43200) { $se9 = " selected"; }
elseif  ($cache_uarchives1 == 86400) { $se10 = " selected"; }
elseif  ($cache_uarchives1 == 172800) { $se11 = " selected"; }
elseif  ($cache_uarchives1 == 259200) { $se12 = " selected"; }
elseif  ($cache_uarchives1 == 345600) { $se13 = " selected"; }
elseif  ($cache_uarchives1 == 432000) { $se14 = " selected"; }
elseif  ($cache_uarchives1 == 516000) { $se15 = " selected"; }
elseif  ($cache_uarchives1 == 604800) { $se16 = " selected"; }
elseif  ($cache_uarchives1 == 1208000) { $se17 = " selected"; }
elseif  ($cache_uarchives1 == 1814400) { $se18 = " selected"; }
elseif  ($cache_uarchives1 == 2419200) { $se19 = " selected"; }


echo "<td align=\"center\">"
    ."<select name=\"xcache_uarchives1\">"
    ."<option name=\"xcache_uarchives1\" value=\"0\" $se0>"._NOCACHE."</option>"
    ."<option name=\"xcache_uarchives1\" value=\"300\" $se1>"._5MINUTS."</option>"
    ."<option name=\"xcache_uarchives1\" value=\"600\" $se2>"._10MINUTS."</option>"
    ."<option name=\"xcache_uarchives1\" value=\"900\" $se3>"._15MINUTS."</option>"
    ."<option name=\"xcache_uarchives1\" value=\"1800\" $se4>"._30MINUTS."</option>"
    ."<option name=\"xcache_uarchives1\" value=\"3600\" $se5>"._1HOUR."</option>"
    ."<option name=\"xcache_uarchives1\" value=\"7200\" $se6>"._2HOURS."</option>"
    ."<option name=\"xcache_uarchives1\" value=\"10800\" $se7>"._3HOURS."</option>"
    ."<option name=\"xcache_uarchives1\" value=\"21600\" $se8>"._6HOURS."</option>"
    ."<option name=\"xcache_uarchives1\" value=\"43200\" $se9>"._12HOURS."</option>"
    ."<option name=\"xcache_uarchives1\" value=\"86400\" $se10>"._1DAY."</option>"
    ."<option name=\"xcache_uarchives1\" value=\"172800\" $se11>"._2DAYS."</option>"
    ."<option name=\"xcache_uarchives1\" value=\"259200\" $se12>"._3DAYS."</option>"
    ."<option name=\"xcache_uarchives1\" value=\"345600\" $se13>"._4DAYS."</option>"
    ."<option name=\"xcache_uarchives1\" value=\"432000\" $se14>"._5DAYS."</option>"
    ."<option name=\"xcache_uarchives1\" value=\"516000\" $se15>"._6DAYS."</option>"
    ."<option name=\"xcache_uarchives1\" value=\"604800\" $se16>"._1WEEK."</option>"
    ."<option name=\"xcache_uarchives1\" value=\"1208000\" $se17>"._2WEEKS."</option>"
    ."<option name=\"xcache_uarchives1\" value=\"1814400\" $se18>"._3WEEKS."</option>"
    ."<option name=\"xcache_uarchives1\" value=\"2419200\" $se19>"._4WEEKS."</option>"
    ."</select>"
    ."</td>";

$se0=$se1=$se2=$se3=$se4=$se5=$se6=$se7=$se8=$se9=$se10=$se11=$se12=$se13=$se14=$se15=$se16=$se17=$se18=$se19= "";
if ($cache_aarchives1 == 0) { $se0 = " selected"; }
elseif  ($cache_aarchives1 == 300) { $se1 = " selected"; }
elseif  ($cache_aarchives1 == 600) { $se2 = " selected"; }
elseif  ($cache_aarchives1 == 900) { $se3 = " selected"; }
elseif  ($cache_aarchives1 == 1800) { $se4 = " selected"; }
elseif  ($cache_aarchives1 == 3600) { $se5 = " selected"; }
elseif  ($cache_aarchives1 == 7200) { $se6 = " selected"; }
elseif  ($cache_aarchives1 == 10800) { $se7 = " selected"; }
elseif  ($cache_aarchives1 == 21600) { $se8 = " selected"; }
elseif  ($cache_aarchives1 == 43200) { $se9 = " selected"; }
elseif  ($cache_aarchives1 == 86400) { $se10 = " selected"; }
elseif  ($cache_aarchives1 == 172800) { $se11 = " selected"; }
elseif  ($cache_aarchives1 == 259200) { $se12 = " selected"; }
elseif  ($cache_aarchives1 == 345600) { $se13 = " selected"; }
elseif  ($cache_aarchives1 == 432000) { $se14 = " selected"; }
elseif  ($cache_aarchives1 == 516000) { $se15 = " selected"; }
elseif  ($cache_aarchives1 == 604800) { $se16 = " selected"; }
elseif  ($cache_aarchives1 == 1208000) { $se17 = " selected"; }
elseif  ($cache_aarchives1 == 1814400) { $se18 = " selected"; }
elseif  ($cache_aarchives1 == 2419200) { $se19 = " selected"; }
echo "<td align=\"center\">"
    ."<select name=\"xcache_aarchives1\">"
    ."<option name=\"xcache_aarchives1\" value=\"0\" $se0>"._NOCACHE."</option>"
    ."<option name=\"xcache_aarchives1\" value=\"300\" $se1>"._5MINUTS."</option>"
    ."<option name=\"xcache_aarchives1\" value=\"600\" $se2>"._10MINUTS."</option>"
    ."<option name=\"xcache_aarchives1\" value=\"900\" $se3>"._15MINUTS."</option>"
    ."<option name=\"xcache_aarchives1\" value=\"1800\" $se4>"._30MINUTS."</option>"
    ."<option name=\"xcache_aarchives1\" value=\"3600\" $se5>"._1HOUR."</option>"
    ."<option name=\"xcache_aarchives1\" value=\"7200\" $se6>"._2HOURS."</option>"
    ."<option name=\"xcache_aarchives1\" value=\"10800\" $se7>"._3HOURS."</option>"
    ."<option name=\"xcache_aarchives1\" value=\"21600\" $se8>"._6HOURS."</option>"
    ."<option name=\"xcache_aarchives1\" value=\"43200\" $se9>"._12HOURS."</option>"
    ."<option name=\"xcache_aarchives1\" value=\"86400\" $se10>"._1DAY."</option>"
    ."<option name=\"xcache_aarchives1\" value=\"172800\" $se11>"._2DAYS."</option>"
    ."<option name=\"xcache_aarchives1\" value=\"259200\" $se12>"._3DAYS."</option>"
    ."<option name=\"xcache_aarchives1\" value=\"345600\" $se13>"._4DAYS."</option>"
    ."<option name=\"xcache_aarchives1\" value=\"432000\" $se14>"._5DAYS."</option>"
    ."<option name=\"xcache_aarchives1\" value=\"516000\" $se15>"._6DAYS."</option>"
    ."<option name=\"xcache_aarchives1\" value=\"604800\" $se16>"._1WEEK."</option>"
    ."<option name=\"xcache_aarchives1\" value=\"1208000\" $se17>"._2WEEKS."</option>"
    ."<option name=\"xcache_aarchives1\" value=\"1814400\" $se18>"._3WEEKS."</option>"
    ."<option name=\"xcache_aarchives1\" value=\"2419200\" $se19>"._4WEEKS."</option>"
    ."</select>"
    ."</td></tr>";
*/

echo "<td></td><td></td></tr>";

$se0=$se1=$se2=$se3=$se4=$se5=$se6=$se7=$se8=$se9=$se10=$se11=$se12=$se13=$se14=$se15=$se16=$se17=$se18=$se19= "";
if (CACHE_VARCHIVES2 == 0) { $se0 = " selected"; }
elseif  (CACHE_VARCHIVES2 == 300) { $se1 = " selected"; }
elseif  (CACHE_VARCHIVES2 == 600) { $se2 = " selected"; }
elseif  (CACHE_VARCHIVES2 == 900) { $se3 = " selected"; }
elseif  (CACHE_VARCHIVES2 == 1800) { $se4 = " selected"; }
elseif  (CACHE_VARCHIVES2 == 3600) { $se5 = " selected"; }
elseif  (CACHE_VARCHIVES2 == 7200) { $se6 = " selected"; }
elseif  (CACHE_VARCHIVES2 == 10800) { $se7 = " selected"; }
elseif  (CACHE_VARCHIVES2 == 21600) { $se8 = " selected"; }
elseif  (CACHE_VARCHIVES2 == 43200) { $se9 = " selected"; }
elseif  (CACHE_VARCHIVES2 == 86400) { $se10 = " selected"; }
elseif  (CACHE_VARCHIVES2 == 172800) { $se11 = " selected"; }
elseif  (CACHE_VARCHIVES2 == 259200) { $se12 = " selected"; }
elseif  (CACHE_VARCHIVES2 == 345600) { $se13 = " selected"; }
elseif  (CACHE_VARCHIVES2 == 432000) { $se14 = " selected"; }
elseif  (CACHE_VARCHIVES2 == 516000) { $se15 = " selected"; }
elseif  (CACHE_VARCHIVES2 == 604800) { $se16 = " selected"; }
elseif  (CACHE_VARCHIVES2 == 1208000) { $se17 = " selected"; }
elseif  (CACHE_VARCHIVES2 == 1814400) { $se18 = " selected"; }
elseif  (CACHE_VARCHIVES2 == 2419200) { $se19 = " selected"; }

echo "<td></td><td align=\"center\"><FONT SIZE=\"1\">"._SHOWALL."</FONT>"
    ."</td>"
    ."<td align=\"center\">"
    ."<select name=\"varchives2\">"
    ."<option name=\"varchives2\" value=\"0\" $se0>"._NOCACHE."</option>"
    ."<option name=\"varchives2\" value=\"300\" $se1>"._5MINUTS."</option>"
    ."<option name=\"varchives2\" value=\"600\" $se2>"._10MINUTS."</option>"
    ."<option name=\"varchives2\" value=\"900\" $se3>"._15MINUTS."</option>"
    ."<option name=\"varchives2\" value=\"1800\" $se4>"._30MINUTS."</option>"
    ."<option name=\"varchives2\" value=\"3600\" $se5>"._1HOUR."</option>"
    ."<option name=\"varchives2\" value=\"7200\" $se6>"._2HOURS."</option>"
    ."<option name=\"varchives2\" value=\"10800\" $se7>"._3HOURS."</option>"
    ."<option name=\"varchives2\" value=\"21600\" $se8>"._6HOURS."</option>"
    ."<option name=\"varchives2\" value=\"43200\" $se9>"._12HOURS."</option>"
    ."<option name=\"varchives2\" value=\"86400\" $se10>"._1DAY."</option>"
    ."<option name=\"varchives2\" value=\"172800\" $se11>"._2DAYS."</option>"
    ."<option name=\"varchives2\" value=\"259200\" $se12>"._3DAYS."</option>"
    ."<option name=\"varchives2\" value=\"345600\" $se13>"._4DAYS."</option>"
    ."<option name=\"varchives2\" value=\"432000\" $se14>"._5DAYS."</option>"
    ."<option name=\"varchives2\" value=\"516000\" $se15>"._6DAYS."</option>"
    ."<option name=\"varchives2\" value=\"604800\" $se16>"._1WEEK."</option>"
    ."<option name=\"varchives2\" value=\"1208000\" $se17>"._2WEEKS."</option>"
    ."<option name=\"varchives2\" value=\"1814400\" $se18>"._3WEEKS."</option>"
    ."<option name=\"varchives2\" value=\"2419200\" $se19>"._4WEEKS."</option>"
    ."</select>"
    ."</td>";

/*
$se0=$se1=$se2=$se3=$se4=$se5=$se6=$se7=$se8=$se9=$se10=$se11=$se12=$se13=$se14=$se15=$se16=$se17=$se18=$se19= "";
if ($cache_uarchives2 == 0) { $se0 = " selected"; }
elseif  ($cache_uarchives2 == 300) { $se1 = " selected"; }
elseif  ($cache_uarchives2 == 600) { $se2 = " selected"; }
elseif  ($cache_uarchives2 == 900) { $se3 = " selected"; }
elseif  ($cache_uarchives2 == 1800) { $se4 = " selected"; }
elseif  ($cache_uarchives2 == 3600) { $se5 = " selected"; }
elseif  ($cache_uarchives2 == 7200) { $se6 = " selected"; }
elseif  ($cache_uarchives2 == 10800) { $se7 = " selected"; }
elseif  ($cache_uarchives2 == 21600) { $se8 = " selected"; }
elseif  ($cache_uarchives2 == 43200) { $se9 = " selected"; }
elseif  ($cache_uarchives2 == 86400) { $se10 = " selected"; }
elseif  ($cache_uarchives2 == 172800) { $se11 = " selected"; }
elseif  ($cache_uarchives2 == 259200) { $se12 = " selected"; }
elseif  ($cache_uarchives2 == 345600) { $se13 = " selected"; }
elseif  ($cache_uarchives2 == 432000) { $se14 = " selected"; }
elseif  ($cache_uarchives2 == 516000) { $se15 = " selected"; }
elseif  ($cache_uarchives2 == 604800) { $se16 = " selected"; }
elseif  ($cache_uarchives2 == 1208000) { $se17 = " selected"; }
elseif  ($cache_uarchives2 == 1814400) { $se18 = " selected"; }
elseif  ($cache_uarchives2 == 2419200) { $se19 = " selected"; }


echo "<td align=\"center\">"
    ."<select name=\"xcache_uarchives2\">"
    ."<option name=\"xcache_uarchives2\" value=\"0\" $se0>"._NOCACHE."</option>"
    ."<option name=\"xcache_uarchives2\" value=\"300\" $se1>"._5MINUTS."</option>"
 /*   ."<option name=\"xcache_uarchives2\" value=\"600\" $se2>"._10MINUTS."</option>"
    ."<option name=\"xcache_uarchives2\" value=\"900\" $se3>"._15MINUTS."</option>"
    ."<option name=\"xcache_uarchives2\" value=\"1800\" $se4>"._30MINUTS."</option>"
    ."<option name=\"xcache_uarchives2\" value=\"3600\" $se5>"._1HOUR."</option>"
    ."<option name=\"xcache_uarchives2\" value=\"7200\" $se6>"._2HOURS."</option>"
    ."<option name=\"xcache_uarchives2\" value=\"10800\" $se7>"._3HOURS."</option>"
    ."<option name=\"xcache_uarchives2\" value=\"21600\" $se8>"._6HOURS."</option>"
    ."<option name=\"xcache_uarchives2\" value=\"43200\" $se9>"._12HOURS."</option>"
    ."<option name=\"xcache_uarchives2\" value=\"86400\" $se10>"._1DAY."</option>"
    ."<option name=\"xcache_uarchives2\" value=\"172800\" $se11>"._2DAYS."</option>"
    ."<option name=\"xcache_uarchives2\" value=\"259200\" $se12>"._3DAYS."</option>"
    ."<option name=\"xcache_uarchives2\" value=\"345600\" $se13>"._4DAYS."</option>"
    ."<option name=\"xcache_uarchives2\" value=\"432000\" $se14>"._5DAYS."</option>"
    ."<option name=\"xcache_uarchives2\" value=\"516000\" $se15>"._6DAYS."</option>"
    ."<option name=\"xcache_uarchives2\" value=\"604800\" $se16>"._1WEEK."</option>"
    ."<option name=\"xcache_uarchives2\" value=\"1208000\" $se17>"._2WEEKS."</option>"
    ."<option name=\"xcache_uarchives2\" value=\"1814400\" $se18>"._3WEEKS."</option>"
    ."<option name=\"xcache_uarchives2\" value=\"2419200\" $se19>"._4WEEKS."</option>"
    ."</select>"
    ."</td>";

$se0=$se1=$se2=$se3=$se4=$se5=$se6=$se7=$se8=$se9=$se10=$se11=$se12=$se13=$se14=$se15=$se16=$se17=$se18=$se19= "";
if ($cache_aarchives2 == 0) { $se0 = " selected"; }
elseif  ($cache_aarchives2 == 300) { $se1 = " selected"; }
elseif  ($cache_aarchives2 == 600) { $se2 = " selected"; }
elseif  ($cache_aarchives2 == 900) { $se3 = " selected"; }
elseif  ($cache_aarchives2 == 1800) { $se4 = " selected"; }
elseif  ($cache_aarchives2 == 3600) { $se5 = " selected"; }
elseif  ($cache_aarchives2 == 7200) { $se6 = " selected"; }
elseif  ($cache_aarchives2 == 10800) { $se7 = " selected"; }
elseif  ($cache_aarchives2 == 21600) { $se8 = " selected"; }
elseif  ($cache_aarchives2 == 43200) { $se9 = " selected"; }
elseif  ($cache_aarchives2 == 86400) { $se10 = " selected"; }
elseif  ($cache_aarchives2 == 172800) { $se11 = " selected"; }
elseif  ($cache_aarchives2 == 259200) { $se12 = " selected"; }
elseif  ($cache_aarchives2 == 345600) { $se13 = " selected"; }
elseif  ($cache_aarchives2 == 432000) { $se14 = " selected"; }
elseif  ($cache_aarchives2 == 516000) { $se15 = " selected"; }
elseif  ($cache_aarchives2 == 604800) { $se16 = " selected"; }
elseif  ($cache_aarchives2 == 1208000) { $se17 = " selected"; }
elseif  ($cache_aarchives2 == 1814400) { $se18 = " selected"; }
elseif  ($cache_aarchives2 == 2419200) { $se19 = " selected"; }
echo "<td align=\"center\">"
    ."<select name=\"xcache_aarchives2\">"
    ."<option name=\"xcache_aarchives2\" value=\"0\" $se0>"._NOCACHE."</option>"
    ."<option name=\"xcache_aarchives2\" value=\"300\" $se1>"._5MINUTS."</option>"
    ."<option name=\"xcache_aarchives2\" value=\"600\" $se2>"._10MINUTS."</option>"
    ."<option name=\"xcache_aarchives2\" value=\"900\" $se3>"._15MINUTS."</option>"
    ."<option name=\"xcache_aarchives2\" value=\"1800\" $se4>"._30MINUTS."</option>"
    ."<option name=\"xcache_aarchives2\" value=\"3600\" $se5>"._1HOUR."</option>"
    ."<option name=\"xcache_aarchives2\" value=\"7200\" $se6>"._2HOURS."</option>"
    ."<option name=\"xcache_aarchives2\" value=\"10800\" $se7>"._3HOURS."</option>"
    ."<option name=\"xcache_aarchives2\" value=\"21600\" $se8>"._6HOURS."</option>"
    ."<option name=\"xcache_aarchives2\" value=\"43200\" $se9>"._12HOURS."</option>"
    ."<option name=\"xcache_aarchives2\" value=\"86400\" $se10>"._1DAY."</option>"
    ."<option name=\"xcache_aarchives2\" value=\"172800\" $se11>"._2DAYS."</option>"
    ."<option name=\"xcache_aarchives2\" value=\"259200\" $se12>"._3DAYS."</option>"
    ."<option name=\"xcache_aarchives2\" value=\"345600\" $se13>"._4DAYS."</option>"
    ."<option name=\"xcache_aarchives2\" value=\"432000\" $se14>"._5DAYS."</option>"
    ."<option name=\"xcache_aarchives2\" value=\"516000\" $se15>"._6DAYS."</option>"
    ."<option name=\"xcache_aarchives2\" value=\"604800\" $se16>"._1WEEK."</option>"
    ."<option name=\"xcache_aarchives2\" value=\"1208000\" $se17>"._2WEEKS."</option>"
    ."<option name=\"xcache_aarchives2\" value=\"1814400\" $se18>"._3WEEKS."</option>"
    ."<option name=\"xcache_aarchives2\" value=\"2419200\" $se19>"._4WEEKS."</option>"
    ."</select>"
    ."</td></tr>";*/

echo "<td></td><td></td></tr>";
}

//supporters
if ((is_active("Supporters")) && (file_exists("modules/Supporters/credits.php")) && (file_exists("modules/Supporters/copyright.php")) ){

//global CACHE_VSUPPORTERS, $cache_usupporters, CACHE_ASUPPORTERS;

$se0=$se1=$se2=$se3=$se4=$se5=$se6=$se7=$se8=$se9=$se10=$se11=$se12=$se13=$se14=$se15=$se16=$se17=$se18=$se19= "";
if (CACHE_VSUPPORTERS == 0) { $se0 = " selected"; }
elseif  (CACHE_VSUPPORTERS == 300) { $se1 = " selected"; }
elseif  (CACHE_VSUPPORTERS == 600) { $se2 = " selected"; }
elseif  (CACHE_VSUPPORTERS == 900) { $se3 = " selected"; }
elseif  (CACHE_VSUPPORTERS == 1800) { $se4 = " selected"; }
elseif  (CACHE_VSUPPORTERS == 3600) { $se5 = " selected"; }
elseif  (CACHE_VSUPPORTERS == 7200) { $se6 = " selected"; }
elseif  (CACHE_VSUPPORTERS == 10800) { $se7 = " selected"; }
elseif  (CACHE_VSUPPORTERS == 21600) { $se8 = " selected"; }
elseif  (CACHE_VSUPPORTERS == 43200) { $se9 = " selected"; }
elseif  (CACHE_VSUPPORTERS == 86400) { $se10 = " selected"; }
elseif  (CACHE_VSUPPORTERS == 172800) { $se11 = " selected"; }
elseif  (CACHE_VSUPPORTERS == 259200) { $se12 = " selected"; }
elseif  (CACHE_VSUPPORTERS == 345600) { $se13 = " selected"; }
elseif  (CACHE_VSUPPORTERS == 432000) { $se14 = " selected"; }
elseif  (CACHE_VSUPPORTERS == 516000) { $se15 = " selected"; }
elseif  (CACHE_VSUPPORTERS == 604800) { $se16 = " selected"; }
elseif  (CACHE_VSUPPORTERS == 1208000) { $se17 = " selected"; }
elseif  (CACHE_VSUPPORTERS == 1814400) { $se18 = " selected"; }
elseif  (CACHE_VSUPPORTERS == 2419200) { $se19 = " selected"; }



echo "<tr><td height=\"15\"></td></tr>"
    ."<tr><td bgcolor=\"$bgcolor2\">&nbsp; Supporters"
    ."<td align=\"center\"><a href=\"modules.php?name=Supporters\">"._HOMESUPPORTERS."</a>"
    ."</td>"
    ."<td align=\"center\">"
    ."<select name=\"vsupporters\">"
    ."<option name=\"vsupporters\" value=\"0\" $se0>"._NOCACHE."</option>"
    ."<option name=\"vsupporters\" value=\"300\" $se1>"._5MINUTS."</option>"
    ."<option name=\"vsupporters\" value=\"600\" $se2>"._10MINUTS."</option>"
    ."<option name=\"vsupporters\" value=\"900\" $se3>"._15MINUTS."</option>"
    ."<option name=\"vsupporters\" value=\"1800\" $se4>"._30MINUTS."</option>"
    ."<option name=\"vsupporters\" value=\"3600\" $se5>"._1HOUR."</option>"
    ."<option name=\"vsupporters\" value=\"7200\" $se6>"._2HOURS."</option>"
    ."<option name=\"vsupporters\" value=\"10800\" $se7>"._3HOURS."</option>"
    ."<option name=\"vsupporters\" value=\"21600\" $se8>"._6HOURS."</option>"
    ."<option name=\"vsupporters\" value=\"43200\" $se9>"._12HOURS."</option>"
    ."<option name=\"vsupporters\" value=\"86400\" $se10>"._1DAY."</option>"
    ."<option name=\"vsupporters\" value=\"172800\" $se11>"._2DAYS."</option>"
    ."<option name=\"vsupporters\" value=\"259200\" $se12>"._3DAYS."</option>"
    ."<option name=\"vsupporters\" value=\"345600\" $se13>"._4DAYS."</option>"
    ."<option name=\"vsupporters\" value=\"432000\" $se14>"._5DAYS."</option>"
    ."<option name=\"vsupporters\" value=\"516000\" $se15>"._6DAYS."</option>"
    ."<option name=\"vsupporters\" value=\"604800\" $se16>"._1WEEK."</option>"
    ."<option name=\"vsupporters\" value=\"1208000\" $se17>"._2WEEKS."</option>"
    ."<option name=\"vsupporters\" value=\"1814400\" $se18>"._3WEEKS."</option>"
    ."<option name=\"vsupporters\" value=\"2419200\" $se19>"._4WEEKS."</option>"
    ."</select>"
    ."</td>";
/*

$se0=$se1=$se2=$se3=$se4=$se5=$se6=$se7=$se8=$se9=$se10=$se11=$se12=$se13=$se14=$se15=$se16=$se17=$se18=$se19= "";
if ($cache_usupporters == 0) { $se0 = " selected"; }
elseif  ($cache_usupporters == 300) { $se1 = " selected"; }
elseif  ($cache_usupporters == 600) { $se2 = " selected"; }
elseif  ($cache_usupporters == 900) { $se3 = " selected"; }
elseif  ($cache_usupporters == 1800) { $se4 = " selected"; }
elseif  ($cache_usupporters == 3600) { $se5 = " selected"; }
elseif  ($cache_usupporters == 7200) { $se6 = " selected"; }
elseif  ($cache_usupporters == 10800) { $se7 = " selected"; }
elseif  ($cache_usupporters == 21600) { $se8 = " selected"; }
elseif  ($cache_usupporters == 43200) { $se9 = " selected"; }
elseif  ($cache_usupporters == 86400) { $se10 = " selected"; }
elseif  ($cache_usupporters == 172800) { $se11 = " selected"; }
elseif  ($cache_usupporters == 259200) { $se12 = " selected"; }
elseif  ($cache_usupporters == 345600) { $se13 = " selected"; }
elseif  ($cache_usupporters == 432000) { $se14 = " selected"; }
elseif  ($cache_usupporters == 516000) { $se15 = " selected"; }
elseif  ($cache_usupporters == 604800) { $se16 = " selected"; }
elseif  ($cache_usupporters == 1208000) { $se17 = " selected"; }
elseif  ($cache_usupporters == 1814400) { $se18 = " selected"; }
elseif  ($cache_usupporters == 2419200) { $se19 = " selected"; }

echo "<td align=\"center\">"
    ."<select name=\"xcache_usupporters\">"
    ."<option name=\"xcache_usupporters\" value=\"0\" $se0>"._NOCACHE."</option>"
    ."<option name=\"xcache_usupporters\" value=\"300\" $se1>"._5MINUTS."</option>"
    ."<option name=\"xcache_usupporters\" value=\"600\" $se2>"._10MINUTS."</option>"
    ."<option name=\"xcache_usupporters\" value=\"900\" $se3>"._15MINUTS."</option>"
    ."<option name=\"xcache_usupporters\" value=\"1800\" $se4>"._30MINUTS."</option>"
    ."<option name=\"xcache_usupporters\" value=\"3600\" $se5>"._1HOUR."</option>"
    ."<option name=\"xcache_usupporters\" value=\"7200\" $se6>"._2HOURS."</option>"
    ."<option name=\"xcache_usupporters\" value=\"10800\" $se7>"._3HOURS."</option>"
    ."<option name=\"xcache_usupporters\" value=\"21600\" $se8>"._6HOURS."</option>"
    ."<option name=\"xcache_usupporters\" value=\"43200\" $se9>"._12HOURS."</option>"
    ."<option name=\"xcache_usupporters\" value=\"86400\" $se10>"._1DAY."</option>"
    ."<option name=\"xcache_usupporters\" value=\"172800\" $se11>"._2DAYS."</option>"
    ."<option name=\"xcache_usupporters\" value=\"259200\" $se12>"._3DAYS."</option>"
    ."<option name=\"xcache_usupporters\" value=\"345600\" $se13>"._4DAYS."</option>"
    ."<option name=\"xcache_usupporters\" value=\"432000\" $se14>"._5DAYS."</option>"
    ."<option name=\"xcache_usupporters\" value=\"516000\" $se15>"._6DAYS."</option>"
    ."<option name=\"xcache_usupporters\" value=\"604800\" $se16>"._1WEEK."</option>"
    ."<option name=\"xcache_usupporters\" value=\"1208000\" $se17>"._2WEEKS."</option>"
    ."<option name=\"xcache_usupporters\" value=\"1814400\" $se18>"._3WEEKS."</option>"
    ."<option name=\"xcache_usupporters\" value=\"2419200\" $se19>"._4WEEKS."</option>"
    ."</select>"
    ."</td>";
*/
echo "<td></td>";

$se0=$se1=$se2=$se3=$se4=$se5=$se6=$se7=$se8=$se9=$se10=$se11=$se12=$se13=$se14=$se15=$se16=$se17=$se18=$se19= "";
if (CACHE_ASUPPORTERS == 0) { $se0 = " selected"; }
elseif  (CACHE_ASUPPORTERS == 300) { $se1 = " selected"; }
elseif  (CACHE_ASUPPORTERS == 600) { $se2 = " selected"; }
elseif  (CACHE_ASUPPORTERS == 900) { $se3 = " selected"; }
elseif  (CACHE_ASUPPORTERS == 1800) { $se4 = " selected"; }
elseif  (CACHE_ASUPPORTERS == 3600) { $se5 = " selected"; }
elseif  (CACHE_ASUPPORTERS == 7200) { $se6 = " selected"; }
elseif  (CACHE_ASUPPORTERS == 10800) { $se7 = " selected"; }
elseif  (CACHE_ASUPPORTERS == 21600) { $se8 = " selected"; }
elseif  (CACHE_ASUPPORTERS == 43200) { $se9 = " selected"; }
elseif  (CACHE_ASUPPORTERS == 86400) { $se10 = " selected"; }
elseif  (CACHE_ASUPPORTERS == 172800) { $se11 = " selected"; }
elseif  (CACHE_ASUPPORTERS == 259200) { $se12 = " selected"; }
elseif  (CACHE_ASUPPORTERS == 345600) { $se13 = " selected"; }
elseif  (CACHE_ASUPPORTERS == 432000) { $se14 = " selected"; }
elseif  (CACHE_ASUPPORTERS == 516000) { $se15 = " selected"; }
elseif  (CACHE_ASUPPORTERS == 604800) { $se16 = " selected"; }
elseif  (CACHE_ASUPPORTERS == 1208000) { $se17 = " selected"; }
elseif  (CACHE_ASUPPORTERS == 1814400) { $se18 = " selected"; }
elseif  (CACHE_ASUPPORTERS == 2419200) { $se19 = " selected"; }
echo "<td align=\"center\">"
    ."<select name=\"asupporters\">"
    ."<option name=\"asupporters\" value=\"0\" $se0>"._NOCACHE."</option>"
    ."<option name=\"asupporters\" value=\"300\" $se1>"._5MINUTS."</option>"
    ."<option name=\"asupporters\" value=\"600\" $se2>"._10MINUTS."</option>"
    ."<option name=\"asupporters\" value=\"900\" $se3>"._15MINUTS."</option>"
    ."<option name=\"asupporters\" value=\"1800\" $se4>"._30MINUTS."</option>"
    ."<option name=\"asupporters\" value=\"3600\" $se5>"._1HOUR."</option>"
    ."<option name=\"asupporters\" value=\"7200\" $se6>"._2HOURS."</option>"
    ."<option name=\"asupporters\" value=\"10800\" $se7>"._3HOURS."</option>"
    ."<option name=\"asupporters\" value=\"21600\" $se8>"._6HOURS."</option>"
    ."<option name=\"asupporters\" value=\"43200\" $se9>"._12HOURS."</option>"
    ."<option name=\"asupporters\" value=\"86400\" $se10>"._1DAY."</option>"
    ."<option name=\"asupporters\" value=\"172800\" $se11>"._2DAYS."</option>"
    ."<option name=\"asupporters\" value=\"259200\" $se12>"._3DAYS."</option>"
    ."<option name=\"asupporters\" value=\"345600\" $se13>"._4DAYS."</option>"
    ."<option name=\"asupporters\" value=\"432000\" $se14>"._5DAYS."</option>"
    ."<option name=\"asupporters\" value=\"516000\" $se15>"._6DAYS."</option>"
    ."<option name=\"asupporters\" value=\"604800\" $se16>"._1WEEK."</option>"
    ."<option name=\"asupporters\" value=\"1208000\" $se17>"._2WEEKS."</option>"
    ."<option name=\"asupporters\" value=\"1814400\" $se18>"._3WEEKS."</option>"
    ."<option name=\"asupporters\" value=\"2419200\" $se19>"._4WEEKS."</option>"
    ."</select>"
    ."</td></tr>";

}

// top
if ((is_active("Top")) && (file_exists("modules/Top/credits.php")) && (file_exists("modules/Top/copyright.php")) ){

//global CACHE_VTOP, $cache_utop, $cache_atop;

$se0=$se1=$se2=$se3=$se4=$se5=$se6=$se7=$se8=$se9=$se10=$se11=$se12=$se13=$se14=$se15=$se16=$se17=$se18=$se19= "";
if (CACHE_VTOP == 0) { $se0 = " selected"; }
elseif  (CACHE_VTOP == 300) { $se1 = " selected"; }
elseif  (CACHE_VTOP == 600) { $se2 = " selected"; }
elseif  (CACHE_VTOP == 900) { $se3 = " selected"; }
elseif  (CACHE_VTOP == 1800) { $se4 = " selected"; }
elseif  (CACHE_VTOP == 3600) { $se5 = " selected"; }
elseif  (CACHE_VTOP == 7200) { $se6 = " selected"; }
elseif  (CACHE_VTOP == 10800) { $se7 = " selected"; }
elseif  (CACHE_VTOP == 21600) { $se8 = " selected"; }
elseif  (CACHE_VTOP == 43200) { $se9 = " selected"; }
elseif  (CACHE_VTOP == 86400) { $se10 = " selected"; }
elseif  (CACHE_VTOP == 172800) { $se11 = " selected"; }
elseif  (CACHE_VTOP == 259200) { $se12 = " selected"; }
elseif  (CACHE_VTOP == 345600) { $se13 = " selected"; }
elseif  (CACHE_VTOP == 432000) { $se14 = " selected"; }
elseif  (CACHE_VTOP == 516000) { $se15 = " selected"; }
elseif  (CACHE_VTOP == 604800) { $se16 = " selected"; }
elseif  (CACHE_VTOP == 1208000) { $se17 = " selected"; }
elseif  (CACHE_VTOP == 1814400) { $se18 = " selected"; }
elseif  (CACHE_VTOP == 2419200) { $se19 = " selected"; }



echo "<tr><td height=\"15\"></td></tr>"
    ."<tr><td bgcolor=\"$bgcolor2\">&nbsp; Top 10 "
    ."<td align=\"center\"><a href=\"modules.php?name=Top\">"._HOMETOP."</a>"
    ."</td>"
    ."<td align=\"center\">"
    ."<select name=\"vtop\">"
    ."<option name=\"vtop\" value=\"0\" $se0>"._NOCACHE."</option>"
    ."<option name=\"vtop\" value=\"300\" $se1>"._5MINUTS."</option>"
    ."<option name=\"vtop\" value=\"600\" $se2>"._10MINUTS."</option>"
    ."<option name=\"vtop\" value=\"900\" $se3>"._15MINUTS."</option>"
    ."<option name=\"vtop\" value=\"1800\" $se4>"._30MINUTS."</option>"
    ."<option name=\"vtop\" value=\"3600\" $se5>"._1HOUR."</option>"
    ."<option name=\"vtop\" value=\"7200\" $se6>"._2HOURS."</option>"
    ."<option name=\"vtop\" value=\"10800\" $se7>"._3HOURS."</option>"
    ."<option name=\"vtop\" value=\"21600\" $se8>"._6HOURS."</option>"
    ."<option name=\"vtop\" value=\"43200\" $se9>"._12HOURS."</option>"
    ."<option name=\"vtop\" value=\"86400\" $se10>"._1DAY."</option>"
    ."<option name=\"vtop\" value=\"172800\" $se11>"._2DAYS."</option>"
    ."<option name=\"vtop\" value=\"259200\" $se12>"._3DAYS."</option>"
    ."<option name=\"vtop\" value=\"345600\" $se13>"._4DAYS."</option>"
    ."<option name=\"vtop\" value=\"432000\" $se14>"._5DAYS."</option>"
    ."<option name=\"vtop\" value=\"516000\" $se15>"._6DAYS."</option>"
    ."<option name=\"vtop\" value=\"604800\" $se16>"._1WEEK."</option>"
    ."<option name=\"vtop\" value=\"1208000\" $se17>"._2WEEKS."</option>"
    ."<option name=\"vtop\" value=\"1814400\" $se18>"._3WEEKS."</option>"
    ."<option name=\"vtop\" value=\"2419200\" $se19>"._4WEEKS."</option>"
    ."</select>"
    ."</td>";

/*
$se0=$se1=$se2=$se3=$se4=$se5=$se6=$se7=$se8=$se9=$se10=$se11=$se12=$se13=$se14=$se15=$se16=$se17=$se18=$se19= "";
if ($cache_utop == 0) { $se0 = " selected"; }
elseif  ($cache_utop == 300) { $se1 = " selected"; }
elseif  ($cache_utop == 600) { $se2 = " selected"; }
elseif  ($cache_utop == 900) { $se3 = " selected"; }
elseif  ($cache_utop == 1800) { $se4 = " selected"; }
elseif  ($cache_utop == 3600) { $se5 = " selected"; }
elseif  ($cache_utop == 7200) { $se6 = " selected"; }
elseif  ($cache_utop == 10800) { $se7 = " selected"; }
elseif  ($cache_utop == 21600) { $se8 = " selected"; }
elseif  ($cache_utop == 43200) { $se9 = " selected"; }
elseif  ($cache_utop == 86400) { $se10 = " selected"; }
elseif  ($cache_utop == 172800) { $se11 = " selected"; }
elseif  ($cache_utop == 259200) { $se12 = " selected"; }
elseif  ($cache_utop == 345600) { $se13 = " selected"; }
elseif  ($cache_utop == 432000) { $se14 = " selected"; }
elseif  ($cache_utop == 516000) { $se15 = " selected"; }
elseif  ($cache_utop == 604800) { $se16 = " selected"; }
elseif  ($cache_utop == 1208000) { $se17 = " selected"; }
elseif  ($cache_utop == 1814400) { $se18 = " selected"; }
elseif  ($cache_utop == 2419200) { $se19 = " selected"; }


echo "<td align=\"center\">"
    ."<select name=\"xcache_utop\">"
    ."<option name=\"xcache_utop\" value=\"0\" $se0>"._NOCACHE."</option>"
    ."<option name=\"xcache_utop\" value=\"300\" $se1>"._5MINUTS."</option>"
    ."<option name=\"xcache_utop\" value=\"600\" $se2>"._10MINUTS."</option>"
    ."<option name=\"xcache_utop\" value=\"900\" $se3>"._15MINUTS."</option>"
    ."<option name=\"xcache_utop\" value=\"1800\" $se4>"._30MINUTS."</option>"
    ."<option name=\"xcache_utop\" value=\"3600\" $se5>"._1HOUR."</option>"
    ."<option name=\"xcache_utop\" value=\"7200\" $se6>"._2HOURS."</option>"
    ."<option name=\"xcache_utop\" value=\"10800\" $se7>"._3HOURS."</option>"
    ."<option name=\"xcache_utop\" value=\"21600\" $se8>"._6HOURS."</option>"
    ."<option name=\"xcache_utop\" value=\"43200\" $se9>"._12HOURS."</option>"
    ."<option name=\"xcache_utop\" value=\"86400\" $se10>"._1DAY."</option>"
    ."<option name=\"xcache_utop\" value=\"172800\" $se11>"._2DAYS."</option>"
    ."<option name=\"xcache_utop\" value=\"259200\" $se12>"._3DAYS."</option>"
    ."<option name=\"xcache_utop\" value=\"345600\" $se13>"._4DAYS."</option>"
    ."<option name=\"xcache_utop\" value=\"432000\" $se14>"._5DAYS."</option>"
    ."<option name=\"xcache_utop\" value=\"516000\" $se15>"._6DAYS."</option>"
    ."<option name=\"xcache_utop\" value=\"604800\" $se16>"._1WEEK."</option>"
    ."<option name=\"xcache_utop\" value=\"1208000\" $se17>"._2WEEKS."</option>"
    ."<option name=\"xcache_utop\" value=\"1814400\" $se18>"._3WEEKS."</option>"
    ."<option name=\"xcache_utop\" value=\"2419200\" $se19>"._4WEEKS."</option>"
    ."</select>"
    ."</td>";

$se0=$se1=$se2=$se3=$se4=$se5=$se6=$se7=$se8=$se9=$se10=$se11=$se12=$se13=$se14=$se15=$se16=$se17=$se18=$se19= "";
if ($cache_atop == 0) { $se0 = " selected"; }
elseif  ($cache_atop == 300) { $se1 = " selected"; }
elseif  ($cache_atop == 600) { $se2 = " selected"; }
elseif  ($cache_atop == 900) { $se3 = " selected"; }
elseif  ($cache_atop == 1800) { $se4 = " selected"; }
elseif  ($cache_atop == 3600) { $se5 = " selected"; }
elseif  ($cache_atop == 7200) { $se6 = " selected"; }
elseif  ($cache_atop == 10800) { $se7 = " selected"; }
elseif  ($cache_atop == 21600) { $se8 = " selected"; }
elseif  ($cache_atop == 43200) { $se9 = " selected"; }
elseif  ($cache_atop == 86400) { $se10 = " selected"; }
elseif  ($cache_atop == 172800) { $se11 = " selected"; }
elseif  ($cache_atop == 259200) { $se12 = " selected"; }
elseif  ($cache_atop == 345600) { $se13 = " selected"; }
elseif  ($cache_atop == 432000) { $se14 = " selected"; }
elseif  ($cache_atop == 516000) { $se15 = " selected"; }
elseif  ($cache_atop == 604800) { $se16 = " selected"; }
elseif  ($cache_atop == 1208000) { $se17 = " selected"; }
elseif  ($cache_atop == 1814400) { $se18 = " selected"; }
elseif  ($cache_atop == 2419200) { $se19 = " selected"; }
echo "<td align=\"center\">"
    ."<select name=\"xcache_atop\">"
    ."<option name=\"xcache_atop\" value=\"0\" $se0>"._NOCACHE."</option>"
    ."<option name=\"xcache_atop\" value=\"300\" $se1>"._5MINUTS."</option>"
    ."<option name=\"xcache_atop\" value=\"600\" $se2>"._10MINUTS."</option>"
    ."<option name=\"xcache_atop\" value=\"900\" $se3>"._15MINUTS."</option>"
    ."<option name=\"xcache_atop\" value=\"1800\" $se4>"._30MINUTS."</option>"
    ."<option name=\"xcache_atop\" value=\"3600\" $se5>"._1HOUR."</option>"
    ."<option name=\"xcache_atop\" value=\"7200\" $se6>"._2HOURS."</option>"
    ."<option name=\"xcache_atop\" value=\"10800\" $se7>"._3HOURS."</option>"
    ."<option name=\"xcache_atop\" value=\"21600\" $se8>"._6HOURS."</option>"
    ."<option name=\"xcache_atop\" value=\"43200\" $se9>"._12HOURS."</option>"
    ."<option name=\"xcache_atop\" value=\"86400\" $se10>"._1DAY."</option>"
    ."<option name=\"xcache_atop\" value=\"172800\" $se11>"._2DAYS."</option>"
    ."<option name=\"xcache_atop\" value=\"259200\" $se12>"._3DAYS."</option>"
    ."<option name=\"xcache_atop\" value=\"345600\" $se13>"._4DAYS."</option>"
    ."<option name=\"xcache_atop\" value=\"432000\" $se14>"._5DAYS."</option>"
    ."<option name=\"xcache_atop\" value=\"516000\" $se15>"._6DAYS."</option>"
    ."<option name=\"xcache_atop\" value=\"604800\" $se16>"._1WEEK."</option>"
    ."<option name=\"xcache_atop\" value=\"1208000\" $se17>"._2WEEKS."</option>"
    ."<option name=\"xcache_atop\" value=\"1814400\" $se18>"._3WEEKS."</option>"
    ."<option name=\"xcache_atop\" value=\"2419200\" $se19>"._4WEEKS."</option>"
    ."</select>"
    ."</td></tr>";
*/
echo "<td></td><td></td></tr>";
}

// Topics
if ((is_active("Topics")) && (file_exists("modules/Topics/credits.php"))){

//global CACHE_VTOPICS, $cache_utopics, $cache_atopics;

$se0=$se1=$se2=$se3=$se4=$se5=$se6=$se7=$se8=$se9=$se10=$se11=$se12=$se13=$se14=$se15=$se16=$se17=$se18=$se19= "";
if (CACHE_VTOPICS == 0) { $se0 = " selected"; }
elseif  (CACHE_VTOPICS == 300) { $se1 = " selected"; }
elseif  (CACHE_VTOPICS == 600) { $se2 = " selected"; }
elseif  (CACHE_VTOPICS == 900) { $se3 = " selected"; }
elseif  (CACHE_VTOPICS == 1800) { $se4 = " selected"; }
elseif  (CACHE_VTOPICS == 3600) { $se5 = " selected"; }
elseif  (CACHE_VTOPICS == 7200) { $se6 = " selected"; }
elseif  (CACHE_VTOPICS == 10800) { $se7 = " selected"; }
elseif  (CACHE_VTOPICS == 21600) { $se8 = " selected"; }
elseif  (CACHE_VTOPICS == 43200) { $se9 = " selected"; }
elseif  (CACHE_VTOPICS == 86400) { $se10 = " selected"; }
elseif  (CACHE_VTOPICS == 172800) { $se11 = " selected"; }
elseif  (CACHE_VTOPICS == 259200) { $se12 = " selected"; }
elseif  (CACHE_VTOPICS == 345600) { $se13 = " selected"; }
elseif  (CACHE_VTOPICS == 432000) { $se14 = " selected"; }
elseif  (CACHE_VTOPICS == 516000) { $se15 = " selected"; }
elseif  (CACHE_VTOPICS == 604800) { $se16 = " selected"; }
elseif  (CACHE_VTOPICS == 1208000) { $se17 = " selected"; }
elseif  (CACHE_VTOPICS == 1814400) { $se18 = " selected"; }
elseif  (CACHE_VTOPICS == 2419200) { $se19 = " selected"; }



echo "<tr><td height=\"15\"></td></tr>"
    ."<tr><td bgcolor=\"$bgcolor2\">&nbsp; Topics"
    ."<td align=\"center\"><a href=\"modules.php?name=Topics\">"._HOMETOPICS."</a>"
    ."</td>"
    ."<td align=\"center\">"
    ."<select name=\"vtopics\">"
    ."<option name=\"vtopics\" value=\"0\" $se0>"._NOCACHE."</option>"
    ."<option name=\"vtopics\" value=\"300\" $se1>"._5MINUTS."</option>"
    ."<option name=\"vtopics\" value=\"600\" $se2>"._10MINUTS."</option>"
    ."<option name=\"vtopics\" value=\"900\" $se3>"._15MINUTS."</option>"
    ."<option name=\"vtopics\" value=\"1800\" $se4>"._30MINUTS."</option>"
    ."<option name=\"vtopics\" value=\"3600\" $se5>"._1HOUR."</option>"
    ."<option name=\"vtopics\" value=\"7200\" $se6>"._2HOURS."</option>"
    ."<option name=\"vtopics\" value=\"10800\" $se7>"._3HOURS."</option>"
    ."<option name=\"vtopics\" value=\"21600\" $se8>"._6HOURS."</option>"
    ."<option name=\"vtopics\" value=\"43200\" $se9>"._12HOURS."</option>"
    ."<option name=\"vtopics\" value=\"86400\" $se10>"._1DAY."</option>"
    ."<option name=\"vtopics\" value=\"172800\" $se11>"._2DAYS."</option>"
    ."<option name=\"vtopics\" value=\"259200\" $se12>"._3DAYS."</option>"
    ."<option name=\"vtopics\" value=\"345600\" $se13>"._4DAYS."</option>"
    ."<option name=\"vtopics\" value=\"432000\" $se14>"._5DAYS."</option>"
    ."<option name=\"vtopics\" value=\"516000\" $se15>"._6DAYS."</option>"
    ."<option name=\"vtopics\" value=\"604800\" $se16>"._1WEEK."</option>"
    ."<option name=\"vtopics\" value=\"1208000\" $se17>"._2WEEKS."</option>"
    ."<option name=\"vtopics\" value=\"1814400\" $se18>"._3WEEKS."</option>"
    ."<option name=\"vtopics\" value=\"2419200\" $se19>"._4WEEKS."</option>"
    ."</select>"
    ."</td>";

/*
$se0=$se1=$se2=$se3=$se4=$se5=$se6=$se7=$se8=$se9=$se10=$se11=$se12=$se13=$se14=$se15=$se16=$se17=$se18=$se19= "";
if ($cache_utopics == 0) { $se0 = " selected"; }
elseif  ($cache_utopics == 300) { $se1 = " selected"; }
elseif  ($cache_utopics == 600) { $se2 = " selected"; }
elseif  ($cache_utopics == 900) { $se3 = " selected"; }
elseif  ($cache_utopics == 1800) { $se4 = " selected"; }
elseif  ($cache_utopics == 3600) { $se5 = " selected"; }
elseif  ($cache_utopics == 7200) { $se6 = " selected"; }
elseif  ($cache_utopics == 10800) { $se7 = " selected"; }
elseif  ($cache_utopics == 21600) { $se8 = " selected"; }
elseif  ($cache_utopics == 43200) { $se9 = " selected"; }
elseif  ($cache_utopics == 86400) { $se10 = " selected"; }
elseif  ($cache_utopics == 172800) { $se11 = " selected"; }
elseif  ($cache_utopics == 259200) { $se12 = " selected"; }
elseif  ($cache_utopics == 345600) { $se13 = " selected"; }
elseif  ($cache_utopics == 432000) { $se14 = " selected"; }
elseif  ($cache_utopics == 516000) { $se15 = " selected"; }
elseif  ($cache_utopics == 604800) { $se16 = " selected"; }
elseif  ($cache_utopics == 1208000) { $se17 = " selected"; }
elseif  ($cache_utopics == 1814400) { $se18 = " selected"; }
elseif  ($cache_utopics == 2419200) { $se19 = " selected"; }


echo "<td align=\"center\">"
    ."<select name=\"xcache_utopics\">"
    ."<option name=\"xcache_utopics\" value=\"0\" $se0>"._NOCACHE."</option>"
    ."<option name=\"xcache_utopics\" value=\"300\" $se1>"._5MINUTS."</option>"
    ."<option name=\"xcache_utopics\" value=\"600\" $se2>"._10MINUTS."</option>"
    ."<option name=\"xcache_utopics\" value=\"900\" $se3>"._15MINUTS."</option>"
    ."<option name=\"xcache_utopics\" value=\"1800\" $se4>"._30MINUTS."</option>"
    ."<option name=\"xcache_utopics\" value=\"3600\" $se5>"._1HOUR."</option>"
    ."<option name=\"xcache_utopics\" value=\"7200\" $se6>"._2HOURS."</option>"
    ."<option name=\"xcache_utopics\" value=\"10800\" $se7>"._3HOURS."</option>"
    ."<option name=\"xcache_utopics\" value=\"21600\" $se8>"._6HOURS."</option>"
    ."<option name=\"xcache_utopics\" value=\"43200\" $se9>"._12HOURS."</option>"
    ."<option name=\"xcache_utopics\" value=\"86400\" $se10>"._1DAY."</option>"
    ."<option name=\"xcache_utopics\" value=\"172800\" $se11>"._2DAYS."</option>"
    ."<option name=\"xcache_utopics\" value=\"259200\" $se12>"._3DAYS."</option>"
    ."<option name=\"xcache_utopics\" value=\"345600\" $se13>"._4DAYS."</option>"
    ."<option name=\"xcache_utopics\" value=\"432000\" $se14>"._5DAYS."</option>"
    ."<option name=\"xcache_utopics\" value=\"516000\" $se15>"._6DAYS."</option>"
    ."<option name=\"xcache_utopics\" value=\"604800\" $se16>"._1WEEK."</option>"
    ."<option name=\"xcache_utopics\" value=\"1208000\" $se17>"._2WEEKS."</option>"
    ."<option name=\"xcache_utopics\" value=\"1814400\" $se18>"._3WEEKS."</option>"
    ."<option name=\"xcache_utopics\" value=\"2419200\" $se19>"._4WEEKS."</option>"
    ."</select>"
    ."</td>";

$se0=$se1=$se2=$se3=$se4=$se5=$se6=$se7=$se8=$se9=$se10=$se11=$se12=$se13=$se14=$se15=$se16=$se17=$se18=$se19= "";
if ($cache_atopics == 0) { $se0 = " selected"; }
elseif  ($cache_atopics == 300) { $se1 = " selected"; }
elseif  ($cache_atopics == 600) { $se2 = " selected"; }
elseif  ($cache_atopics == 900) { $se3 = " selected"; }
elseif  ($cache_atopics == 1800) { $se4 = " selected"; }
elseif  ($cache_atopics == 3600) { $se5 = " selected"; }
elseif  ($cache_atopics == 7200) { $se6 = " selected"; }
elseif  ($cache_atopics == 10800) { $se7 = " selected"; }
elseif  ($cache_atopics == 21600) { $se8 = " selected"; }
elseif  ($cache_atopics == 43200) { $se9 = " selected"; }
elseif  ($cache_atopics == 86400) { $se10 = " selected"; }
elseif  ($cache_atopics == 172800) { $se11 = " selected"; }
elseif  ($cache_atopics == 259200) { $se12 = " selected"; }
elseif  ($cache_atopics == 345600) { $se13 = " selected"; }
elseif  ($cache_atopics == 432000) { $se14 = " selected"; }
elseif  ($cache_atopics == 516000) { $se15 = " selected"; }
elseif  ($cache_atopics == 604800) { $se16 = " selected"; }
elseif  ($cache_atopics == 1208000) { $se17 = " selected"; }
elseif  ($cache_atopics == 1814400) { $se18 = " selected"; }
elseif  ($cache_atopics == 2419200) { $se19 = " selected"; }
echo "<td align=\"center\">"
    ."<select name=\"xcache_atopics\">"
    ."<option name=\"xcache_atopics\" value=\"0\" $se0>"._NOCACHE."</option>"
    ."<option name=\"xcache_atopics\" value=\"300\" $se1>"._5MINUTS."</option>"
    ."<option name=\"xcache_atopics\" value=\"600\" $se2>"._10MINUTS."</option>"
    ."<option name=\"xcache_atopics\" value=\"900\" $se3>"._15MINUTS."</option>"
    ."<option name=\"xcache_atopics\" value=\"1800\" $se4>"._30MINUTS."</option>"
    ."<option name=\"xcache_atopics\" value=\"3600\" $se5>"._1HOUR."</option>"
    ."<option name=\"xcache_atopics\" value=\"7200\" $se6>"._2HOURS."</option>"
    ."<option name=\"xcache_atopics\" value=\"10800\" $se7>"._3HOURS."</option>"
    ."<option name=\"xcache_atopics\" value=\"21600\" $se8>"._6HOURS."</option>"
    ."<option name=\"xcache_atopics\" value=\"43200\" $se9>"._12HOURS."</option>"
    ."<option name=\"xcache_atopics\" value=\"86400\" $se10>"._1DAY."</option>"
    ."<option name=\"xcache_atopics\" value=\"172800\" $se11>"._2DAYS."</option>"
    ."<option name=\"xcache_atopics\" value=\"259200\" $se12>"._3DAYS."</option>"
    ."<option name=\"xcache_atopics\" value=\"345600\" $se13>"._4DAYS."</option>"
    ."<option name=\"xcache_atopics\" value=\"432000\" $se14>"._5DAYS."</option>"
    ."<option name=\"xcache_atopics\" value=\"516000\" $se15>"._6DAYS."</option>"
    ."<option name=\"xcache_atopics\" value=\"604800\" $se16>"._1WEEK."</option>"
    ."<option name=\"xcache_atopics\" value=\"1208000\" $se17>"._2WEEKS."</option>"
    ."<option name=\"xcache_atopics\" value=\"1814400\" $se18>"._3WEEKS."</option>"
    ."<option name=\"xcache_atopics\" value=\"2419200\" $se19>"._4WEEKS."</option>"
    ."</select>"
    ."</td></tr>";
*/
echo "<td></td><td></td></tr>";
}

// web links
if ((is_active("Web_Links")) && (file_exists("modules/Web_Links/credits.php")) && (file_exists("modules/Web_Links/copyright.php")) ){

//global CACHE_VLINKS, $cache_ulinks, $cache_alinks;

$se0=$se1=$se2=$se3=$se4=$se5=$se6=$se7=$se8=$se9=$se10=$se11=$se12=$se13=$se14=$se15=$se16=$se17=$se18=$se19= "";
if (CACHE_VLINKS == 0) { $se0 = " selected"; }
elseif  (CACHE_VLINKS == 300) { $se1 = " selected"; }
elseif  (CACHE_VLINKS == 600) { $se2 = " selected"; }
elseif  (CACHE_VLINKS == 900) { $se3 = " selected"; }
elseif  (CACHE_VLINKS == 1800) { $se4 = " selected"; }
elseif  (CACHE_VLINKS == 3600) { $se5 = " selected"; }
elseif  (CACHE_VLINKS == 7200) { $se6 = " selected"; }
elseif  (CACHE_VLINKS == 10800) { $se7 = " selected"; }
elseif  (CACHE_VLINKS == 21600) { $se8 = " selected"; }
elseif  (CACHE_VLINKS == 43200) { $se9 = " selected"; }
elseif  (CACHE_VLINKS == 86400) { $se10 = " selected"; }
elseif  (CACHE_VLINKS == 172800) { $se11 = " selected"; }
elseif  (CACHE_VLINKS == 259200) { $se12 = " selected"; }
elseif  (CACHE_VLINKS == 345600) { $se13 = " selected"; }
elseif  (CACHE_VLINKS == 432000) { $se14 = " selected"; }
elseif  (CACHE_VLINKS == 516000) { $se15 = " selected"; }
elseif  (CACHE_VLINKS == 604800) { $se16 = " selected"; }
elseif  (CACHE_VLINKS == 1208000) { $se17 = " selected"; }
elseif  (CACHE_VLINKS == 1814400) { $se18 = " selected"; }
elseif  (CACHE_VLINKS == 2419200) { $se19 = " selected"; }



echo "<tr><td height=\"15\"></td></tr>"
    ."<tr><td bgcolor=\"$bgcolor2\">&nbsp; Web Links "
    ."<td align=\"center\"><a href=\"modules.php?name=Web_Links\">"._HOMEWEBLINKS."</a>"
    ."</td>"
    ."<td align=\"center\">"
    ."<select name=\"vlinks\">"
    ."<option name=\"vlinks\" value=\"0\" $se0>"._NOCACHE."</option>"
    ."<option name=\"vlinks\" value=\"300\" $se1>"._5MINUTS."</option>"
    ."<option name=\"vlinks\" value=\"600\" $se2>"._10MINUTS."</option>"
    ."<option name=\"vlinks\" value=\"900\" $se3>"._15MINUTS."</option>"
    ."<option name=\"vlinks\" value=\"1800\" $se4>"._30MINUTS."</option>"
    ."<option name=\"vlinks\" value=\"3600\" $se5>"._1HOUR."</option>"
    ."<option name=\"vlinks\" value=\"7200\" $se6>"._2HOURS."</option>"
    ."<option name=\"vlinks\" value=\"10800\" $se7>"._3HOURS."</option>"
    ."<option name=\"vlinks\" value=\"21600\" $se8>"._6HOURS."</option>"
    ."<option name=\"vlinks\" value=\"43200\" $se9>"._12HOURS."</option>"
    ."<option name=\"vlinks\" value=\"86400\" $se10>"._1DAY."</option>"
    ."<option name=\"vlinks\" value=\"172800\" $se11>"._2DAYS."</option>"
    ."<option name=\"vlinks\" value=\"259200\" $se12>"._3DAYS."</option>"
    ."<option name=\"vlinks\" value=\"345600\" $se13>"._4DAYS."</option>"
    ."<option name=\"vlinks\" value=\"432000\" $se14>"._5DAYS."</option>"
    ."<option name=\"vlinks\" value=\"516000\" $se15>"._6DAYS."</option>"
    ."<option name=\"vlinks\" value=\"604800\" $se16>"._1WEEK."</option>"
    ."<option name=\"vlinks\" value=\"1208000\" $se17>"._2WEEKS."</option>"
    ."<option name=\"vlinks\" value=\"1814400\" $se18>"._3WEEKS."</option>"
    ."<option name=\"vlinks\" value=\"2419200\" $se19>"._4WEEKS."</option>"
    ."</select>"
    ."</td>";

/*
$se0=$se1=$se2=$se3=$se4=$se5=$se6=$se7=$se8=$se9=$se10=$se11=$se12=$se13=$se14=$se15=$se16=$se17=$se18=$se19= "";
if ($cache_ulinks == 0) { $se0 = " selected"; }
elseif  ($cache_ulinks == 300) { $se1 = " selected"; }
elseif  ($cache_ulinks == 600) { $se2 = " selected"; }
elseif  ($cache_ulinks == 900) { $se3 = " selected"; }
elseif  ($cache_ulinks == 1800) { $se4 = " selected"; }
elseif  ($cache_ulinks == 3600) { $se5 = " selected"; }
elseif  ($cache_ulinks == 7200) { $se6 = " selected"; }
elseif  ($cache_ulinks == 10800) { $se7 = " selected"; }
elseif  ($cache_ulinks == 21600) { $se8 = " selected"; }
elseif  ($cache_ulinks == 43200) { $se9 = " selected"; }
elseif  ($cache_ulinks == 86400) { $se10 = " selected"; }
elseif  ($cache_ulinks == 172800) { $se11 = " selected"; }
elseif  ($cache_ulinks == 259200) { $se12 = " selected"; }
elseif  ($cache_ulinks == 345600) { $se13 = " selected"; }
elseif  ($cache_ulinks == 432000) { $se14 = " selected"; }
elseif  ($cache_ulinks == 516000) { $se15 = " selected"; }
elseif  ($cache_ulinks == 604800) { $se16 = " selected"; }
elseif  ($cache_ulinks == 1208000) { $se17 = " selected"; }
elseif  ($cache_ulinks == 1814400) { $se18 = " selected"; }
elseif  ($cache_ulinks == 2419200) { $se19 = " selected"; }


echo "<td align=\"center\">"
    ."<select name=\"xcache_ulinks\">"
    ."<option name=\"xcache_ulinks\" value=\"0\" $se0>"._NOCACHE."</option>"
    ."<option name=\"xcache_ulinks\" value=\"300\" $se1>"._5MINUTS."</option>"
    ."<option name=\"xcache_ulinks\" value=\"600\" $se2>"._10MINUTS."</option>"
    ."<option name=\"xcache_ulinks\" value=\"900\" $se3>"._15MINUTS."</option>"
    ."<option name=\"xcache_ulinks\" value=\"1800\" $se4>"._30MINUTS."</option>"
    ."<option name=\"xcache_ulinks\" value=\"3600\" $se5>"._1HOUR."</option>"
    ."<option name=\"xcache_ulinks\" value=\"7200\" $se6>"._2HOURS."</option>"
    ."<option name=\"xcache_ulinks\" value=\"10800\" $se7>"._3HOURS."</option>"
    ."<option name=\"xcache_ulinks\" value=\"21600\" $se8>"._6HOURS."</option>"
    ."<option name=\"xcache_ulinks\" value=\"43200\" $se9>"._12HOURS."</option>"
    ."<option name=\"xcache_ulinks\" value=\"86400\" $se10>"._1DAY."</option>"
    ."<option name=\"xcache_ulinks\" value=\"172800\" $se11>"._2DAYS."</option>"
    ."<option name=\"xcache_ulinks\" value=\"259200\" $se12>"._3DAYS."</option>"
    ."<option name=\"xcache_ulinks\" value=\"345600\" $se13>"._4DAYS."</option>"
    ."<option name=\"xcache_ulinks\" value=\"432000\" $se14>"._5DAYS."</option>"
    ."<option name=\"xcache_ulinks\" value=\"516000\" $se15>"._6DAYS."</option>"
    ."<option name=\"xcache_ulinks\" value=\"604800\" $se16>"._1WEEK."</option>"
    ."<option name=\"xcache_ulinks\" value=\"1208000\" $se17>"._2WEEKS."</option>"
    ."<option name=\"xcache_ulinks\" value=\"1814400\" $se18>"._3WEEKS."</option>"
    ."<option name=\"xcache_ulinks\" value=\"2419200\" $se19>"._4WEEKS."</option>"
    ."</select>"
    ."</td>";


$se0=$se1=$se2=$se3=$se4=$se5=$se6=$se7=$se8=$se9=$se10=$se11=$se12=$se13=$se14=$se15=$se16=$se17=$se18=$se19= "";
if ($cache_alinks == 0) { $se0 = " selected"; }
elseif  ($cache_alinks == 300) { $se1 = " selected"; }
elseif  ($cache_alinks == 600) { $se2 = " selected"; }
elseif  ($cache_alinks == 900) { $se3 = " selected"; }
elseif  ($cache_alinks == 1800) { $se4 = " selected"; }
elseif  ($cache_alinks == 3600) { $se5 = " selected"; }
elseif  ($cache_alinks == 7200) { $se6 = " selected"; }
elseif  ($cache_alinks == 10800) { $se7 = " selected"; }
elseif  ($cache_alinks == 21600) { $se8 = " selected"; }
elseif  ($cache_alinks == 43200) { $se9 = " selected"; }
elseif  ($cache_alinks == 86400) { $se10 = " selected"; }
elseif  ($cache_alinks == 172800) { $se11 = " selected"; }
elseif  ($cache_alinks == 259200) { $se12 = " selected"; }
elseif  ($cache_alinks == 345600) { $se13 = " selected"; }
elseif  ($cache_alinks == 432000) { $se14 = " selected"; }
elseif  ($cache_alinks == 516000) { $se15 = " selected"; }
elseif  ($cache_alinks == 604800) { $se16 = " selected"; }
elseif  ($cache_alinks == 1208000) { $se17 = " selected"; }
elseif  ($cache_alinks == 1814400) { $se18 = " selected"; }
elseif  ($cache_alinks == 2419200) { $se19 = " selected"; }
echo "<td align=\"center\">"
    ."<select name=\"xcache_alinks\">"
    ."<option name=\"xcache_alinks\" value=\"0\" $se0>"._NOCACHE."</option>"
    ."<option name=\"xcache_alinks\" value=\"300\" $se1>"._5MINUTS."</option>"
    ."<option name=\"xcache_alinks\" value=\"600\" $se2>"._10MINUTS."</option>"
    ."<option name=\"xcache_alinks\" value=\"900\" $se3>"._15MINUTS."</option>"
    ."<option name=\"xcache_alinks\" value=\"1800\" $se4>"._30MINUTS."</option>"
    ."<option name=\"xcache_alinks\" value=\"3600\" $se5>"._1HOUR."</option>"
    ."<option name=\"xcache_alinks\" value=\"7200\" $se6>"._2HOURS."</option>"
    ."<option name=\"xcache_alinks\" value=\"10800\" $se7>"._3HOURS."</option>"
    ."<option name=\"xcache_alinks\" value=\"21600\" $se8>"._6HOURS."</option>"
    ."<option name=\"xcache_alinks\" value=\"43200\" $se9>"._12HOURS."</option>"
    ."<option name=\"xcache_alinks\" value=\"86400\" $se10>"._1DAY."</option>"
    ."<option name=\"xcache_alinks\" value=\"172800\" $se11>"._2DAYS."</option>"
    ."<option name=\"xcache_alinks\" value=\"259200\" $se12>"._3DAYS."</option>"
    ."<option name=\"xcache_alinks\" value=\"345600\" $se13>"._4DAYS."</option>"
    ."<option name=\"xcache_alinks\" value=\"432000\" $se14>"._5DAYS."</option>"
    ."<option name=\"xcache_alinks\" value=\"516000\" $se15>"._6DAYS."</option>"
    ."<option name=\"xcache_alinks\" value=\"604800\" $se16>"._1WEEK."</option>"
    ."<option name=\"xcache_alinks\" value=\"1208000\" $se17>"._2WEEKS."</option>"
    ."<option name=\"xcache_alinks\" value=\"1814400\" $se18>"._3WEEKS."</option>"
    ."<option name=\"xcache_alinks\" value=\"2419200\" $se19>"._4WEEKS."</option>"
    ."</select>"
    ."</td></tr>";
*/
echo "<td></td><td></td></tr>";
}


echo "</table>"
    ."<input type=\"hidden\" name=\"op\" value=\"UpdatecMax\" />"
    ."<table align=\"center\"><td><br /><input type=\"submit\" value=\""._SAVECHANGES."\" /></td></form></tr></table><br /><br />";
  incof();

}
} else {
	echo "Access Denied";
}