mirror of
https://github.com/renbaoshuo/S2OJ.git
synced 2024-12-23 19:11:53 +00:00
24 lines
643 B
PHP
24 lines
643 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 = UOJProblem::info();
|
||
|
$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() ?>
|