<!--{include file="<!--{$shoptplpath}--><!--{$shop.skin}-->/block_header.tpl"}-->
<!--{include file="<!--{$shoptplpath}--><!--{$shop.skin}-->/block_top.tpl"}-->
<!--{if $shop.shoplevel.power.diyslide == '1'}-->
<!--{assign var="shopslide" value=vo_list("mod={shopslide} where={v.shopid='<!--{$shop.shopid}-->' AND v.rateid='<!--{$shop.rateid}-->'}")}-->
<!--{if !empty($shopslide)}-->
<script type="text/javascript" src="<!--{$urlpath}-->tpl/shop/<!--{$shop.skin}-->/js/jquery.jslides.js"></script>
<div class="fullSlide">
  <div id="full-screen-slider">
    <ul id="slides">
	  <!--{foreach $shopslide as $volist}-->
      <li style="background:url('<!--{$volist.imgurl}-->') no-repeat center top">
	    <!--{if !empty($volist.httpurl)}-->
		<a href="<!--{$volist.httpurl}-->" target="_blank" rel="nofollow"></a>
		<!--{else}-->
		<a href="javascript:;"></a>
		<!--{/if}-->
	  </li>
	  <!--{/foreach}-->
    </ul>
  </div>
</div>
<!--//fullSlide End-->
<!--{/if}-->
<!--{/if}-->

<!--{assign var="newcoupon" value=vo_list("mod={coupon} num={1} where={v.shopid='<!--{$shop.shopid}-->'}")}-->
<!--{if !empty($newcoupon)}-->
<div class="oem_zhekou">
  
  <!--{foreach $newcoupon as $volist}-->
  <div class="oem_zhekou_left">
    <dl>
      <dt><a href="<!--{$volist.url}-->"><img  f="imgloading" data-original="<!--{$volist.thumbimg}-->" /></a></dt>
      <dd>
        <h3><a href="<!--{$volist.url}-->"><!--{$volist.title}--></a></h3>
        <p>
		  优惠折扣：满 ¥<!--{doubleval($volist.fullamount)}--> 减 ¥<!--{doubleval($volist.cost)}--> <br />
		  有效时间：[<!--{$volist.starttime|date_format:"%Y-%m-%d"}-->] ~ 
					[<!--{$volist.endtime|date_format:"%Y-%m-%d"}-->] <br />
		  <span><!--{$volist.intro|filterhtml:30}--></span>
		</p>
      </dd>
    </dl>

    <div class="oem_zhekou_button">
	  <!--{if $volist.fee > 0}-->
	  <a href="javascript:;" f="getcoupon" data-shopid="<!--{$shop.shopid}-->" data-id="<!--{$volist.coupid}-->"><img  f="imgloading" data-original="<!--{$urlpath}-->tpl/shop/<!--{$shop.skin}-->/images/coubuy.png"></a>
	  <!--{else}-->
	  <a href="javascript:;" f="getcoupon" data-shopid="<!--{$shop.shopid}-->" data-id="<!--{$volist.coupid}-->"><img  f="imgloading" data-original="<!--{$urlpath}-->tpl/shop/<!--{$shop.skin}-->/images/coulin.png"></a>
	  <!--{/if}-->

	</div>
    <div class="oem_zhekou_num">
	  已有<i><!--{$volist.salenums}--></i> 人领取，还剩 <em><!--{($volist.nums-$volist.salenums)}--></em> 张
	</div>
  </div>

  <div class="oem_zhekou_right">
    <ul>
	  <!--{assign var="codelist" value=vo_list("mod={couponcode} where={v.coupid='<!--{$volist.coupid}-->'} num={7}")}-->
      <li class="oe_head"><span class="oe_1">用户</span><span class="oe_2">联系电话</span><span class="oe_3">领取时间</span></li>
	  <!--{foreach $codelist as $val}-->
      <li><span class="oe_1"><!--{$val.username}--></span><span class="oe_2"><!--{$val.mobile|mobile}--></span><span class="oe_3"><!--{$val.buytime|date_format:"%Y-%m-%d"}--></span></li>
	  <!--{/foreach}-->
    </ul>
  </div>
  <div class="clear"></div>
  <!--{/foreach}-->
