diff --git a/web/app/controllers/problem_set.php b/web/app/controllers/problem_set.php index 2640bfd..6388917 100644 --- a/web/app/controllers/problem_set.php +++ b/web/app/controllers/problem_set.php @@ -41,6 +41,9 @@ if ($problem['is_hidden']) { echo ' [隐藏] '; } + if ($problem['uploader'] == $myUser['username']) { + echo ' [我的题目] '; + } echo '', $problem['title'], ''; if (isset($_COOKIE['show_tags_mode'])) { foreach (queryProblemTags($problem['id']) as $tag) {