Пример #1
0
        case "checkstatus":
            $status = $controller->checkSubmissionStatus($_GET);
            $controller->updateSubmissionStatus($_GET['id'], $status);
            $controller->showSubmissionStatus($_GET['id']);
            break;
        case "featured":
            $controller->showFeaturedSubmission();
            break;
        case "directorymgr":
            $controller->showDirectoryManager($_GET);
            break;
        case "dirstatus":
            $controller->changeStatusDirectory($_GET['dir_id'], $_GET['status'], true);
            break;
        case "showcheckdir":
            $controller->showCheckDirectory();
            break;
        case "startdircheck":
            $controller->startDirectoryCheckStatus($_GET);
            break;
        case "checkdir":
            $controller->checkDirectoryStatus($_GET['dir_id'], $_GET['nodebug']);
            break;
        case "checkcaptcha":
            $_SESSION['no_captcha'] = $_GET['no_captcha'];
            break;
        default:
            $controller->showSubmissionPage();
            break;
    }
}