ini_set('error_prepend_string', null); ini_set('error_append_string', null); } include_once 'ressources/class.templates.inc'; session_start(); include_once 'ressources/class.html.pages.inc'; include_once 'ressources/class.cyrus.inc'; include_once 'ressources/class.main_cf.inc'; include_once 'ressources/charts.php'; include_once 'ressources/class.syslogs.inc'; include_once 'ressources/class.system.network.inc'; include_once 'ressources/class.os.system.inc'; include_once 'ressources/class.dansguardian.inc'; include_once dirname(__FILE__) . "/ressources/class.mysql.squid.builder.php"; if (isset($_GET["blacklist"])) { blacklist_start(); exit; } if (isset($_GET["blacklist-perform"])) { blacklist(); exit; } if (isset($_GET["whitelist-perform"])) { whitelist(); exit; } if (isset($_GET["delete-personal-category-js"])) { category_delete_js(); exit; } if (isset($_POST["delete-personal-category"])) {
<?php if(isset($_GET["verbose"])){$GLOBALS["VERBOSE"]=true;ini_set('display_errors', 1);ini_set('error_reporting', E_ALL);ini_set('error_prepend_string',null);ini_set('error_append_string',null);} include_once('ressources/class.templates.inc'); session_start(); include_once('ressources/class.html.pages.inc'); include_once('ressources/class.cyrus.inc'); include_once('ressources/class.main_cf.inc'); include_once('ressources/charts.php'); include_once('ressources/class.syslogs.inc'); include_once('ressources/class.system.network.inc'); include_once('ressources/class.os.system.inc'); include_once('ressources/class.dansguardian.inc'); include_once(dirname(__FILE__)."/ressources/class.mysql.squid.builder.php"); if(isset($_GET["blacklist"])){blacklist_start();exit;} if(isset($_GET["blacklist-perform"])){blacklist();exit;} if(isset($_GET["whitelist-perform"])){whitelist();exit;} if(isset($_GET["delete-personal-category-js"])){category_delete_js();exit;} if(isset($_POST["delete-personal-category"])){category_delete();exit;} if(isset($_GET["whitelist"])){whitelist_start();exit;} tabs(); function category_delete_js(){ $page=CurrentPageName(); $tpl=new templates(); $q=new mysql_squid_builder();