| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150 |
- <%@ page language="java" contentType="text/html; charset=gbk" pageEncoding="gbk"%>
- <%@page import="com.ws.content.Wzbdao"%>
- <%@ include file="public/showcontent.jsp" %>
- <%@page import="com.ws.content.WzbVDao"%>
- <%@page import="com.ws.content.*"%>
- <%@ include file="public/config.jsp"%>
- <%@ include file="public/function.jsp"%>
- <%
- String path = request.getContextPath();
- String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
- %>
- <%
-
- //文章的业务逻辑
- WzDao wdao = new WzDao();
- LmDao ldao = new LmDao();
- WzbVDao wzvdao = new WzbVDao();
-
- //栏目编号
- String lmids = request.getParameter("lmid");
- //通过栏目编号获取栏目对象
- Lmb lm = ldao.getLmbByLmid(lmids);
- if(lm==null){
- lm = new Lmb();
- }
- String lmmc = lm.getLmmc();//栏目名称
- String flmid = lm.getFlmid();//父栏目编号
- Lmb flm = ldao.getLmbByLmid(flmid);
- if(flm==null){
- flm = new Lmb();
- }
- String flmmc = flm.getLmmc();
-
- //分页开始
- int offset = 0; //当前页
- try{
- offset =Integer.parseInt(request.getParameter("offset"));
- }catch(Exception e){
- offset=0;
- }
-
- long rows_num = (long)wzvDao.getCountsAllWzb(lmids);//总记录数
- int page_size =20; //每页记录数
- pgDao.setInt_num(page_size);
- long Current_Page = offset; //当前页
- pgDao.Init(Current_Page, rows_num);
- int l_start = (int)pgDao.getStart();
- int l_end = (int)pgDao.getEnd();
- //分页设定结束
-
-
- %>
- <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=gbk" />
- <title>长春市城市发展投资控股(集团)有限公司</title>
- <link href="css/main.css" rel="stylesheet" type="text/css" />
- <style type="text/css">
- <!--
- .style3 {font-size: 12px}
- -->
- .zdgzb img{width:880px;height:auto;}
- </style>
- </head>
- <body>
- <table width="1200" border="0" align="center" cellpadding="0" cellspacing="0">
- <%@include file="top.jsp" %>
- <tr>
- <td height="5" bgcolor="#FFFFFF"></td>
- </tr>
- </table>
- <table width="1200" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
- <tr>
- <td align="left" valign="top"><table width="1200" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td width="300" align="left" valign="top"><table width="300" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td height="45" align="center" valign="middle" background="images/jtjj_03.jpg" class="whitel_ti">集团重点项目督办</td>
- </tr>
- <tr>
- <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">
-
-
-
-
- <tr>
- <td height="32" align="left" valign="middle" background="images/jtjj_09.jpg" class="left_wz">
- <a href="xmdb.jsp?lmid=10020001" >集团重点工作汇总</a>
- </td>
- </tr>
- <tr>
- <td height="32" align="left" valign="middle" background="images/jtjj_09.jpg" class="left_wz">
- <a href="xmdb-fzgs.jsp?lmid=10020001" >分子公司工作汇总</a>
- </td>
- </tr>
- <tr>
- <td height="8"></td>
- </tr>
-
-
-
-
-
- </table></td>
- </tr>
- </table></td>
- <td width="10" align="left" valign="top"></td>
- <td width="890" align="left" valign="top"><table width="890" border="0" cellspacing="0" cellpadding="0" class="borlm">
- <tr>
- <td height="29" align="center" valign="middle" background="images/index_19.jpg"><table width="98%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td width="32%" align="left" valign="middle" class="blue14b"><%=lmmc%></td>
- <td width="68%" align="right" valign="middle"><img src="images/index_tb.gif" width="11" height="11" /> <span class="black style3">您现在的位置:首页 >></span></td>
- </tr>
- </table></td>
- </tr>
- <tr>
- <td height="100%" align="center" valign="top"><table width="880" border="0" cellspacing="0" cellpadding="0" class="mt3 mb3">
- <tr>
- <td align="left" valign="top"> <%
-
-
- Wzbdao wdo1 = new Wzbdao();
- List<Wzb> wzblist =(List)wdo1.getAllWzbForPage(lmids, 0, 1);
- String nr = "";
- if(wzblist != null&&wzblist.size()>0)
- {
- Wzb wzb = wzblist.get(0);
- nr = wzvdao.getWzbOfWznr(wzb.getWzid());//获取查询的文章
- %>
-
-
- <%} %>
- <td align="left" valign="top" class="black14 zdgzb">
-
-
- <%=nr %></td>
- </tr>
- </table></td>
- </tr>
- </table></td>
- </tr>
- </table></td>
- </tr>
- </table>
- </body>
- </html>
|