
<div class="container">
	<div class="row topbar">
		<div class="width-1-1 text-right">
		{-if:$_G['language']['change']-}
			<ul class="subnav subnav-divider text-sm">
			{-foreach:$_LS,$alias,$lang-}
				<li{-if:LANG_NAME == $alias-} class="active text-strong"{-:/if-}>
					<a href="{-url:home@common/_toggle_lang?l={$alias}&gcap={$gcap}-}">{-:$lang-}</a>
				</li>
			{-:/foreach-}
			</ul>
		{-:/if-}
		</div>
	</div>
	<div class="row">
		<div class="width-1-1 text-center">
			<a class="logo" href="{-url:home@index/index-}"><img src="{-:$_SITE['logo']-}" alt="{-:$_SITE['name']-}" /></a>
		</div>
	</div>

	<div class="row">
		<div class="width-1-1">
			<nav class="navbar">
				<ul class="navbar-nav">
<loga:menu alias="main">
	{-if:!empty($m['m_sub'])-}
		<li data-dropdown class="nav-parent">
			<a href="{-:$m['url']-}" title="{-:$m['m_tip']-}" target="{-:$m['m_target']-}">{-:$m['m_name']-} <i class="icon-caret-down"></i></a>
			<div class="dropdown dropdown-navbar">
				<ul class="nav nav-navbar">
				{-foreach:$m['m_sub'],$ms-}
					<li><a href="{-:$ms['url']-}" title="{-:$ms['m_tip']-}" target="{-:$ms['m_target']-}">{-:$ms['m_name']-}</a></li>
				{-:/foreach-}
				</ul>
			</div>
		</li>
	{-else:-}
		<li{-if:get_url($_GCAP) == $m['url']-} class="active"{-:/if-}><a href="{-:$m['url']-}" title="{-:$m['m_tip']-}" target="{-:$m['m_target']-}">{-:$m['m_name']-}</a></li>
	{-:/if-}
</loga:menu>
				</ul>
			{-if:$_G['interaction']['search_switch']-}
				<div class="navbar-content navbar-flip">
					<form class="form form-inline display-inline-block" method="post" action="{-url:home@search/search_do-}">
						<input type="text" name="keyword" validate="/\S+/" size="20" class="control-input" placeholder="{-:@SEARCH-}">
						<select name="type" class="control-input">
							<option value="A" selected="selected">{-:@ARTICLE-}</option>
							<option value="S">{-:@SINGLE_PAGE-}</option>
						</select>
						<button type="submit" class="btn btn-info"><i class="icon-zoom"></i></button>
					</form>
				</div>
			{-:/if-}
			</nav>
		</div>
	</div>
</div>
