页面已过期(可能页面真的过期了,也可能是刚才你访问的网页没有完全加载,也可能是你的浏览器版本太老)
返回
EOD); } } function submission_frequency_check() { $submission_frequency = UOJContext::getMeta('submission_frequency'); $recent = clone UOJTime::$time_now; $recent->sub(new DateInterval($submission_frequency['interval'])); $num = DB::selectCount([ "select count(*) from submissions", "where", [ "submitter" => Auth::id(), ["submit_time", ">=", $recent->format('Y-m-d H:i:s')] ] ]); if ($num >= max(1, $submission_frequency['limit'])) { return false; } return true; }