S2OJ/web/app/views/page-footer.php

55 lines
2.0 KiB
PHP
Raw Normal View History

2016-07-18 16:39:37 +00:00
<?php
2022-11-06 02:26:21 +00:00
if (!isset($ShowPageFooter)) {
$ShowPageFooter = true;
}
?>
</div>
<?php if ($ShowPageFooter) : ?>
<?php if (UOJNotice::shouldConstantlyCheckNotice()) : ?>
<script type="text/javascript">
<?php UOJNotice::printJS(); ?>
</script>
<?php endif ?>
2023-02-05 12:55:14 +00:00
2023-02-23 10:28:20 +00:00
<footer class="bg-body text-muted pt-3 pb-4 mt-4" style="font-size: 0.9em">
2023-02-05 12:55:14 +00:00
<div class="container d-lg-flex justify-content-lg-between">
<div>
2023-01-17 12:50:15 +00:00
<div>
2023-02-05 12:55:14 +00:00
&copy; <?= date('Y') ?>
<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>)
2023-11-18 14:07:13 +00:00
</div>
<div class="small mt-1">
2023-02-05 12:55:14 +00:00
<?php if (UOJConfig::$data['profile']['ICP-license'] != '') : ?>
2023-11-18 14:07:13 +00:00
<a class="text-muted text-decoration-none d-inline-block mr-2" target="_blank" href="https://beian.miit.gov.cn">
2023-02-05 12:55:14 +00:00
<?= UOJConfig::$data['profile']['ICP-license'] ?>
</a>
<?php endif ?>
2023-11-18 14:07:13 +00:00
<?php if (UOJConfig::$data['profile']['police-license'] != '') : ?>
<a class="text-muted text-decoration-none d-inline-block mr-2" target="_blank" href="https://beian.mps.gov.cn/#/query/webSearch">
<img src="<?= HTML::url('/images/police-beian.png') ?>" style="height: 1em; vertical-align: middle" />
<?= UOJConfig::$data['profile']['police-license'] ?>
</a>
<?php endif ?>
2023-01-17 12:50:15 +00:00
</div>
2023-02-05 12:55:14 +00:00
<div class="small mt-1">
<?= UOJLocale::get('server time') ?>: <?= UOJTime::$time_now_str ?>
2023-01-17 12:50:15 +00:00
</div>
2022-11-06 02:26:21 +00:00
</div>
2023-02-05 12:55:14 +00:00
<div class="mt-2 mt-lg-0">
Based on
<a class="text-decoration-none" href="https://uoj.ac" target="_blank">UOJ</a>,
modified by
<a class="text-decoration-none" href="https://baoshuo.ren" target="_blank">Baoshuo</a>
for
<a class="text-decoration-none" href="http://www.sjzez.com">SJZEZ</a>
2016-07-18 16:39:37 +00:00
</div>
</div>
2023-02-05 12:55:14 +00:00
</footer>
2022-11-06 02:26:21 +00:00
<?php endif ?>
</div>
<!-- /container -->
</body>
2016-07-18 16:39:37 +00:00
</html>