⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 viewthread_trade.jsp

📁 论坛软件系统亦称电子公告板(BBS)系统
💻 JSP
📖 第 1 页 / 共 2 页
字号:
											<dt></dt>
											<dd class="thumblist" onclick="window.open('viewthread.jsp?do=tradeinfo&tid=${thread.tid}&pid=${trade.pid}','','')">
												<c:choose>
													<c:when test="${attachmap[trade.pid]!=null}"><img src="${attachmap[trade.pid]}" onload="thumbImg(this)" width="96" height="96" alt="${trade.subject}"></c:when>
													<c:otherwise><img src="${styles.IMGDIR}/trade_nophoto.gif" onload="thumbImg(this)" width="96" height="96" alt="${trade.subject}"></c:otherwise>
												</c:choose>
											</dd>
											<dd>
												<p class="tradename"><a href="viewthread.jsp?do=tradeinfo&tid=${thread.tid}&pid=${trade.pid}" target="_blank">${trade.subject}</a></p>
												<c:if test="${trade.costprice>0.0}"><p>原价 <del>${trade.costprice}</del> 元</p></c:if>
												<p>现价 <strong>${trade.price}</strong> 元</p>
												<p>
												<c:choose>
													<c:when test="${trade.closed>0}"><em>成交结束</em></c:when>
													<c:when test="${trade.expiration>0}">${trade.expiration}天${trade.expirationhour}小时</c:when>
													<c:when test="${trade.expiration==-1}"><em>成交结束</em></c:when>
												</c:choose>
												</p>
											</dd>
										</dl>
									</c:if>
								</c:forEach>
							</div>
							</c:if>
							<c:if test="${tradelist>0}">
								<div id="ajaxtradelist"></div>
								<script type="text/javascript">ajaxget('viewthread.jsp?fid=${thread.fid}&tid=${thread.tid}&do=viewtradelist&page=1', 'ajaxtradelist');</script>
							</c:if>
							<c:if test="${jsprun_uid==thread.authorid}">
								<button type="button" onclick="window.open('my.jsp?item=selltrades&tid=${thread.tid}','','')">商品交易单</button>&nbsp;&nbsp;
								<button type="button" onclick="location.href='misc.jsp?action=tradeorder&tid=${thread.tid}'">柜台商品管理</button>&nbsp;&nbsp;
								<c:if test="${usergroups.allowposttrade==1}"><button type="button" onclick="location.href='post.jsp?action=reply&fid=${thread.fid}&tid=${thread.tid}&addtrade=yes&extra=page%3D1'">添加商品</button></c:if>
							</c:if>
							<c:if test="${settings.tagstatus==1&&viewthread.usermap.first==1 && taglist!=null}">
								<p class="posttags">搜索更多相关主题的帖子:
									<c:forEach items="${taglist}" var="tags"><a href="tag.jsp?name=<jrun:encoding value="${tags.tagname}"/>" target="_blank">${tags.tagname}</a></c:forEach>
								</p>
							</c:if>
						</c:when>
						<c:otherwise>
							<div class="notice">*** 本商品主题尚未开放 ***</div>
							<c:if test="${jsprun_uid==thread.authorid && usergroups.allowposttrade==1}"><br /><button type="button" onclick="location.href='post.jsp?action=reply&fid=${thread.fid}&tid=${thread.tid}&addtrade=yes&extra=$extra'">添加商品</button></c:if>
						</c:otherwise>
					</c:choose>
				</div>
			</td>
			<td class="postauthor">
				<c:if test="${viewthread.avatars!=''}"><div class="avatar"><img class="avatar" src="${viewthread.avatars}" alt="" <c:if test="${viewthread.usermap.avatarwidth!='0'&& viewthread.usermap.avatarwidth!=''}">width="${viewthread.usermap.avatarwidth}" height="${viewthread.usermap.avatarheight}"</c:if>><c:if test="${!empty viewthread.usermap.groupavatar}"><br /><img src="${viewthread.usermap.groupavatar}" border="0" alt="" /></c:if></div></c:if>
				<dl>
					<dt>卖家</dt><dd><a href="space.jsp?username=<jrun:encoding value="${viewthread.usermap.username}"/>" target="_blank">${viewthread.usermap.username}</a></dd>
					<dt>${viewthread.honor}</dt><dd>&nbsp;</dd>
					<dt><jrun:showstars num="${viewthread.stars}" starthreshold="${settings.starthreshold}" imgdir="${styles.IMGDIR}"/></dt><dd>&nbsp;</dd>
					<dt>卖家信用</dt><dd>${viewthread.usermap.sellercredit}<a href="eccredit.jsp?uid=${viewthread.usermap.uid}" target="_blank"><img src="images/rank/seller/${shellcredit}.gif" border="0" class="absmiddle"></a></dd>
					<dt>买家信用</dt><dd>${viewthread.usermap.buyercredit}<a href="eccredit.jsp?uid=${viewthread.usermap.uid}" target="_blank"><img src="images/rank/buyer/${buycredit}.gif" border="0" class="absmiddle"></a></dd>
					<dt><a href="space.jsp?action=mytrades&uid=${viewthread.usermap.uid}" target="_blank">查看卖家店铺</a></dt><dd>&nbsp;</dd>
				</dl>
				<c:if test="${viewthread.usermap.qq!='' || viewthread.usermap.icq!='' || viewthread.usermap.msn!=''|| viewthread.usermap.yahoo!='' || viewthread.usermap.taobao!=''}">
					<p class="imicons">
						<c:if test="${viewthread.usermap.msn!=''}"><a href="javascript:;" onclick="msnoperate('add', '${viewthread.usermap.msn}')" title="添加 ${viewthread.usermap.username} 为MSN好友"><img src="${styles.IMGDIR}/msnadd.gif" alt="添加 ${viewthread.usermap.username} 为MSN好友" /> </a></c:if>
						<c:if test="${viewthread.usermap.msn!=''}"><a href="javascript:;" onclick="msnoperate('chat', '${viewthread.usermap.msn}')" title="通过MSN和 ${viewthread.usermap.username}交谈"><img src="${styles.IMGDIR}/msnchat.gif" alt="通过MSN和 ${viewthread.usermap.username} 交谈" /> </a></c:if>
						<c:if test="${viewthread.usermap.qq!=''}"><a href="http://wpa.qq.com/msgrd?V=1&Uin=${viewthread.usermap.qq}&Site=Jsprun~&Menu=yes" target="_blank"><img src="${styles.IMGDIR}/qq.gif" alt="QQ" /> </a></c:if>
						<c:if test="${viewthread.usermap.icq!=''}"><a href="http://wwp.icq.com/scripts/search.dll?to=${viewthread.usermap.icq}" target="_blank"><img src="${styles.IMGDIR}/icq.gif" alt="ICQ" /> </a></c:if>
						<c:if test="${viewthread.usermap.yahoo!=''}"><a href="http://edit.yahoo.com/config/send_webmesg?.target=${viewthread.usermap.yahoo}&.src=pg" target="_blank"><img src="${styles.IMGDIR}/yahoo.gif" alt="Yahoo!" /> </a></c:if>
						<c:if test="${viewthread.usermap.taobao!=''}"><script type="text/javascript">document.write('<a target="_blank" href="http://amos1.taobao.com/msg.ww?v=2&uid='+encodeURIComponent('${viewthread.usermap.taobao}')+'&s=2"><img src="${styles.IMGDIR}/taobao.gif" alt="阿里旺旺" /></a>');</script></c:if>
					</p>
				</c:if>
				<c:forEach items="${viewthread.custominfo.special}" var="cus"> ${cus} </c:forEach>
			</td>
		</tr>
		<tr>
			<td class="postcontent">
				<p class="postactions">
					<c:if test="${(usergroups.alloweditpost>0 && modertar) || thread.authorid==jsprun_uid}"><a href="post.jsp?action=edit&fid=${viewthread.usermap.fid}&tid=${viewthread.usermap.tid}&pid=${viewthread.usermap.pid}&page=1&extra=page%3D1">编辑</a></c:if>
					<c:if test="${usergroups.raterange!='' && viewthread.usermap!=null}"><a href="misc.jsp?action=rate&tid=${viewthread.usermap.tid}&pid=${viewthread.usermap.pid}&page=1" id="ajax_rate_${viewthread.usermap.pid}" onclick="ajaxmenu(event, this.id, 9000000, null, 0)">评分</a></c:if>
					<c:if test="${jsprun_uid!=null && settings.magicstatus==1 && usergroups.allowmagics>0}"><a href="magic.jsp?action=user&pid=${viewthread.usermap.pid}" target="_blank">道具</a></c:if>
				</p>
			</td>
			<td class="postauthor"></td>
		</tr>
	</table>
</div>
<div id="ad_interthread"></div>
<c:if test="${tradenum>0}">
	<div id="ajaxspecialpost"></div>
	<script type="text/javascript">ajaxget('viewthread.jsp?fid=${thread.fid}&tid=${thread.tid}&do=viewall&page=1&rand='+Math.random(), 'ajaxspecialpost');</script>
</c:if>
<jsp:include flush="true" page="viewthread_fastreply.jsp" />
<c:if test="${settings.forumjump==1&&settings.jsmenu_1>0}">
	<div class="popupmenu_popup" id="forumlist_menu" style="display: none">
	${forummenu}
	</div>
</c:if>
<jsp:include flush="true" page="footer.jsp" />

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -