<?exit?>
<ul class="xspace-listtab">
	<li{$tabactive[0]}><span><a href="#uid/$uid/action/spacelist/type/friend#">我的好友</a></span></li>
	<li{$tabactive[2]}><span><a href="#uid/$uid/action/spacelist/type/friend/view/fav#">我的FANS</a></span></li>
	<li{$tabactive[1]}><span><a href="#uid/$uid/action/spacelist/type/friend/view/track#">我去過的空間</a></span></li>
	<li{$tabactive[3]}><span><a href="#uid/$uid/action/spacelist/type/friend/view/visitor#">我的訪客</a></span></li>
</ul>

<!--{if empty($iarr)}-->
<div class="xspace-noticemsg">現在還沒有相關好友信息</div>
<!--{else}-->
<ul class="xspace-itemlist">
	<!--{loop $iarr $value}-->
	<li class="xspace-friendlist">
		
		<!--{if empty($value['spacename'])}-->
		<h4 class="xspace-entrytitle">
		<a href="{B_URL}/viewpro.php?uid=$value[fuid]" target="_blank"><img src="$value[photo]" alt="" class="xspace-friendavatar xspace-imgstyle" /></a>
		<a href="{B_URL}/viewpro.php?uid=$value[fuid]" target="_blank">Member($value[fuid])</a>
		</h4>
		<p>論壇會員</p>
		<p>$firendname #date("", $value["fdateline"])#</p>
		<!--{else}-->
		<h4 class="xspace-entrytitle">
		<a href="#uid/$value[uid]/action/space/domain/$value[domain]#" target="_blank"><img src="$value[photo]" alt="" class="xspace-friendavatar xspace-imgstyle" /></a>
		<a href="#uid/$value[uid]/action/space/domain/$value[domain]#" target="_blank">$value[username]</a>
		</h4>
		<p><a href="#uid/$value[uid]/action/space/domain/$value[domain]#" target="_blank">$value[spacename]</a> $value[province] $value[city]</p>
		<p>空間更新 #date("", $value["lastpost"])# (<a href="#uid/$value[uid]/action/spacelist#" target="_blank">$value[spaceallnum]</a>)</p>
		<p>$firendname #date("", $value["fdateline"])#</p>
		<p class="xspace-itemlinks">
			<a class="xspace-profile" href="$value[prourl]" target="_blank">查看資料</a>
			<a class="xspace-sendpm" href="$value[pmurl]" target="_blank">站內聯繫</a>
			<a class="xspace-addfriend" href="javascript:;" onclick="javascript:joinfriend('$value[uid]');">添加好友</a>
			<a class="xspace-guestbook" href="$value[guestbookurl]" target="_blank">留言兩句</a>
		</p>
		<!--{/if}-->
	</li>
	<!--{/loop}-->
</ul>
<!--{/if}-->

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