chore(web): display icp

This commit is contained in:
Baoshuo Ren 2022-10-22 19:39:15 +08:00
parent 5758789df4
commit 236a152f51
Signed by: baoshuo
GPG Key ID: 00CB9680AB29F51A

View File

@ -13,14 +13,11 @@
<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 ?> <?= UOJLocale::get('server time') ?>: <?= UOJTime::$time_now_str ?>
| <?php if (UOJConfig::$data['profile']['ICP-license'] != ''): ?>
<a class="text-decoration-none" href="#" id="back-to-bs4">返回旧版</a> | <a class="text-muted text-decoration-none" target="_blank" href="https://beian.miit.gov.cn">
<script> <?= UOJConfig::$data['profile']['ICP-license'] ?>
$('#back-to-bs4').click(function() { </a>
$.cookie('bootstrap4', '1', { expires: 7, path: '/' }); <?php endif ?>
location.reload();
});
</script>
</p> </p>
<p> <p>
Based on Based on