<?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}-->
	<!--{if !empty($item['maketime'])}-->拍攝時間：#date("Y-m-d H:i:s",$item["maketime"])#<!--{/if}-->
	<!--{if !empty($item['makeaddress'])}-->拍攝地點：$item[makeaddress]<!--{/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-imagebox" >
	<div id="flash"> </div>
	<script language="javascript">
	<!--
	var userAgent = navigator.userAgent.toLowerCase();
	var is_ff = (userAgent.indexOf('firefox') != -1);
	var urlarr = new Array();
	var thearr = new Array();
	var urlid = 0;
	<!--{if $item[remoteurl]}-->
	<!--{loop $item[remoteurl] $value}-->
		thearr[0] = "$value[remoteurl]";
		thearr[1] = "$value[remoteurlname]";
		urlarr[urlid] = new Array(thearr[0], thearr[1]);
		urlid++;
	<!--{/loop}-->
	<!--{/if}-->
	function isflv(url) {
		re = /\.flv$/i;
   		if(url.search(re)!=-1) {
   			return true;
   		} else {
   			return false
   		}
	}
	function setFlash(id) {
		var flashobj = getbyid("flash");
		var flashurl = urlarr[id][0];
		if(isflv(flashurl)) {
			flashurl = "{S_URL}/images/flashplayer/flvplayers.swf?flvurl="+flashurl;
		}
		if(is_ff) {
			flashobj.innerHTML = '<embed src="'+flashurl+'" id="flashembed" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="480px" height="420px" allowFullScreen="true"></embed>';
		} else {
			flashobj.innerHTML = '<object id="flashplay" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="480px" height="420px"><param name="movie" value="'+flashurl+'" /><param name="allowFullScreen" value="true" /><param name="quality" value="high" /></object>';
		}
	}
	setFlash(0);
	//-->
	</script>

	<!--{if $item[remoteurl]}-->
	<div class="xspace-flashlist">
		<h5>播放列表</h5>
		<ul class="xspace-list">
			<!--{loop $item[remoteurl] $key $value}-->
				<li><a href="javascript:;" onclick="setFlash($key);">$value[remoteurlname]</a></li>
			<!--{/loop}-->
		</ul>
	</div>
	<!--{/if}-->
</div>

<!--{if !empty($item[custom][name])}-->
<div class="xspace-addoninfo">
	<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 class="xspace-msgmodule">
	<h5>影音分享</h5>
	<ul class="xspace-list">
		<li>節目地址: <script type="text/javascript">
			document.write('<input type="text" value="'+location.href+'" size="80" onmouseover="this.select();" \/>');
		</script>
		<br /><span style="padding-left: 4.5em; color: #999;">通過E-mail / MSN / QQ，把節目地址告訴你的好友</span></li>
	</ul>
</div>

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