示例#1
0
    $fm_color[$tag] = strtolower($color);
}
// +--------------------------------------------------
// | File Manager Actions
// +--------------------------------------------------
if ($loggedon == $auth_pass) {
    switch ($frame) {
        case 1:
            break;
            // Empty Frame
        // Empty Frame
        case 2:
            frame2();
            break;
        case 3:
            frame3();
            break;
        default:
            switch ($action) {
                case 1:
                    logout();
                    break;
                case 2:
                    config_form();
                    break;
                case 3:
                    download();
                    break;
                case 4:
                    view();
                    break;
示例#2
0
    $fm_color['Link'] = "992929";
    $fm_color['Mark'] = "A7D2E4";
    $fm_color['Dir'] = "CCCCCC";
    $fm_color['File'] = "EEEEEE";
    $fm_color['FileFirstCell'] = "FFFFFF";
    foreach($fm_color as $tag=>$color){
        $fm_color[$tag]=strtolower($color);
    }
// +--------------------------------------------------
// | File Manager Actions
// +--------------------------------------------------
if ($loggedon==$auth_pass){
    switch ($frame){
        case 1: break; // Empty Frame
        case 2: frame2(); break;
        case 3: frame3(); break;
        default:
            switch($action){
                case 1: logout(); break;
                case 2: config_form(); break;
                case 3: download(); break;
                case 4: view(); break;
                case 5: server_info(); break;
//                case 6: execute(); break;
                case 7: edit_file_form(); break;
                case 8: chmod_form(); break;
//                case 9: shell_form(); break;
                case 10: upload_form(); break;
                default: frameset();
            }
    }