2016-07-19 00:39:37 +08:00
|
|
|
<?php
|
2022-10-20 06:33:49 +08:00
|
|
|
requireLib('bootstrap5');
|
|
|
|
requireLib('calendar_heatmap');
|
|
|
|
|
2022-11-06 10:26:21 +08:00
|
|
|
if (!Auth::check()) {
|
2022-10-06 20:28:43 +08:00
|
|
|
redirectToLogin();
|
2022-03-17 12:00:03 +08:00
|
|
|
}
|
|
|
|
|
2022-11-06 10:26:21 +08:00
|
|
|
($user = UOJUser::query($_GET['username'])) || UOJResponse::page404();
|
2022-09-18 12:58:35 +08:00
|
|
|
?>
|
2022-03-25 13:16:37 +08:00
|
|
|
|
2022-10-20 06:33:49 +08:00
|
|
|
<?php echoUOJPageHeader($user['username'] . ' - ' . UOJLocale::get('user profile')) ?>
|
2022-09-20 18:23:18 +08:00
|
|
|
|
2022-11-06 10:26:21 +08:00
|
|
|
<?php uojIncludeView('user-info', ['user' => $user]) ?>
|
2016-07-19 00:39:37 +08:00
|
|
|
|
|
|
|
<?php echoUOJPageFooter() ?>
|