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

30 lines
1.3 KiB
PHP
Raw Normal View History

2016-07-18 16:39:37 +00:00
<?php
if (!isset($ShowPageFooter)) {
$ShowPageFooter = true;
}
2022-09-18 04:58:35 +00:00
?>
2016-07-18 16:39:37 +00:00
</div>
<?php if ($ShowPageFooter): ?>
<div class="uoj-footer">
<div class="btn-group dropright mb-3">
<button type="button" class="btn btn-sm btn-outline-secondary dropdown-toggle" data-toggle="dropdown">
<span class="glyphicon glyphicon-globe"></span> <?= UOJLocale::get('_common_name') ?>
</button>
<div class="dropdown-menu">
<a class="dropdown-item" href="<?= HTML::url(UOJContext::requestURI(), array('params' => array('locale' => 'zh-cn'))) ?>">中文</a>
<a class="dropdown-item" href="<?= HTML::url(UOJContext::requestURI(), array('params' => array('locale' => 'en'))) ?>">English</a>
</div>
</div>
2022-03-17 05:07:42 +00:00
<ul class="list-inline"><li class="list-inline-item">Universal Online Judge</li></ul>
2022-03-17 04:42:58 +00:00
<?php if (UOJConfig::$data['profile']['ICP-license'] != ''): ?>
<p><a target="_blank" href="https://beian.miit.gov.cn" style="text-decoration:none;"><?= UOJConfig::$data['profile']['ICP-license'] ?></a></p>
<?php endif ?>
2022-09-18 02:11:19 +00:00
<p><?= UOJLocale::get('server time') ?>: <?= UOJTime::$time_now_str ?> | <a href="https://github.com/renbaoshuo/S2OJ" target="_blank"><?= UOJLocale::get('opensource project') ?></a></p>
2016-07-18 16:39:37 +00:00
</div>
<?php endif ?>
</div>
<!-- /container -->
</body>
</html>