userCanParticipateNow(Auth::user()) || UOJResponse::page403(); UOJContest::cur()->userHasMarkedParticipated(Auth::user()) && redirectTo(UOJContest::cur()->getUri()); $confirm_form = new UOJBs4Form('confirm'); $confirm_form->submit_button_config['class_str'] = 'btn btn-primary mt-3'; $confirm_form->submit_button_config['text'] = '我已核对信息,确认参加比赛'; $confirm_form->handle = function () { UOJContest::cur()->markUserAsParticipated(Auth::user()); }; $confirm_form->succ_href = '/contest/' . UOJContest::info('id'); $confirm_form->runAtServer(); ?>

确认参赛

您即将参加比赛 “”,请在正式参赛前仔细核对以下比赛信息:

比赛名称
参赛选手
开始时间
结束时间
比赛赛制 basicRule() ?>
printHTML() ?>