exit;
}
if (isset($_GET["week"])) {
    today();
    exit;
}
if (isset($_GET["month"])) {
    today();
    exit;
}
if (isset($_GET["users-table"])) {
    users_table();
    exit;
}
if (isset($_GET["top-users"])) {
    top_users();
    exit;
}
if (isset($_GET["top-hits"])) {
    top_hits();
    exit;
}
js();
function js()
{
    $page = CurrentPageName();
    $domain = $_GET["domain"];
    $html = "\n\t\n\t\tfunction WebSiteStatisticsLoad(){\n\t\t\tYahooWin4('750','{$page}?popup={$domain}','{$domain}');\n\t\t}\n\t\n\t\n\tWebSiteStatisticsLoad();";
    echo $html;
}
function top_hits()
Beispiel #2
0
	
	
	$user=new usersMenus();
	if(!$user->AsSquidAdministrator){
		$tpl=new templates();
		echo "alert('".$tpl->javascript_parse_text("{ERROR_NO_PRIVS}")."');";
		exit;
		
	}	
	
	if(isset($_GET["popup"])){popup();exit;}
	if(isset($_GET["today"])){today();exit;}
	if(isset($_GET["week"])){today();exit;}
	if(isset($_GET["month"])){today();exit;}
	if(isset($_GET["users-table"])){users_table();exit;}
	if(isset($_GET["top-users"])){top_users();exit;}
	if(isset($_GET["top-hits"])){top_hits();exit;}
	
	
	js();
	
	
	
function js(){
	$page=CurrentPageName();
	$domain=$_GET["domain"];
	
	$html="
	
		function WebSiteStatisticsLoad(){
			YahooWin4('750','$page?popup=$domain','$domain');