Exemplo n.º 1
0
	
	if(isset($_GET["dansguardian-stats-js"])){dansguardian_stats_js();exit;}
	if(isset($_GET["dansguardian-stats-popup"])){dansguardian_stats_popup();exit;}
	if(isset($_GET["dansguardian-stats-week"])){dansguardian_buildGraph_week();exit;}
	if(isset($_GET["dansguardian-stats-query"])){echo dansguardian_buildGraph_by_type();exit;}
	if(isset($_GET["dansguardian-stats-www"])){echo dansguardian_buildGraph_by_www();exit;}
	if(isset($_GET["dansguardian-stats-compile"])){echo dansguardian_build_stats();exit;}
	if(isset($_GET["DansGuardianRebuildSites"])){dansguardian_stats_rebuild_sites();exit;}
	
	if(isset($_GET["SARG"])){sarg_scan();exit;}
	if(isset($_GET["sarg-js"])){sarg_js();exit;}
	if(isset($_GET["sarg-date"])){sarg_date();exit;}
	
	
	if(isset($_GET["EnableDisableMain"])){main_enableETDisable();exit;}
	if(isset($_GET["SaveEnableSquidGLobal"])){main_enableETDisable_save();}
	
	
	if(isset($_GET["popup"])){popup();exit;}
	
	js();
	
function error_remote_appliance(){
	$tpl=new templates();
	$page=CurrentPageName();
	$title=$tpl->javascript_parse_text("{banned_configuration}");
	echo "YahooSetupControlModalFixedNoclose('650','$page?error-remote-appliance-popup=yes','$title')";
	
}
function error_malware_patrol_js(){
	$tpl=new templates();
Exemplo n.º 2
0
    exit;
}
if (isset($_GET["sarg-js"])) {
    sarg_js();
    exit;
}
if (isset($_GET["sarg-date"])) {
    sarg_date();
    exit;
}
if (isset($_GET["EnableDisableMain"])) {
    main_enableETDisable();
    exit;
}
if (isset($_GET["SaveEnableSquidGLobal"])) {
    main_enableETDisable_save();
}
if (isset($_GET["popup"])) {
    popup();
    exit;
}
js();
function sarg_js()
{
    $tpl = new templates();
    $title = $tpl->_parse_body("{APP_SARG}");
    $page = CurrentPageName();
    $html = "\n\tvar mem_date=''; \n\t\n\tfunction SargBrowseStart(dates){\n\t\tmem_date=dates;\n\t\tYahooWin4('750','{$page}?sarg-date='+dates,'{$title}');\n\t}\t\n\t\n\tfunction StartSarg(){\n\t\tvar load = window.open('sarg/index.html','','scrollbars=no,menubar=no,height=450,width=750,resizable=yes,toolbar=no,location=no,status=no');\n\t\t//YahooWin3('300','{$page}?SARG=yes','{$title}');\n\t}\n\t\n\tfunction SargBrowse(dates){\n\t\tYahooWin5('750','{$page}?sarg-date='+dates+'&date='+mem_date,'{$title}');\n\t}\n\tStartSarg();\n\t";
    echo $html;
}
function js()