mirror of
https://github.com/renbaoshuo/S2OJ.git
synced 2024-11-10 05:18:42 +00:00
feat: user self_reviews order by start_time desc
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
d0be7eac95
commit
70d7a65665
@ -22,10 +22,11 @@
|
|||||||
|
|
||||||
<?php
|
<?php
|
||||||
$col_names = array('contest_id');
|
$col_names = array('contest_id');
|
||||||
$from = 'contests_registrants';
|
$from = 'contests_registrants a left join contests b on a.contest_id = b.id';
|
||||||
$cond = "username = '$username' and has_participated = 1";
|
$cond = "username = '$username' and has_participated = 1";
|
||||||
$tail = '';
|
$tail = 'order by start_time desc, id desc';
|
||||||
$config = array(
|
$config = array(
|
||||||
|
'pagination_table' => 'contests_registrants',
|
||||||
'page_len' => 10,
|
'page_len' => 10,
|
||||||
'table_classes' => array('table', 'table-bordered', 'table-text-center', 'table-vertical-middle'),
|
'table_classes' => array('table', 'table-bordered', 'table-text-center', 'table-vertical-middle'),
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user