<%@ page language="java" pageEncoding="GB2312" contentType="text/html;charset=GB2312" %>
<%@ include file="/common/taglibs.jsp"%>
<table width="778" align="center" cellpadding="0" cellspacing="0" id="grqy_1">
  <tr> 
    <td height="13" colspan="5"></td>
  </tr>
  <tr> 
    <td width="11"></td>
    <td width="561" height="35">
	<!--weather (天气)， browser(浏览者) 分类 start -->
            <table width="562" border="0" align="center" cellpadding="0" cellspacing="0">
              <tr> 
                <td width="1" class="tq-back"></td>
                <td valign="middle" class="tq-bigback"> 

                  <table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
                    <tr> 
                      <td width="123" class="time" nowrap><fmt:formatDate value="${today}" pattern="yyyy-MM-dd"/> 星期<c:out value="${week}"/> </td>
<xunuo:set columnid="tqybid" var="xnList" number="1" />
<c:forEach var="xn" items="${xnList}" varStatus="status">
<c:if test="${status.index==0}"><td width="76" class="weather"  nowrap>今日天气：</td><td Width="100%" align=center><span class="time"><marquee direction=left scrollamount=2 scrolldelay="100" onMouseOver="this.stop();" width="90%" onMouseOut="this.start();"><c:out value="${xn.content}" /></marquee></span></td></c:if>
</c:forEach>
			<td align="right" nowrap><c:forEach var="browser" items="${browserList}"><a href='<c:url value="/browser/browser.html"><c:param name="id" value="${browser.id}"/></c:url>' class="fontBold fontYellow"><c:out value="${browser.browser}"/></a> </c:forEach>
						</td>
                    </tr>
                  </table>
                </td>
                <td width="1" class="tq-back"></td>
              </tr>
            </table> 
<!--weather (天气)， browser(浏览者) 分类 end -->
	</td>
    <td width="11"></td>
    <td width="186">
<!--站内搜索 start -->
      <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
        <tr>
          <td height="33"><table width="95%" height="31" border="0" align="center" cellpadding="0" cellspacing="0" >
<html:form action="/news/search.html">
<input type="hidden" name="method" value="find">
			<tr> 
                <td width="6" background='<c:url value="/images/znss_01.gif" />'>&nbsp;</td>
                <td width="57" align="center" background='<c:url value="/images/znss_02.gif" />' class="znss">站内搜索</td>
                <td align="center" background='<c:url value="/images/znss_02.gif"/>'><input type="text" name="keyword" value="" id="search" maxlength="20"/></td>
                <td width="33" background='<c:url value="/images/znss_02.gif"/>' id="znss"><div onclick="searchSubmit(document.articleForm) ;" style="cursor:hand" class="znss">GO</div></td>
                <td width="6" background='<c:url value="/images/znss_04.gif"/>'>&nbsp;</td>
              </tr></html:form>
            </table></td>
        </tr>
      </table>
<!--站内搜索 end -->
	</td>
    <td width="9"></td>
  </tr>
  <tr> 
    <td></td>
    <td></td>
    <td></td>
    <td></td>
    <td></td>
  </tr>
</table>
<!--end grqy_1-->
<table width="778" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td width="564" height="" valign="top"> 
<!--start grqy_2-->
      <table width="564" cellpadding="0" cellspacing="0" id="grqy_2">
        <tr> 
          <td width="10" height="26"></td>
          <td class="nideweizhi">您的位置：<a href='<c:url value="/"/>'>首页</a>--<c:out value="${browser.browser}" /></td>
        </tr>
      </table>
