mirror of
https://github.com/renbaoshuo/S2OJ.git
synced 2024-11-09 01:48:41 +00:00
fd77267e3f
Some of the pictures of the original UOJ system uses the picture bed that belongs to the real UOJ which set up by vfleaking. But it may not work on some situations of the community version. This commit added language flag pictures and changed the link to those pictures.
28 lines
981 B
PHP
28 lines
981 B
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"><?= UOJConfig::$data['profile']['ICP-license'] ?></a></li>
|
|
<?php endif ?>
|
|
</ul>
|
|
|
|
<p>Server time: <?= UOJTime::$time_now_str ?> | <a href="http://github.com/UniversalOJ/UOJ-System">开源项目</a></p>
|
|
</div>
|
|
<?php endif ?>
|
|
</div>
|
|
<!-- /container -->
|
|
</body>
|
|
</html>
|