<!--{include file="<!--{$oetplpath}-->block_header.tpl"}-->
<!--{include file="<!--{$oetplpath}-->block_top.tpl"}-->
<!--{include file="<!--{$oetplpath}-->block_menu.tpl"}-->


<div class="oem_nav">
  当前位置：<a href="<!--{$urlpath}-->">首页</a> &gt;&gt; <a href="<!--{routeurl module='activity'}-->">优惠活动</a>
  <!--{if !empty($catinfo)}-->
  <!--{if $catinfo.parentid > 0}-->
  &gt;&gt; <a href="<!--{routeurl module='activity' action='list' items="s_area2=<!--{$s_area2}-->|s_area3=<!--{$s_area3}-->|s_area4=<!--{$s_area4}-->|s_catid=<!--{$catinfo.parentid}-->|s_serkey=<!--{$s_serkey|urlencode}-->|s_order=<!--{$s_order}-->"}-->"><!--{hook mod="activitycat" type="text" value=$catinfo.parentid}--></a>
  <!--{/if}-->
  &gt;&gt; <a href="<!--{routeurl module='activity' action='list' items="s_area2=<!--{$s_area2}-->|s_area3=<!--{$s_area3}-->|s_area4=<!--{$s_area4}-->|s_catid=<!--{$catinfo.catid}-->|s_serkey=<!--{$s_serkey|urlencode}-->|s_order=<!--{$s_order}-->"}-->"><!--{$catinfo.catname}--></a>
  <!--{/if}-->
</div>


<!--{assign var="activityads" value=vo_list("mod={ads} where={v.admark='activity_banner'} num={1}")}-->
<!--{if !empty($activityads)}-->
<!--{foreach $activityads as $volist}-->
<div class="oe_banner_ads">
  <!--{if $volist.url != ""}-->
  <a href="<!--{$volist.url}-->" target="_blank">
    <img  f="imgloading" data-original="<!--{$volist.drawimg}-->"/>
  </a>
  <!--{else}-->
  <img  f="imgloading" data-original="<!--{$volist.drawimg}-->"/>
  <!--{/if}-->
</div>
<!--{/foreach}-->
<!--{/if}-->


<!--{if $s_area2 == 0}-->
<!--{assign var="s_area2" value="<!--{$city.cityid}-->"}-->
<!--{/if}-->
<div class="oem_sort">
  <dl>
  	<dt>分类：</dt>
  	<dd>
	  <!--{if $s_catid > 0}-->
	  <!--{assign var="activitycatlist" value=vo_list("mod={activitycat} where={v.parentid='<!--{$s_catid}-->'}")}-->
	  <!--{if empty($activitycatlist)}-->
	  <!--{assign var="activitycatlist" value=vo_list("mod={activitycat} where={v.parentid='<!--{$catinfo.parentid}-->'}")}-->
	  <!--{/if}-->
	  <!--{else}-->
	  <!--{assign var="activitycatlist" value=vo_list("mod={activitycat} where={v.parentid='0'}")}-->
	  <!--{/if}-->
	  <!--{foreach $activitycatlist as $volist}-->
	    <a<!--{if $s_catid == $volist.catid}--> class="current"<!--{/if}--> href="<!--{routeurl module='activity' action='list' items="s_area2=<!--{$s_area2}-->|s_area3=<!--{$s_area3}-->|s_area4=<!--{$s_area4}-->|s_catid=<!--{$volist.catid}-->|s_serkey=<!--{$s_serkey|urlencode}-->|s_order=<!--{$s_order}-->"}-->"><!--{$volist.catname}--></a>
	  <!--{/foreach}-->
	</dd>
  </dl>
   
  <!--{if $city.cityid == 0}-->
  <dl>
    <dt>地区：</dt>
	<dd>
	  <a href="<!--{routeurl module='city'}-->">请先选择城市&gt;&gt;</a>
	</dd>
  </dl>
  <!--{else}-->
  <dl>
  	<dt>地区：</dt>
    <dd>
	  <!--{assign var="distlist" value=vo_list("mod={area} where={v.parentid='<!--{$s_area2}-->'}")}-->
	  <a<!--{if $s_area3 == "0"}--> class="current"<!--{/if}--> href="<!--{routeurl module='activity' action='list' items="s_area2=<!--{$s_area2}-->|s_catid=<!--{$s_catid}-->|s_serkey=<!--{$s_serkey|urlencode}-->|s_order=<!--{$s_order|urlencode}-->"}-->">全部</a>
	  <!--{foreach $distlist as $volist}-->
	  <a<!--{if $s_area3 == $volist.areaid}--> class="current"<!--{/if}--> href="<!--{routeurl module='activity' action='list' items="s_area2=<!--{$s_area2}-->|s_area3=<!--{$volist.areaid}-->|s_catid=<!--{$s_catid}-->|s_serkey=<!--{$s_serkey|urlencode}-->|s_order=<!--{$s_order|urlencode}-->"}-->"><!--{$volist.areaname}--></a>
	  <!--{/foreach}-->
	</dd>
	
	<!--{if $s_area3 > 0}-->
	<!--{assign var="communitylist" value=vo_list("mod={area} where={v.parentid='<!--{$s_area3}-->'}")}-->
	<!--{if !empty($communitylist)}-->
	<dd class="oem_sort_1">
	  <!--{foreach $communitylist as $volist}-->
	  <a<!--{if $s_area4 == $volist.areaid}--> class="current"<!--{/if}--> href="<!--{routeurl module='activity' action='list' items="s_area2=<!--{$s_area2}-->|s_area3=<!--{$s_area3}-->|s_area4=<!--{$volist.areaid}-->|s_catid=<!--{$s_catid}-->|s_serkey=<!--{$s_serkey|urlencode}-->|s_order=<!--{$s_order|urlencode}-->"}-->"><!--{$volist.areaname}--></a>
	  <!--{/foreach}-->
	</dd>
	<!--{/if}-->
	<!--{/if}-->
  </dl>
  <!--{/if}-->
