S2OJ/uoj/1/app/views/page-footer.php
2017-04-07 11:15:39 +08:00

22 lines
918 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="//img.uoj.ac/utility/flags/24/cn.png" alt="中文" /></a> <a href="<?= HTML::url(UOJContext::requestURI(), array('params' => array('locale' => 'en'))) ?>"><img src="//img.uoj.ac/utility/flags/24/gb.png" alt="English" /></a></p>
<?php if (UOJConfig::$data['switch']['ICP-license']): ?>
<ul class="list-inline"><li>Universal Online Judge</li>|<li><a href="http://www.miitbeian.gov.cn">鄂ICP备14016048号</a></li></ul>
<?php else: ?>
<ul class="list-inline"><li>Universal Online Judge</li></ul>
<?php endif ?>
<p>Server time: <?= UOJTime::$time_now_str ?></p>
</div>
<?php endif ?>
</div>
<!-- /container -->
</body>
</html>