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