S2OJ/web/app/controllers/subdomain/blog/aboutme.php

19 lines
456 B
PHP
Raw Normal View History

2022-03-17 04:00:03 +00:00
<?php
2022-10-22 13:12:13 +00:00
requireLib('bootstrap5');
requireLib('calendar_heatmap');
2022-03-17 08:27:54 +00:00
requirePHPLib('form');
2022-03-17 04:00:03 +00:00
2022-10-08 06:10:14 +00:00
if (!Auth::check() && UOJConfig::$data['switch']['force-login']) {
redirectToLogin();
2022-03-17 08:27:54 +00:00
}
2022-10-02 12:47:53 +00:00
2022-10-08 06:10:14 +00:00
if (!isNormalUser($myUser) && UOJConfig::$data['switch']['force-login']) {
become403Page();
}
2022-09-18 04:58:35 +00:00
?>
2016-07-18 16:39:37 +00:00
<?php echoUOJPageHeader('关于我') ?>
2022-10-02 12:47:53 +00:00
<?php uojIncludeView('user-info', array('user' => UOJContext::user(), 'is_blog_aboutme' => '')) ?>
2016-07-18 16:39:37 +00:00
<?php echoUOJPageFooter() ?>