<div class="navbar navbar-default" role="navigation">
	<div class="navbar-header">
		<a class="navbar-brand" href="/">[(site_name)]</a>
	</div>
	<div class="navbar-collapse collapse">
		[[Wayfinder?&startId=`0`&outerClass=`nav navbar-nav`&parentRowTpl=`wf_menu_parent`&innerTpl=`wf_menu_inner`]]
		<ul class="nav navbar-nav navbar-right">
			[!if?&is=`[*u_email*]:!=:`&then=`
			<li><a href="[~~9~~]"><span class="glyphicon glyphicon-user"></span> Профиль</a></li>
			<li><a href="/[(lang)]/?logout"><span class="glyphicon glyphicon-off"></span> [#4#]</a></li>
			`&else=`
			<li><a href="[~~3~~]"><span class="glyphicon glyphicon-user"></span> [#3#]</a></li>
			`!]
			<li>
				<a href="#Cart" data-toggle="modal" data-ajax="cart" data-target="#Cart">
					<span class="glyphicon glyphicon-shopping-cart"></span> 
					<span class="cart_title">[#1#] <span class="cart_title">[!if?&is=`[!Shop?&get=`cart_count`!]:is:0`&then=`[#2#]`&else=`([!Shop?&get=`cart_count`!])`!]</span></span>
				</a>
			</li>
		</ul>
	</div><!--/.nav-collapse -->
</div>
<form action="[~~12~~]" method="get" class="row">
	<div class="col-md-10">
		<input type="text" name="search" placeholder="[#6#]..." value="[*get_search*]" class="form-control" />
	</div>
	<div class="col-md-2">
		<button class="btn btn-default form-control" type="submit"><span class="glyphicon glyphicon-search"></span> [#5#]</button>
	</div>
	<br><br><br>
</form>