exit;
}
if (isset($_GET["graph0"])) {
    graph0();
    exit;
}
if (isset($_GET["graph1"])) {
    graph1();
    exit;
}
if (isset($_GET["table1"])) {
    table1();
    exit;
}
if (isset($_GET["graph2"])) {
    graph2();
    exit;
}
if (isset($_GET["table2"])) {
    table2();
    exit;
}
if (isset($_GET["table3"])) {
    table3();
    exit;
}
if (isset($_GET["graph3"])) {
    graph3();
    exit;
}
if (isset($_GET["table4"])) {
Ejemplo n.º 2
0
	include_once('ressources/class.squid.inc');
	include_once('ressources/class.system.network.inc');

	$user=new usersMenus();
	if($user->AsSquidAdministrator==false){
		$tpl=new templates();
		echo "alert('". $tpl->javascript_parse_text("{ERROR_NO_PRIVS}")."');";
		die();exit();
	}
	
	if(isset($_GET["tabs"])){tabs();exit;}
	if(isset($_GET["popup"])){popup();exit;}
	if(isset($_GET["yesterday"])){yesterday();exit;}
	
	if(isset($_GET["graph1"])){graph1();exit;}
	if(isset($_GET["graph2"])){graph2();exit;}
	

js();

function tabs(){
	$page=CurrentPageName();
	$tpl=new templates();
	$array["popup"]='{today}';
	$array["yesterday"]='{yesterday}';
	

	$page=CurrentPageName();
	$tpl=new templates();
	$q=new mysql();