$user=new usersMenus(); if($user->AsSquidAdministrator==false){ $tpl=new templates(); echo "alert('". $tpl->javascript_parse_text("{ERROR_NO_PRIVS}")."');"; die();exit(); } if(isset($_GET["popup"])){popup();exit;} if(isset($_GET["perfs"])){perfs();exit;} if(isset($_POST["cache_mem"])){save();exit;} if(isset($_POST["SaveCacheMem"])){SaveCacheMem();exit;} if(isset($_GET["tabs"])){tabs();exit;} if(isset($_GET["cache-mount"])){caches_mount();exit;} if(isset($_POST["HugePages"])){SaveHugePages();exit;} js(); function js(){ $tpl=new templates(); $title=$tpl->_ENGINE_parse_body("{cache_mem}"); $page=CurrentPageName(); header("content-type: application/x-javascript"); $html="YahooWin3('650','$page?tabs=yes','$title');"; echo $html;
exit; } if (isset($_POST["SaveCacheMem"])) { SaveCacheMem(); exit; } if (isset($_GET["tabs"])) { tabs(); exit; } if (isset($_GET["cache-mount"])) { caches_mount(); exit; } if (isset($_POST["HugePages"])) { SaveHugePages(); exit; } js(); function js() { $tpl = new templates(); $title = $tpl->_ENGINE_parse_body("{cache_mem}"); $page = CurrentPageName(); header("content-type: application/x-javascript"); $html = "YahooWin3('650','{$page}?tabs=yes','{$title}');"; echo $html; } function caches_mount() { $page = CurrentPageName();