Exemplo n.º 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>';
    }
}
Exemplo n.º 2
0
//--></script>
<?php 
}
?>

</HEAD>
<BODY >

<?php 
if ($wantstop) {
    stop_server();
    serverinfobox($phpvars);
    servercommandbox($phpvars);
} else {
    if ($connected) {
        serverinfobox($phpvars);
        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);
            }
        }