mirror of
https://github.com/renbaoshuo/S2OJ.git
synced 2024-12-25 14:31:53 +00:00
14 lines
509 B
PHP
14 lines
509 B
PHP
<?php
|
|
requireLib('bootstrap5');
|
|
requireLib('calendar_heatmap');
|
|
|
|
Auth::check() || redirectToLogin();
|
|
UOJUserBlog::userIsOwner(Auth::user()) || UOJUser::checkPermission(Auth::user(), 'blogs.view') || UOJResponse::page403();
|
|
Auth::id() == $user['username'] || UOJUser::checkPermission(Auth::user(), 'users.view') || UOJResponse::page403();
|
|
?>
|
|
<?php echoUOJPageHeader('关于我') ?>
|
|
|
|
<?php uojIncludeView('user-info', ['user' => UOJUserBlog::user(), 'is_blog_aboutme' => true]) ?>
|
|
|
|
<?php echoUOJPageFooter() ?>
|