<div id="wrap">
  <!-- tmenu begin -->
  <div id="tmenu">
    <div class="tl">
    	<span style="padding-right:16px">${application["basic"]["bbsName"]}</span>>> 欢迎您 
    		<#if Session["sessionUser"]?exists>
    			[${Session["sessionUser"].username}]
    			<#if noReadMessageNum?exists>
    				 (您有<b style="color:red">${noReadMessageNum}</b>封<a href="myMessages.action" title="查看消息">新消息</a> )
    				 <#if noReadMessageNum!=0>
    				 	<bgsound src="images/rank.wav" loop="5">
    			</#if>
    		</#if> 
    	<a href="logout.action" title="退出登录">退出</a><#else> [guest]， 请先
    	<a href="login.action" title="用户登录">登录</a></#if> | 
    	<a href="signup-page.action" title="用户注册">注册</a> | 
    	<a href="recoverPassword-page.action" title="取得密码">忘记密码?</a> | 
    	<#if Session["sessionUser"]?exists>
    		<a href="controlPanel.action" title="用户控制面板">控制面板</a> |
    	</#if> 
    	<a href="onlineUsers.action" title="在线情况">在线情况</a> | 
    	<a href="search-page.action" title="查找">搜索</a> | 
    	<a href="help.action" title="论坛帮助">帮助</a>
    	<#if Session["sessionUser"]?exists>
    		<#if Session["sessionUser"].roles?if_exists="1"> | 
    			<a href="admin/login.jsp" title="论坛管理" rel="target">论坛管理</a>
    		</#if>
    	</#if> | 
    	<a href="http://www.ntsky.com/xml/Index.xml" style="color:red" title="http://www.ntsky.com/xml/Index.xml"><strong>ntsky's blog</strong></a>
    </div>
  </div>
  <!-- end #tmenu -->
  <#assign isLogo = application["basic"]["logo"]?exists>
  <#assign isBanner = application["basic"]["banner"]?exists>
  <!-- header begin -->
  <div id="header">
    <!-- logo -->
    <div id="logo"><#if isLogo><a href="${application["basic"]["bbsDomain"]?if_exists}"><img src="${application["basic"]["logo"]?if_exists}" alt="网站LOGO"/></a></#if></div>
    <!-- /logo -->
    <!-- banner -->
    <div id="banner">
    <#if isBanner>
    	<#assign banner = application["basic"]["banner"]?if_exists>
    	<#if banner?ends_with("swf")>
    	<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width="468" height="60" ID="Shockwaveflash1">
			<param name="movie" value="${banner}">
			<param name="quality" value="high">
			<param name="menu" value="false">
			<embed src="${banner}" quality="high" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="468" height="60"></embed>
		</object>
    	<#else>
    		<a href="${application["basic"]["bannerUrl"]}"/><img src="${banner}" alt="论坛Banner" width="468" height="60"/></a>
    	</#if>
    </#if>
    </div>
    <!-- /banner -->
  </div>
  <!-- end #header -->