<?exit?>
{template bbs_header}

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

<!-- Content內容 -->
<div class="content" style="background: none;">
	<!-- 右側 -->
	<div class="sideR">
		<!-- 用戶面板 -->
		<div id="userpanel" class="sideblock">
			<script src="{S_URL}/batch.panel.php" type="text/javascript" language="javascript"></script>
		</div>

		<div id="bbsintro" class="sideblock">
			<h3>快速鏈接</h3>
			<ul class="msgtitlelist" style="height: 3.2em;">
			<li><a href="{B_URL}">訪問互動的論壇，更多精彩</a></li>
			<li><a href="{B_URL}/register.php">註冊為會員，擁有個性空間</a></li>
			</ul>
		</div>

		<!-- 論壇公告 -->
		<!--{block name="bbsannouncement" parameter="order/displayorder/limit/0,10/cachetime/86400/cachename/announcelist/tpl/data"}-->
		<div id="announcements" class="sideblock">
			<h3>論壇公告</h3>
			<ul class="msgtitlelist" style="height: 16em;">
				<!--{loop $_SBLOCK['announcelist'] $ikey $value}-->
				<li><a href="$value[url]" target="_blank">$value[subject]</a></li>
				<!--{/loop}-->
			</ul>
		</div>


	</div>
	<!-- /右側 -->
	<!-- 左側 -->
	<div class="sideL">

		<!--圖片附件-->
		<!--{block name="bbsattachment" parameter="filetype/image/t_lastpost/2592000/order/t.replies DESC/limit/0,10/cachetime/19900/cachename/picthread/tpl/data"}-->
		<div id="slideimg" class="sideblock cleanblock">
		<!--{if !empty($_SBLOCK['picthread'])}-->
			<!--{eval $picarr=$linkarr=$textarr=array();}-->
			<!--{loop $_SBLOCK['picthread'] $ikey $value}-->
			<!--{eval $picarr[] = '"'.$value[a_thumbpath].'"';}-->
			<!--{eval $linkarr[] = '"'.$value[url].'"';}-->
			<!--{eval $textarr[] = '"'.$value[subject].'"';}-->
			<!--{/loop}-->
			<!--{eval $pics = implode(',', $picarr);}-->
			<!--{eval $links = implode(',', $linkarr);}-->
			<!--{eval $texts = implode(',', $textarr);}-->
			
			<script type="text/javascript" language="javascript">
			<!--
			var focus_width=208;
			var focus_height=208;
			var text_height=20;
			
			var xsImgs = new Array({$pics});
			var xsImgLinks = new Array({$links});
			var xsImgTexts = new Array({$texts});
			var xsImgSize = new Array(focus_width, focus_height);
			//-->
			</script>
			<script language="javascript" type="text/javascript" src="{S_URL}/include/js/slide.js"></script>
		<!--{else}-->
			<div style="height:234px; he\ight: 214px; padding:10px; line-height:150%;">論壇圖片附件顯示區域</div>
		<!--{/if}-->
		</div>
		<!--圖片附件 結束-->
		
		<!--最近1個月的熱點回復帖子-->
		<!--{block name="bbsthread" parameter="dateline/2592000/order/replies DESC/limit/0,8/cachetime/22400/subjectlen/26/cachename/hotthread/tpl/data"}-->
		<div id="commendread" class="sideblock boldblock">
			<h3>月度評論熱點</h3>
			<ul class="msgtitlelist" style="height: 13em;">
			<!--{loop $_SBLOCK['hotthread'] $value}-->
			<li><a href="$value[url]" title="$value[subjectall]">$value[subject]</a> <span class="smalltxt">($value[replies])</span></li>
			<!--{/loop}-->
			</ul>
		</div>
	</div>
	<!-- /左側 -->
	<div class="mainarea">

		<!--酷主題(1天內評論數最多的帖子)-->
		<!--{block name="bbsthread" parameter="showdetail/1/messagelen/100/subjectlen/40/dateline/86400/order/replies DESC/limit/0,1/cachetime/12400/cachename/coolthread/tpl/data"}-->
		<!--{loop $_SBLOCK['coolthread'] $value}-->
		<div id="headline" class="cleanblock">
			<strong><a href="$value[url]">$value[subject]</a></strong>
			<p>$value[message]</p>
		</div>
		<!--{/loop}-->
		
		<!--一周熱點討論排行-->
		<!--{block name="bbsthread" parameter="dateline/604800/subjectlen/33/order/replies DESC/limit/0,15/cachetime/21400/cachename/replyhot/tpl/data"}-->
		<div id="focus">
			<ul class="msgtitlelist">
				<!--{loop $_SBLOCK['replyhot'] $value}-->
				<li><cite><a href="{B_URL}/viewpro.php?uid=$value[authorid]">$value[author]</a></cite><a href="$value[url]">$value[subject]</a> <span class="smalltxt">($value[replies])</span></li>
				<!--{/loop}-->
			</ul>
		</div>
	</div>
