Exemplo n.º 1
0
    exit;
}
if (isset($_GET["websitelist"])) {
    websitelist();
    exit;
}
if (isset($_GET["family-js"])) {
    family_js();
    exit;
}
if (isset($_GET["family-popup"])) {
    family_popup();
    exit;
}
if (isset($_GET["family-list"])) {
    family_list();
    exit;
}
if (isset($_POST["family-analyze"])) {
    family_analyze();
    exit;
}
page();
function family_js()
{
    $page = CurrentPageName();
    $tpl = new templates();
    $familysite = $_GET["family-js"];
    $title = $familysite;
    $html = "YahooWin4('650','{$page}?family-popup=yes&familysite={$familysite}','{$title}');";
    echo $html;
Exemplo n.º 2
0
	header("Expires: 0");
	header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
	header("Cache-Control: no-cache, must-revalidate");	
	$user=new usersMenus();
	if(!$user->AsWebStatisticsAdministrator){
		$tpl=new templates();
		echo "alert('".$tpl->javascript_parse_text("{ERROR_NO_PRIVS}").");";
		exit;
		
	}
	
	if(isset($_GET["websitelist"])){websitelist();exit;}
	
	if(isset($_GET["family-js"])){family_js();exit;}
	if(isset($_GET["family-popup"])){family_popup();exit;}
	if(isset($_GET["family-list"])){family_list();exit;}
	if(isset($_POST["family-analyze"])){family_analyze();exit;}
	
page();


function family_js(){
	$page=CurrentPageName();
	$tpl=new templates();	
	$familysite=$_GET["family-js"];
	$title=$familysite;
	$html="YahooWin4('650','$page?family-popup=yes&familysite=$familysite','$title');";
	echo $html;
	
	
}