73 lines
4.2 KiB
HTML
73 lines
4.2 KiB
HTML
|
<nav class="navbar navbar-expand-lg navbar-dark bg-dark">
|
|||
|
<a class="navbar-brand d-lg-none" href="/"><span class="fa fa-home"></span></a>
|
|||
|
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
|
|||
|
<span class="navbar-toggler-icon"></span>
|
|||
|
</button>
|
|||
|
<div class="collapse navbar-collapse" id="navbarNav">
|
|||
|
<ul class="navbar-nav">
|
|||
|
<!-- 0 пункт -->
|
|||
|
<li class="nav-item d-none d-lg-block">
|
|||
|
<a class="nav-link dropdown-toggle" href="/"><span class="fa fa-home"></span></a>
|
|||
|
</li>
|
|||
|
<!-- 1 пункт -->
|
|||
|
<li class="nav-item dropdown">
|
|||
|
<a class="nav-link dropdown-toggle" href="#" id="navbarDropdownMenuLink" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">Статьи</a>
|
|||
|
<div class="dropdown-menu" aria-labelledby="navbarDropdownMenuLink">
|
|||
|
<a class="dropdown-item" href="/cat/5">Про Linux</a>
|
|||
|
<a class="dropdown-item" href="/cat/7">Про Windows</a>
|
|||
|
<a class="dropdown-item" href="/cat/16">1С всех вариаций</a>
|
|||
|
<a class="dropdown-item" href="/cat/8">PHP - программирование</a>
|
|||
|
<a class="dropdown-item" href="/cat/">JS/JQuery - программирование</a>
|
|||
|
<a class="dropdown-item" href="/cat/14">CSS</a>
|
|||
|
<a class="dropdown-item" href="/cat/13">Обо всем</a>
|
|||
|
<a class="dropdown-item" href="/cat/10" rel="nofollow">Архив, который жалко удалить</a>
|
|||
|
</div>
|
|||
|
</li>
|
|||
|
<!-- 2 пункт -->
|
|||
|
<li class="nav-item dropdown">
|
|||
|
<a class="nav-link dropdown-toggle" href="#" id="navbarDropdownMenuLink" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">Загрузки</a>
|
|||
|
<div class="dropdown-menu" aria-labelledby="navbarDropdownMenuLink">
|
|||
|
<a class="dropdown-item" href="/cat/3">PHP - Скрипты</a>
|
|||
|
<a class="dropdown-item" href="/cat/6">JS/JQuery - скрипты и плагины</a>
|
|||
|
<a class="dropdown-item" href="/cat/9">Полезный софт</a>
|
|||
|
<a class="dropdown-item" href="/cat/15">Библиотка</a>
|
|||
|
{*<a class="dropdown-item" href="/page/17">Языки программирования</a>*}
|
|||
|
<a class="dropdown-item" href="/cat/11">Драйверы</a>
|
|||
|
</div>
|
|||
|
</li>
|
|||
|
<!-- 3 пункт -->
|
|||
|
<li class="nav-item">
|
|||
|
<a class="nav-link" href="/cat/4">Портфолио</a>
|
|||
|
</li>
|
|||
|
|
|||
|
<!-- 4 пункт -->
|
|||
|
<li class="nav-item dropdown">
|
|||
|
<a class="nav-link dropdown-toggle" href="#" id="navbarDropdownMenuLink" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">Услуги</a>
|
|||
|
<div class="dropdown-menu" aria-labelledby="navbarDropdownMenuLink">
|
|||
|
<a class="dropdown-item" href="/zakaz-site.html">Мы создаем сайты</a>
|
|||
|
<a class="dropdown-item" href="/cat/6">Мы конфигурируем сервера</a>
|
|||
|
<a class="dropdown-item" href="/cat/9">Мы поддерживаем сети</a>
|
|||
|
<a class="dropdown-item" href="http://habibulin.com/#work" target="_blank" rel="nofollow">Мы обслуживаем компьютеры</a>
|
|||
|
{*<a class="dropdown-item" href="/page/17">Мы помогаем удаленно</a>*}
|
|||
|
</div>
|
|||
|
</li>
|
|||
|
{if ($smarty.session.dostup==='a' || $smarty.session.dostup==='e')}
|
|||
|
<!-- Админка -->
|
|||
|
<li class="nav-item">
|
|||
|
<a class="nav-link" href="/admin/">Админка</a>
|
|||
|
</li>
|
|||
|
{/if}
|
|||
|
</ul>
|
|||
|
|
|||
|
{*<form class="form-inline my-2 my-lg-0 input-group mb-3 col-xs-12 col-sm-12 col-md-12 col-lg-3 col-xl-3" method="get" action="/find/" id="form_find">*}
|
|||
|
{if ($smarty.get.mod=="find")}
|
|||
|
<input type="text" class="form-control" placeholder="Поиск" {*aria-describedby="basic-addon2"*} name="id" value="{$smarty.get.id}" autocomplete="off" id="input-find" style="width: 200px;">
|
|||
|
{else}
|
|||
|
<input type="text" class="form-control" placeholder="Поиск" {*aria-describedby="basic-addon2"*} name="id" value="" autocomplete="off" id="input-find" style="width: 200px;">
|
|||
|
{/if}
|
|||
|
<div class="input-group-append">
|
|||
|
<button class="btn btn-outline-secondary" type="button" id="form_find_click"><i class="fas fa-search"></i></button>
|
|||
|
</div>
|
|||
|
{*</form>*}
|
|||
|
</div>
|
|||
|
</nav>
|