mirror of
https://github.com/renbaoshuo/S2OJ.git
synced 2024-11-25 05:48:41 +00:00
chore: update page_len
This commit is contained in:
parent
5db6977c85
commit
17a69b006c
@ -42,7 +42,7 @@
|
||||
EOD;
|
||||
$config = [
|
||||
'table_classes' => ['table', 'table-hover'],
|
||||
'page_len' => 100
|
||||
'page_len' => 40
|
||||
];
|
||||
?>
|
||||
<?php echoUOJPageHeader(UOJLocale::get('announcements')) ?>
|
||||
|
@ -62,7 +62,7 @@ EOD;
|
||||
$table_header .= '</tr>';
|
||||
echoLongTable(array('*'), 'contests', "status != 'finished'", 'order by id desc', $table_header,
|
||||
echoContest,
|
||||
array('page_len' => 100)
|
||||
array('page_len' => 40)
|
||||
);
|
||||
|
||||
if ($rest_second <= 86400) {
|
||||
@ -87,7 +87,7 @@ EOD;
|
||||
<?php
|
||||
echoLongTable(array('*'), 'contests', "status = 'finished'", 'order by id desc', $table_header,
|
||||
echoContest,
|
||||
array('page_len' => 100,
|
||||
array('page_len' => 40,
|
||||
'print_after_table' => function() {
|
||||
global $myUser;
|
||||
if (isSuperUser($myUser)) {
|
||||
|
@ -69,7 +69,7 @@ EOD;
|
||||
$from, $cond, 'group by a.id order by a.id asc',
|
||||
$header,
|
||||
'echoGroup',
|
||||
array('page_len' => 100,
|
||||
array('page_len' => 40,
|
||||
'table_classes' => array('table', 'table-bordered', 'table-hover', 'table-striped'),
|
||||
'print_after_table' => function() {
|
||||
global $myUser;
|
||||
|
@ -134,7 +134,7 @@ EOD;
|
||||
);
|
||||
?>*/
|
||||
|
||||
$pag_config = array('page_len' => 100);
|
||||
$pag_config = array('page_len' => 40);
|
||||
$pag_config['col_names'] = array('*');
|
||||
$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";
|
||||
$pag_config['cond'] = $cond;
|
||||
|
Loading…
Reference in New Issue
Block a user