<?exit?>
<h1 class="xspace-title">$item[subject]</h1>
<p class="xspace-smalltxt">
	<a href="{S_URL}/batch.common.php?action=viewspace&amp;op=up&amp;itemid=$item[itemid]&amp;uid=$item[uid]">上一篇</a> / 
	<a href="{S_URL}/batch.common.php?action=viewspace&amp;op=next&amp;itemid=$item[itemid]&amp;uid=$item[uid]">下一篇</a> &nbsp;
	#date("Y-m-d H:i:s",$item["dateline"])#
	<!--{if !empty($item['digest'])}--> / 精華($item[digest])<!--{/if}-->
	<!--{if !empty($item['top'])}-->/ 置頂($item[top])<!--{/if}-->
	<!--{if empty($item['allowreply'])}-->/ 不允許\評論<!--{/if}-->
	<!--{if !empty($item['itemtypename'])}-->/ 個人分類：<a href="#uid/$item[uid]/action/spacelist/type/$item[type]/itemtypeid/$item[itemtypeid]#">$item[itemtypename]</a><!--{/if}-->
</p>

<div class="xspace-itemdata">
	<a href="#xspace-tracks">查看( $item[viewnum] )</a> / 
	<a href="#xspace-itemreply">評論( $item[replynum] )</a> / 
	<a href="#xspace-itemform">評分( <span class="xspace-rategood" title="好評">$item[goodrate]</span> / <span class="xspace-ratebad" title="差評">$item[badrate]</span> )</a>
</div>

<div class="xspace-goodsinfo">
	<div id="xspace-goodspic" class="xspace-imgstyle"><a href="$item[image]" target="_blank" title="點擊查看原始圖片"><img src="$item[image]" alt="$item[subject]" /></a></div>
	<div id="xspace-ownerinfo" class="xspace-msgmodule">
		<h5>賣家信息: $item[member][username]</h5>
		<ul class="xspace-propertylist">
			<li>(<a href="{B_URL}/viewpro.php?uid=$item[uid]" target="_blank">論壇資料</a> <a href="{B_URL}/pm.php?action=send&amp;uid=$item[uid]" target="_blank">站內聯繫</a>)</li>
			<li>論壇級別: $item[member][group]</li>
			<li>註冊時間: #date("Y-m-d H:i:s",$item["member"]["regdate"])#</li>
			<li>最後發表: #date("Y-m-d H:i:s",$item["member"]["lastpost"])#</li>
			<li>論壇帖子: $item[member][posts]</li>
			<li>論壇積分: $item[member][credits]</li>
		</ul>
	</div>
	<div id="xspace-goodsprice">
		<p>當前價格: <strong><!--{if !empty($item[buyprice])}-->$item[buyprice]<!--{else}-->$item[price]<!--{/if}--></strong> 元</p>
		<p><a href="{S_URL}/batch.common.php?action=price&amp;itemid={$item[itemid]}" class="xspace-auction">出價</a></p>
		<p>商品數量: $item[stocknum] / 加價幅度: $item[markup]元</p>
		<p><!--{if $item['chargemode'] == 'buy'}-->買家承擔運費<!--{else}-->賣家承擔運費<!--{/if}--> 平郵:$item[chargemail]元 快遞:$item[chargeexpress]元 EMS:$item[chargeems]元</p>
	</div>
	<ul id="xspace-goodsbaseinfo" class="xspace-propertylist">
		<li>發佈日期: #date("Y-m-d",$item["dateline"])#</li>
		<li>開始拍賣:#date("Y-m-d H:i:s",$item["starttime"])#</li>
		<li>有效天數:$item[term]天</li>
		<li>成色: $item[quality]</li>
		<li>所在地: $item[province] $item[city]</li>
		<li>支付方式: $item[paymenttype]</li>
	</ul>
	<p class="xspace-send2fav"><a href="javascript:;" onclick="joinfavorite($item[itemid]);">加入收藏夾</a></p>
</div>

<!--{if !empty($item[custom][name])}-->
<div class="xspace-addoninfo xspace-msgmodule">
	<h5>$item[custom][name]</h5>
	<ul class="xspace-propertylist">
	<!--{loop $item[custom][key] $ckey $cvalue}-->
		<li><strong>$cvalue[name]</strong>:$item[custom][value][$ckey]</li>
	<!--{/loop}-->
	</ul>
</div>
<!--{/if}-->

<div id="xspace-showmessage" class="xspace-itemmessage">
	$item[message]
</div>

<div id="xspace-aplist" class="xspace-msgmodule">
	<h5>出價列表(出價人次：$item[auctionnum])</h5>
	<table summary="auction" cellspacing="0" cellpadding="2" width="100%">
	<colgroup>
		<col class="xspace-buyer" />
		<col class="xspace-price" />
		<col class="xspace-buynum" />
		<col class="xspace-time" />
		<col class="xspace-status" />
	</colgroup>
	<tr>
		<th width="20%">出價者</th>
		<th width="15%">價格/元</th>
		<th width="15%">數量</th>
		<th width="35%">時間</th>
		<th width="15%">狀態</th>
	</tr>
	<!--{loop $item[auctions] $key $value}-->
	<!--{if ($value['allow'] == 1 || $value['status'] == 1)}-->
	<tr class="xspace-ontop">
	<!--{else}-->
	<!--{if ($key % 2 == 1)}-->
	<tr class="xspace-darkrow">
	<!--{else}-->
	<tr>
	<!--{/if}-->
	<!--{/if}-->
		<td><a href="#uid/$value[uid]#" target="_blank">$value[username]</a></td>
		<td>$value[price]</td>
		<td>$value[buynum]</td>
		<td>#date("Y-m-d H:i:s", $value["dateline"])#</td>
		<td><!--{if ($value['status'] == 1)}-->成功\ <img src="{S_URL}/images/base/okhank.gif" alt="交易成功\"><!--{elseif ($value[allow] == 1 && $value[status] == 0)}-->領先 <a href="{S_URL}/batch.common.php?action=auction&amp;code=$value[code]">交易</a><!--{else}-->出局<!--{/if}-->
		</td>
	</tr>
	<!--{/loop}-->
	</table>
</div>

<!--{eval include template('styles/space/viewspace_common.html.php', 1);}-->