<?exit?>
<ul class="xspace-listtab">
	<li{$tabactive[0]}><span><a href="#uid/$uid/action/spacelist/type/goods#">我的商品</a></span></li>
	<li{$tabactive[1]}><span><a href="#uid/$uid/action/spacelist/type/goods/view/track#">瀏覽過的商品</a></span></li>
	<li{$tabactive[2]}><span><a href="#uid/$uid/action/spacelist/type/goods/view/fav#">收藏的商品</a></span></li>
</ul>

<!--{if empty($iarr)}-->
<div class="xspace-noticemsg">現在還沒有相關商品信息</div>
<!--{else}-->
<ul class="xspace-itemlist">
	<!--{loop $iarr $ikey $value}-->
	<li class="xspace-goodslist">
		<h4 class="xspace-entrytitle"><a href="$value[url]"><img src="$value[thumb]" class="xspace-goodsimg xspace-imgstyle" alt="$value[subject]" /></a>
		<a href="$value[url]">$value[subject]</a>
		<span  class="xspace-smalltxt"><!--{if $value['province']}-->$value[province] $value[city] / <!--{/if}-->價格: <strong>$value[price]</strong>元</span></h4>
		<p class="xspace-smalltxt">
		<!--{if !empty($view)}-->
		<a href="#uid/$value[uid]/action/space#" target="_blank">$value[username]</a> 發佈於 
		<!--{/if}-->
		#date("Y-n-d H:i:s", $value["dateline"])# / $value[viewnum]人查看 / $value[replynum]條評論</p>
		<!--{if $value[message]}--><p>$value[message]</p><!--{/if}-->
		<p class="xspace-itemlinks">
			<a href="$value[url]">查看詳情</a>
			<a href="javascript:joinfavorite($value[itemid]);">收藏</a>
			<a href="javascript:;" onclick="showajaxdiv('emailfriend', '{S_URL}/batch.common.php?action=emailfriend&amp;itemid=$value[itemid]', 300, 150);">推薦</a>
			<a href="{B_URL}/pm.php?action=send&amp;uid=$value[uid]" target="_blank">聯繫我</a>
		</p>
	</li>
	<!--{/loop}-->
</ul>
<!--{/if}-->

<!--{if $multipage}-->
<div class="xspace-multipage">$multipage</div>
<!--{/if}-->
