echo "alert('". $tpl->javascript_parse_text("{ERROR_NO_PRIVS}")."');"; die();exit(); } include_once ("ressources/jpgraph-3/src/jpgraph.php"); include_once ("ressources/jpgraph-3/src/jpgraph_pie.php"); include_once ("ressources/jpgraph-3/src/jpgraph_pie3d.php"); if(isset($_GET["update-kav"])){apply_kavupdate();exit;} if(isset($_GET["update-kav-now"])){apply_kavupdate_perform();exit;} if(isset($_GET["update-kav-popup"])){apply_kavupdate_popup();exit;} if(isset($_GET["update-kav-logs"])){apply_kavupdate_logs();exit;} if(isset($_GET["error-remote-appliance"])){error_remote_appliance();exit;} if(isset($_GET["error-remote-appliance-popup"])){error_remote_appliance_popup();exit;} if(isset($_GET["warn-enable-malware-patrol-js"])){error_malware_patrol_js();exit;} if(isset($_GET["warn-enable-malware-patrol-popup"])){error_malware_patrol_popup();exit;} if(isset($_GET["squid-nat-status"])){squid_nat_status();exit;} $user=new usersMenus(); if(!$user->WEBSTATS_APPLIANCE){ if($user->SQUID_INSTALLED==false){header('location:users.index.php');exit();} } if($user->AsSquidAdministrator==false){header('location:users.index.php');exit();}
exit; } if (isset($_GET["update-kav-now"])) { apply_kavupdate_perform(); exit; } if (isset($_GET["update-kav-popup"])) { apply_kavupdate_popup(); exit; } if (isset($_GET["update-kav-logs"])) { apply_kavupdate_logs(); exit; } if (isset($_GET["error-remote-appliance"])) { error_remote_appliance(); exit; } if (isset($_GET["error-remote-appliance-popup"])) { error_remote_appliance_popup(); exit; } if (isset($_GET["warn-enable-malware-patrol-js"])) { error_malware_patrol_js(); exit; } if (isset($_GET["warn-enable-malware-patrol-popup"])) { error_malware_patrol_popup(); exit; } if (isset($_GET["squid-nat-status"])) {