<!--end grqy_2-->
<!--最高一级栏目 start -->
<c:if test="${hasLevel_1}" ><!--最小层次的子栏目数操作默认数-->
<!--start grqy_3-->
      <table width="564" height="30" cellpadding="0" cellspacing="0" id="grqy_3">

		<tr>
			<td colspan=4 class="shfwzwgk-line2"></td>
		</tr>
        <tr> 
          <td width="20"></td>
          <td  nowrap><c:if test="${levelPlate.url == null || levelPlate.url == ''}"><a href='<c:url value="/news/column.html"><c:param name="id" value="${levelPlate.id}"/></c:url>' target='<c:out value="${levelPlate.target}" />' class="fontBlue fontBold"></c:if><c:if test="${levelPlate.url != null && levelPlate.url != ''}"><a href='<c:url value="${levelPlate.url}" />' target='<c:out value="${levelPlate.target}" />' class="fontBlue fontBold"></c:if> <c:out value="${levelPlate.name}" /></a></td>
          <td width="411"></td>
          <td width="63"><a href='<c:url value="/news/column.html" ><c:param name="id" value="${levelPlate.id}"/></c:url>'><img src='<c:url value="/images/grqy_more1.gif"/>' width="50" height="7" border=0></a></td>
        </tr>
      </table>
<!--end grqy_3-->
<!--start grqy_4-->
      <table width="564" border=0 cellpadding="0" cellspacing="0" id="grqy_4">
        <tr> 
          <td  valign="top"> 
            <table width="564"  cellpadding="0" border=0 cellspacing="0" class="shfw-zit">
              <tr> 
                <td width="53" height="20"></td>
                <td width="84"></td>
                <td width="84"></td>
                <td width="84"></td>
                <td width="84"></td>
                <td width="84"></td>
                <td width="91"></td>
              </tr>
<c:forEach var="xn" items="${levelList}" varStatus="status">
			<c:if test="${status.index == 0 || (ifEnd)}" >
			<c:set var="ifEnd" value="false" />
              <tr> 
                <td></td>
            </c:if>
                <td nowrap<c:if test="${(status.index+1) % 6 !=0}" > class="shfw-back1" </c:if> align=center><c:if test="${xn.url == null || xn.url == ''}"><a href='<c:url value="/news/column.html"><c:param name="id" value="${xn.id}"/></c:url>' target='<c:out value="${xn.target}" />'></c:if><c:if test="${xn.url != null && xn.url != ''}"><a href='<c:url value="${xn.url}" />' target='<c:out value="${xn.target}" />'></c:if><xunuo:out value="${xn.name}" counts="12"/></a></td>
			<c:if test="${status.index !=0 && (status.index+1) % 6 ==0}" >
			<c:set var="ifEnd" value="true" />
              </tr>
			</c:if>
			 <c:if test="${status.last && (status.index+1) % 6 != 0}" >
			 <c:set var="leaveTd" value="${6-((status.index+1) % 6)}" />
				<c:forEach begin="1" end="${leaveTd}" varStatus="status">
	                <td <c:if test="${!status.last}" > class="shfw-back1" </c:if>></td> 
				</c:forEach>
			 </c:if>
</c:forEach>
            </table>
          </td>
        </tr>
		<tr>
			<td height="10"> </td>
		</tr>
      </table>
<!--end grqy_4-->
</c:if>

<c:if test="${hasLevel_sub}" ><!--父目录相同的子栏目数操过默认数-->
<!--start grqy_3-->
      <table width="564" height="30" cellpadding="0" cellspacing="0" id="grqy_3">
		<tr>
			<td colspan=4 class="shfwzwgk-line2"></td>
		</tr>
        <tr> 
          <td width="20"></td>
          <td  nowrap><c:if test="${levelSubPlate.url == null || levelSubPlate.url == ''}"><a href='<c:url value="/news/column.html"><c:param name="id" value="${levelSubPlate.id}"/></c:url>' target='<c:out value="${levelSubPlate.target}" />' class="fontBlue fontBold"></c:if><c:if test="${levelSubPlate.url != null && levelSubPlate.url != ''}"><a href='<c:url value="${levelSubPlate.url}" />' target='<c:out value="${levelSubPlate.target}" />' class="fontBlue fontBold"></c:if><c:out value="${levelSubPlate.name}" /></a></td>
          <td width="411"></td>
          <td width="63"><c:if test="${levelSubPlate.url == null || levelSubPlate.url == ''}"><a href='<c:url value="/news/column.html"><c:param name="id" value="${levelSubPlate.id}"/></c:url>' target='<c:out value="${levelSubPlate.target}" />' class="fontBlue fontBold"></c:if><c:if test="${levelSubPlate.url != null && levelSubPlate.url != ''}"><a href='<c:url value="${levelSubPlate.url}" />' target='<c:out value="${levelSubPlate.target}" />' class="fontBlue fontBold"></c:if><img src='<c:url value="/images/grqy_more1.gif"/>' width="50" height="7" border=0></a></td>
        </tr>
      </table>
