📄 ec_list.jsp
字号:
<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib uri="/WEB-INF/c.tld" prefix="c"%>
<%@ taglib uri="/WEB-INF/jrun-tag.tld" prefix="jrun"%>
<br />
<div class="mainbox threadlist">
<ul class="tabs headertabs">
<c:if test="${(param.filter=='thisweek'||param.filter=='thismonth'||param.filter=='halfyear'||param.filter=='before')&&(param.from=='buyer'||param.from=='seller')}"><li class="current"><a><c:choose><c:when test="${param.filter=='thisweek'}">最近1周</c:when><c:when test="${param.filter=='thismonth'}">最近1个月</c:when><c:when test="${param.filter=='halfyear'}">最近6个月</c:when><c:otherwise>6个月前</c:otherwise></c:choose> 来自${param.from=='buyer' ? "买家" : "卖家"}的 <c:choose><c:when test="${param.level=='good'}">好评</c:when><c:when test="${param.level=='soso'}">中评</c:when><c:when test="${param.level=='bad'}">差评</c:when><c:otherwise>评价</c:otherwise></c:choose></a></li></c:if>
<c:choose><c:when test="${param.from==null}"><li class="current"><a>收到的所有评价</a></li></c:when><c:otherwise><li><a href="eccredit.jsp?action=list&uid=${param.uid}" onclick="ajaxget(this.href, 'ajaxrate', 'specialposts');doane(event);">收到的所有评价</a></li></c:otherwise></c:choose>
<c:choose><c:when test="${param.from=='buyer'&¶m.filter==null}"><li class="current"><a>来自买家的评价</a></li></c:when><c:otherwise><li><a href="eccredit.jsp?action=list&uid=${param.uid}&from=buyer" onclick="ajaxget(this.href, 'ajaxrate', 'specialposts');doane(event);">来自买家的评价</a></li></c:otherwise></c:choose>
<c:choose><c:when test="${param.from=='seller'&¶m.filter==null}"><li class="current"><a>来自卖家的评价</a></li></c:when><c:otherwise><li><a href="eccredit.jsp?action=list&uid=${param.uid}&from=seller" onclick="ajaxget(this.href, 'ajaxrate', 'specialposts');doane(event);">来自卖家的评价</a></li></c:otherwise></c:choose>
<c:choose><c:when test="${param.from=='myself'}"><li class="current"><a>给他人的评价</a></li></c:when> <c:otherwise><li><a href="eccredit.jsp?action=list&uid=${param.uid}&from=myself" onclick="ajaxget(this.href, 'ajaxrate', 'specialposts');doane(event);">给他人的评价</a></li></c:otherwise></c:choose>
</ul>
<table width="100%" cellspacing="0" cellpadding="5" >
<thead>
<tr><td> </td><td>评价内容</td><td>宝贝名称/评价人</td><td>成交价(元)/td></tr></thead>
<tbody>
<c:choose>
<c:when test="${!empty comments}">
<c:forEach items="${comments}" var="comment">
<tr><td>
<c:choose>
<c:when test="${comment.score==1}"><img src="images/rank/good.gif" border="0" width="14" height="16"> <font color="FF0000">好评</font></c:when>
<c:when test="${comment.score==0}"><img src="images/rank/soso.gif" border="0" width="14" height="16"> <font color="00FF00">中评</font></c:when>
<c:otherwise><img src="images/rank/bad.gif" border="0" width="14" height="16"> 差评</c:otherwise>
</c:choose>
</td><td>${comment.message} <em><jrun:showTime timeInt="${comment.dateline}" type="${dateformat} ${timeformat}" timeoffset="${timeoffset}"/></em><br />
<c:choose>
<c:when test="${!empty comment.explanation}"><em>解释: ${comment.explanation}</em></c:when>
<c:when test="${jsprun_uid>0 && jsprun_uid==comment.rateeid&&comment.dateline>timestamp-30*86400}"><span id="ecce_${comment.id}"><a href="eccredit.jsp?action=explain&id=${comment.id}" id="ajax_${comment.id}_explain" onclick="ajaxmenu(event, this.id, 0, '', 0)">[ 我要解释 ]</a> 您可以在 <jrun:showTime timeInt="${comment.expiration}" type="${dateformat} ${timeformat}" timeoffset="${timeoffset}"/> 之前作出解释。</span></c:when>
</c:choose>
</td><td><a href="redirect.jsp?goto=findpost&special=trade&pid=${comment.pid}" target="_blank">${comment.subject}</a><br />
<c:choose><c:when test="${param.from=='myself'}">${comment.type>0?"买家":"卖家"} <a href="space.jsp?action=viewpro&uid=${comment.rateeid}" target="_blank">${comment.ratee}</a></c:when><c:otherwise>${comment.type>0?"卖家":"买家"} <a href="space.jsp?action=viewpro&uid=${comment.rateeid}" target="_blank">${comment.rater}</a></c:otherwise></c:choose>
</td><td>${comment.baseprice}</td></tr>
</c:forEach>
</c:when>
<c:otherwise><tr><td colspan="4" align="center">没有找到相关评价!</td></tr></c:otherwise>
</c:choose>
</tbody>
</table>
</div>
<div class="pages_btns">${multi.multipage}</div>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -