S2OJ/web/app/controllers/image_hosting/index.php

22 lines
415 B
PHP
Raw Normal View History

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