Esempio n. 1
0
	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();}
	
	if(isset($_GET["js_enable_disable_squid"])){js_enable_disable_squid(true);exit;}
	
	if(isset($_GET["reactivate-squid"])){reactivate_squid();exit;}
	
	if(isset($_GET["ajaxmenu"])){main_switch();exit;}
	if(isset($_GET["main"])){main_switch();exit;}
	if(isset($_GET["fqdncache_size"])){main_save_array();exit;}
	if(isset($_GET["applysquid"])){applysquid();exit;}
	
	
	if(isset($_GET["wait-finish"])){exit;};
	if(isset($_GET["cache-list"])){echo cache_list();exit;}
	
	if(isset($_GET["connection-time"])){echo time_global();exit;}
	if(isset($_GET["connection-time-showgroup"])){echo time_groups();exit;}
	if(isset($_GET["connection-time-rule"])){echo time_rule();exit;}
	if(isset($_GET["end_time_hour"])){time_save();exit;}
	if(isset($_GET["time-rule-list"])){echo time_rule_list($_GET["gpid"],$_GET["ou"]);exit;}
Esempio n. 2
0
}
if (isset($_POST['upload'])) {
    kav4proxy_license_upload();
    exit;
}
$user = new usersMenus();
if ($user->SQUID_INSTALLED == false) {
    header('location:users.index.php');
    exit;
}
if ($user->AsSquidAdministrator == false) {
    header('location:users.index.php');
    exit;
}
if (isset($_GET["reactivate-squid"])) {
    reactivate_squid();
    exit;
}
if (isset($_GET["ajaxmenu"])) {
    main_switch();
    exit;
}
if (isset($_GET["main"])) {
    main_switch();
    exit;
}
if (isset($_GET["fqdncache_size"])) {
    main_save_array();
    exit;
}
if (isset($_GET["applysquid"])) {