exit;
}
if (isset($_GET["squid-status-graphs"])) {
    general_status_graphs();
    exit;
}
if (isset($_GET["status-graph-flow"])) {
    general_status_graphs_flow();
    exit;
}
if (isset($_GET["squid-cache-flow-performance"])) {
    general_status_cache_graphs();
    exit;
}
if (isset($_GET["day-consumption"])) {
    day_consumption();
    exit;
}
if (isset($_GET["now"])) {
    now();
    exit;
}
if (isset($_GET["now-search"])) {
    now_search_list();
    exit;
}
if (isset($_GET["now-section"])) {
    now_section();
    exit;
}
tabs();
		$users=new usersMenus();
		if(!$users->AsWebStatisticsAdministrator){die("Permission denied");}
	}
	
	if($argv[1]=="squid-status-stats"){squid_status_stats();exit;}
	if(isset($_GET["status"])){status();exit;}
	if(isset($_GET["squid-general-status"])){general_status();exit;}
	if(isset($_GET["squid-status-stats"])){squid_status_stats();exit;}
	
	if(isset($_GET["squid-status-graphs"])){general_status_graphs();exit;}
	if(isset($_GET["status-graph-flow"])){general_status_graphs_flow();exit;}
	
	
	if(isset($_GET["squid-cache-flow-performance"])){general_status_cache_graphs();exit;}
	
	if(isset($_GET["day-consumption"])){day_consumption();exit;}
	
	if(isset($_GET["now"])){now();exit;}
	if(isset($_GET["now-search"])){now_search_list();exit;}
	if(isset($_GET["now-section"])){now_section();exit;}
	
	
	
tabs();


function tabs(){
	
	$page=CurrentPageName();
	
	$tpl=new templates();