diff --git a/web/app/libs/uoj-html-lib.php b/web/app/libs/uoj-html-lib.php index c874368..48182db 100644 --- a/web/app/libs/uoj-html-lib.php +++ b/web/app/libs/uoj-html-lib.php @@ -229,47 +229,6 @@ function echoSubmission($submission, $config, $viewer) { $usubm->echoStatusTableRow($config, $viewer); } -function echoSubmissionsListOnlyOne($submission, $config, $user) { - echo '
'; - echo ''; - echo ''; - echo ''; - if (!isset($config['id_hidden'])) { - echo ''; - } - if (!isset($config['problem_hidden'])) { - echo ''; - } - if (!isset($config['submitter_hidden'])) { - echo ''; - } - if (!isset($config['result_hidden'])) { - echo ''; - } - if (!isset($config['used_time_hidden'])) { - echo ''; - } - if (!isset($config['used_memory_hidden'])) { - echo ''; - } - echo ''; - echo ''; - if (!isset($config['submit_time_hidden'])) { - echo ''; - } - if (!isset($config['judge_time_hidden'])) { - echo ''; - } - echo ''; - echo ''; - echo ''; - echoSubmission($submission, $config, $user); - echo ''; - echo '
ID' . UOJLocale::get('problems::problem') . '' . UOJLocale::get('problems::submitter') . '' . UOJLocale::get('problems::result') . '' . UOJLocale::get('problems::used time') . '' . UOJLocale::get('problems::used memory') . '' . UOJLocale::get('problems::language') . '' . UOJLocale::get('problems::file size') . '' . UOJLocale::get('problems::submit time') . '' . UOJLocale::get('problems::judge time') . '
'; - echo '
'; -} - - function echoSubmissionsList($cond, $tail, $config, $user) { $header_row = ''; $col_names = [