mirror of
https://github.com/renbaoshuo/S2OJ.git
synced 2024-11-30 03:26:20 +00:00
13 lines
483 B
PHP
13 lines
483 B
PHP
<?php
|
|
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() ?>
|