diff --git a/web/app/controllers/groups.php b/web/app/controllers/groups.php index 41b1f23..2957079 100644 --- a/web/app/controllers/groups.php +++ b/web/app/controllers/groups.php @@ -125,7 +125,7 @@ EOD; diff --git a/web/app/controllers/problem_lists.php b/web/app/controllers/problem_lists.php index 5929ab7..28d63dc 100644 --- a/web/app/controllers/problem_lists.php +++ b/web/app/controllers/problem_lists.php @@ -154,7 +154,7 @@ EOD; diff --git a/web/app/controllers/problem_set.php b/web/app/controllers/problem_set.php index dc104fb..e2cc227 100644 --- a/web/app/controllers/problem_set.php +++ b/web/app/controllers/problem_set.php @@ -287,7 +287,7 @@ $('#input-show_submit_mode').click(function() { diff --git a/web/app/views/sidebar.php b/web/app/views/sidebar.php index 919f90d..e8e6af0 100644 --- a/web/app/views/sidebar.php +++ b/web/app/views/sidebar.php @@ -9,8 +9,8 @@ + $group_announcement = $group_detail['announcement']; + ?>
  • @@ -34,7 +34,7 @@ + ?>
    近期比赛 @@ -54,8 +54,8 @@ getTimestamp() - UOJTime::$time_now->getTimestamp(); - ?> + $rest_seconds = $contest['start_time']->getTimestamp() - UOJTime::$time_now->getTimestamp(); + ?> 86400): ?>