<?exit?>
{template news_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>
	
		<!--審核等級2的資訊-->
		<!--{block name="spacenews" parameter="grade/2/order/i.dateline DESC/limit/0,10/subjectlen/30/subjectdot/1/cachetime/18000/cachename/recommend2news/tpl/data"}-->
		<div class="sideblock">
			<h3>動態報道</h3>
			<ul class="msgtitlelist" style="height: 23.3em;">
			<!--{if !empty($_SBLOCK['recommend2news'])}-->
				<!--{loop $_SBLOCK['recommend2news'] $value}-->
				<li><a href="$value[url]" title="$value[subjectall]">$value[subject]</a></li>
				<!--{/loop}-->
			<!--{else}-->
				<li style="height: auto;">該區域顯示的資訊需要滿足的條件為：<br /><u>資訊的審核等級為2</u></li>
			<!--{/if}-->
			</ul>
		</div>


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

		<!--審核等級4的圖文資訊幻燈片-->
		<!--{block name="spacenews" parameter="grade/4/haveattach/1/showattach/1/order/i.dateline DESC/limit/0,4/cachetime/11930/cachename/picnews/tpl/data"}-->
		<div id="slideimg" class="sideblock cleanblock">
		<!--{if !empty($_SBLOCK['picnews'])}-->
			<!--{eval $picarr=$linkarr=$textarr=array();}-->
			<!--{loop $_SBLOCK['picnews'] $ikey $value}-->
			<!--{eval $picarr[] = '"'.$value[a_filepath].'"';}-->
			<!--{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%;">圖文資訊顯示區域<br />該區域顯示的資訊需要滿足的條件為：<br />1.<u>資訊的審核等級為4</u><br>2.<u>資訊含有圖片附件</u></div>
		<!--{/if}-->
		</div>
		<!--資訊圖片幻燈片 結束-->
		
		<!--審核等級3的資訊-->
		<!--{block name="spacenews" parameter="grade/3/order/i.dateline DESC/limit/0,8/subjectlen/30/subjectdot/1/cachetime/18000/cachename/recommend3news/tpl/data"}-->
		<div id="commendread" class="sideblock ">
			<h3>資訊導讀</h3>
			<ul class="msgtitlelist" style="height: 13em;">
			<!--{if !empty($_SBLOCK['recommend3news'])}-->
				<!--{loop $_SBLOCK['recommend3news'] $value}-->
				<li><a href="$value[url]" title="$value[subjectall]">$value[subject]</a></li>
				<!--{/loop}-->
			<!--{else}-->
				<li style="height: auto;">該區域顯示的資訊需要滿足的條件為：<br /><u>資訊的審核等級為3</u></li>
			<!--{/if}-->
			</ul>
		</div>
	</div>
	<!-- /左側 -->
	<div class="mainarea">
		<!--審核等級5的資訊-->
		<!--{block name="spacenews" parameter="grade/5/showattach/1/showdetail/1/order/i.dateline DESC/limit/0,1/subjectlen/34/subjectdot/1/messagelen/80/messagedot/1/cachetime/18600/cachename/headnews/tpl/data"}-->
		<!--{if !empty($_SBLOCK['headnews'])}-->
		<!--{loop $_SBLOCK['headnews'] $value}-->
		<div id="headline" class="cleanblock">
			<!--{if !empty($value['a_thumbpath'])}--><a href="$value[url]"><img src="$value[a_thumbpath]" alt="" /></a><!--{/if}-->
			<strong><a href="$value[url]">$value[subject]</a></strong>
			<p>$value[message]</p>
		</div>
		<!--{/loop}-->
		<!--{else}-->
		<div id="headline" class="cleanblock">
			<strong>最新頭條閱\讀</strong>
			<p>該區域顯示的資訊需要滿足的條件為：<br><u>資訊的審核等級為5</u></p>
		</div>
		<!--{/if}-->
		
		<!--站內最新資訊列表-->
		<!--{block name="spacenews" parameter="order/i.dateline DESC/limit/0,15/showspacename/1/subjectlen/40/subjectdot/1/cachetime/1800/cachename/newgradenews/tpl/data"}-->
		<div id="focus">
			<ul class="msgtitlelist">
				<!--{loop $_SBLOCK['newgradenews'] $value}-->
				<li><cite>#date("m-d", $value["dateline"])# </cite><a href="$value[url]">$value[subject]</a></li>
				<!--{/loop}-->
			</ul>
		</div>
	</div>
</div>
<div class="content">
	<!-- 右側版塊 -->
	<div class="sideR">
	
		<!--審核等級1的資訊-->
		<!--{block name="spacenews" parameter="grade/1/order/i.dateline DESC/limit/0,10/subjectlen/30/subjectdot/1/cachetime/18000/cachename/recommend1news/tpl/data"}-->
		<div class="sideblock">
			<h3>資訊閱\讀</h3>
			<ul class="msgtitlelist" style="height: 198px;">
			<!--{if !empty($_SBLOCK['recommend1news'])}-->
				<!--{loop $_SBLOCK['recommend1news'] $value}-->
				<li><a href="$value[url]" title="$value[subjectall]">$value[subject]</a></li>
				<!--{/loop}-->
			<!--{else}-->
				<li style="height: auto">該區域顯示的資訊需要滿足的條件為：<br /><u>資訊的審核等級為1</u></li>
			<!--{/if}-->
			</ul>
		</div>


	</div>
	<div class="sideL">
		<!--最熱資訊TAG列表-->
		<!--{block name="tag" parameter="order/spacenewsnum DESC/limit/0,20/cachetime/18000/cachename/hottag/tpl/data"}-->
		<div id="hottag" class="sideblock cleanblock">
			<h3>熱門TAG</h3>
			<div style="height: 203px;">
				<!--{loop $_SBLOCK['hottag'] $value}-->
				<a href="$value[url]">$value[tagname]<em>($value[spacenewsnum])</em></a>
				<!--{/loop}-->
			</div>
		</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="spacenews" parameter="dateline/604800/order/i.viewnum DESC/limit/0,10/cachetime/15400/subjectlen/40/subjectdot/1/cachename/hotnews1/tpl/data"}-->
			<ul id="day" class="tabcontent">
				<!--{loop $_SBLOCK['hotnews1'] $value}-->
				<li><cite>#date("m-d", $value["dateline"])# </cite><a href="$value[url]">$value[subject]</a>($value[viewnum])</li>
				<!--{/loop}-->
			</ul>
			<!--站內熱門資訊列表(一月)-->
			<!--{block name="spacenews" parameter="dateline/2592000/order/i.viewnum DESC/limit/0,10/cachetime/17200/subjectlen/40/subjectdot/1/cachename/hotnews2/tpl/data"}-->
			<ul id="week" class="tabcontent" style="display: none;">
				<!--{loop $_SBLOCK['hotnews2'] $value}-->
				<li><cite>#date("m-d", $value["dateline"])# </cite><a href="$value[url]">$value[subject]</a>($value[viewnum])</li>
				<!--{/loop}-->
			</ul>
			<!--站內熱門資訊列表(全部)-->
			<!--{block name="spacenews" parameter="order/i.viewnum DESC/limit/0,10/cachetime/17400/subjectlen/40/subjectdot/1/cachename/hotnews3/tpl/data"}-->
			<ul id="all" class="tabcontent" style="display: none;">
				<!--{loop $_SBLOCK['hotnews3'] $value}-->
				<li><cite>#date("m-d", $value["dateline"])# </cite><a href="$value[url]">$value[subject]</a>($value[viewnum])</li>
				<!--{/loop}-->
			</ul>
		</div>
	</div>
</div>

<!--圖片資訊顯示-->
<!--{block name="spacenews" parameter="haveattach/1/showattach/1/order/i.dateline DESC/subjectlen/12/subjectdot/1/limit/0,7/cachetime/8000/cachename/picnews/tpl/data"}-->
<div class="throughgallery">
	<ul class="imgthumblist">
		<!--{loop $_SBLOCK['picnews'] $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="spacenews" parameter="lastpost/604800/order/i.replynum DESC/limit/0,10/cachetime/15400/subjectlen/40/subjectdot/1/cachename/replyhot/tpl/data"}-->
		<div class="sideblock">
			<h3>一周討論熱點</h3>
			<dl>
				<!--{loop $_SBLOCK['replyhot'] $value}-->
				<dt><a href="$value[url]">$value[subject]</a></dt>
				<dd>#date("m-d", $value["lastpost"])# / <a href="$value[url]">評論($value[replynum])</a></dd>
				<!--{/loop}-->
			</dl>
		</div>
	
		<!--最新評論資訊顯示-->
		<!--{block name="spacenews" parameter="order/i.lastpost DESC/limit/0,20/cachetime/1500/cachename/newnews/tpl/data"}-->
		<div id="newpost" class="sideblock">
			<h3>評論更新</h3>
			<dl>
				<!--{loop $_SBLOCK['newnews'] $value}-->
				<dt><a href="$value[url]">$value[subject]</a></dt>
				<dd>#date("m-d", $value["lastpost"])# / <a href="$value[url]">評論($value[replynum])</a></dd>
				<!--{/loop}-->
			</dl>
		</div>
	</div>
	<div class="sideL">

		<!--月度關注熱點-->
		<!--{block name="spacenews" parameter="lastpost/2592000/order/i.replynum DESC/limit/0,50/cachetime/35400/subjectlen/40/subjectdot/1/cachename/replyhot/tpl/data"}-->
		<div class="sideblock">
			<h3>月度關注熱點</h3>
			<dl>
				<!--{loop $_SBLOCK['replyhot'] $value}-->
				<dt><a href="$value[url]">$value[subject]</a></dt>
				<dd>#date("m-d", $value["lastpost"])# / <a href="$value[url]">評論($value[replynum])</a></dd>
				<!--{/loop}-->
			</dl>
		</div>

	</div>
	<div class="mainarea">

		<!--各分類最新資訊列表-->
		<!--{loop $_SBLOCK['category'] $ckey $cat}-->
		<!--{eval $ctime=1800+30*$ckey;}-->
		<!--{block name="spacenews" parameter="catid/$cat[subcatid]/order/i.dateline DESC/limit/0,10/cachetime/$ctime/subjectlen/40/subjectdot/1/cachename/newslist/tpl/data"}-->
		<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="msgtitlelist">
				<!--{loop $_SBLOCK['newslist'] $value}-->
				<li><cite>#date("m-d", $value["dateline"])# </cite><a href="$value[url]">$value[subject]</a></li>
				<!--{/loop}-->
			</ul>
		</div>
		<!--{/loop}-->
	</div>
</div>
<!-- /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 news_footer}