<?exit?>
{template spaces_header}

<!--{if !empty($_SCONFIG['listadcenter'])}-->
<div class="content" style="background: none; margin-bottom: 0.5em;">
	$_SCONFIG[listadcenter]
</div>
<!--{/if}-->

<!-- Content內容 -->
<div class="contentR">
	<div class="sideR">
	
		<div class="catepic">
			<!--{if $thecat['thumb']}-->
			<img src="{A_URL}/$thecat[thumb]" alt="" />
			<!--{/if}-->
			<!--{if $thecat['note']}-->
			<p>$thecat[note]</p>
			<!--{/if}-->
		</div>

		<!--子分類-->
		<!--{block name="category" parameter="upid/$thecat[catid]/ischannel/2/order/c.displayorder/limit/0,100/cachetime/10900/cachename/subarr/tpl/data"}-->
		<!--{if $_SBLOCK['subarr']}-->
		<div id="catelist" class="sideblock">
			<h3>分類</h3>
			<ul>
				<!--{loop $_SBLOCK['subarr'] $value}-->
				<li><a href="$value[url]" target="_self">$value[name]</a></li>
				<!--{/loop}-->
			</ul>
		</div>
		<!--{/if}-->
	
		<!--專題列表-->
		<!--{block name="category" parameter="upid/$thecat[catid]/ischannel/1/showattach/1/order/c.displayorder/limit/0,100/cachetime/16400/cachename/channel/tpl/data"}-->
		<!--{if $_SBLOCK['channel']}-->
		<div class="sideblock">
			<h3>專題</h3>
			<ul>
				<!--{loop $_SBLOCK['channel'] $value}-->
				<li>
					<a href="#action/category/catid/$value[catid]#" target="_self"><img src="$value[thumb]" alt="" /></a>
					<p><a href="#action/category/catid/$value[catid]#" target="_self">$value[name]</a></p>
				</li>
				<!--{/loop}-->
			</ul>
		</div>
		<!--{/if}-->

		<!--一周更新排行榜-->
		<!--{block name="userspace" parameter="catid/$thecat[subcatid]/lastpost/604800/limit/0,10/order/u.viewnum DESC/cachetime/29800/cachename/hotlist/tpl/data"}-->
		<div class="sideblock">
			<h3>一周更新排行榜</h3>
			<ul class="imgtitlelist">
				<!--{loop $_SBLOCK['hotlist'] $value}-->
				<li>
					<a href="$value[url]" target="_blank"><img src="$value[photo]" width="78" height="78" alt="$value[spacename]" /></a>
					<p><a href="$value[url]" target="_blank" title="$value[spacename]">$value[username]</a></p>
					<p>信息數:$value[spaceallnum]</p>
				</li>
				<!--{/loop}-->
			</ul>
		</div>
		
	</div>
	<div class="mainarea">

		<!--當前分類最新列表-->
		<!--{block name="userspace" parameter="perpage/40/catid/$thecat[subcatid]/order/u.lastpost DESC/cachename/newlist/tpl/data"}-->
		<!--{if $_SBLOCK['newlist']}-->
		<div class="category">
			<h3><strong>$thecat[name]</strong></h3>
			<ul class="imgthumblist">
				<!--{loop $_SBLOCK['newlist'] $value}-->
				<li class="list2line">
					<div><a href="$value[url]" target="_blank"><img src="$value[photo]" alt="$value[spacename]" /></a></div>
					<p><a href="$value[url]" target="_blank" title="$value[spacename]">$value[username]</a></p>
					<p>信息數:$value[spaceallnum]</p>
				</li>
				<!--{/loop}-->
			</ul>
			
			<div class="pages">
				<!--{if $_SBLOCK[newlist_multipage]}-->
				$_SBLOCK[newlist_multipage]
				<!--{else}-->
					<table summary="" class="xspace-page"><tr><td class="xspace-totlerecord">當前只有一頁</td></tr></table>
				<!--{/if}-->
			</div>
			
		</div>
		<!--{/if}-->

		<!--子分類最新列表-->
		<!--{loop $_SBLOCK['subarr'] $ckey $cat}-->
		<!--{eval $ctime=2800+30*$ckey;}-->
		<!--{block name="userspace" parameter="catid/$cat[subcatid]/limit/0,100/order/u.lastpost DESC/cachetime/$ctime/cachename/sublist/tpl/data"}-->
		<!--{if $_SBLOCK['sublist']}-->
		<div class="category">
			<h3>
				<strong><a href="#action/category/catid/$cat[catid]#" target="_self">$cat[name]</a></strong>
				<a href="#action/category/catid/$cat[catid]#" class="more" target="_self">更多</a>
			</h3>
			<ul class="imgthumblist">
				<!--{loop $_SBLOCK['sublist'] $value}-->
				<li class="list2line">
					<a href="$value[url]" target="_blank"><img src="$value[photo]" width="78" height="78" alt="$value[spacename]" /></a>
					<p><a href="$value[url]" target="_blank" title="$value[spacename]">$value[username]</a></p>
					<p>信息數:$value[spaceallnum]</p>
				</li>
				<!--{/loop}-->
			</ul>
		</div>
		<!--{/if}-->
		<!--{/loop}-->
		
	</div>
</div>
<!-- /Content -->

<!--{if !empty($_SCONFIG['listadfloating']) || !empty($_SCONFIG['listadside'])}-->
<script type="text/javascript" src="{S_URL}/include/js/floatadv.js"></script>
<script type="text/javascript">
<!--{if !empty($_SCONFIG['listadfloating'])}-->
var lengthobj = getWindowSize();
lsfloatdiv('floatAdv', 0, 0, "<div style=\"position: absolute; right: 6px; bottom: -"+lengthobj.winHeight+"px;\"><!--{eval echo jsstrip($_SCONFIG['listadfloating']);}--></div>").floatIt();
<!--{/if}-->
<!--{if !empty($_SCONFIG['listadside'])}-->
lsfloatdiv('coupleBannerAdv', 0, 0, "<div style=\"position: absolute; left: 6px; top: 6px;\"><!--{eval echo jsstrip($_SCONFIG['listadside']);}--><br><img src=\"{S_URL}/images/system/advclose.gif\" onMouseOver=\"this.style.cursor='hand'\" onClick=\"closeBanner('coupleBannerAdv');\"></div><div style=\"position: absolute; right: 6px; top: 6px;\"><!--{eval echo jsstrip($_SCONFIG['listadside']);}--><br><img src=\"{S_URL}/images/system/advclose.gif\" onMouseOver=\"this.style.cursor='hand'\" onClick=\"closeBanner('coupleBannerAdv');\"></div>").floatIt();
<!--{/if}-->
</script>
<!--{/if}-->
	
{template spaces_footer}