if (!$usersmenus->AsDansGuardianAdministrator) { $tpl = new templates(); $alert = $tpl->_ENGINE_parse_body('{ERROR_NO_PRIVS}'); echo "alert('{$alert}');"; die; } if (isset($_POST["LogFileDaemonMaxEvents"])) { logfile_daemon_save(); exit; } if (isset($_GET["tabs-all"])) { tabs_all(); exit; } if (isset($_GET["external"])) { external(); exit; } if (isset($_GET["events-list"])) { events_search(); exit; } if (isset($_GET["container-list"])) { container_list(); exit; } if (isset($_GET["log-js"])) { log_js(); exit; } if (isset($_GET["store-file"])) {
include_once('ressources/class.ldap.inc'); include_once('ressources/class.users.menus.inc'); include_once('ressources/class.squid.inc'); include_once('ressources/class.squid.accesslogs.inc'); include_once('ressources/class.tcpip.inc'); $usersmenus=new usersMenus(); if(!$usersmenus->AsDansGuardianAdministrator){ $tpl=new templates(); $alert=$tpl->_ENGINE_parse_body('{ERROR_NO_PRIVS}'); echo "alert('$alert');"; die(); } if(isset($_POST["DisableLogFileDaemonMySQL"])){logfile_daemon_save();exit;} if(isset($_GET["tabs-all"])){tabs_all();exit;} if(isset($_GET["external"])){external();exit;} if(isset($_GET["events-list"])){events_search();exit;} if(isset($_GET["container-list"])){container_list();exit;} if(isset($_GET["log-js"])){log_js();exit;} if(isset($_GET["store-file"])){store_file();exit;} if(isset($_GET["downloadgz"])){downloadgz();exit;} if(isset($_GET["downloadf"])){downloadf();exit;} if(isset($_GET["uncompress"])){uncompress_file();exit;} if(isset($_GET["uncompress-check"])){uncompress_file_check();exit;} if(isset($_GET["delete-check"])){uncompress_file_delete();exit;} if(isset($_POST["csv-delete"])){csv_delete();exit;} if(isset($_POST["empty-store"])){empty_store();exit;} if(isset($_GET["change-date-js"])){change_date_js();exit;} if(isset($_GET["change-date-popup"])){change_date_popup();exit;} if(isset($_GET["logfile-daemon-js"])){logfile_daemon_js();exit;} if(isset($_GET["logfile-daemon-popup"])){logfile_daemon_popup();exit;}