<?exit?>
{template link_header}

<!--{if !empty($ads2['pagecenterad'])}-->
<div class="banner">
	$ads2[pagecenterad]
</div>
<!--{/if}-->

<!-- Content内容 -->
<div class="contentR">
	<div class="sideR">
	
		<div class="block topblock">
			<h3>$thecat[name]</h3>
			<!--{if $thecat['thumb'] || $thecat['note']}-->
			<div class="catepic">
				<!--{if $thecat['thumb']}-->
				<div><img src="{A_URL}/$thecat[thumb]" alt="" /></div>
				<!--{/if}-->
				<!--{if $thecat['note']}-->
				<p>$thecat[note]</p>
				<!--{/if}-->
			</div>
			<!--{/if}-->
			<!--{block name="category" parameter="upid/$thecat[catid]/ischannel/2/order/c.displayorder/limit/0,100/cachetime/10900/cachename/subarr/tpl/data"}-->
			<!--{if $_SBLOCK['subarr']}-->
				<ul class="msgtitlelist">
					<!--{loop $_SBLOCK['subarr'] $value}-->
					<li><a href="$value[url]">$value[name]</a></li>
					<!--{/loop}-->
				</ul>
			<!--{/if}-->
		</div>
		
		<!--专题列表-->
		<!--{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="block">
			<h3>专题</h3>
			<ul class="imglogolist">
				<!--{loop $_SBLOCK['channel'] $value}-->
				<li>
					<a href="#action/category/catid/$value[catid]#"><img src="$value[thumb]" alt="" /></a>
					<p><a href="#action/category/catid/$value[catid]#">$value[name]</a></p>
				</li>
				<!--{/loop}-->
			</ul>
		</div>
		<!--{/if}-->

		<!--站内推荐书签-->
		<!--{block name="spacelink" parameter="catid/$thecat[subcatid]/dateline/2592000/order/i.viewnum DESC/limit/0,15/cachetime/15400/cachename/hotlink/tpl/data"}-->
		<div class="block">
			<h3>月度点击排行榜</h3>
			<dl>
				<!--{loop $_SBLOCK['hotlink'] $value}-->
				<dt><a href="$value[url]" target="_blank">$value[subject]</a></dt>
				<dd>发布者: <a href="#uid/$value[uid]#" target="_blank">$value[username]</a></dd>
				<!--{/loop}-->
			</dl>
		</div>
		
	</div>
	<div class="mainarea">

		<!--当前分类最新列表-->
		<!--{if $_SGET['page']<2 || empty($_SGET['mode'])}-->
		<!--{block name="spacelink" parameter="catid/$thecat[subcatid]/order/i.dateline DESC/perpage/15/showdetail/1/messagelen/150/messagedot/1/cachename/newlist/tpl/data"}-->
		<!--{if $_SBLOCK['newlist']}-->
		<div class="block topblock">
			<a href="javascript:;" onclick="ColExpAllIntro('linklist',this)" class="more minus">只列出标题</a>
			<h3>$thecat[name]</h3>
			<ul id="linklist" class="messagelist">
			<!--{loop $_SBLOCK['newlist'] $value}-->
				<li>
					<h4>
						<em class="smalltxt">
							<!--{if $value[replynum]}--><a href="$value[url]" target="_blank" class="replynum">评论: $value[replynum]</a><!--{/if}-->
							<!--{if $value[goodrate]}--><span class="goodrate">好评: $value[goodrate]</span><!--{/if}-->&nbsp;
						</em>
						<a href="$value[url]" target="_blank">$value[subject]</a>
					</h4>
					<p class="smalltxt"><a href="#uid/$value[uid]#" target="_blank">$value[username]</a>, 发布于 #date("Y-m-d", $value["dateline"])#</p>
					<!--{if $value['message']}--><p>$value[message]</p><!--{/if}-->
					<p>
						<a href="#uid/$value[uid]/action/viewspace/itemid/$value[itemid]#" target="_blank">评论</a> |
						<a href="{S_URL}/batch.viewlink.php?action=snapshot&itemid=$value[itemid]" target="_blank">快照</a> |
						<a href="{S_URL}/batch.viewlink.php?action=copy&itemid=$value[itemid]" target="_blank">复制</a> |
						<a href="{S_URL}/batch.viewlink.php?action=domain&itemid=$value[itemid]" target="_blank">同站点</a> |
						<a href="{S_URL}/batch.viewlink.php?action=subject&itemid=$value[itemid]" target="_blank">同标题</a> 
					</p>
				</li>
			<!--{/loop}-->
			</ul>

			
			<div class="pages">
				<!--{if $_SBLOCK[newlist_multipage]}-->
				$_SBLOCK[newlist_multipage]
				<!--{else}-->
				<div class="xspace-page"><span>当前只有一页</span></div>
				<!--{/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="block">
			<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}-->
				<div class="xspace-page"><span>当前只有一页</span></div>
				<!--{/if}-->
			</div>
		</div>
		<!--{/if}-->
		<!--{/if}-->
		<!--{/if}-->

		<!--子分类最新列表-->
		<!--{if $_SGET['page']<2}-->
		<!--{loop $_SBLOCK['subarr'] $ckey $cat}-->
		<!--{eval $ctime=2800+30*$ckey;}-->
		<!--{block name="spacelink" 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="block">
			<a href="#action/category/catid/$cat[catid]#" class="more">更多</a>
			<h3>
				<strong><a href="#action/category/catid/$cat[catid]#">$cat[name]</a></strong>
			</h3>
			<ul class="messagelist">
			<!--{loop $_SBLOCK['sublist'] $value}-->
				<li>
					<h4><a href="$value[url]" target="_blank">$value[subject]</a> <span class="smalltxt">($value[viewnum]人点击,$value[replynum]人评论)</span></h4>
					<p class="smalltxt"><a href="#uid/$value[uid]#" target="_blank">$value[username]</a>, 发布于 #date("Y-m-d", $value["dateline"])#</p>
					<!--{if $value['message']}--><p>$value[message]</p><!--{/if}-->
					<p>
						<a href="#uid/$value[uid]/action/viewspace/itemid/$value[itemid]#" target="_blank">评论</a> |
						<a href="{S_URL}/batch.viewlink.php?action=snapshot&itemid=$value[itemid]" target="_blank">快照</a> |
						<a href="{S_URL}/batch.viewlink.php?action=copy&itemid=$value[itemid]" target="_blank">复制</a> |
						<a href="{S_URL}/batch.viewlink.php?action=domain&itemid=$value[itemid]" target="_blank">同站点</a> |
						<a href="{S_URL}/batch.viewlink.php?action=subject&itemid=$value[itemid]" target="_blank">同标题</a> 
					</p>
				</li>
			<!--{/loop}-->
			</ul>
			
		</div>
		<!--{/if}-->
		<!--{/loop}-->
		<!--{/if}-->
		
	</div>
</div>
<!-- /Content -->

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

{template link_footer}