mirror of
https://github.com/renbaoshuo/S2OJ.git
synced 2024-11-14 04:58:42 +00:00
4ed05e6388
Change some static resources starting with https. Replace long UOJConfig to HTML::URL. New detection of protocol settings.
28 lines
1.0 KiB
PHP
28 lines
1.0 KiB
PHP
<?php
|
|
if (!isset($ShowPageFooter)) {
|
|
$ShowPageFooter = true;
|
|
}
|
|
?>
|
|
</div>
|
|
<?php if ($ShowPageFooter): ?>
|
|
<div class="uoj-footer">
|
|
<p>
|
|
<a href="<?= HTML::url(UOJContext::requestURI(), array('params' => array('locale' => 'zh-cn'))) ?>"><img src="/pictures/lang/cn.png" alt="中文" /></a>
|
|
<a href="<?= HTML::url(UOJContext::requestURI(), array('params' => array('locale' => 'en'))) ?>"><img src="/pictures/lang/gb.png" alt="English" /></a>
|
|
</p>
|
|
|
|
<ul class="list-inline">
|
|
<li><?= UOJConfig::$data['profile']['oj-name'] ?></li>
|
|
<?php if (UOJConfig::$data['profile']['ICP-license'] != ''): ?> |
|
|
<li><a href="http://www.miitbeian.gov.cn" target="_blank"><?= UOJConfig::$data['profile']['ICP-license'] ?></a></li>
|
|
<?php endif ?>
|
|
</ul>
|
|
|
|
<p><?= UOJLocale::get('server time') ?>: <?= UOJTime::$time_now_str ?> | <a href="https://github.com/UniversalOJ/UOJ-System" target="_blank"><?= UOJLocale::get('opensource project') ?></a></p>
|
|
</div>
|
|
<?php endif ?>
|
|
</div>
|
|
<!-- /container -->
|
|
</body>
|
|
</html>
|