<div class="container">
	<div class="row esocms_head">
		<div class="col-xs-12 col-sm-6 col-md-6 espcms_logo"><a href="{%$url%}" title="{%$lngpack.sitename%}"><img src="{%$rootpath%}images/logo.png" class="logo" alt="易思ESPCMS-P8企业建站管理系统"/></a></div>
		<div class="espcms_top_con col-xs-12 col-sm-5 col-md-5 pull-right">
			<div class="espcms_top_str">
				<a href="{%find:order class=1 out=list%}">Shopping Cart</a>
				<a href="{%find:mlink class=1 out=login%}">Member</a>
				{%get name=lng%}
				{%forlist from=$array key=i%}
				<a href="{%$array[i].link%}" title="{%$array[i].lngtitle%}">{%$array[i].lngtitle%}</a>
				{%/forlist%}
				{%/get%}
			</div>
			<div class="espcms_search">
				{%get name=search class=mid:0%}
				<form name="infosearch" class="form-horizontal pt10 espcms_top_search" method="post" action="{%$searchlink%}">
					<input type="hidden" name="mid" value="0">
					<input class="form-control"  id="keyword" name="keyword" type="text" placeholder="Search..."/>
					<button type="submit" class="espcms_search_icon"><i class="glyphicon glyphicon-search"></i></button>
				</form>
				{%/get%}
			</div>
		</div>
	</div>
</div>
<nav class="navbar navbar-default navbar-static-top">
	<div class="navbar-header">
		<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar"> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </button>
		<a class="navbar-brand" href="{%$url%}">HOME</a>
	</div>
	<div class="container">
		{%get name=menu class=path:$path,current:$current,hover_id:$hover_id,child:1,ismenu:1%}
		<div id="navbar" class="navbar-collapse collapse">
			<ul class="nav navbar-nav head_nav">
				{%forlist from=$array key=i%}
				<li class="dropdown {%if $array[i].path==$para.path && $array[i].hover_id==$hover_id%} active{%/if%}">
					{% if count( $array[i].childArray ) > 0 %}
					<a href="{%$array[i].link%}" {%if $array[i].nevigate_target==1%} target="_blank" {%/if%} class="menu1 dropdown-toggle" title="{%$array[i].nevigate_name%}" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">{%$array[i].nevigate_name%}</a>
					<ul class="dropdown-menu nav_small" role="menu">
						{%forlist from=$array[i].childArray key=ii%}
						<li><a href="{%$array[i].childArray[ii].link%}" title="{%$array[i].childArray[ii].typename%}">{%$array[i].childArray[ii].typename%}</a></li>
						{%/forlist%}
					</ul>
					{%else%}
					<a title="{%$array[i].nevigate_name%}" href="{%$array[i].link%}">{%$array[i].nevigate_name%}</a>
					{%/if%}
				</li>
				{%/forlist%}
			</ul>
		</div>
		{%/get%}
	</div>
</nav>