userCanRegister(Auth::user(), ['ensure' => true]); $register_form = new UOJBs4Form('register'); $register_form->handle = function () { UOJContest::cur()->userRegister(Auth::user()); }; $register_form->submit_button_config['class_str'] = 'btn btn-primary'; $register_form->submit_button_config['text'] = '我已阅读规则,确认报名比赛'; if (UOJContest::cur()->progress() == CONTEST_IN_PROGRESS) { $register_form->succ_href = '/contest/' . UOJContest::info('id') . '/confirm'; } else { $register_form->succ_href = '/contests'; } $register_form->runAtServer(); ?>

比赛规则

您即将报名比赛 “”,请在报名前仔细阅读以下比赛规则:

printHTML() ?>