exit; } if (isset($_GET["backup-download-popup"])) { backup_download_popup(); exit; } if (isset($_GET["enable-js"])) { skin_enable_js(); exit; } if (isset($_GET["delete-rule-js"])) { rule_delete_js(); exit; } if (isset($_GET["picture"])) { send_picture(); exit; } if (isset($_GET["rule-js"])) { rule_js(); exit; } if (isset($_GET["list"])) { list_items(); exit; } if (isset($_GET["rule-tabs"])) { rule_tabs(); exit; } if (isset($_GET["SETTINGS"])) {
include_once('ressources/class.dansguardian.inc'); header("Pragma: no-cache"); header("Expires: 0"); header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); header("Cache-Control: no-cache, must-revalidate"); $user=new usersMenus(); if(!$user->AsDansGuardianAdministrator){ $tpl=new templates(); echo "alert('".$tpl->javascript_parse_text("{ERROR_NO_PRIVS}").");"; exit; } if(isset($_GET["enable-js"])){skin_enable_js();exit;} if(isset($_GET["delete-rule-js"])){skin_delete_js();exit;} if(isset($_GET["picture"])){send_picture();exit;} if(isset($_GET["skin-js"])){skin_js();exit;} if(isset($_GET["list"])){list_items();exit();} if(isset($_GET["skin-tabs"])){skin_tabs();exit;} if(isset($_GET["TEMPLATE_SETTINGS"])){skin_parameters();exit;} if(isset($_GET["TEMPLATE_CONTENT"])){skin_design();exit;} if(isset($_GET["TEMPLATE_LOGO"])){skin_logo();exit;} if(isset($_POST["zmd5-params"])){skin_parameters_save();exit;} if(isset($_POST["UFDBGUARD_TITLE_1"])){skin_design_save();exit;} if(isset($_POST["SquidHTTPTemplateLogoEnable"])){skin_logo_save();exit;} if(isset($_POST["delete-rule"])){skin_delete();exit;} if(isset($_POST["enable-rule"])){skin_enable();exit;} page(); function skin_js(){