Ejemplo n.º 1
0
    disable_nfs_perform();
    exit;
}
if ($_GET["filterby"] == null) {
    $_GET["filterby"] = "1;1;0;0";
}
if (isset($_GET["status"])) {
    SERVICES_STATUS();
    exit;
}
if (isset($_GET["mem"])) {
    echo memory();
    exit;
}
if (isset($_GET["svc"])) {
    SERVICES_SVC();
    exit;
}
if (isset($_GET["myfilter"])) {
    filter();
    exit;
}
if (isset($_GET["SERVICE_OPTIONS_JS"])) {
    SERVICE_OPTIONS_JS();
    exit;
}
if (isset($_GET["SERVICE_OPTIONS_POPUP"])) {
    SERVICE_OPTIONS_POPUP();
    exit;
}
if (isset($_GET["js"])) {
Ejemplo n.º 2
0
$users=new usersMenus();
if($users->AsArticaAdministrator==true or $users->AsPostfixAdministrator or $user->AsSquidAdministrator){}else{
	$tpl=new templates();
	echo $tpl->javascript_parse_text("alert('{ERROR_NO_PRIVS}');");
	die();
}

if(isset($_GET["disable-nfs"])){disable_nfs_js();exit;}
if(isset($_GET["DISABLE_NFS"])){disable_nfs_perform();exit;}


if($_GET["filterby"]==null){$_GET["filterby"]="1;1;0;0";}
if(isset($_GET["status"])){SERVICES_STATUS();exit;}
if(isset($_GET["mem"])){echo memory();exit;}
if(isset($_GET["svc"])){SERVICES_SVC();exit;}
if(isset($_GET["myfilter"])){filter();exit;}
if(isset($_GET["SERVICE_OPTIONS_JS"])){SERVICE_OPTIONS_JS();exit;}
if(isset($_GET["SERVICE_OPTIONS_POPUP"])){SERVICE_OPTIONS_POPUP();exit;}
if(isset($_GET["js"])){js();exit;}
if(isset($_GET["popup"])){popup();exit;}
if(isset($_GET["MONIT"])){MONIT_JS();exit;}
if(isset($_GET["MONIT-POPUP"])){MONIT_POPUP();exit;}
if(isset($_GET["MONIT-SAVE"])){MONIT_SAVE();exit;}
if(isset($_GET["ARTICA-WATCHDOG-SAVE"])){WATCHDOG_SAVE();exit;}

js();


function popup(){