| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137 |
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.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" />
- </head>
- <%@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"%>
- <%@ page language="java" import="java.util.*" pageEncoding="gbk"%>
- <%
- 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();
- //分页设定结束
-
-
- %>
- <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"><%=flmmc %></td>
- </tr>
- <tr>
- <td height="1133" 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">
- <%
- List<Lmb> gkzllist = lmDao.getValidSubLmb("10018");
- if(gkzllist!=null){
- for (Lmb item : gkzllist) {
- %>
-
- <tr>
- <td height="32" align="left" valign="middle" background="images/jtjj_09.jpg" class="left_wz"> <a href="zzjg.jsp?lmid=<%=item.getLmid()%>" ><%=item.getLmmc() %></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" /> 您现在的位置: <a href="index.jsp" style="text-decoration:none;color: black;"> 首页</a>>>
- <a href="zzjg.jsp?lmid=<%=lmids %>" style="text-decoration:none;color: black;"> <%=flmmc %></a> >>
- <a href="zzjg.jsp?lmid=<%=lmids %>" style="text-decoration:none;color: black;"><%=lmmc %></a></td>
- </tr>
- </table></td>
- </tr>
- <tr>
- <td height="1150" align="center" valign="top"><table width="851" border="0" cellspacing="0" cellpadding="0" class="mt10 mb8">
- <tr>
-
- <%
-
-
- 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">
- <%=nr %>
- </td>
- </tr>
- </table></td>
- </tr>
- </table></td>
- </tr>
- </table></td>
- </tr>
- </table>
- <%@include file="Bottom.jsp" %>
- </body>
- </html>
|