<?exit?>
{template topic_header}

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

	<!-- Content内容 -->
	<div class="content" style="background: none;">
		<!-- 右侧 -->
		<div class="sideR">
			<!-- 用户面板 -->
			<div id="userpanel" class="block topblock">
				<script src="{S_URL}/batch.panel.php?rand={eval echo rand(1, 999999)}" type="text/javascript" language="javascript"></script>
			</div>
			<div class="block" style="overflow: hidden;">
				<!--{block name="topic" parameter="dateline/2592000/order/viewnum DESC/limit/0,3/cachetime/0/subjectlen/14/subjectdot/1/cachename/hottopic/tpl/data"}-->
				<h3>最热专题</h3>
				<ul class="msgtitlelist">
				<!--{loop $_SBLOCK['hottopic'] $value}-->
				<li><cite>#date("m-d", $value["dateline"])# </cite><a href="$value[url]">$value[subject]</a><span class="smalltxt">($value[viewnum])</span></li>
				<!--{/loop}-->
				</ul>
			</div>
		</div>
		<!-- /右侧 -->
		<div class="sideL" style="float:left;">
			<!--{block name="topic" parameter="haveimage/1/order/dateline DESC/limit/0,4/cachetime/0/cachename/pictopic/tpl/data"}-->
			<div id="slideimg" class="block cleanblock topblock" style="height: 205px; overflow: hidden;">
			<!--{if !empty($_SBLOCK['topic'])}-->
				<script type="text/javascript" language="javascript">
				<!--			
				var xsTextBar = 1; //是否显示文字链接，1为显示，0为不显示
				var xsPlayBtn = 0; //是否显示播放按钮，1显示，0为不显示
				var xsImgSize = new Array(200,167); //幻灯图片的尺寸，格式为“宽度,高度”
			
				var xsImgs = new Array();
				var xsImgLinks = new Array();
				var xsImgTexts = new Array();
				
				<!--{eval $i=0;}-->
				<!--{loop $_SBLOCK['topic'] $key $value}-->
				xsImgs[$i] = "{$siteurl}$value[image]";
				xsImgLinks[$i] = "<!--{eval echo url_remake($value['url']);}-->";
				xsImgTexts[$i] = "<!--{eval echo addslashes($value[subject])}-->";
				<!--{eval $i++;}-->
				<!--{/loop}-->
				//-->
				</script>
				<script language="javascript" type="text/javascript" src="{S_URL}/include/js/slide.js"></script>
			<!--{/if}-->
			</div>
		</div>
		<div class="mainarea">
			<div id="hottopic" class="block">
				<h3 id="hottopictabs" class="tabs">
					<a id="toptab" href="javascript:setTab('hottopic','top')" class="tab curtab">最新推荐</a>
					<a id="monthtab" href="javascript:setTab('hottopic','month')" class="tab">月点击榜</a>
					<a id="alltab" href="javascript:setTab('hottopic','all')" class="tab">总点击榜</a>
				</h3>
				<!--最新推荐专题列表(一周)-->
				<!--{block name="topic" parameter="top/3,2,1/order/top DESC, id DESC/limit/0,8/cachetime/0/subjectlen/40/subjectdot/1/cachename/toptopic/tpl/data"}-->
				<div id="top" class="tabcontent" style="height:188px;">
					<ul class="msgtitlelist">
						<!--{loop $_SBLOCK['toptopic'] $value}-->
						<li><cite>#date("m-d", $value["dateline"])# </cite><a href="$value[url]">$value[subject]</a><span class="smalltxt">($value[viewnum])</span></li>
						<!--{/loop}-->
					</ul>
				</div>
				<!--月点击榜专题列表(一月)-->
				<!--{block name="topic" parameter="dateline/2592000/order/viewnum DESC/limit/0,8/cachetime/0/subjectlen/40/subjectdot/1/cachename/hottopicmonth/tpl/data"}-->
				<div id="month" class="tabcontent" style="display: none;height:188px;">
					<ul class="msgtitlelist">
						<!--{loop $_SBLOCK['hottopicmonth'] $value}-->
						<li><cite>#date("m-d", $value["dateline"])# </cite><a href="$value[url]">$value[subject]</a><span class="smalltxt">($value[viewnum])</span></li>
						<!--{/loop}-->
					</ul>
				</div>
				<!--总点击榜专题列表(全部)-->
				<!--{block name="topic" parameter="order/viewnum DESC/limit/0,8/cachetime/0/subjectlen/40/subjectdot/1/cachename/hottopic/tpl/data"}-->
				<div id="all" class="tabcontent" style="display: none;height:188px;">
					<ul class="msgtitlelist">
						<!--{loop $_SBLOCK['hottopic'] $value}-->
						<li><cite>#date("m-d", $value["dateline"])# </cite><a href="$value[url]">$value[subject]</a><span class="smalltxt">($value[viewnum])</span></li>
						<!--{/loop}-->
					</ul>
				</div>
			</div>
		</div>
	</div>
	<div class="contentR">
		<div class="mainarea" style="margin:0px; width:576px;">
			<div class="block">
				<!--{block name="topic" parameter="order/id DESC/limit/0,20/cachetime/0/subjectlen/40/subjectdot/1/cachename/topiclist/tpl/data"}-->
				<h3>专题列表</h3>
				<ul class="msgtitlelist linelist">
					<!--{loop $_SBLOCK['topiclist'] $value}-->
					<li><cite>#date("m-d", $value["dateline"])# </cite><a href="$value[url]">$value[subject]</a><span class="smalltxt">($value[viewnum])</span></li>
					<!--{/loop}-->
				</ul>
			</div>
		</div>
	</div>


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

<!--{if !empty($ads['pageoutindex'])}-->
$ads[pageoutindex]
<!--{/if}-->

{template topic_footer}