<script language="javascript">
var webroot_url = '{#$base_weburl#}';
function submitSearch()
{
	var idsort_type 			= 	document.getElementById('sort_type');
	document.formSearch.action	=	'?'+idsort_type.value+'.html?type=search';
	document.formSearch.target	=	"_self"
	document.formSearch.submit(); 
	
}
</script>
<div  class="tophead"><div class="toplistmenuleft" >
<div class="csslogin" id="hdivleft">{#$user_link#}</div>
<div class="toplistmenu" >
<ul>
<li style="border-left:0px;"><a href="#" onclick="SetHome(this,'{#$domain_name#}')">{#$lang.set_home#}</a></li>
<li><a href="#" onclick="AddFav('{#$domain_name#}','{#$web_config.web_title#}')">{#$lang.set_addfav#}</a></li>
	{#foreach key=topkey item=menuitem from=$menu_info.top#}
		<li>{#$menuitem.relurl#}</li>
	{#/foreach#}
</ul>
</div>
</div>{#$lang.js_name#}
<div class="toplogo" style="overflow:hidden;background-color:#FFFFFF;">{#if $web_config.web_logo eq ''#}{#$web_config.web_name#}{#else#}<a href="{#$base_weburl#}/" target="_self"><img src=".{#$web_config.web_logo#}" border="0" /></a></div>{#/if#}<div class="toplist">
<div class="toplistsearch" style="background-color:#FFFFFF;"><form action="{#$base_weburl#}/index.php?/search-list.html" method="post" name="formSearch"  id="formSearch"><select  name="sort_type" id="sort_type" >
{#foreach key=skey item=sitem from=$lang.sort_type#}
<option value="{#$skey#}" {#if $sort_type eq $skey#} selected = "selected" {#/if#}>{#$sitem#}</option>
{#/foreach#}
</select>
<input type="text" name="keyword" id="keyword" class="kwcss" value="{#$keyword#}"  />&nbsp;<input type="submit" value="{#$lang.seach_name#}"  class="subcss" onclick="submitSearch(this)" />
</form></div>
</div></div>
<div  id="menu" class="menulist" style="overflow:hidden;background-color:#FFFFFF;">
<ul>
	<li style=" border-left:0px solid #FFFFFF;"><a href="{#$base_weburl#}/">{#$lang.home#}</a></li>
	{#foreach item=menuitem from=$menu_info.middle#}
	<li>{#$menuitem.relurl#}</li>
	{#/foreach#}
</ul>
</div>
 