<?exit?>
{template image_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 class="sideblock">
			<h3>分類</h3>
			<ul class="msgtitlelist">
				<!--{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 class="imglogolist">
				<!--{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="spaceimage" parameter="catid/$thecat[subcatid]/dateline/2592000/order/i.viewnum DESC/limit/0,15/cachetime/15400/subjectlen/20/showdetail/1/cachename/hotimage/tpl/data"}-->
		<div class="sideblock">
			<h3>月度點擊排行榜</h3>
			<ul class="imgtitlelist">
				<!--{loop $_SBLOCK['hotimage'] $value}-->
				<li>
					<div><a href="$value[url]" target="_blank"><img src="$value[image]" alt="$value[subjectall]" /></a></div>
					<p><a href="$value[url]" target="_blank" title="$value[subjectall]">$value[subject]</a></p>
					<p class="smalltxt">圖片數: $value[imagenum]</p>
					<p class="smalltxt"><a href="#uid/$value[uid]/action/space#" target="_blank">$value[username]</a></p>
				</li>
				<!--{/loop}-->
			</ul>
		</div>
		
	</div>
	<div class="mainarea">

		<!--當前分類最新列表-->
		<!--{if $_SGET['page']<2 || empty($_SGET['mode'])}-->
		<!--{block name="spaceimage" parameter="perpage/40/catid/$thecat[subcatid]/order/i.dateline DESC/subjectlen/13/showdetail/1/messagelen/150/messagedot/1/cachename/newlist/tpl/data"}-->
		<!--{if $_SBLOCK['newlist']}-->
		<div class="category">
			<h3><strong>$thecat[name]</strong></h3>
			<ul class="imgthumblist">
				<!--{loop $_SBLOCK['newlist'] $value}-->
				<li>
					<div><a href="$value[url]" target="_blank"><img src="$value[image]" alt="$value[subjectall]" /></a></div>
					<p><a href="$value[url]" target="_blank" title="$value[subjectall]">$value[subject]</a></p>
					<p class="smalltxt">圖片數: $value[imagenum]</p>
					<p class="smalltxt"><a href="#uid/$value[uid]/action/space#" target="_blank">$value[username]</a></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}-->
		<!--{/if}-->

		<!--論壇資源列表-->
		<!--{if !empty($thecat['bbsmodel'])}-->
		<!--{if $_SGET['page']<2 || !empty($_SGET['mode'])}-->
		<!--{eval $_SGET['mode']='bbs';}-->
		<!--{block name="bbsthread" parameter="perpage/20/$thecat[blockparameter]/cachename/bbsthreadlist/tpl/data"}-->
		<!--{if $_SBLOCK['bbsthreadlist']}-->
		<div class="category">
			<h3><strong>論壇資源</strong></h3>
			<ul class="msgtitlelist">
				<!--{loop $_SBLOCK['bbsthreadlist'] $value}-->
				<li><cite>#date("m-d", $value["dateline"])# </cite><a href="$value[url]">$value[subject]</a></li>
				<!--{/loop}-->
			</ul>
			
			<div class="pages">
				<!--{if $_SBLOCK[bbsthreadlist_multipage]}-->
				$_SBLOCK[bbsthreadlist_multipage]
				<!--{else}-->
				<table summary="" class="xspace-page"><tr><td class="xspace-totlerecord">當前只有一頁</td></tr></table>
				<!--{/if}-->
			</div>
		</div>
		<!--{/if}-->
		<!--{/if}-->
		<!--{/if}-->

		<!--子分類最新列表-->
		<!--{if $_SGET['page']<2}-->
		<!--{loop $_SBLOCK['subarr'] $ckey $cat}-->
		<!--{eval $ctime=2800+30*$ckey;}-->
		<!--{block name="spaceimage" parameter="catid/$cat[subcatid]/order/i.dateline DESC/limit/0,5/cachetime/$ctime/showdetail/1/messagelen/150/messagedot/1/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>
					<div><a href="$value[url]" target="_blank"><img src="$value[image]" alt="$value[subjectall]" /></a></div>
					<p><a href="$value[url]" target="_blank" title="$value[subjectall]">$value[subject]</a></p>
					<p class="smalltxt">圖片數: $value[imagenum]</p>
					<p class="smalltxt"><a href="#uid/$value[uid]/action/space#" target="_blank">$value[username]</a></p>
				</li>
				<!--{/loop}-->
			</ul>
		</div>
		<!--{/if}-->
		<!--{/loop}-->
		<!--{/if}-->
		
	</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 image_footer}