mirror of
https://github.com/renbaoshuo/S2OJ.git
synced 2024-11-22 13:28:41 +00:00
fix: edb8176f8f
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
5c26699829
commit
b6cb61d046
@ -66,13 +66,11 @@ $col_names = array('contest_id');
|
||||
$problem_review_id = "review-$contest_id-$i";
|
||||
$result .= '<td>' . chr(ord('A') + $i) . '. <a href="/problem/' . $problem_id . '">' . $problem['title'] . '</a></td>';
|
||||
$result .= '<td>' . $purifier->purify($problem_self_review != null ? $problem_self_review['content'] : '') . '</td>';
|
||||
$esc_problem_self_review = rawurlencode($problem_self_review != null ? $problem_self_review['content'] : '');
|
||||
|
||||
if ($i == 0) {
|
||||
$contest_review_id = "review-$contest_id-overall";
|
||||
$contest_self_review = DB::selectFirst("select content from contests_reviews where contest_id = $contest_id and problem_id = -1 and poster = '$username'");
|
||||
$esc_contest_self_review = rawurlencode($contest_self_review != null ? $contest_self_review['content'] : '');
|
||||
$result .= '<td rowspan="' . $n_contest_problems . '">' . $purifier->purify($problem_self_review != null ? $problem_self_review['content'] : '') . '</td>';
|
||||
$result .= '<td rowspan="' . $n_contest_problems . '">' . $purifier->purify($contest_self_review != null ? $contest_self_review['content'] : '') . '</td>';
|
||||
}
|
||||
|
||||
$result .= '</tr>';
|
||||
|
@ -55,9 +55,13 @@ label {
|
||||
border-top-color: transparent;
|
||||
}
|
||||
|
||||
.uoj-table > thead > tr,
|
||||
.uoj-table > tbody > tr {
|
||||
.uoj-table > thead > tr > th:first-child,
|
||||
.uoj-table > tbody > tr > td:first-child {
|
||||
border-left-color: transparent;
|
||||
}
|
||||
|
||||
.uoj-table > thead > tr > th:last-child,
|
||||
.uoj-table > tbody > tr > td:last-child {
|
||||
border-right-color: transparent;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user