<?exit?>
{template site_header}

<div id="navigation" class="simplepage">
	<p>您的位置：
		<a href="{S_URL}" target="_self">首頁</a>
		&gt;&gt; $title
	</p>
	<h1>TAG</h1>
</div>
		<div class="taginfo" style="border: 1px solid #D5E9F8; margin: 2em 6em 3em; padding: 1em;">
			<h2 style="margin: 1em 0; font-size: 1.2em;"><span style="font-weight: normal">TAG: </span>$tag[tagname]</h2>
			<p>創建者:<a href="$tag[spaceurl]" target="_blank"> $tag[username]</a> &nbsp;&nbsp; 創建時間:#date("Y-m-d H:i:s",$tag["dateline"])# &nbsp;&nbsp; 總信息數: $tag[spaceallnum]</p>
			<!--{if $tag[relativetags]}-->
			<p>相關TAG:
			<!--{loop $tag[relativetags] $key $value}-->
			<a href="#action/tag/tagname/$key#">$value</a>
			<!--{/loop}-->
			</p>
			<!--{/if}-->
			<a href="#action/tag/tagid/$tag[tagid]/show/all#">查看該TAG下的全部信息</a>
		</div>
		
		<!--{if $tag[spacenewsnum]}-->
		<!--TAG中資訊列表-->
		<!--{block name="spacetag" parameter="tagid/$tag[tagid]/type/news/order/st.dateline DESC/limit/0,10/cachetime/86400/cachename/news/tpl/data"}-->
		<div id="news">
			<div class="blocktitle"><h2>資訊</h2></div>
			<ul class="msgtitlelist">
				<!--{loop $_SBLOCK['news'] $value}-->
				<li><a href="$value[url]" target="_blank" title="$value[subjectall]">$value[subject]</a></li>
				<!--{/loop}-->
			</ul>
		</div>
		<!--{/if}-->

		<!--{if $tag[spaceblognum]}-->
		<!--TAG中日誌列表-->
		<!--{block name="spacetag" parameter="tagid/$tag[tagid]/type/blog/order/st.dateline DESC/showdetail/1/messagelen/200/messagedot/1/limit/0,10/cachetime/1830/cachename/blog/tpl/data"}-->
		<div id="message">
			<div class="blocktitle"><h2>日誌</h2></div>
			<ul class="messagelist">
				<!--{loop $_SBLOCK['blog'] $value}-->
				<li>
					<h4><a href="$value[url]" target="_blank" title="$value[subjectall]">$value[subject]</a></h4>
					<p class="smalltxt">作者: <a href="#uid/$value[uid]/action/space#" target="_blank">$value[username]</a> / 發表於 #date("Y-m-d H:i:s", $value["dateline"])#</p>
					<p>$value[message]</p>
				</li>
				<!--{/loop}-->
			</ul>
		</div>
		<!--{/if}-->
		
		<!--{if $tag[spaceimagenum]}-->
		<!--TAG中圖片列表-->
		<!--{block name="spacetag" parameter="tagid/$tag[tagid]/type/image/order/st.dateline DESC/showdetail/1/limit/0,12/cachetime/1900/cachename/image/tpl/data"}-->
		<div id="image">
			<div class="blocktitle"><h2>圖片</h2></div>
			<ul class="imgthumblist">
				<!--{loop $_SBLOCK['image'] $value}-->
				<li style="height: 100px;"><div><a href="$value[url]" target="_blank" title="$value[subjectall]"><img src="$value[image]"></a></div></li>
				<!--{/loop}-->
			</ul>
		</div>
		<!--{/if}-->

		<!--{if $tag[spacegoodsnum]}-->
		<!--TAG中商品列表-->
		<!--{block name="spacetag" parameter="tagid/$tag[tagid]/type/goods/order/st.dateline DESC/limit/0,8/cachetime/2000/showdetail/1/messagelen/150/messagedot/1/cachename/goods/tpl/data"}-->
		<div id="goods">
			<div class="blocktitle"><h2>商品</h2></div>
			<ul class="imgtitlelist">
				<!--{loop $_SBLOCK['goods'] $value}-->
				<li>
					<a href="$value[url]" target="_blank"><img src="$value[thumb]" alt="$value[a_subject]" /></a>
					<h4><a href="$value[url]" target="_blank">$value[subject]</a></h4>
					<!--{if $value['message']}--><p>$value[message]</p><!--{/if}-->
					<p>價格: <strong>$value[price]</strong> 元</p>
					<p>賣家: <a href="#uid/$value[uid]/action/space#" target="_blank">$value[username]</a></p>
				</li>
				<!--{/loop}-->
			</ul>
		</div>
		<!--{/if}-->

		<!--{if $tag[spacefilenum]}-->
		<!--TAG中軟件列表-->
		<!--{block name="spacetag" parameter="tagid/$tag[tagid]/type/file/order/st.dateline DESC/limit/0,5/cachetime/1930/showdetail/1/messagelen/150/messagedot/1/cachename/file/tpl/data"}-->
		<div id="file">
			<div class="blocktitle"><h2>文件</h2></div>
			<ul class="msgtitlelist">
			<!--{loop $_SBLOCK['file'] $value}-->
			<li><a href="$value[url]" target="_blank" title="$value[subjectall]">$value[subject]</a></li>
			<!--{/loop}-->
			</ul>
		</div>
		<!--{/if}-->

		<!--{if $tag[spacelinknum]}-->
		<!--TAG中書籤列表-->
		<!--{block name="spacetag" parameter="tagid/$tag[tagid]/type/link/order/st.dateline DESC/limit/0,10/subjectlen/36/cachetime/2030/showdetail/1/cachename/link/tpl/data"}-->
		<div id="link">
			<div class="blocktitle"><h2>書籤</h2></div>
			<ul class="msgtitlelist">
			<!--{loop $_SBLOCK['link'] $value}-->
			<li><a href="$value[url]" target="_blank" title="$value[subjectall]">$value[subject]</a></li>
			<!--{/loop}-->
			</ul>
		</div>
		<!--{/if}-->

{template site_footer}