|
@@ -71,7 +71,7 @@ EOD;
|
|
|
$table_header .= '<th style="width:220px;">'.UOJLocale::get('appraisal').'</th>';
|
|
$table_header .= '<th style="width:220px;">'.UOJLocale::get('appraisal').'</th>';
|
|
|
$table_header .= '</tr>';
|
|
$table_header .= '</tr>';
|
|
|
echoLongTable(array('*'), 'contests', "status != 'finished'", 'order by start_time asc, id asc', $table_header,
|
|
echoLongTable(array('*'), 'contests', "status != 'finished'", 'order by start_time asc, id asc', $table_header,
|
|
|
- echoContest,
|
|
|
|
|
|
|
+ 'echoContest',
|
|
|
array('page_len' => 100)
|
|
array('page_len' => 100)
|
|
|
);
|
|
);
|
|
|
|
|
|
|
@@ -97,7 +97,7 @@ EOD;
|
|
|
<h4><?= UOJLocale::get('contests::ended contests') ?></h4>
|
|
<h4><?= UOJLocale::get('contests::ended contests') ?></h4>
|
|
|
<?php
|
|
<?php
|
|
|
echoLongTable(array('*'), 'contests', "status = 'finished'", 'order by start_time desc, id desc', $table_header,
|
|
echoLongTable(array('*'), 'contests', "status = 'finished'", 'order by start_time desc, id desc', $table_header,
|
|
|
- echoContest,
|
|
|
|
|
|
|
+ 'echoContest',
|
|
|
array('page_len' => 100,
|
|
array('page_len' => 100,
|
|
|
'print_after_table' => function() {
|
|
'print_after_table' => function() {
|
|
|
global $myUser;
|
|
global $myUser;
|