column.jsp
上传用户:huijianzhu
上传日期:2009-11-25
资源大小:9825k
文件大小:14k
源码类别:

电子政务应用

开发平台:

Java

  1. <%@ page language="java" errorPage="/error.jsp" pageEncoding="GB2312" contentType="text/html;charset=GB2312" %>
  2. <%@ include file="/common/taglibs.jsp"%>
  3. <table width="778" align="center" cellpadding="0" cellspacing="0">
  4.   <tr>
  5.     <td height="11" width="10" nowrap></td>
  6.     <td width="186"></td>
  7.     <td width="582"></td>
  8.   </tr>
  9.   <tr>
  10.     <td  ></td>
  11.     <td width="186" align="left" valign="top" class="dfgk-zuobj"> 
  12. <!--站内搜索 start -->
  13.       <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
  14.         <tr>
  15.           <td height="33"><table width="95%" height="31" border="0" align="center" cellpadding="0" cellspacing="0" >
  16. <html:form action="/news/search.html">
  17. <input type="hidden" name="method" value="find">
  18. <tr> 
  19.                 <td width="6" background='<c:url value="/images/znss_01.gif" />'>&nbsp;</td>
  20.                 <td width="57" align="center" background='<c:url value="/images/znss_02.gif" />' class="znss">站内搜索</td>
  21.                 <td align="center" background='<c:url value="/images/znss_02.gif"/>'><input type="text" name="keyword" value="" id="search" maxlength="20"/></td>
  22.                 <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>
  23.                 <td width="6" background='<c:url value="/images/znss_04.gif"/>'>&nbsp;</td>
  24.               </tr></html:form>
  25.             </table></td>
  26.         </tr>
  27.       </table>
  28. <!--站内搜索 end -->
  29. <!--此栏目下面的子栏目 start -->
  30.       <!--start moban1_1-->
  31. <c:if test="${noColumn}" >
  32.       <table width="182" cellspacing="0" cellpadding="0">
  33.         <tr> 
  34.           <td width="25" height="5">&nbsp;</td>
  35.           <td>&nbsp;</td>
  36.         </tr>
  37.   </table>
  38. </c:if>
  39. <c:if test="${!noColumn}" >
  40.       <table width="182" cellspacing="0" cellpadding="0">
  41.         <tr> 
  42.           <td width="25" class="dfgk-ztmb1">&nbsp;</td>
  43.           <td>&nbsp;</td>
  44.         </tr>
  45. <c:forEach var="xn" items="${subPlatesList}" >
  46.         <tr> 
  47.           <td valign="top" class="dfgk-ztmb2<c:if test="${plateForm.id == xn.id}">-</c:if>">&nbsp;</td>
  48.           <td>
  49. <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="fontBold <c:if test="${plateForm.id == xn.id}"> fontYellow</c:if> " ></c:if><c:if test="${xn.url != null && xn.url != ''}"><a href='<c:url value="${xn.url}" />' target='<c:out value="${xn.target}" />' class="fontBold <c:if test="${plateForm.id == xn.id}"> fontYellow</c:if> "></c:if><xunuo:out value="${xn.name}" counts="20"/>
  50.   </td>
  51.         </tr>
  52. </c:forEach>
  53.         <tr> 
  54.           <td class="dfgk-ztmb3">&nbsp;</td>
  55.           <td>&nbsp;</td>
  56.         </tr>
  57.       </table> 
  58. </c:if>
  59.       <!--end moban1_1-->
  60. <!--此栏目下面的子栏目 end -->
  61. <!--栏目关联 start -->
  62.       <!--start moban1_2-->
  63. <c:if test="${hasRelate}" >
  64.       <table width="186" cellpadding="0" cellspacing="0" id="moban1_2">
  65.         <tr> 
  66.           <td height="20" colspan="3" class="dfgk-zsyz"><table width="186" cellspacing="0" cellpadding="0">
  67.               <tr> 
  68.                 <td width="6"></td>
  69.                 <td class="whitecuti"><c:if test="${linkPlate.url == null || linkPlate.url == ''}"><a href='<c:url value="/news/column.html"><c:param name="id" value="${linkPlate.id}"/></c:url>' target='<c:out value="${linkPlate.target}" />' class="fontWhite" ></c:if><c:if test="${linkPlate.url != null && linkPlate.url != ''}"><a href='<c:url value="${linkPlate.url}" />' target='<c:out value="${linkPlate.target}" />' class="fontWhite"></c:if><xunuo:out value="${linkPlate.name}" counts="20" /></a></td>
  70.               </tr>
  71.             </table></td>
  72.         </tr>
  73.         <tr> 
  74.           <td width="8"></td>
  75.           <td width="169"></td>
  76.           <td width="9"></td>
  77.         </tr>
  78.         <tr> 
  79.           <td></td>
  80.           <td>
  81.   <table width="169" cellpadding="0" cellspacing="0" class="dfgkzsyz-back">
  82.   <!--关联子栏目列表 start -->
  83. <c:forEach var="xn" items="${subLinkPlatesList}" >
  84.               <tr>
  85.                 <td width="17"  class="dian"></td>
  86.                 <td width="152"><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><xunuo:out value="${xn.name}" counts="20"/></a></td>
  87.               </tr>
  88. </c:forEach>
  89.   <!--关联子栏目列表 end -->
  90.             </table></td>
  91.           <td></td>
  92.         </tr>
  93.       </table> 
  94.   </c:if><!--end moban1_2-->
  95. <!--栏目关联 end -->
  96. </td>
  97.     <td width="582" align="center" valign="top" class="dfgk-dibj"> 
  98. <!--weather (天气), browser(浏览者) 分类 start -->
  99.             <table width="562" border="0" align="center" cellpadding="0" cellspacing="0">
  100.               <tr> 
  101.                 <td width="1" class="tq-back"></td>
  102.                 <td valign="middle" class="tq-bigback"> 
  103.                   <table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
  104.                     <tr> 
  105.                       <td width="123" class="time" nowrap><fmt:formatDate value="${today}" pattern="yyyy-MM-dd"/> 星期<c:out value="${week}"/> </td>
  106. <xunuo:set columnid="tqybid" var="xnList" number="1" />
  107. <c:forEach var="xn" items="${xnList}" varStatus="status">
  108. <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>
  109. </c:forEach>
  110. <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>
  111. </td>
  112.                     </tr>
  113.                   </table>
  114.                 </td>
  115.                 <td width="1" class="tq-back"></td>
  116.               </tr>
  117.             </table> 
  118. <!--weather (天气), browser(浏览者) 分类 end -->
  119.       <table width="582" height="37" cellpadding="0" cellspacing="0">
  120.         <tr> 
  121.           <td width="17"></td>
  122.           <td width="565" align=left>您的位置:<a href ='<c:url value="/" />'>首页</a><c:forEach var="xn" items="${plateLink}"  varStatus="status"><c:if test="${!status.last && xn.id == '9'}"><c:set var="banshi" value="true" /></c:if><c:if test="${status.index != 0 }"><a href='<c:url value="/news/column.html"><c:param name="id" value="${xn.id}"/></c:url>'><c:out value="${xn.name}" /></a></c:if><c:if test="${!status.last}">--</c:if></c:forEach> </td>
  123.         </tr>
  124.       </table>
  125. <!--显示内容 start -->
  126. <c:if test="${hasContent}">
  127.       <!--start moban1_3-->
  128.       <table width="582" height="16" cellpadding="0" cellspacing="0" id="moban1_3">
  129.         <tr> 
  130.           <td width="19" height="16"></td>
  131.           <td width="13"><img src='<c:url value="/images/dfgk_jtou.gif"/>' width="13" height="12"></td>
  132.           <td width="" align="center" class="bluecuti" nowrap style="padding-left:5px;padding-right:5px"><c:out value="${plate.name}" /></td>
  133.           <td width="454" height="16" class="dfgk-bluex"></td>
  134.           <td width="22" class="dfgk-bluex2"></td>
  135.           <td width="11"></td>
  136.         </tr>
  137.         <tr> 
  138.           <td width="19" rowspan="2"></td>
  139.           <td colspan="5" class="dfgk-yback"></td>
  140.         </tr>
  141.         <tr> 
  142.           <td colspan="5" class="dfgk-yback"> <table width="540" cellspacing="0" cellpadding="0">
  143.               <tr> 
  144.                 <td height="10"></td>
  145.               </tr>
  146.               <tr> 
  147.                 <td align=left><c:out value="${plate.content}" escapeXml="false"/>
  148. </td>
  149.               </tr>
  150.             </table></td>
  151.         </tr>
  152.         <tr> 
  153.           <td height="20" colspan="7"></td>
  154.         </tr>
  155.         <tr> 
  156.   <td></td>
  157.           <td height="1" colspan="4" class="dfgk-tmline"></td>
  158.   <td colspan=2></td>
  159.         </tr>
  160.       </table>
  161.       <!--end moban1_3-->
  162. </c:if>
  163. <!--显示内容 end -->
  164. <c:if test="${hasColumn}" >
  165. <!--显示栏目 start -->
  166.       <!--start moban1_5-->
  167.       <table width="582" cellpadding="0" cellspacing="0" id="moban1_5" border=0>
  168.         <tr> 
  169.           <td></td>
  170.           <td height="10"></td>
  171.           <td></td>
  172.           <td ></td>
  173.           <td></td>
  174.         </tr>
  175. <!--子栏目循环 start -->
  176. <xunuo:set sessionid="${plate.id}" var="xnList1"  sort="false"/>
  177. <c:forEach var="xn1" items="${xnList1}" varStatus="status">
  178. <c:if test="${status.index == 0 || (ifEnd)}" >
  179. <c:set var="ifEnd" value="false" />
  180.         <tr> 
  181.           <td width="20" height="142" ></td>
  182. </c:if>
  183.           <td width="250" height="100" valign="top">
  184.  <table width="100%" cellspacing="0" cellpadding="0"  border=0>
  185.               <tr> 
  186.                 <td class="bluecuti dfgk-zrhj" colspan="2" align="left"><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}" />' class="fontblue fontbold" ></c:if><c:if test="${xn1.url != null && xn1.url != ''}"><a href='<c:url value="${xn1.url}" />' target='<c:out value="${xn1.target}" />' class="fontblue fontbold"></c:if><xunuo:out value="${xn1.name}" counts="12" /></a></td>
  187.               </tr>
  188.   <xunuo:set sessionid="${xn1.id}" var="xnList2" number="5"/>
  189.   <c:forEach var="xn2" items="${xnList2}" >
  190.   <tr> 
  191.                 <td width="10" valign="top"  class="dian"></td>
  192.                 <td width="239" align="left" valign="top"><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="38" /></a></td>
  193.               </tr>
  194.   </c:forEach>
  195.   <tr>
  196. <td colspan="2" align=right valign=bottom><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}" />' class="fontblue fontbold" ></c:if><c:if test="${xn1.url != null && xn1.url != ''}"><a href='<c:url value="${xn1.url}" />' target='<c:out value="${xn1.target}" />' class="fontblue fontbold"></c:if><img src='<c:url value="/images/dfgk_more.gif"/>' width="50" height="7" border=0></a></td>
  197.   </tr>
  198.             </table></td>
  199.   <c:if test="${status.index % 2 ==0}" >
  200.           <td width="33" class="dfgk-shuxian"></td>
  201.   </c:if>
  202.   <c:if test="${status.index !=0 && (status.index+1) % 2 ==0}" >
  203. <c:set var="ifEnd" value="true" />
  204. </tr>
  205. <tr> 
  206. <td height="5" colspan="5">&nbsp;</td>
  207. </tr>
  208.   </c:if>
  209.  <c:if test="${status.last && (status.index+1) % 2 != 0}" >
  210.  <c:set var="leaveTd" value="${2-((status.index+1) % 2)}" />
  211. <c:forEach begin="1" end="${leaveTd}">
  212.                 <td class="columnBack" >&nbsp;</td> 
  213. </c:forEach>
  214.  </c:if>
  215. </c:forEach>
  216. <!--子栏目循环 end -->
  217.         <tr> 
  218.           <td height="20" colspan="7"></td>
  219.         </tr>
  220.         <tr> 
  221.   <td></td>
  222.           <td height="1" colspan="4" class="dfgk-tmline"></td>
  223.   <td colspan=2></td>
  224.         </tr>
  225.       </table>
  226.       <!--end moban1_5-->
  227. <!--显示栏目 end -->
  228. </c:if>
  229. <!--显示文章内容 start -->
  230.       <!--start moban1_4-->
  231.       <table width="562" cellpadding="0" cellspacing="0" id="moban1_4">
  232.         <tr> 
  233.           <td height="20" colspan="4"></td>
  234.         </tr>
  235.         <tr> 
  236.           <td width="22"></td><!--
  237.           <td class="articleBack">  width="151" height="112"  &nbsp;</td>
  238.           <td width="20"></td>-->
  239.           <td align=left><table width="500" cellspacing="0" cellpadding="0" border=0 align=left>
  240. <c:forEach var="xn" items="${articleSList}" >
  241.               <tr> 
  242.                 <td width="10" valign="top"><img src='<c:url value="/images/dfgk_youdian.gif"/>' width="2" height="16"></td>
  243.                 <td width="388" align="left" valign=top>&nbsp;<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>')" ></c:if><c:if test="${xn.url != null && xn.url != ''}"><a href="javascript:openWin8('<c:url value="${xn.url}" />')" ></c:if><xunuo:out value="${xn.title}" counts="60" /></a></td>
  244. <td width="102">[<fmt:formatDate value="${xn.createtime}" pattern="yyyy-MM-dd"/>]</td>
  245.               </tr>
  246. </c:forEach>
  247.             </table></td>
  248.         </tr>
  249. <tr>
  250. <td colspan="5" align=right valign="top">
  251. <c:if test="${pageObject != null}">
  252.   <html:form action="/news/column.html">
  253.   <html:hidden property="pageCurrent"/>
  254.   <html:hidden property="id"/>
  255.   <html:hidden property="status"/>
  256.   <table width="100%" border="0" cellspacing="0" cellpadding="0">
  257.   <tr> 
  258. <td align="right" nowrap>
  259. <script language="javascript">
  260. drawDispartPageView("document.plateForm", <c:out value="${pageObject.pageCurrent}"/>, <c:out value="${pageObject.pageCount}"/>, <c:out value="${pageObject.rowCount}"/>);
  261. </script>
  262. </td>
  263.   </tr>
  264.   </table>
  265.   </html:form>
  266.   </c:if>
  267. </tr>
  268.       </table>
  269.       <!--end moban1_4-->
  270. <!--显示文章内容 end -->
  271. </td>
  272.   </tr>
  273.   <tr>
  274. <td colspan=3 height="8"></td>
  275. </tr>
  276. </table>