S2OJ/uoj/1/app/views/main-nav.php
MascoSkray babd30364e Initial commit for PHP7
This is the commit before changing environment to PHP7.
2018-09-20 17:38:09 +08:00

23 lines
1004 B
PHP

<div class="navbar navbar-default" role="navigation">
<div class="container-fluid">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target=".navbar-collapse">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="<?= HTML::url('/') ?>"><?= UOJConfig::$data['profile']['oj-name-short'] ?></a>
</div>
<div class="navbar-collapse collapse">
<ul class="nav navbar-nav">
<li><a href="/contests"><?= UOJLocale::get('contests') ?></a></li>
<li><a href="/problems"><?= UOJLocale::get('problems') ?></a></li>
<li><a href="/submissions"><?= UOJLocale::get('submissions') ?></a></li>
<li><a href="/hacks"><?= UOJLocale::get('hacks') ?></a></li>
<li><a href="/blogs"><?= UOJLocale::get('blogs') ?></a></li>
<li><a href="/faq"><?= UOJLocale::get('help') ?></a></li>
</ul>
</div><!--/.nav-collapse -->
</div>
</div>