</div>
<!--//oem_sort End-->


<div class="oem_listbar">

  <div class="oe_bar_left">

    <label f="orderby"<!--{if $s_order == ""}--> class="current"<!--{/if}-->>
	  <i><a href="<!--{routeurl module='activity' action='list' items="s_area2=<!--{$s_area2}-->|s_area3=<!--{$s_area3}-->|s_area4=<!--{$s_area4}-->|s_catid=<!--{$s_catid}-->|s_serkey=<!--{$s_serkey|urlencode}-->|s_order="}-->">默认排序</a></i>
	</label>

    <label f="orderby"<!--{if $s_order == "bespoke_desc" || $s_order == "bespoke_asc"}--> class="current"<!--{/if}-->><i>预约</i>
      <em class="oe_dcurrent" style="display:none;">
        <a href="<!--{routeurl module='activity' action='list' items="s_area2=<!--{$s_area2}-->|s_area3=<!--{$s_area3}-->|s_area4=<!--{$s_area4}-->|s_catid=<!--{$s_catid}-->|s_serkey=<!--{$s_serkey|urlencode}-->|s_order=bespoke_desc"}-->">预约从高到低</a>
        <a href="<!--{routeurl module='activity' action='list' items="s_area2=<!--{$s_area2}-->|s_area3=<!--{$s_area3}-->|s_area4=<!--{$s_area4}-->|s_catid=<!--{$s_catid}-->|s_serkey=<!--{$s_serkey|urlencode}-->|s_order=bespoke_asc"}-->">预约从低到高</a>
      </em>
    </label>
  
	<label f="orderby"<!--{if $s_order == "hits_desc" || $s_order == "hits_asc"}--> class="current"<!--{/if}-->><i>人气</i>
	  <em class="oe_dcurrent" style="display:none;">
	    <a href="<!--{routeurl module='activity' action='list' items="s_area2=<!--{$s_area2}-->|s_area3=<!--{$s_area3}-->|s_area4=<!--{$s_area4}-->|s_catid=<!--{$s_catid}-->|s_serkey=<!--{$s_serkey|urlencode}-->|s_order=hits_desc"}-->">人气从高到低</a>
	    <a href="<!--{routeurl module='activity' action='list' items="s_area2=<!--{$s_area2}-->|s_area3=<!--{$s_area3}-->|s_area4=<!--{$s_area4}-->|s_catid=<!--{$s_catid}-->|s_serkey=<!--{$s_serkey|urlencode}-->|s_order=hits_asc"}-->">人气从低到高</a>
	  </em>
	</label>

	<label f="orderby"<!--{if $s_order == "price_desc" || $s_order == "price_asc"}--> class="current"<!--{/if}-->><i>价格</i>
	  <em class="oe_dcurrent" style="display:none;">
	    <a href="<!--{routeurl module='activity' action='list' items="s_area2=<!--{$s_area2}-->|s_area3=<!--{$s_area3}-->|s_area4=<!--{$s_area4}-->|s_catid=<!--{$s_catid}-->|s_serkey=<!--{$s_serkey|urlencode}-->|s_order=price_desc"}-->">价格从高到低</a>
		<a href="<!--{routeurl module='activity' action='list' items="s_area2=<!--{$s_area2}-->|s_area3=<!--{$s_area3}-->|s_area4=<!--{$s_area4}-->|s_catid=<!--{$s_catid}-->|s_serkey=<!--{$s_serkey|urlencode}-->|s_order=price_asc"}-->">价格从低到高</a>
	  </em>
	</label>

  </div>
  <!--//oe_bar_left End-->
  
  <div class="oe_bar_type">
    共为您找到 <i><!--{$total}--></i> 个活动
  </div>
  <div class="clear"></div>
