include_once('ressources/class.ldap.inc'); include_once('ressources/class.users.menus.inc'); include_once('ressources/class.squid.inc'); $usersmenus=new usersMenus(); if(!$usersmenus->AsSquidAdministrator){ $tpl=new templates(); $alert=$tpl->_ENGINE_parse_body('{ERROR_NO_PRIVS}'); echo "alert('$alert');"; die(); } if(isset($_POST["ProxyPacCacheTime"])){settings_save();exit;} if(isset($_GET["settings-js"])){settings_js();exit;} if(isset($_GET["settings-popup"])){settings_popup();exit;} if(isset($_POST["EmptyCache"])){EmptyCache();exit;} if(isset($_GET["tabs"])){tabs();exit;} if(isset($_GET["help"])){help();exit;} if(isset($_GET["events"])){events();exit;} if(isset($_GET["events-search"])){events_search();exit;} if(isset($_GET["events-script"])){events_script_js();exit;} if(isset($_GET["events-script-popup"])){events_script_popup();exit;} if(isset($_GET["events-script-tester-js"])){events_script_tester_js();exit;} if(isset($_GET["events-script-tester-popup"])){events_script_tester_popup();exit;} if(isset($_POST["TESTER-URL"])){events_script_tester_perform();exit;} if(isset($_POST["rebuild-tables"])){rebuild_tables();exit;} if(isset($_GET["rules"])){rules();exit;}
exit; } if (isset($_GET["storage-view-search"])) { storage_view_search(); exit; } if (isset($_POST["delete-extracted"])) { storage_view_delete(); exit; } if (isset($_POST["LogRotateCompress"])) { settings_save(); exit; } if (isset($_GET["settings-popup"])) { settings_popup(); exit; } if (isset($_GET["log-retention-time-js"])) { log_retention_time_js(); exit; } if (isset($_GET["remote-nas-js"])) { remote_nas_js(); exit; } if (isset($_GET["remote-nas-popup"])) { remote_nas_popup(); exit; } if (isset($_GET["backup-to-nas-js"])) {