mirror of
https://github.com/renbaoshuo/S2OJ.git
synced 2024-11-09 16:38:41 +00:00
This commit is contained in:
parent
2367452bcd
commit
bff23cfdfd
@ -69,14 +69,26 @@
|
||||
</div>
|
||||
<?php if (Auth::check()): ?>
|
||||
<?php if (isNormalUser($myUser)): ?>
|
||||
<div class="mt-4 card">
|
||||
|
||||
<div class="mt-4
|
||||
<?php if (isset($REQUIRE_LIB['bootstrap5'])): ?>
|
||||
card
|
||||
<?php endif ?>
|
||||
">
|
||||
|
||||
<?php if (isset($REQUIRE_LIB['bootstrap5'])): ?>
|
||||
<div class="card-body">
|
||||
<h4 class="card-title"><?= UOJLocale::get('top solver') ?></h4>
|
||||
<?php else: ?>
|
||||
<h3><?= UOJLocale::get('top solver') ?></h3>
|
||||
<?php endif ?>
|
||||
<?php echoRanklist(array(
|
||||
'echo_full' => true,
|
||||
'top10' => true,
|
||||
'by_accepted' => true,
|
||||
'table_classes' => array('table', 'text-center'),
|
||||
'table_classes' => isset($REQUIRE_LIB['bootstrap5'])
|
||||
? array('table', 'text-center')
|
||||
: array('table', 'table-bordered', 'table-hover', 'table-striped', 'table-text-center'),
|
||||
)) ?>
|
||||
<div class="text-center">
|
||||
<a href="/solverlist"
|
||||
@ -85,7 +97,9 @@
|
||||
<?php endif ?>
|
||||
><?= UOJLocale::get('view all') ?></a>
|
||||
</div>
|
||||
<?php if (isset($REQUIRE_LIB['bootstrap5'])): ?>
|
||||
</div>
|
||||
<?php endif ?>
|
||||
</div>
|
||||
<?php endif ?>
|
||||
<?php else: ?>
|
||||
|
Loading…
Reference in New Issue
Block a user