</div>
<div class="content" style="background: none;">
	<!-- 右側版塊 -->
	<div class="sideR">

		<!--板塊根據帖子數排行-->
		<!--{block name="bbsforum" parameter="type/forum/allowblog/1/order/posts DESC/limit/0,10/cachetime/14400/cachename/hotforums/tpl/data"}-->
		<div id="hottforum" class="sideblock stat" style="height: 232px;">
			<h3>論壇帖子數排行</h3>
			<ol>
				<!--{loop $_SBLOCK['hotforums'] $value}-->
				<li><em>$value[posts]</em><a href="$value[url]">$value[name]</a></li>
				<!--{/loop}-->
			</ol>
		</div>
	</div>

	<div class="sideL">
		<!--會員帖子數排行-->
		<!--{block name="bbsmember" parameter="order/m.posts DESC/limit/0,10/cachetime/43200/cachename/hotmembers/tpl/data"}-->
		<div id="hotmembers" class="sideblock boldblock">
			<h3>會員帖子數排行</h3>
			<ul class="msgtitlelist" style="height: 202px;">
				<!--{loop $_SBLOCK['hotmembers'] $value}-->
				<li><cite style="text-align: right; margin-right: 5px;">$value[posts]</cite><a href="$value[url]">$value[username]</a></li>
				<!--{/loop}-->
			</ul>
		</div>
	</div>

	<div class="mainarea">
		<div id="hotarticle">
			<p id="hotarticletabs"><span id="alltab" onclick="setTab('hotarticle','all')">全部</span> <span id="weektab" onclick="setTab('hotarticle','week')">一月</span> <span id="daytab" class="active" onclick="setTab('hotarticle','day')">一周</span></p>
			<h3>熱門點擊</h3>
			<!--帖子點擊數排行(一周)-->
			<!--{block name="bbsthread" parameter="dateline/604800/order/views DESC/limit/0,10/cachetime/22400/subjectlen/40/subjectdot/1/cachename/hotblog1/tpl/data"}-->
			<ul id="day" class="tabcontent">
				<!--{loop $_SBLOCK['hotblog1'] $value}-->
				<li><cite><a href="{B_URL}/viewpro.php?uid=$value[authorid]">$value[author]</a> </cite><a href="$value[url]">$value[subject]</a> ($value[views])</li>
				<!--{/loop}-->
			</ul>
			<!--帖子點擊數排行(一月)-->
			<!--{block name="bbsthread" parameter="dateline/2592000/order/views DESC/limit/0,10/cachetime/22400/subjectlen/40/subjectdot/1/cachename/hotblog2/tpl/data"}-->
			<ul id="week" class="tabcontent" style="display: none;">
				<!--{loop $_SBLOCK['hotblog2'] $value}-->
				<li><cite><a href="{B_URL}/viewpro.php?uid=$value[authorid]">$value[author]</a> </cite><a href="$value[url]">$value[subject]</a> ($value[views])</li>
				<!--{/loop}-->
			</ul>
			<!--帖子點擊數排行(全部)-->
			<!--{block name="bbsthread" parameter="order/views DESC/limit/0,10/cachetime/22400/subjectlen/40/subjectdot/1/cachename/hotblog3/tpl/data"}-->
			<ul id="all" class="tabcontent" style="display: none;">
				<!--{loop $_SBLOCK['hotblog3'] $value}-->
				<li><cite><a href="{B_URL}/viewpro.php?uid=$value[authorid]">$value[author]</a> </cite><a href="$value[url]">$value[subject]</a> ($value[views])</li>
				<!--{/loop}-->
			</ul>
		</div>
	</div>
</div>

<!--論壇最新上傳圖片-->
<!--{block name="bbsattachment" parameter="filetype/image/t_lastpost/2592000/order/a.dateline DESC/limit/0,7/cachetime/7200/subjectlen/12/cachename/newpic/tpl/data"}--><!--最新圖片-->
<div class="throughgallery">
	<ul class="imgthumblist">
		<!--{loop $_SBLOCK['newpic'] $value}-->
		<li><div><a href="$value[url]"><img src="$value[a_thumbpath]" alt="$value[subjectall]" /></a></div><p><a href="$value[url]">$value[subject]</a></p></li>
		<!--{/loop}-->
	</ul>
</div>

