<?exit?>
{template goods_header}

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

<!-- Content內容 -->
<div class="contentR">
	<div class="sideR">
		<!-- 用戶面板 -->
		<div id="userpanel" class="sideblock">
			<script src="{S_URL}/batch.panel.php" type="text/javascript" language="javascript"></script>
		</div>

		<!-- 同城商品 -->
		<div id="cityspace" class="sideblock">
			<script language="javascript" type="text/javascript" src="{S_URL}/include/js/city.js"></script>
			<form action="{S_URL}/batch.search.php" method="post">
				<button value="true" type="submit" name="goodscitysearch">同城<br />商品</button>
				<script language="javascript" type="text/javascript">showprovince('province', 'city', '');</script>
				<script language="javascript" type="text/javascript">showcity('city', '');</script>
			</form>
		</div>

		<!--站內推薦商品-->
		<!--{block name="spacegoods" parameter="grade/1,2,3,4,5/order/i.dateline DESC/limit/0,20/cachetime/13400/subjectlen/30/showdetail/1/cachename/hotgoods/tpl/data"}-->
		<div class="sideblock">
			<h3>站內推薦商品</h3>
			<ul class="imgtitlelist">
				<!--{loop $_SBLOCK['hotgoods'] $value}-->
				<li>
					<a href="$value[url]" target="_blank"><img src="$value[thumb]" width="78" height="78" /></a>
					<p><a href="$value[url]" target="_blank">$value[subject]</a></p>
					<p class="smalltxt">賣家: <a href="#uid/$value[uid]/action/space#" target="_blank">$value[username]</a></p>
				</li>
				<!--{/loop}-->
			</ul>
		</div>
		
	</div>
	<div class="mainarea">

		<!--熱點商品列表-->
		<!--{block name="spacegoods" parameter="dateline/2592000/order/i.replynum DESC/limit/0,5/cachetime/24400/showdetail/1/cachename/hotlist/tpl/data"}-->
		<div class="category">
			<h3>
				<strong>月度評論排行榜</strong>
			</h3>
			<ul class="imgtitlelist">
				<!--{loop $_SBLOCK['hotlist'] $value}-->
				<li>
					<a href="$value[url]" target="_blank"><img src="$value[thumb]" alt="$value[subject]" /></a>
					<h4><a href="$value[url]" target="_blank">$value[subject]</a> <span class="smalltxt">($value[viewnum]人點擊,$value[replynum]人評論)</span></h4>
					<p>價格: <strong>$value[price]</strong> 元</p>
					<p>賣家: <a href="#uid/$value[uid]/action/space#" target="_blank">$value[username]</a> (<a href="{B_URL}/pm.php?action=send&uid=$value[uid]" target="_blank">聯繫</a>)</p>
					<p>地區: $value[province] $value[city] </p>
				</li>
				<!--{/loop}-->
			</ul>
		</div>

		<!--{loop $_SBLOCK['category'] $ckey $cat}-->
		<!--{eval $ctime=2800+30*$ckey;}-->
		<!--{block name="spacegoods" parameter="catid/$cat[subcatid]/order/i.dateline DESC/limit/0,5/cachetime/$ctime/showdetail/1/cachename/sublist/tpl/data"}-->
		<!--{if $_SBLOCK['sublist']}-->
		<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="imgtitlelist">
				<!--{loop $_SBLOCK['sublist'] $value}-->
				<li>
					<a href="$value[url]" target="_blank"><img src="$value[thumb]" alt="$value[subject]" /></a>
					<h4><a href="$value[url]" target="_blank">$value[subject]</a> <span class="smalltxt">($value[viewnum]人點擊,$value[replynum]人評論)</span></h4>
					<p>價格: <strong>$value[price]</strong> 元</p>
					<p>賣家: <a href="#uid/$value[uid]/action/space#" target="_blank">$value[username]</a> (<a href="{B_URL}/pm.php?action=send&uid=$value[uid]" target="_blank">聯繫</a>)</p>
					<p>地區: $value[province] $value[city]</p>
				</li>
				<!--{/loop}-->
			</ul>
		</div>
		<!--{/if}-->
		<!--{/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 goods_footer}