|
|
|
|
<%@ page language="java" import="java.util.*" pageEncoding="gb2312"%>
|
|
|
|
|
<%@page import="util.Info"%>
|
|
|
|
|
<%@page import="dao.CommDAO"%>
|
|
|
|
|
<%@page import="util.PageManager"%>
|
|
|
|
|
<html>
|
|
|
|
|
<head>
|
|
|
|
|
|
|
|
|
|
<title><3E><><EFBFBD><EFBFBD></title><LINK href="css.css" type=text/css rel=stylesheet>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</head>
|
|
|
|
|
|
|
|
|
|
<body >
|
|
|
|
|
<p><3E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>б<EFBFBD><D0B1><EFBFBD></p>
|
|
|
|
|
<form name="form1" id="form1" method="post" action="">
|
|
|
|
|
<20><><EFBFBD><EFBFBD>:<3A><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>:
|
|
|
|
|
<input name="pinglunneirong" type="text" id="pinglunneirong" />
|
|
|
|
|
<20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
<input name="pinglunren" type="text" id="pinglunren" />
|
|
|
|
|
<input type="submit" name="Submit" value="<22><><EFBFBD><EFBFBD>" />
|
|
|
|
|
</form>
|
|
|
|
|
|
|
|
|
|
<table width="100%" border="1" align="center" cellpadding="3" cellspacing="1" bordercolor="00FFFF" style="border-collapse:collapse">
|
|
|
|
|
<tr>
|
|
|
|
|
<td width="30" align="center" bgcolor="CCFFFF"><3E><><EFBFBD><EFBFBD></td>
|
|
|
|
|
<td bgcolor='#CCFFFF'><3E><><EFBFBD><EFBFBD>ID [<5B><>Ӧ<EFBFBD><D3A6>] </td>
|
|
|
|
|
<td bgcolor='#CCFFFF'><3E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></td><td bgcolor='#CCFFFF'><3E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD></td>
|
|
|
|
|
<td width="138" align="center" bgcolor="CCFFFF"><3E><><EFBFBD><EFBFBD>ʱ<EFBFBD><CAB1></td>
|
|
|
|
|
|
|
|
|
|
<td width="60" align="center" bgcolor="CCFFFF"><3E><><EFBFBD><EFBFBD></td>
|
|
|
|
|
</tr>
|
|
|
|
|
<%
|
|
|
|
|
new CommDAO().delete(request,"pinglun");
|
|
|
|
|
String id=request.getParameter("id");
|
|
|
|
|
String url = "pinglun_list.jsp?id="+id;
|
|
|
|
|
String sql = "select * from pinglun where xinwenID="+id;
|
|
|
|
|
if(request.getParameter("pinglunneirong")=="" ||request.getParameter("pinglunneirong")==null ){}else{sql=sql+" and pinglunneirong like '%"+request.getParameter("pinglunneirong")+"%'";}
|
|
|
|
|
if(request.getParameter("pinglunren")=="" ||request.getParameter("pinglunren")==null ){}else{sql=sql+" and pinglunren like '%"+request.getParameter("pinglunren")+"%'";}
|
|
|
|
|
|
|
|
|
|
sql+=" order by id desc";
|
|
|
|
|
//out.print(sql);
|
|
|
|
|
ArrayList<HashMap> list = PageManager.getPages(url,20,sql, request );
|
|
|
|
|
int i=0;
|
|
|
|
|
for(HashMap map:list){
|
|
|
|
|
i++;
|
|
|
|
|
%>
|
|
|
|
|
<tr>
|
|
|
|
|
<td width="30" align="center"><%=i %></td>
|
|
|
|
|
<td><%=map.get("xinwenID") %> [<%= map.get("biao")%>] </td><td><%= map.get("pinglunneirong")%></td><td><%= map.get("pinglunren")%></td>
|
|
|
|
|
<td width="138" align="center"><%=map.get("addtime") %></td>
|
|
|
|
|
<td width="60" align="center"><a href="pinglun_list.jsp?scid=<%=id %>" onClick="return confirm('<27><><EFBFBD><EFBFBD>Ҫɾ<D2AA><C9BE><EFBFBD><EFBFBD>')">ɾ<><C9BE></a></td>
|
|
|
|
|
</tr>
|
|
|
|
|
<%
|
|
|
|
|
}
|
|
|
|
|
%>
|
|
|
|
|
</table>
|
|
|
|
|
<br>
|
|
|
|
|
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ݹ<EFBFBD><%=i %><3E><>,<a style="cursor:pointer" onClick="javascript:window.print();"><3E><>ӡ<EFBFBD><D3A1>ҳ</a>
|
|
|
|
|
</body>
|
|
|
|
|
</html>
|
|
|
|
|
|