feat: server time in a new line
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Baoshuo Ren 2023-01-17 20:50:15 +08:00
parent 7b7f01dca1
commit e522538d98
Signed by: baoshuo
GPG Key ID: 00CB9680AB29F51A

View File

@ -13,25 +13,29 @@ if (!isset($ShowPageFooter)) {
<?php if (isset($REQUIRE_LIB['bootstrap5'])) : ?> <?php if (isset($REQUIRE_LIB['bootstrap5'])) : ?>
<footer class="bg-white text-muted pt-3 pb-4 mt-4" style="font-size: 0.9em"> <footer class="bg-white text-muted pt-3 pb-4 mt-4" style="font-size: 0.9em">
<div class="container d-lg-flex justify-content-lg-between"> <div class="container d-lg-flex justify-content-lg-between">
<p> <div>
<div>
&copy; <?= date('Y') ?> &copy; <?= date('Y') ?>
<a class="text-decoration-none" href="<?= HTML::url('/') ?>">S2OJ</a> <a class="text-decoration-none" href="<?= HTML::url('/') ?>">S2OJ</a>
(build: <a class="text-decoration-none" href="https://github.com/renbaoshuo/S2OJ<?= UOJConfig::$data['profile']['s2oj-version'] == "dev" ? '' : '/tree/' . UOJConfig::$data['profile']['s2oj-version'] ?>"><?= UOJConfig::$data['profile']['s2oj-version'] ?></a>) (build: <a class="text-decoration-none" href="https://github.com/renbaoshuo/S2OJ<?= UOJConfig::$data['profile']['s2oj-version'] == "dev" ? '' : '/tree/' . UOJConfig::$data['profile']['s2oj-version'] ?>"><?= UOJConfig::$data['profile']['s2oj-version'] ?></a>)
<?= UOJLocale::get('server time') ?>: <?= UOJTime::$time_now_str ?>
<?php if (UOJConfig::$data['profile']['ICP-license'] != '') : ?> <?php if (UOJConfig::$data['profile']['ICP-license'] != '') : ?>
| <a class="text-muted text-decoration-none" target="_blank" href="https://beian.miit.gov.cn"> | <a class="text-muted text-decoration-none" target="_blank" href="https://beian.miit.gov.cn">
<?= UOJConfig::$data['profile']['ICP-license'] ?> <?= UOJConfig::$data['profile']['ICP-license'] ?>
</a> </a>
<?php endif ?> <?php endif ?>
</p> </div>
<p> <div class="small mt-1">
<?= UOJLocale::get('server time') ?>: <?= UOJTime::$time_now_str ?>
</div>
</div>
<div class="mt-2 mt-lg-0">
Based on Based on
<a class="text-decoration-none" href="https://uoj.ac" target="_blank">UOJ</a>, <a class="text-decoration-none" href="https://uoj.ac" target="_blank">UOJ</a>,
modified by modified by
<a class="text-decoration-none" href="https://baoshuo.ren" target="_blank">Baoshuo</a> <a class="text-decoration-none" href="https://baoshuo.ren" target="_blank">Baoshuo</a>
for for
<a class="text-decoration-none" href="http://www.sjzez.com">SJZEZ</a>. <a class="text-decoration-none" href="http://www.sjzez.com">SJZEZ</a>
</p> </div>
</div> </div>
</footer> </footer>
<?php else : ?> <?php else : ?>