<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>{echo: $header['title'];/}</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<meta name="keywords" content="{echo: $header['keywords'];/}" />
<meta name="description" content="{echo: $header['description'];/}" />
<base href="{echo: $baseUrl;/}" />
<link href="skin/{echo: $SYSINFO['templates'];/}/css/import.css" type="text/css" rel="stylesheet" />
<link href="skin/{echo: $SYSINFO['templates'];/}/css/shop.css" rel="stylesheet" type="text/css" />
<link href="skin/{echo: $SYSINFO['templates'];/}/css/shop_{echo: $SHOP['shop_template'];/}.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="skin/{echo: $SYSINFO['templates'];/}/js/changeStyle.js"></script>
</head>
<body>
<!-- wrapper -->
<div id="wrapper"> {inc: require("shop/index_header.php");/}
  <!-- contents -->
  <div id="contents" class="clearfix" >
    <div id="pkz">
<!--    	{echo:lp{s_this_location};/}<a href="index.php">{echo: $SYSINFO['sys_name'];/}</a> &gt; <a href="shop_list.php">{echo:lp{s_shop_category};/}</a> &gt;-->
<!--    	{sta:foreach($shop_rank_arr as $k=>$value)[loop]}-->
<!--    		{sta: if($num == $k)[exc]}-->
<!--    			<a href="" >{echo:$value['cat_name'];/}</a>-->
<!--    		{sta: } else[exc]}-->
<!--    			<a href="" >{echo:$value['cat_name'];/}</a> &gt;-->
<!--    		{end:if/}-->
<!--    	{end:foreach/}-->
    </div>
    <div id="shopHeader" class=" mg12b clearfix">
	<!-- ���̶���ͼƬ-->
      <p><img src="{echo: $SHOP['shop_template_img'];/}" alt="" width="960" height="150" onerror="this.src='skin/default/images/nopic.gif'"/></p>
      <p class="shopName">{echo: $SHOP['shop_name'];/}</p>
      <div class="shop_nav"> {inc: require("shop/menu.php");/} </div>
    </div>
    {inc: require("shop/left.php");/}
    <div id="rightCloumn"><div class="wrp_b">
      <h3 class="ttlm_font">{echo:lp{s_shop_groupbuy};/}</h3>
      <div class="pro_show">
        <table class="tab_group" width="100%">
          <tbody>
            <tr>
              <th class="proName">{echo:lp{s_groupbuy_goods};/}</th>
              <th class="groupPic">{echo:lp{s_groupbuy_price};/}</th>
              <th class="groupQut">{echo:lp{s_groupbuy_num};/}</th>
              <th class="groupName">{echo:lp{s_goods_name};/}</th>
              <th class="timeLeft">{echo:lp{s_groupbuy_time};/}</th>
            </tr>
         {sta:if($result['result']) {
          foreach($result['result'] as $v)[loop]}
          <tr>
            <td valign="middle" class="proName">
              <div class="photo"><a href="goods.php?id={echo: $v['group_id'];/}&app=groupbuyinfo"><img src="{echo: $v['is_set_image'] ? $v['goods_thumb'] : 'skin/default/images/nopic.gif';/}" width="95" height="95" alt="{echo: $v['goods_name'];/}" onerror="this.src='skin/default/images/nopic.gif'"/></a>
              </div>
              <div class="proInfo">
                <h3 align="left">&nbsp;<a href="goods.php?id={echo: $v['group_id'];/}&app=groupbuyinfo">{echo: sub_str($v['group_name'],22,false);/}</a></h3>
                <p>[{echo:lp{s_groupbuy_shows};/}]&nbsp;&nbsp;&nbsp;{echo: sub_str($v['group_desc'],70,false);/}</p>
              </div>
              </td>
            <td class="groupPic">
             <em class="pic">{echo:lp{i_money_sign};/}{echo: $v['spec_price'];/}{echo: lp{s_yan};/}</em>
             </td>
            <td class="groupQut">
            {echo: $v['min_quantity'];/}
            </td>
            <td class="groupName"><a href="goods.php?id={echo: $v['goods_id'];/}">{echo: sub_str($v['goods_name'],22,false);/}</a></td>
            <td class="timeleft">{echo: time_left(strtotime($v['end_time']));/}</td>
          </tr>
          {end:foreach/}
          {sta: }else [loop]}
          <tr>
            <td style="padding:10px" colspan="5">{echo: lp{s_no_goods};/}</td>
          </tr>
          {end:if/}
          </tbody>
        </table>
        {sta: if($result['result'])[exc]}
	        <div class="pagenav clearfix">
	        	{inc: include("modules/page.php");/}
	        </div>
        {end:if/}
      </div>
      </div>
    </div>
  </div>
</div>
{inc: require("shop/index_footer.php");/}
</div>
</body>
</html>