<?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'); include_once('ressources/class.users.menus.inc'); include_once('ressources/class.squid.inc'); include_once('ressources/class.status.inc'); include_once('ressources/class.artica.graphs.inc'); $users=new usersMenus(); if(!$users->AsProxyMonitor){die();} if(isset($_GET["SWAP"])){SWAP_PAGE();exit;} if(isset($_GET["PING"])){PING_PAGE();exit;} if(isset($_GET["DNS"])){DNS_PAGE();exit;} if(isset($_GET["external-page"])){EXTERNAL_PAGE();exit;} if(isset($_GET["performance"])){PERFORMANCE_PAGE();exit;} if(isset($_GET["settings"])){SETTINGS_PAGE();exit;} if(isset($_GET["smtp"])){SMTP_PAGE();exit;} if(isset($_POST["SAVEGLOBAL"])){SAVE();exit;} if(isset($_POST["SAVESMTP"])){SAVE_SMTP();exit;} if(isset($_GET["tabs"])){tabs();exit;} js(); function js(){ $tpl=new templates(); $title=$tpl->javascript_parse_text("{watchdog_settings}"); $page=CurrentPageName(); header("content-type: application/x-javascript"); echo "YahooWin4('850','$page?tabs=yes','$title')";
include_once 'ressources/class.templates.inc'; include_once 'ressources/class.users.menus.inc'; include_once 'ressources/class.squid.inc'; include_once 'ressources/class.status.inc'; include_once 'ressources/class.squid.watchdog.inc'; $users = new usersMenus(); if (!$users->AsProxyMonitor) { echo FATAL_ERROR_SHOW_128("{ERROR_NO_PRIVS}"); die; } if (isset($_GET["SWAP"])) { SWAP_PAGE(); exit; } if (isset($_GET["PING"])) { PING_PAGE(); exit; } if (isset($_GET["DNS"])) { DNS_PAGE(); exit; } if (isset($_GET["LOAD"])) { LOAD_PAGE(); exit; } if (isset($_GET["MEMORY"])) { MEMORY_PAGE(); exit; } if (isset($_GET["AD"])) {