Ejemplo n.º 1
0
	header("Pragma: no-cache");	
	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->AsDansGuardianAdministrator){
		$tpl=new templates();
		echo "alert('".$tpl->javascript_parse_text("{ERROR_NO_PRIVS}").");";
		exit;
		
	}
	
	if(isset($_GET["smtp-parameters-js"])){SMTP_PARAMETERS_JS();exit;}
	if(isset($_GET["smtp-parameters-popup"])){SMTP_PARAMETERS_POPUP();exit;}
	if(isset($_POST["smtp_notifications"])){SMTP_PARAMETERS_SAVE();exit;}
	if(isset($_GET["test-smtp-js"])){tests_smtp_js();exit;}
	if(isset($_GET["smtp_sendto"])){tests_smtp();exit;}
	
	
	if(isset($_POST["UfdbGuardHTTPAllowUnblock"])){UNLOCK_SAVE();exit;}
	if(isset($_GET["EnableSquidGuardHTTPService"])){save();exit;}
	if(isset($_GET["tabs"])){tabs();exit;}
	if(isset($_GET["popup"])){popup();exit;}
	if(isset($_GET["per-categories"])){per_category_main();exit;}
	if(isset($_GET["per-categories-settings"])){per_category_settings();exit;}
	if(isset($_POST["external_uri"])){per_category_settings_save();exit;}
	if(isset($_GET["skin"])){skin();exit;}
	if(isset($_POST["CATEGORY"])){SAVE_SKIN();exit;}
	if(isset($_GET["unlock"])){UNLOCK_SECTION();exit;}
	if(isset($_GET["skin-tabs"])){skin_tabs();exit;}
	if(isset($_GET["skin-logo"])){skin_logo();exit;}
Ejemplo n.º 2
0
    exit;
}
if (isset($_GET["smtp-parameters-js"])) {
    SMTP_PARAMETERS_JS();
    exit;
}
if (isset($_GET["smtp-parameters-popup"])) {
    SMTP_PARAMETERS_POPUP();
    exit;
}
if (isset($_POST["smtp_notifications"])) {
    SMTP_PARAMETERS_SAVE();
    exit;
}
if (isset($_GET["test-smtp-js"])) {
    tests_smtp_js();
    exit;
}
if (isset($_GET["smtp_sendto"])) {
    tests_smtp();
    exit;
}
if (isset($_POST["UfdbGuardHTTPAllowUnblock"])) {
    UNLOCK_SAVE();
    exit;
}
if (isset($_GET["EnableSquidGuardHTTPService"])) {
    save();
    exit;
}
if (isset($_GET["tabs"])) {