if(isset($_GET["verbose"])){$GLOBALS["VERBOSE"]=true;ini_set('display_errors', 1);ini_set('error_reporting', E_ALL);ini_set('error_prepend_string',null);ini_set('error_append_string',null);} include_once('ressources/class.templates.inc'); include_once('ressources/class.ldap.inc'); include_once('ressources/class.users.menus.inc'); include_once('ressources/class.os.system.inc'); include_once('ressources/class.os.system.tools.inc'); $usersmenus=new usersMenus(); if($usersmenus->AsArticaAdministrator==true){}else{header('location:users.index.php');exit;} if(isset($_GET["PID"])){PIDInfos();exit;} if(isset($_GET["reload"])){echo page_proc();exit;} if(isset($_GET["KillProcessByPid"])){KillProcessByPid();exit;} if(isset($_GET["popup"])){popup();exit;} if(isset($_GET["getmem"])){getmem();exit;} if(isset($_GET["getcpu"])){getCpu();exit;} if(isset($_GET["taskslist"])){processes();exit;} if(isset($_GET["home"])){home();exit;} if(isset($_GET["home-b"])){home_b();exit;} if(isset($_GET["home-c"])){home_c();exit;} if(isset($_GET["task-m"])){tasks_start();exit;} if(isset($_GET["clean-mem-js"])){clean_mem_js();exit;} if(isset($_POST["clean-mem-perform"])){clean_mem_perform();exit;} if(isset($_GET["tasks-list"])){task_list();exit;} if(isset($_POST["kill9"])){kill9();exit;} js(); function js(){ $page=CurrentPageName(); $prefix=str_replace(".","_",$page); $tpl=new templates();
exit; } if (isset($_GET["KillProcessByPid"])) { KillProcessByPid(); exit; } if (isset($_GET["popup"])) { popup(); exit; } if (isset($_GET["getmem"])) { getmem(); exit; } if (isset($_GET["getcpu"])) { getCpu(); exit; } if (isset($_GET["taskslist"])) { processes(); exit; } if (isset($_GET["swap-infos"])) { GetSwap(); exit; } js(); function js() { $page = CurrentPageName(); $prefix = str_replace(".", "_", $page);