12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697 |
- <%@ page language="java" pageEncoding="UTF-8"%>
- <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
- <%
- String path = request.getContextPath();
- %>
- <!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="pragma" content="no-cache" />
- <meta http-equiv="cache-control" content="no-cache" />
- <meta http-equiv="expires" content="0" />
- <meta http-equiv="keywords" content="keyword1,keyword2,keyword3" />
- <meta http-equiv="description" content="This is my page" />
- <link rel="stylesheet" type="text/css" href="<%=path %>/css/base.css" />
-
- <script language="JavaScript" src="<%=path %>/js/public.js" type="text/javascript"></script>
-
- <script language="javascript">
- function pinlunDel(id)
- {
- if(confirm('确认删除吗?'))
- {
- window.location.href="<%=path %>/pinlunDel.action?id="+id;
- }
- }
-
- function pinlunHuifu(id)
- {
-
- window.location.href="<%=path%>/admin/pinlun/pinlunEdit.jsp?id="+id;
-
- }
-
-
- </script>
- </head>
- <body leftmargin="2" topmargin="2" background='<%=path %>/images/allbg.gif'>
- <table width="98%" border="0" cellpadding="2" cellspacing="1" bgcolor="#D1DDAA" align="center" style="margin-top:8px">
- <tr bgcolor="#E7E7E7">
- <td height="17" colspan="6" background="<%=path %>/images/tbg.gif"> 评论管理 </td>
- </tr>
- <tr align="center" bgcolor="#FAFAF1" height="22">
-
- <td>商品</td>
- <td>内容</td>
- <td>用户</td>
- <td>评论时间</td>
- <td>回复</td>
- <td width="20%">操作</td>
- </tr>
-
- <c:forEach items="${pinglunList}" var="pinlun">
-
-
- <tr align='center' bgcolor="#FFFFFF" onMouseMove="javascript:this.bgColor='red';" onMouseOut="javascript:this.bgColor='#FFFFFF';" height="22">
- <td bgcolor="#FFFFFF" align="center">
- ${pinlun.goods.goodsName}
-
- </td>
-
- <td bgcolor="#FFFFFF" align="center">
- ${pinlun.contents}
-
- </td>
- <td bgcolor="#FFFFFF" align="center">
-
- ${pinlun.uname}
-
- </td>
- <td bgcolor="#FFFFFF" align="center">
-
- ${pinlun.fbsj}
- </td>
-
- <td bgcolor="#FFFFFF" align="center">
-
- ${pinlun.huifu}
- </td>
-
-
-
- <td bgcolor="#FFFFFF" align="center">
-
- <a href="#" onclick="pinlunHuifu(${pinlun.id})" class="pn-loperator">回复</a>
- <a href="#" onclick="pinlunDel(${pinlun.id})" class="pn-loperator">删除</a>
-
- </td>
- </tr>
- </c:forEach>
- </table>
-
-
- </body>
- </html>
|