exit; } if (isset($_GET["status"])) { status(); exit; } if (isset($_GET["greyhole-status"])) { status_service(); exit; } if (isset($_GET["pools"])) { pools(); exit; } if (isset($_GET["pools-list"])) { pools_list(); exit; } if (isset($_GET["greyhole-pools"])) { pools_add(); exit; } if (isset($_GET["logs"])) { mounts_events(); exit; } if (isset($_GET["syslog-table"])) { mounts_events_query(); exit; } if (isset($_GET["EnableGreyHoleDebug"])) {
if(posix_getuid()<>0){ $users=new usersMenus(); if((!$users->AsSambaAdministrator) OR (!$users->AsSystemAdministrator)){ $tpl=new templates(); $error=$tpl->_ENGINE_parse_body("{ERROR_NO_PRIVS}"); echo "alert('$error')"; die(); } } if(isset($_GET["tabs"])){tabs();exit;} if(isset($_GET["status"])){status();exit;} if(isset($_GET["greyhole-status"])){status_service();exit;} if(isset($_GET["pools"])){pools();exit;} if(isset($_GET["pools-list"])){pools_list();exit;} if(isset($_GET["greyhole-pools"])){pools_add();exit;} if(isset($_GET["logs"])){mounts_events();exit;} if(isset($_GET["syslog-table"])){mounts_events_query();exit;} if(isset($_GET["EnableGreyHoleDebug"])){EnableGreyHoleDebugSave();exit;} js(); function js(){ $page=CurrentPageName(); $html=" function GreyHoleConfigLoad(){