<%@ page language="java" errorPage="/error.jsp" pageEncoding="GB2312" contentType="text/html;charset=GB2312" %>
<%@ include file="/common/taglibs.jsp"%>

<table width="778" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td height="11"></td>
    <td width="186"></td>
    <td width="582"></td>
  </tr>
  <tr>
    <td width="10" ></td>
    <td width="186" align="left" valign="top" class="dfgk-zuobj"> 
<!--站内搜索 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="582" align="center" valign="top"  class="dfgk-dibj"> 
<!--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 -->
      <table width="582" height="37" cellpadding="0" cellspacing="0">
        <tr> 
          <td width="17"></td>
          <td width="565" align=left>您的位置：<a href ='<c:url value="/" />'>首页</a>--网站地图 <c:out value="${errorSearch}" /></td>
        </tr>
      </table>

	  <!--start map1-->
<xunuo:set columnid="index" var="xnList1" sort="flase" number="20"/>
<!--The first column start-->
<c:forEach var="xn1" items="${xnList1}" varStatus="status1">
      <table width="552" border="0" align="center" cellpadding="00" cellspacing="0" id="map1">
        <tr>
          <td height="16">
<table width="552" height="16" border="0" cellpadding="00" cellspacing="0">
        <tr> 
          <td width="19" height="16"></td>
          <td width="13"><img src='<c:url value="/images/dfgk_jtou.gif" />' width="13" height="12"></td>
          <td width="" align="center" class="bluecuti" nowrap style="padding-left:5px;padding-right:5px"><c:out value="${xn1.name}" /></td>
          <td width="454" height="16" class="dfgk-bluex"></td>
          <td width="22" class="dfgk-bluex2"></td>
        </tr>
            </table>
          </td>
        </tr>
        <tr>
          <td valign="top"  class="whiteBack">
		  <table width="552" border="0" align="center" cellpadding="0" cellspacing="0">
<!--二级栏目 start -->
	<xunuo:set sessionid="${xn1.id}" sort="false" var="xnList2"/>
	<c:forEach var="xn2" items="${xnList2}" varStatus="status2">
			<!--判断是否有List-->
			<c:if test="${status2.index == 0 || (ifEnd)}" >
			<c:set var="ifEnd" value="false" />
              <tr align="center"> 
			</c:if>
                <td width="25%" valign="top">
					<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
						<tr>
							<td valign="top"><c:if test="${xn2.url == null || xn2.url == ''}"><a href='<c:url value="/news/column.html"><c:param name="id" value="${xn2.id}"/></c:url>' target="_blank" class="greycuti" ></c:if><c:if test="${xn2.url != null && xn2.url != ''}"><a href='<c:url value="${xn2.url}" />'  target="_blank" class="greycuti"></c:if><xunuo:out value="${xn2.name}" counts="12"/></a><br>
							</td>
						<tr>
						<tr>
						<td height="1" bgcolor="#FFFFFF"></td>
						<tr>
						<xunuo:set sessionid="${xn2.id}" sort="false" var="xnList3" />
						<c:forEach var="xn3" items="${xnList3}" varStatus="status3">
						<c:set var="noColumns" value="has"/>
						</c:forEach>
						<c:if test="${noColumns == 'has'}">
						<c:set var="noColumns" value="no" />
						<tr>
							<td ><!-- 三级栏目 start --><c:forEach var="xn3" items="${xnList3}" varStatus="status3"><c:if test="${xn3.url == null || xn3.url == ''}"><a href='<c:url value="/news/column.html"><c:param name="id" value="${xn3.id}"/></c:url>'  target="_blank"  class="juse" ></c:if><c:if test="${xn3.url != null && xn3.url != ''}"><a href='<c:url value="${xn3.url}" />' target="_blank" class="juse"></c:if> <xunuo:out value="${xn3.name}" counts="12"/> </a><!--四级栏目 start --><xunuo:set sessionid="${xn3.id}" sort="false" var="xnList4"/><c:forEach var="xn4" items="${xnList4}" varStatus="status4"><c:if test="${status4.index == 0}" > (</c:if><c:if test="${xn4.url == null || xn4.url == ''}"><a href='<c:url value="/news/column.html"><c:param name="id" value="${xn4.id}"/></c:url>' target='_blank'></c:if><c:if test="${xn4.url != null && xn4.url != ''}"><a href='<c:url value="${xn4.url}" />' target='_blank' ></c:if><xunuo:out value="${xn4.name}"/></a> <c:if test="${status4.last}" >) </c:if> </c:forEach><!--四级栏目 end --></c:forEach><!-- 三级栏目 end --></td>
						</tr>
						</c:if>
						<tr>
							<td height="100%"  class="whiteBack" ></td>
						</tr>
					</table>
				</td>
			<c:if test="${status2.index !=0 && (status2.index+1) % 4 ==0}" >
				<c:set var="ifEnd" value="true" />
              </tr>
			</c:if>
			 <c:if test="${status2.last && (status2.index+1) % 4 != 0}" >
			 <c:set var="leaveTd" value="${4-((status2.index+1) % 4)}" />
				<c:forEach begin="0" end="${leaveTd}" varStatus="status">
	                <td <c:if test="${!status.last}" > class="dfgk-zuobj" </c:if>></td> 
				</c:forEach>
			 </c:if>
		</c:forEach>
<!--二级栏目 end -->
            </table>
			</td>
        </tr>
      </table>
</c:forEach>
<!--The first column end-->
	  <!--end map1-->

      <table width="582" height="125" cellpadding="0" cellspacing="0" class="dfgk-dibj">
        <tr> 
          <td width="11" height="123"></td>
        </tr>
      </table></td>
  </tr>
  <tr>
	<td colspan=3 height="8"></td>
	</tr>
</table>