S2OJ/web/app/controllers/image_hosting/index.php
2022-10-12 20:38:43 +08:00

22 lines
415 B
PHP

<?php
requirePHPLib('form');
if (!Auth::check() && UOJConfig::$data['switch']['force-login']) {
redirectToLogin();
}
if (!isNormalUser($myUser) && UOJConfig::$data['switch']['force-login']) {
become403Page();
}
$REQUIRE_LIB['bootstrap5'] = '';
?>
<?php echoUOJPageHeader(UOJLocale::get('image hosting')) ?>
<h1 class="h2">
<?= UOJLocale::get('image hosting') ?>
</h1>
<?php echoUOJPageFooter() ?>