} if ($_GET["function"] == "quicklinks_account") { quicklinks_account(); exit; } if (!$GLOBALS["AS_ROOT"]) { if (!$users->AsAnAdministratorGeneric) { die("Not autorized"); } } if (isset($_GET["off"])) { off(); exit; } if (isset($_GET["squidcklinks-host-infos"])) { squidcklinks_host_infos(); exit; } if (isset($_GET["RefreshMyIp"])) { RefreshMyIp(); exit; } if (function_exists($_GET["function"])) { call_user_func($_GET["function"]); exit; } if (!$GLOBALS["AS_ROOT"]) { if (GET_CACHED(__FILE__, __FUNCTION__, __FUNCTION__)) { return null; } }
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'); //ini_set('display_errors', 1); //ini_set('error_reporting', E_ALL); if(!isset($GLOBALS["CLASS_USERS"])){$GLOBALS["CLASS_USERS"]=new usersMenus();$users=$GLOBALS["CLASS_USERS"];}else{$users=$GLOBALS["CLASS_USERS"];} if(isset($_GET["off"])){off();exit;} if(isset($_GET["squidcklinks-host-infos"])){squidcklinks_host_infos();exit;} if(function_exists($_GET["function"])){call_user_func($_GET["function"]);exit;} if(isset($_GET["off"])){off();exit;} $page=CurrentPageName(); $tpl=new templates(); $account=$tpl->_ENGINE_parse_body(quicklinks_paragraphe("user-48.png", "myaccount",null, "QuickLinkSystems('section_myaccount')")); $webfiltering=$tpl->_ENGINE_parse_body(quicklinks_paragraphe("web-filtering-48.png", "WEB_FILTERING","softwares_mangement_text", "QuickLinkSystems('section_webfiltering_dansguardian')")); $squidStats=$tpl->_ENGINE_parse_body(quicklinks_paragraphe("statistics-48.png", "SQUID_STATS","proxyquicktext", "QuickLinkSystems('section_statistics')")); $tr[]=$account; $tr[]=$webfiltering; $tr[]=$squidStats; $tr[]=$squid; $tr[]=$tpl->_ENGINE_parse_body(quicklinks_paragraphe("48-parameters.png", "proxy_main_settings","proxy_main_settings", "QuickLinkSystems('section_browser_config')")); $tr[]=$tpl->_ENGINE_parse_body(quicklinks_paragraphe("48-logs.png", "realtime_events_squid","realtime_events_squid", "QuickLinkSystems('section_realtime_events')"));