<!--end grqy_3-->
<!--start grqy_4-->
      <table width="564" border=0 cellpadding="0" cellspacing="0" id="grqy_4">
        <tr> 
          <td  valign="top"> 
            <table width="564"  cellpadding="0" border=0 cellspacing="0" class="shfw-zit">
              <tr> 
                <td width="53" height="20"></td>
                <td width="84"></td>
                <td width="84"></td>
                <td width="84"></td>
                <td width="84"></td>
                <td width="84"></td>
                <td width="91"></td>
              </tr>
<c:forEach var="xn" items="${levelSubList}" varStatus="status">
			<c:if test="${status.index == 0 || (ifEnd)}" >
			<c:set var="ifEnd" value="false" />
              <tr> 
                <td></td>
            </c:if>
                <td nowrap <c:if test="${(status.index+1) % 6 !=0}" > class="shfw-back1" </c:if> align=center><c:if test="${xn.url == null || xn.url == ''}"><a href='<c:url value="/news/column.html"><c:param name="id" value="${xn.id}"/></c:url>' target='<c:out value="${xn.target}" />'></c:if><c:if test="${xn.url != null && xn.url != ''}"><a href='<c:url value="${xn.url}" />' target='<c:out value="${xn.target}" />'></c:if><xunuo:out value="${xn.name}" counts="12"/></a></td>
			<c:if test="${status.index !=0 && (status.index+1) % 6 ==0}" >
			<c:set var="ifEnd" value="true" />
              </tr>
			</c:if>
			 <c:if test="${status.last && (status.index+1) % 6 != 0}" >
			 <c:set var="leaveTd" value="${6-((status.index+1) % 6)}" />
				<c:forEach begin="1" end="${leaveTd}" varStatus="status">
	                <td <c:if test="${!status.last}" > class="shfw-back1" </c:if>></td> 
				</c:forEach>
			 </c:if>
</c:forEach>
            </table>
          </td>
        </tr>
      </table>
<!--end grqy_4-->
</c:if>
<c:if test="${hasLevel_sub || hasLevel_1}" >
      <table width="564" border=0 cellpadding="0" cellspacing="0" id="grqy_4">
		<tr>
			<td  class="shfw-back" height="89"> </td>
		</tr>
      </table>
</c:if>
<!--最高一级栏目 end -->

<!-- 最低层级以下2层的文章在此显示 start -->
<c:forEach var="xn" items="${platesList}" >
<c:if test="${xn.level < level+2 && xn.id != levelPlate.id && xn.parentid != levelSubPlate.id}" >
<!--得到文章数，如果存在文章，则显示-->
<xunuo:set sessionid="${xn.id}" var="xnList2" />
<xunuo:set sessionid="${xn.id}" var="xnList1" sort="false"/>
		<c:forEach var="xn2" items="xnList2" >
			<c:set var="hasArticle" value="true" />
		</c:forEach>
		<c:forEach var="xn1" items="xnList1" >
			<c:set var="hasColumn" value="true" />
		</c:forEach>
		<c:if test="${hasArticle || hasColumn}">
