'; if ($problem['submission_id']) { echo ''; } else { echo ''; } echo '#', $problem['id'], ''; if (isset($REQUIRE_LIB['bootstrap5'])) { echo ''; } else { echo ''; } if ($problem['is_hidden']) { echo ' [隐藏] '; } if ($problem['uploader'] == $myUser['username']) { echo ' [我的题目] '; } echo '', $problem['title'], ''; if (isset($_COOKIE['show_tags_mode'])) { echo ' ' . $problem["uploader"] . ' '; foreach (queryProblemTags($problem['id']) as $tag) { if (isset($REQUIRE_LIB['bootstrap5'])) { echo ''; echo ''; } else { echo ''; echo ''; } echo HTML::escape($tag), ''; echo ' '; } } echo ''; if (isset($_COOKIE['show_submit_mode'])) { $perc = $problem['submit_num'] > 0 ? round(100 * $problem['ac_num'] / $problem['submit_num']) : 0; echo <<×{$problem['ac_num']} ×{$problem['submit_num']}
{$perc}%
EOD; } echo '', getClickZanBlock('P', $problem['id'], $problem['zan']), ''; echo ''; } } $header = ''; $header .= 'ID'; $header .= ''.UOJLocale::get('problems::problem').''; if (isset($_COOKIE['show_submit_mode'])) { $header .= ''.UOJLocale::get('problems::ac').''; $header .= ''.UOJLocale::get('problems::submit').''; $header .= ''.UOJLocale::get('problems::ac ratio').''; } $header .= ''.UOJLocale::get('appraisal').''; $header .= ''; $pag_config = array('page_len' => 40); $pag_config['col_names'] = array('best_ac_submissions.submission_id as submission_id', 'problems.id as id', 'problems.is_hidden as is_hidden', 'problems.title as title', 'problems.submit_num as submit_num', 'problems.ac_num as ac_num', 'problems.zan as zan', 'problems.extra_config as extra_config', 'problems.uploader as uploader'); $pag_config['table_name'] = "problems left join best_ac_submissions on best_ac_submissions.submitter = '{$myUser['username']}' and problems.id = best_ac_submissions.problem_id inner join lists_problems lp on lp.list_id = {$list_id} and lp.problem_id = problems.id"; $pag_config['cond'] = '1'; $pag_config['tail'] = "order by id asc"; $pag = new Paginator($pag_config); $div_classes = isset($REQUIRE_LIB['bootstrap5']) ? array('card', 'my-3', 'overflow-auto') : array('table-responsive'); $table_classes = isset($REQUIRE_LIB['bootstrap5']) ? array('table', 'uoj-table', 'mb-0') : array('table', 'table-bordered', 'table-hover', 'table-striped'); ?>

(ID: #)

pagination(); ?>
get() as $idx => $row) { echoProblem($row); echo "\n"; } ?> isEmpty()): ?>
pagination(); ?>