2022-03-17 12:00:03 +08:00
|
|
|
<?php
|
2022-11-06 10:26:21 +08:00
|
|
|
requireLib('calendar_heatmap');
|
2022-03-17 12:00:03 +08:00
|
|
|
|
2022-11-06 10:26:21 +08:00
|
|
|
Auth::check() || redirectToLogin();
|
2022-11-12 07:10:34 +08:00
|
|
|
UOJUserBlog::userIsOwner(Auth::user()) || UOJUser::checkPermission(Auth::user(), 'blogs.view') || UOJResponse::page403();
|
|
|
|
Auth::id() == $user['username'] || UOJUser::checkPermission(Auth::user(), 'users.view') || UOJResponse::page403();
|
2022-11-06 10:26:21 +08:00
|
|
|
?>
|
2016-07-19 00:39:37 +08:00
|
|
|
<?php echoUOJPageHeader('关于我') ?>
|
|
|
|
|
2022-11-06 10:26:21 +08:00
|
|
|
<?php uojIncludeView('user-info', ['user' => UOJUserBlog::user(), 'is_blog_aboutme' => true]) ?>
|
2016-07-19 00:39:37 +08:00
|
|
|
|
|
|
|
<?php echoUOJPageFooter() ?>
|