fzgss.jsp 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  5. <title>长春市城市发展投资控股(集团)有限公司</title>
  6. <link href="css/main.css" rel="stylesheet" type="text/css" />
  7. <script type="text/javascript" src="js/jquery-1.2.6.js"></script>
  8. <%@page import="com.ws.content.Wzbdao"%>
  9. <%@ include file="public/showcontent.jsp" %>
  10. <%@page import="com.ws.content.WzbVDao"%>
  11. <%@page import="com.ws.content.*"%>
  12. <%@ include file="public/config.jsp"%>
  13. <%@ include file="public/function.jsp"%>
  14. <%@ page language="java" import="java.util.*" pageEncoding="gbk"%>
  15. <%
  16. String path = request.getContextPath();
  17. String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
  18. %>
  19. <%
  20. Wzbdao wzvDao1 = new Wzbdao();
  21. //文章的业务逻辑
  22. WzDao wdao = new WzDao();
  23. LmDao ldao = new LmDao();
  24. WzbVDao wzvdao = new WzbVDao();
  25. //栏目编号
  26. String lmids = request.getParameter("lmid");
  27. //通过栏目编号获取栏目对象
  28. Lmb lm = ldao.getLmbByLmid(lmids);
  29. if(lm==null){
  30. lm = new Lmb();
  31. }
  32. String lmmc = lm.getLmmc();//栏目名称
  33. String flmid = lm.getFlmid();//父栏目编号
  34. String img1="",td1="",div1="",a1="";
  35. img1 = request.getParameter("img");
  36. td1 = request.getParameter("td");
  37. div1 = request.getParameter("div");
  38. a1 = request.getParameter("as");
  39. Lmb flm = ldao.getLmbByLmid(flmid);
  40. if(flm==null){
  41. flm = new Lmb();
  42. }
  43. String flmmc = flm.getLmmc();
  44. //分页开始
  45. int offset = 0; //当前页
  46. try{
  47. offset =Integer.parseInt(request.getParameter("offset"));
  48. }catch(Exception e){
  49. offset=0;
  50. }
  51. long rows_num = (long)wzvDao.getCountsAllWzb(lmids);//总记录数
  52. int page_size =20; //每页记录数
  53. pgDao.setInt_num(page_size);
  54. long Current_Page = offset; //当前页
  55. pgDao.Init(Current_Page, rows_num);
  56. int l_start = (int)pgDao.getStart();
  57. int l_end = (int)pgDao.getEnd();
  58. //分页设定结束
  59. %>
  60. <body >
  61. <script>
  62. function a(td,div,img){ //展开
  63. var td = document.getElementById(td);
  64. var div = document.getElementById(div);
  65. var img = document.getElementById(img);
  66. td.setAttribute("height", "32");
  67. div.setAttribute("style","display");
  68. img.setAttribute("src", "images/jtjj_09a2.gif");
  69. /* $("#"+td).attr("height","32");
  70. $("#"+div).attr("style","display:block");
  71. $("#"+img).attr("src","images/jtjj_09a1.gif"); */
  72. }
  73. function b(td,div,img){ //关闭
  74. var td = document.getElementById(td);
  75. var div = document.getElementById(div);
  76. var img = document.getElementById(img);
  77. td.setAttribute("height", "0");
  78. div.setAttribute("style","display:none");
  79. img.setAttribute("src", "images/jtjj_09a1.gif");
  80. /* $("#"+td).attr("height","0");
  81. $("#"+div).attr("style","display:none");
  82. $("#"+img).attr("src","images/jtjj_09a2.gif"); */
  83. }
  84. window.onload=function(){
  85. var f1 = <%=td1%>;
  86. var f2 = <%=div1%>;
  87. var f3 = <%=img1%>;
  88. var f4 = <%=a1%>;
  89. if(f1==null){
  90. //document.getElementById('a1').focus();
  91. }else{
  92. document.getElementById(f4.id).focus();
  93. a(f1.id,f2.id,f3.id);
  94. }
  95. }
  96. </script>
  97. <table width="1200" border="0" align="center" cellpadding="0" cellspacing="0">
  98. <%@include file="top.jsp" %>
  99. <tr>
  100. <td height="5" bgcolor="#FFFFFF"></td>
  101. </tr>
  102. </table>
  103. <table width="1200" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
  104. <tr>
  105. <td align="left" valign="top"><table width="1200" border="0" cellspacing="0" cellpadding="0">
  106. <tr>
  107. <td width="300" align="left" valign="top"><table width="300" border="0" cellspacing="0" cellpadding="0">
  108. <tr>
  109. <td height="45" align="center" valign="middle" background="images/jtjj_03.jpg" class="whitel_ti">分子公司</td>
  110. </tr>
  111. <tr>
  112. <td height="800" align="center" valign="top" background="images/jtjj_06.jpg" style="background-repeat:repeat-x"><table width="220" border="0" cellspacing="0" cellpadding="0" class="mt10">
  113. <%
  114. List<Lmb> gkzllist = lmDao.getValidSubLmb("10010001");
  115. if(gkzllist!=null){
  116. for (Lmb item : gkzllist) {
  117. %>
  118. <tr>
  119. <td height="32" align="left" valign="middle" background="images/jtjj_09.jpg" class="left_wz">
  120. <a href="fzgss.jsp?lmid=<%=item.getLmid()%>" ><%=item.getLmmc() %></a>
  121. </td>
  122. </tr>
  123. <tr>
  124. <td height="8"></td>
  125. </tr>
  126. <%} }%>
  127. </table></td>
  128. </tr>
  129. </table></td>
  130. <td width="10" align="left" valign="top"></td>
  131. <td width="890" align="left" valign="top"><table width="890" border="0" cellspacing="0" cellpadding="0" class="borlm">
  132. <tr>
  133. <td height="29" align="center" valign="middle" background="images/index_19.jpg"><table width="98%" border="0" cellspacing="0" cellpadding="0">
  134. <tr>
  135. <td width="32%" align="left" valign="middle" class="blue14b"><%=lmmc %></td>
  136. <td width="68%" align="right" valign="middle"><img src="images/index_tb.gif" width="11" height="11" /> 您现在的位置:<a href="index.jsp" style="text-decoration:none;color: black;"> 首页</a>&gt;&gt;
  137. <a href="fzgss.jsp?lmid=<%=lmids %>" style="text-decoration:none;color: black;"> <%=flmmc %></a> &gt;&gt;
  138. <a href="fzgss.jsp?lmid=<%=lmids %>" style="text-decoration:none;color: black;"><%=lmmc %></a></td>
  139. </tr>
  140. </table></td>
  141. </tr>
  142. <tr>
  143. <td height="1000" align="center" valign="top"><table width="96%" border="0" cellspacing="0" cellpadding="0" class="mt8">
  144. <tr>
  145. <td align="left" valign="top" ><table width="851" border="0" cellspacing="0" cellpadding="0">
  146. <tr>
  147. <td height="5"></td>
  148. </tr>
  149. <tr>
  150. <td height="120" align="left" valign="top" class="black14"> <%
  151. List list = lmDao.getValidSubLmb(lmids,"分子公司架构");
  152. List<Wzb> wzblst = null;
  153. String lmid_str = "";
  154. String nr = "";
  155. if(list!=null&&list.size()>0){
  156. lmid_str = ((Lmb)list.get(0)).getLmid();
  157. wzblst = wzvDao1.getAllWzb(lmid_str, 4, 0,1);
  158. if(wzblst!=null&&wzblst.size()>0){
  159. nr = wzvdao.getWzbOfWznr(((Wzb)wzblst.get(0)).getWzid());
  160. %>
  161. <%=nr %>
  162. <%}} %></td>
  163. </tr>
  164. <tr>
  165. <td height="8"></td>
  166. </tr>
  167. </table>
  168. </td>
  169. </tr>
  170. </table>
  171. </td>
  172. </tr>
  173. </table>
  174. </td>
  175. </tr>
  176. </table></td>
  177. </tr>
  178. </table>
  179. <%@include file="Bottom.jsp" %>
  180. </body>
  181. </html>