<?exit?>
{template topic_header}
<!--{eval $ads = getad('system', 'topic', '1');}-->
<!--{if !empty($ads['pageheadad'])}-->
<div class="adbanner">$ads[pageheadad]</div>
<!--{/if}-->

	<!-- Content内容 -->
	<div class="content topcontent">
		<div class="mainarea">
			<p id="nav">您的位置：<a href="{S_URL}/">$_SCONFIG[sitename]</a>
				<!--{loop $guidearr $value}-->
				&gt;&gt; <a href="$value[url]">$value[name]</a>
				<!--{/loop}-->
			</p>
			<!--图文幻灯片-->
			<!--{block name="topic" parameter="haveimage/1/order/dateline DESC/limit/0,4/cachetime/0/cachename/pictopic/tpl/data"}-->
			<div id="slideimg">
			<!--{if !empty( $_SBLOCK['pictopic'])}-->
			<script type="text/javascript" language="javascript">
			<!--			
			var xsTextBar = 1; //是否显示文字链接，1为显示，0为不显示
			var xsPlayBtn = 0; //是否显示播放按钮，1显示，0为不显示
			var xsImgSize = new Array(260,217); //幻灯图片的尺寸，格式为“宽度,高度”
		
			var xsImgs = new Array();
			var xsImgLinks = new Array();
			var xsImgTexts = new Array();
			
			<!--{eval $i=0;}-->
			<!--{loop $_SBLOCK['pictopic'] $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 id="hottopic" class="tabblock" style="margin-left: 274px;">
				<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,10/cachetime/0/subjectlen/40/subjectdot/1/cachename/toptopic/tpl/data"}-->
				<div id="top" class="tabcontent">
					<ul class="msgtitlelist" style="height: 218px;">
						<!--{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,10/cachetime/0/subjectlen/40/subjectdot/1/cachename/hottopicmonth/tpl/data"}-->
				<div  id="month" class="tabcontent" style="display: none;">
					<ul class="msgtitlelist" style="height: 218px;">
						<!--{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,10/cachetime/0/subjectlen/40/subjectdot/1/cachename/hottopic/tpl/data"}-->
				<div id="all" class="tabcontent" style="display: none;">
					<ul class="msgtitlelist" style="height: 218px;">
						<!--{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="blockcategorylist" style="background:none;">
				<!--列表-->
				<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 articlelist">
						<!--{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>
		<!-- 右侧版块 -->
		<div class="side">
			<div id="searchdiv">
				<form id="searchform" action="{S_URL}/batch.search.php" method="post">
					<input type="text" id="searchkey" name="searchkey" />
					<select name="type" id="type">
						<option value="">全部</option>
						<!--{loop $channels['types'] $value}-->
							<option value="$value[nameid]">$value[name]</option>
						<!--{/loop}-->
					</select>
					<button type="submit" name="subjectsearch" value="true">搜索</button>
					<a href="{S_URL}/batch.search.php">高级搜索</a>
				</form>
			</div>
			<!-- 用户面板 -->
			<div id="userpanel">
				<script src="{S_URL}/batch.panel.php?rand={eval echo rand(1, 999999)}" type="text/javascript" language="javascript"></script>
			</div>

			<!--最热专题-->
			<div id="newpost" class="block">
				<!--{block name="topic" parameter="dateline/0/order/viewnum DESC/limit/0,20/cachetime/0/subjectlen/14/subjectdot/1/cachename/hottopic/tpl/data"}-->
				<h3>最热专题</h3>
				<ul>
					<!--{loop $_SBLOCK['hottopic'] $value}-->
					<li><a href="$value[url]">$value[subject]</a><span class="smalltxt">($value[viewnum])</span> <span class="smalltxt">#date("m-d", $value["dateline"])# </span></li>
					<!--{/loop}-->
				</ul>
			</div>
		</div>
	</div>
	<!-- /Content -->

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

<!--{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 site_footer}