include_once('ressources/class.system.network.inc');
include_once('ressources/class.system.nics.inc');


$users=new usersMenus();
if(!$users->AsWebStatisticsAdministrator){
	$tpl=new templates();
	echo FATAL_WARNING_SHOW_128("{ERROR_NO_PRIVS}");die();

}



if(isset($_GET["popup"])){page();exit;}
if(isset($_GET["tabs"])){tabs();exit;}
if(isset($_GET["flow-day"])){flow_day();exit;}
if(isset($_GET["flow-month-graph1"])){flow_month_graph1();exit;}
if(isset($_GET["flow-month-graph2"])){flow_month_graph2();exit;}
if(isset($_GET["websites"])){websites_table();exit;}
if(isset($_GET["search-websites"])){websites_search();exit;}

if(isset($_GET["members"])){members_table();exit;}
if(isset($_GET["search-members"])){members_search();exit;}

if(isset($_GET["categories"])){categories_table();exit;}
if(isset($_GET["search-categories"])){categories_search();exit;}

if(isset($_GET["days"])){days_table();exit;}
if(isset($_GET["search-days"])){days_search();exit;}

$users = new usersMenus();
if (!$users->AsWebStatisticsAdministrator) {
    $tpl = new templates();
    echo FATAL_ERROR_SHOW_128("{ERROR_NO_PRIVS}");
    die;
}
if (isset($_GET["popup"])) {
    page();
    exit;
}
if (isset($_GET["tabs"])) {
    tabs();
    exit;
}
if (isset($_GET["flow-day"])) {
    flow_day();
    exit;
}
if (isset($_GET["flow-month-graph1"])) {
    flow_month_graph1();
    exit;
}
if (isset($_GET["flow-month-graph2"])) {
    flow_month_graph2();
    exit;
}
if (isset($_GET["websites"])) {
    websites_table();
    exit;
}
if (isset($_GET["search-websites"])) {