コード例 #1
0
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();
$title=$tpl->_ENGINE_parse_body('{task_manager}');
$html="RTMMail(1000,'$page?popup=yes','$title');";
echo $html;

}

function clean_mem_js(){
$page=CurrentPageName();
$tpl=new templates();
コード例 #2
0
    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();
    $title = $tpl->_ENGINE_parse_body('{task_manager}');
    $html = "RTMMail(1000,'{$page}?popup=yes','{$title}');";
    echo $html;
}
function clean_mem_js()
{
    $page = CurrentPageName();