</div>
<!--{include file="<!--{$shoptplpath}--><!--{$shop.skin}-->/coupon_get_js.tpl"}-->
<!--{/if}-->

  
<div class="oem_jinpin">
  <h3 class="h3shoptitle">最新活动 <a href="<!--{routeurl module="shop" action="activity" items="shopid=<!--{$shop.shopid}-->"}-->">更多&gt;&gt;</a></h3>
  <div class="oe_shop_activity_list">
    <!--{assign var="newactivity" value=vo_list("mod={activity} num={8} where={v.shopid='<!--{$shop.shopid}-->'}")}-->
    <!--{if !empty($newactivity)}-->
    <!--{foreach $newactivity as $volist}-->
    <dl>
      <dt><a href="<!--{$volist.url}-->"><img  f="imgloading" data-original="<!--{$volist.thumbimg}-->" /></a></dt>
      <dd>
        <h3><a href="<!--{$volist.url}-->"><!--{$volist.title}--></a></h3>
        <p>特惠价: <span>¥<!--{$volist.price}--> </span>  <s>原价: ¥<!--{$volist.oldprice}--></s></p>
      </dd>
      <div class="clear"></div>
    </dl>
	<!--{/foreach}-->  
	<!--{/if}-->
    <div class="clear"></div>
  </div>
</div>
<!--//oem_jinpin End -->


<div class="oem_jinpin">
  <h3 class="h3shoptitle">推荐商品 <a href="<!--{routeurl module="shop" action="goods" items="shopid=<!--{$shop.shopid}-->"}-->">更多&gt;&gt;</a></h3>
  <div class="oem_jinpin_con">
    <!--{assign var="elitegoods" value=vo_list("mod={goods} num={8} where={v.elite='1' AND v.shopid='<!--{$shop.shopid}-->'}")}-->
    <!--{if !empty($elitegoods)}-->
    <!--{foreach $elitegoods as $volist}-->
    <dl>
	    <dt>
		  <a href="<!--{$volist.url}-->"><img  f="imgloading" data-original="<!--{$volist.thumbimg}-->" /></a>
		  <a href="<!--{$volist.url}-->" class="go">进入</a>
		</dt>
		<dd>
		  <h4><a href="<!--{$volist.url}-->"><!--{$volist.goodsname}--></a></h4>
		  价格: <i>¥<!--{doubleval($volist.price)}--></i>&nbsp;&nbsp;&nbsp;<span>人气:<!--{$volist.hits}--></span>
		</dd>
	  </dl>
	<!--{/foreach}-->  
	<!--{/if}-->
    <div class="clear"></div>
  </div>
</div>
  

<!--{if $shop.shoplevel.power.diyhtml == '1'}-->
<!--{if !empty($shop.diyhtml)}-->
<div class="oe_custom">
  <div class="oe_custom_con">
  <!--{$shop.diyhtml}-->
  </div>
</div>
<!--//自定义内容 End-->
<!--{/if}-->
<!--{/if}-->

<div class="oem_case">
  <h3 class="h3shoptitle">作品精选 <a href="<!--{routeurl module="shop" action="gallery" items="shopid=<!--{$shop.shopid}-->"}-->">更多&gt;&gt;</a></h3>
  <div class="oem_case_con">
    <!--{assign var="newgallery" value=vo_list("mod={gallery} num={8} where={v.shopid='<!--{$shop.shopid}-->'}")}-->
	<!--{foreach $newgallery as $volist}-->
    <dl>
	  <dt><a href="<!--{$volist.url}-->"><img  f="imgloading" data-original="<!--{$volist.thumbimg}-->" /></a></dt>
	  <dd><a href="<!--{$volist.url}-->"><!--{$volist.name}--></a></dd>
    </dl>
    <!--{/foreach}-->
  </div>
</div>
<!--{include file="<!--{$shoptplpath}--><!--{$shop.skin}-->/block_footer.tpl"}-->