コード例 #1
0
ファイル: maintenancelog.php プロジェクト: sknagesh/divyaeng2
                }
            }
            if ($do_upload) {
                $message = '<p>' . $upload->upload_success() . '</p>';
                print "{$message}";
            } else {
                $message = $upload->show_errors();
                print "{$message}";
            }
        }
    }
} else {
    if (isset($_GET['mlog'])) {
        $mc = new Machine();
        $mc->setMachineID($_GET['mid']);
        $mc->showMachineLog();
    }
    if (isset($_GET['actlid'])) {
        $ml->setValue('activitylogid', $_GET['actlid']);
        $ml->showMaintenanceUI();
    }
    if (isset($_GET['session'])) {
        checksession('activitylog.html');
    }
    if (isset($_GET['ui'])) {
        $ml->setValue('mainttypeid', $_GET['mtid']);
        $ml->setValue('machineid', $_GET['mcid']);
        $ml->showMaintenanceUI();
    }
    if (isset($_GET['gspmlist'])) {
        $spm = new SPMaintenance();