<div class="content">
	<!-- 右側版塊 -->
	<div class="sideR">

		<!--最新更新帖子-->
		<!--{block name="bbsthread" parameter="order/lastpost DESC/limit/0,30/cachetime/1400/cachename/newpost/tpl/data"}-->
		<div id="newpost" class="sideblock">
			<h3>最新評論帖子</h3>
			<dl style="height: 35.8em; overflow: hidden;">
				<!--{loop $_SBLOCK['newpost'] $value}-->
				<dt><a href="$value[url]">$value[subject]</a> <span class="smalltxt">($value[replies])</span></dt>
				<!--{/loop}-->
			</dl>
		</div>
	</div>
	<div class="sideL">

		<!--會員在線時間排行-->
		<!--{block name="bbsmember" parameter="order/m.oltime DESC/limit/0,10/cachetime/7200/cachename/toponline/tpl/data"}--><!--在線排行-->
		<div class="sideblock">
			<h3>會員在線時間排行</h3>
			<ul class="msgtitlelist" style="height: 14em; overflow: hidden;">
				<!--{loop $_SBLOCK['toponline'] $value}-->
				<li><cite style="width: 80px; text-align: right;">$value[oltime]小時</cite><a href="$value[url]">$value[username]</a></li>
				<!--{/loop}-->
			</ul>
		</div>

		<!--最新加入空間列表-->
		<!--{block name="userspace" parameter="order/u.dateline DESC/limit/0,15/cachetime/1900/cachename/newspace/tpl/data"}-->
		<div class="sideblock">
			<h3>會員最新個人空間</h3>
			<dl style="height: 18em; overflow: hidden;">
				<!--{loop $_SBLOCK['newspace'] $value}-->
				<dt><a href="$value[url]">$value[spacename]</a></dt>
				<dd><a href="$value[url]">$value[username]</a> / #date("Y-m-d H:i", $value["dateline"])#</dd>
				<!--{/loop}-->
			</dl>
		</div>

	</div>
	<div class="mainarea">
		<!--一月好評熱點-->
		<!--{block name="bbsthread" parameter="order/dateline DESC/limit/0,10/cachetime/21400/cachename/ratehot/tpl/data"}-->
		<div class="category" style="margin-bottom: 0;">
			<h3><strong>最新發佈主題</strong></h3>
			<ul class="msgtitlelist" style="margin: 0;">
				<!--{loop $_SBLOCK['ratehot'] $value}-->
				<li style="height: 2.8em; overflow: hidden;"><p style="margin: 0; height: 1.6em; overflow: hidden;"><a href="$value[url]">$value[subject]</a></p><cite style="width: 100%;"><a href="{B_URL}/viewpro.php?uid=$value[authorid]">$value[author]</a>, 發佈於#date("m-d H:i:s", $value["dateline"])#</cite></li>
				<!--{/loop}-->
			</ul>
		</div>
	</div>
</div>

<style>
.forumlist { }
/*\*/ * html .forumlist { height: 1%; } /**/ *>.forumlist { overflow: hidden; }
.formcategory { float: left; width: 33.3%; background: #E2F0F9;  margin: 0 0 3px; }
	.formcategory h3 { border: 1px solid #00C8DC; border-bottom-color: #D5E9F8; background: #FFF; line-height: 2em; font-size: 1em; margin: 2px 2px 0; padding: 0 5px; height: 2em; overflow: hidden; }
	.formcategory ul { border: 1px solid #00C8DC; border-top: none; margin: 0 2px 2px; background: #FFF; height: 20em; }
		.formcategory ul.msgtitlelist li { line-height: 2em; height: 2em; }
</style>

<div class="blocktitle">
	<a href="{B_URL}" class="more">進入論壇</a>
	<h2>論壇版塊</h2>
</div>
<div class="forumlist">
	<!--各板塊最新列表-->
	<!--{loop $_SBLOCK['forumarr'] $ckey $cat}-->
	<!--{eval $ctime=1800+30*$ckey;}-->
	<!--{block name="bbsthread" parameter="fid/$cat[fid]/order/dateline DESC/limit/0,10/cachetime/$ctime/subjectlen/40/subjectdot/1/cachename/threadlist/tpl/data"}-->
	<div class="formcategory">
		<h3>
			<a href="#action/forumdisplay/fid/$cat[fid]#" class="more" target="_self">更多</a>
			$cat[name]
		</h3>
		<ul class="msgtitlelist">
			<!--{loop $_SBLOCK['threadlist'] $value}-->
			<li><cite>#date("m-d", $value["dateline"])# </cite><a href="$value[url]">$value[subject]</a></li>
			<!--{/loop}-->
		</ul>
		<!--p class="catecommend"><a href="javascript:;">熱點</a></p-->
	</div>
	<!--{/loop}-->
</div>
<br />
<!-- /Content -->

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

{template bbs_footer}