<script type="text/javascript" language="javascript">
function killerror()
{
	return true;
}
window.onerror=killerror;
</script>
<script language="javascript"  type="text/javascript" src="<?php echo $niubicms['site_url'];?>template/<?php echo $niubicms['lang'];?>/<?php echo $niubicms['tpl_name'];?>/js/Function.js"></script>
<div class="top">
<div class="topdiv">
<div class="top_l"> 
<a id="linkf" href="#" onClick="this.style.behavior='url(#default#homepage)';this.setHomePage('<?php echo $niubicms[site_url];?>');"><span class="Red">设为主页</span></a> <a href="javascript:window.external.addFavorite('<?php echo $niubicms[site_url];?>','<?php echo $niubicms[site_name];?>');"><span class="Red">加入收藏</span></a></div>
<div id="LoginSuc" style="display:none;"></div>
 </div>
 </div>
</div>


<div class="header">
<div class="logo"><a href="<?php echo $niubicms[site_url];?>"><img src="<?php echo formaturl($niubicms['logo']);?>" alt="<?php echo $niubicms[site_name];?>"/></a></div>
<div class="AntMenu">
<div class="searchA">
<div class="s_select" onmouseout="$('#menu_ul').hide();" onmouseover="$('#menu_ul').show();">
<ul onclick="getSearchType(event)" id="menu_ul" style="display:none">
<li val="0" style="display:none">新闻</li>
<?php $no=1;if(is_array($usermodule))foreach($usermodule as $no=>$r){?>
<?php if(in_array($r['folder'],array('news'))) { ?>
<li val="<?php echo $r['id'];?>"><?php echo $r['name'];?></li>
<?php }?>
<?php $no++;}?>
</ul><h6 class="w">新闻</h6></div>
<form action="<?php echo $niubicms['site_url'];?>search/index.php" method="get" name="mysearchform" id="topsearchform">
<input type="hidden" name="moduleid" id="moduleid" />
<div class="ip"><input itype="text" name="k" ></div>
<input type="button" class="button" onclick="$('#topsearchform').submit();" value="搜 索"/>
</form>
</div>	
</div>
</div>

<div class="nav_wrap">
<div id="nv">
<ul>
<li class="a" id="mn_forum" ><a href="<?php echo $niubicms['site_url'];?>" hidefocus="true">网站首页</a></li>
<?php $_DATA=get_nav_data(1,0,0,99);foreach($_DATA as $no => $r)if(is_array($r)){?>
<li><a href="<?php echo formaturl($r['url']);?>" hidefocus="true" target="_blank" style="color:<?php echo $r['color'];?>"><?php echo $r['name'];?></a></li>
<?php }unset($_DATA);?> 


</div></div>

</div>

