2016-07-18 16:39:37 +00:00
|
|
|
<?php
|
2022-03-17 04:00:03 +00:00
|
|
|
if (!Auth::check()) {
|
2022-04-02 10:01:26 +00:00
|
|
|
become403Page(UOJLocale::get('need login'));
|
2022-03-17 04:00:03 +00:00
|
|
|
}
|
|
|
|
|
2022-03-21 02:51:31 +00:00
|
|
|
if (isset($_GET['type']) && $_GET['type'] == 'accepted') {
|
|
|
|
$config = array('page_len' => 100, 'by_accepted' => true);
|
|
|
|
$title = UOJLocale::get('top solver');
|
|
|
|
} else {
|
|
|
|
become404Page();
|
|
|
|
}
|
2016-07-18 16:39:37 +00:00
|
|
|
?>
|
2022-03-21 02:51:31 +00:00
|
|
|
<?php echoUOJPageHeader($title) ?>
|
2016-07-18 16:39:37 +00:00
|
|
|
<?php echoRanklist($config) ?>
|
|
|
|
<?php echoUOJPageFooter() ?>
|