Beispiel #1
0
		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;}
	if(isset($_GET["ConnectionTimeDelete"])){time_rule_delete();exit;}
	
	if(isset($_GET["changecache-js"])){changecache_js();exit;}
	if(isset($_GET["changecache-popup"])){changecache_popup();exit;}
	if(isset($_GET["changecache-popup-content"])){changecache_popup_content();exit;}
	if(isset($_GET["SaveNewChache"])){changecache_save();exit;}
	
	
	
Beispiel #2
0
    applysquid();
    exit;
}
if (isset($_GET["add-cache"])) {
    cache_edit();
    exit;
}
if (isset($_GET["cache_directory"])) {
    cache_save();
    exit;
}
if (isset($_GET["wait-finish"])) {
    exit;
}
if (isset($_GET["cache-list"])) {
    echo cache_list();
    exit;
}
if (isset($_GET["DeleteCache"])) {
    cache_delete();
    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"])) {