fix: c77c40c341
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Baoshuo Ren 2022-10-15 07:15:22 +08:00
parent 726fb44108
commit 40817e212c
Signed by: baoshuo
GPG Key ID: 00CB9680AB29F51A

View File

@ -7,19 +7,20 @@
become403Page();
}
$config = [
'page_len' => 100,
'div_classes' => ['card', 'mb-3'],
'table_classes' => ['table', 'uoj-table', 'mb-0', 'text-center'],
];
if (isset($_GET['type']) && $_GET['type'] == 'accepted') {
$config = array('page_len' => 100, 'by_accepted' => true);
$config['by_accepted'] = true;
$title = UOJLocale::get('top solver');
} else {
become404Page();
}
requireLib('bootstrap5');
$config = [
'div_classes' => ['card', 'mb-3'],
'table_classes' => ['table', 'uoj-table', 'mb-0', 'text-center'],
];
?>
<?php echoUOJPageHeader($title) ?>
<h1 class="h2"><?= $title ?></h1>