<!--start grqy_5-->
      <table width="564" height="30" cellpadding="0" cellspacing="0" class="shfwzwgk-line" id="grqy_5">
        <tr> 
          <td width="20" align="right"></td>
          <td  nowrap><xunuo:get sessionid="${xn.parentid}" var="pPlate"/><c:if test="${pPlate.url == null || pPlate.url == ''}"><a href='<c:url value="/news/column.html"><c:param name="id" value="${pPlate.id}"/></c:url>' target='<c:out value="${pPlate.target}" />' class="fontBlue fontBold"></c:if><c:if test="${pPlate.url != null && pPlate.url != ''}"><a href='<c:url value="${pPlate.url}" />' target='<c:out value="${pPlate.target}" />' class="fontBlue fontBold"></c:if><c:out value="${pPlate.name}" /></a></td>
          <td width="5"></td>
          <td width="396" class="gbrm4zi" ><c:if test="${xn.url == null || xn.url == ''}"><a href='<c:url value="/news/column.html"><c:param name="id" value="${xn.id}"/></c:url>' target='<c:out value="${xn.target}" />' class="fontBlue fontBold"></c:if><c:if test="${xn.url != null && xn.url != ''}"><a href='<c:url value="${xn.url}" />' target='<c:out value="${xn.target}" />' class="fontBlue fontBold"></c:if><c:out value="${xn.name}" /></a></td>
          <td width="63"><c:if test="${xn.url == null || xn.url == ''}"><a href='<c:url value="/news/column.html"><c:param name="id" value="${xn.id}"/></c:url>' target='<c:out value="${xn.target}" />' class="fontBlue fontBold"></c:if><c:if test="${xn.url != null && xn.url != ''}"><a href='<c:url value="${xn.url}" />' target='<c:out value="${xn.target}" />' class="fontBlue fontBold"></c:if><img src='<c:url value="/images/grqy_more1.gif"/>' width="50" height="7" border=0></a></td>
        </tr>
      </table> 
     <!--end grqy_5--> 
<!--start grqy_6-->
      <table width="564" cellpadding="0" cellspacing="0" class="gbrmzit" id="grqy_6">
        <tr> 
          <td width="23" height="10"></td>
          <td width="10"></td>
          <td width="501"></td>
          <td width="30"></td>
        </tr>
		<tr> 
			<td width="23"></td><td colspan=2 > <table width="500" cellpadding="0" cellspacing="0" border=0 >
	<c:forEach var="xn1" items="${xnList1}" varStatus="status">
			<c:if test="${status.index == 0 || (ifEnd)}" >
			<c:set var="ifEnd" value="false" />
				<tr>
					<td width="40"></td>
            </c:if>
                 <td ><img src='<c:url value="/images/dian.gif"/>'><c:if test="${xn1.url == null || xn1.url == ''}"><a href='<c:url value="/news/column.html"><c:param name="id" value="${xn1.id}"/></c:url>' target='<c:out value="${xn1.target}" />'></c:if><c:if test="${xn1.url != null && xn1.url != ''}"><a href='<c:url value="${xn1.url}" />' target='<c:out value="${xn1.target}" />'></c:if><xunuo:out value="${xn1.name}" counts="12"/></a></td>
			<c:if test="${status.index !=0 && (status.index+1) % 5 ==0}" >
			<c:set var="ifEnd" value="true" />
				<td></td>
			 </tr>
			</c:if>

	  </c:forEach>
	  </table>


			</td>
		<td></td>
		</tr>
		<c:if test="${hasArticle}" >
		<c:forEach var="xn2" items="${xnList2}" >
        <tr> 
          <td width="23"></td>
          <td valign="top" class="gbrmzit"><img src='<c:url value="/images/grqy__dian.gif"/>' width="2" height="16"></td>
          <td nowrap><c:if test="${xn2.url == null || xn2.url == ''}"><a href="javascript:openWin8('<c:url value="/news/viewArticle.html" ><c:param name="id" value="${xn2.id}" /> </c:url>')" ></c:if><c:if test="${xn2.url != null && xn2.url != ''}"><a href="javascript:openWin8('<c:url value="${xn2.url}" />')" ></c:if><xunuo:out value="${xn2.title}" counts="80"/></a></td>
          <td></td>
        </tr>
	  </c:forEach>
	  </c:if>
      </table> 
