mirror of
https://github.com/renbaoshuo/S2OJ.git
synced 2024-12-27 19:11:52 +00:00
23 lines
612 B
PHP
23 lines
612 B
PHP
<?php
|
|
requireLib('bootstrap5');
|
|
requirePHPLib('form');
|
|
requirePHPLib('judger');
|
|
requirePHPLib('data');
|
|
|
|
UOJProblem::init(UOJRequest::get('id')) || UOJResponse::page404();
|
|
UOJProblem::cur()->userCanManage(Auth::user()) || UOJResponse::page403();
|
|
|
|
$problem_configure = new UOJProblemConfigure(UOJProblem::cur());
|
|
$problem_configure->runAtServer();
|
|
?>
|
|
|
|
<?php echoUOJPageHeader('数据配置 - ' . HTML::stripTags(UOJProblem::cur()->getTitle(['with' => 'id']))) ?>
|
|
|
|
<h1>
|
|
<?= UOJProblem::cur()->getTitle(['with' => 'id']) ?> 数据配置
|
|
</h1>
|
|
|
|
<?php $problem_configure->printHTML() ?>
|
|
|
|
<?php echoUOJPageFooter() ?>
|