Exemple #1
0
	
	$user=new usersMenus();
	if($user->AsSquidAdministrator==false){
		$tpl=new templates();
		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){
Exemple #2
0
    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["kav-license"])) {
    echo kav4proxy_license_js();
    exit;
}
if (isset($_GET["Kav4proxy-license-popup"])) {
    echo kav4proxy_license_popup();
    exit;
}
if (isset($_GET["Kav4proxy-license-delete"])) {