<!--end grqy_6-->
	</c:if><!--end if hasArticle || hasColumn-->
</c:if><!--end if xn.level < level+2-->
</c:forEach>
<!-- 最低层级以下2层的文章在此显示 end -->
</td>
    <td width="17" background="/images/grqy_bian1.gif"></td>
    <td width="197" valign="top">
<!-- 最低层级以下2层以外的文章在此显示 start -->
<c:forEach var="xn" items="${platesList}" >
<c:if test="${xn.level >= level+2 && xn.id != levelPlate.id && xn.parentid != levelSubPlate.id}" >
<!--start grqy_7-->
 <table width="197" height="26" cellpadding="0" cellspacing="0" class="kjwsh-back" id="grqy_7">
        <tr> 
          <td nowrap><xunuo:get sessionid="${xn.parentid}" var="pPlate"/><c:if test="${pPlate.url == null || pPlate.url == ''}"><a href='<c:url value="/news/column.html"><c:param name="id" value="${pPlate.id}"/></c:url>' target='<c:out value="${pPlate.target}" />' class="fontBlue fontBold"></c:if><c:if test="${pPlate.url != null && pPlate.url != ''}"><a href='<c:url value="${pPlate.url}" />' target='<c:out value="${pPlate.target}" />' class="fontBlue fontBold"></c:if><c:out value="${pPlate.name}" /></a></td>
          <td width="51"></td>
          <td width="58" valign="bottom"><a href='<c:url value="/news/column.html"><c:param name="id" value="${xn.id}" /></c:url>'><img src='<c:url value="/images/grqy_more2.gif"/>' width="50" height="9" border=0></a></td>
        </tr>
      </table>
<!--end grqy_7-->
<!--start grqy_8-->
      <table width="197" cellspacing="0" cellpadding="0">
        <tr> 
          <td width="1" class="kjws-zuob"></td>
          <td width="185"><table width="185" cellspacing="0" cellpadding="0">
              <tr> 
                <td>&nbsp;</td>
                <td>&nbsp;</td>
              </tr>
              <tr> 
                <td width="15" align="center"><img src='<c:url value="/images/grqy_hdian.gif"/>' width="8" height="8"></td>
                <td width="173"><c:if test="${xn.url == null || xn.url == ''}"><a href='<c:url value="/news/column.html"><c:param name="id" value="${xn.id}"/></c:url>' class="fontBlue fontBold" ></c:if><c:if test="${xn.url != null && xn.url != ''}"><a href='<c:url value="${xn.url}" />' target='<c:out value="${xn.target}" />' class="fontBlue fontBold"></c:if><xunuo:out value="${xn.name}" counts="24"/></td>
              </tr>
<xunuo:set sessionid="${xn.id}" var="xnList1" number="5"/>
<c:forEach var="xn" items="${xnList1}" >
              <tr> 
                <td width="15" align="center" valign="top"><img src='<c:url value="/images/grqy__dian.gif"/>' width="2" height="16"></td>
                <td><c:if test="${xn.url == null || xn.url == ''}"><a href="javascript:openWin8('<c:url value="/news/viewArticle.html" ><c:param name="id" value="${xn.id}" /> </c:url>')"  class="fontBlue " ></c:if><c:if test="${xn.url != null && xn.url != ''}"><a href="javascript:openWin8('<c:url value="${xn.url}" />')" class="fontBlue "  ></c:if><xunuo:out value="${xn.title}" counts="24" /></a></td>
              </tr>
</c:forEach>
              <tr> 
                <td width="15">&nbsp;</td>
                <td>&nbsp;</td>
              </tr>
            </table></td>
          <td width="11" class="kjws-youb"></td>
        </tr>
        <tr> 
          <td  class="kjws-dib"></td>
          <td class="kjws-dib"></td>
          <td class="kjws-youb"></td>
        </tr>
      </table>
<!--end grqy_8-->
</c:if>
</c:forEach>
<!-- 最低层级以下2层以外的文章在此显示 end -->      

      </td>
  </tr>
</table>