示例#1
0
function BuildPostParamPage()
{
    global $hasusermenu;
    $phpvars = GetInfo(true);
    post_params($phpvars);
    serverinfobox($phpvars);
    servercommandbox($phpvars);
    if ($hasusermenu) {
        usermenu($phpvars);
    }
    echo '<div style="display: none" id="updateinterval">0</div>';
    echo '<div style="display: none" id="downloadlimit">' . $phpvars['status']['DownloadLimit'] / 1024 . '</div>';
    if (isset($_COOKIE['upload_status'])) {
        echo '<div style="display: none" id="uploadstatushidden">' . $_COOKIE['upload_status'] . '</div>';
    }
    if (isset($_COOKIE['newzbin_status'])) {
        echo '<div style="display: none" id="newzbinstatushidden">' . $_COOKIE['newzbin_status'] . '</div>';
    }
}
示例#2
0
文件: mini.php 项目: hank/nzbgetweb
        servercommandbox($phpvars);
        if ($groupmode) {
            currently_downloading($phpvars);
            queued_downloading($phpvars, $page);
            currently_processing($phpvars, $postlogpage);
            queued_processing($phpvars);
            logging($phpvars, $logpage);
        } elseif ($historymode) {
            history($phpvars, $page);
        } else {
            filelist($phpvars, $page);
            if ($FileModeLog) {
                logging($phpvars, $logpage);
            }
        }
        download_rate($phpvars);
        upload_box($phpvars);
    } else {
        if ($wantstart) {
            start_server();
        } else {
            connect_error($phpvars);
        }
        servercommandbox($phpvars);
    }
}
?>

</BODY>
</HTML>