</div>
<!--//oem_listbar End-->

<script type="text/javascript">
$(function(){
	//显示隐藏排序
	$("label[f='orderby']").bind("mouseover", function(){
		$(this).find("em").show();
	});
	$("label[f='orderby']").bind("mouseout", function(){ 
		$(this).find("em").hide();
	});

});
</script>


<div class="oem_main">
  <div class="oem_list_left">
	
	<div class="oe_act_list">
	  <!--{if empty($activity)}-->
	  <h6 class="oe_nodata">暂无数据</h6>
	  <!--{else}-->
	    <!--{foreach $activity as $volist}-->
		<dl>
		  <dt><a target="_blank" href="<!--{$volist.url}-->"><img  f="imgloading" data-original="<!--{$volist.thumbimg}-->" /></a></dt>
		  <dd class="oe_act_list_dd1">
			<h4><a target="_blank" href="<!--{$volist.url}-->"><!--{$volist.title}--></a></h4>
			<p><span>店铺名称：</span><a target="_blank" href="<!--{$volist.shopurl}-->"><!--{$volist.shopname}--></a></p>
			<p>店铺评分：<i><!--{$volist.score}--> </i>分</p>
			<p>¥<label><!--{doubleval($volist.price)}--></label></p>
      <p><span>活动地点：</span><!--{$volist.actaddress}--></p>
			<p><span>联系电话：</span><!--{$volist.acttel}--></p>
			<p><span>活动时间：</span><!--{$volist.acttime}--></p>
		  </dd>
		  <div class="clear"></div>
		</dl>
		<!--{/foreach}-->
		<div class="clear"></div>
	    <div class="oem_page"><!--{$showpage}--></div>
	  <!--{/if}-->
	</div>
	<!--//oe_act_list End-->

  </div>
  <!--//oem_list_left End-->


  <div class="oem_list_right">
	<div class="oem_r_tuishop" style="margin-top:0px;">
	  <h3>推荐活动 </h3> 
	  <!--{assign var="activity1" value=vo_list("mod={activity} city={1} num={5} where={v.elite='1'}")}-->
	  <!--{foreach $activity1 as $volist}-->
      <dl class="oem_incon_<!--{$volist.i}--><!--{if $volist.i>1}--> oem_incomm<!--{/if}-->">
        <dt><a target="_blank" href="<!--{$volist.url}-->"><img  f="imgloading" data-original="<!--{$volist.thumbimg}-->" /></a></dt>
        <dd>
          <h4><a  target="_blank" href="<!--{$volist.url}-->"><!--{$volist.title}--></a></h4>
          <p><span>¥<!--{doubleval($volist.price)}--></span></p>
        </dd>
      </dl>
	  <!--{/foreach}--> 
    </div>
	<!--//oem_r_tuishop End-->
    
    <div class="oem_r_tui" style="margin-top:10px;">
      <h3>推荐店铺</h3>
	  <!--{assign var="eliteshop" value=vo_list("mod={shop} city={1} num={10}")}-->
	  <!--{foreach $eliteshop as $volist}-->
      <dl>
		<dt><a target="_blank" href="<!--{$volist.url}-->"><img  f="imgloading" data-original="<!--{$volist.logourl}-->" /></a></dt>
	    <dd>
          <h4><a  target="_blank" href="<!--{$volist.url}-->"><!--{$volist.shopname}--></a></h4>
          <p>评分：<!--{$volist.score}--></p>
          <p>人气：<!--{$volist.hits}--></p>
        </dd>
	  </dl>
	  <!--{/foreach}-->
	  <div class="clear"></div>
    </div>
    
  </div>
  <div class="clear"></div>
</div>
<!--{include file="<!--{$oetplpath}-->block_footer.tpl"}-->
</body>
</html>