<!--#include file="top.asp"-->

<div class="nch-breadcrumb-layout">
	<div class="nch-breadcrumb wrapper"><i class="icon-home"></i>
	<span><a href="/index.asp">首页</a></span><span class="arrow">></span>
		<span>团购</span>
	</div>
</div>
<link href="/skin/waimai/template/style_waimai/css/home_group.css" rel="stylesheet" type="text/css">
<link href="/skin/{anxinMall:global.cfg_siteskin}/template/style_tg/css/index.css" rel="stylesheet" type="text/css" />
<script language="JavaScript">
//鼠标触及更替li样式
$(document).ready(function(){
    $("#list").hide();
    $("#button_show").click(function(){
        $("#list").toggle();
    });
    $("#button_close").click(function(){
        $("#list").hide();
    });
    var area = $.cookie('ABA9_groupbuy_area');
   if(area == null) {
        $("#show_area_name").html("全城");
        $("#groupbuy_area").val('');
    }
   else {
        area_array = area.split(",");
        $("#show_area_name").html(area_array[1]);
        $("#groupbuy_area").val(area);
    }
});

//团购地区筛选
function set_groupbuy_area(area) {
    if(area == '') {
        $("#groupbuy_area").val('');
        $("#show_area_name").html("全城");
        $.cookie('ABA9_groupbuy_area',null);
    }
    else {
        area_array = area.split(",");
        $("#groupbuy_area").val(area_array[0]);
        $("#show_area_name").html(area_array[1]);
        $.cookie('ABA9_groupbuy_area',area);
    }
    $('#list').hide();
}
</script>
<div id="headRelative" class="ncg-header">
  <!--
  <div class="title">
    <h1>团购</h1>
    <div class="city">[<a href="javascript:void(0)" id="button_show">
      <h2 id="show_area_name">&nbsp;</h2>
      <i class="arrow"></i> </a>]</div>
  </div>
     <div id="list" class="list" style="display:none;"><a id="button_close" class="close" href="javascript:void(0)">X</a>
    <ul>
      <li><a href="#" onClick="set_groupbuy_area('')" >全城</a></li>
                        <li><a href="#" onClick="set_groupbuy_area('1,铜山')" >铜山</a></li>
                      </ul>
  </div> -->
  </div>
<form id="search_form">
  <input name="act" type="hidden" value="show_groupbuy" />
  <input name="op" type="hidden" value="index" />
  <input id="groupbuy_area" name="groupbuy_area" type="hidden" value=""/>
  <input id="groupbuy_class" name="groupbuy_class" type="hidden" value="0"/>
  <input id="groupbuy_price" name="groupbuy_price" type="hidden" value="0"/>
  <input id="groupbuy_order_key" name="groupbuy_order_key" type="hidden" value="0"/>
  <input id="groupbuy_order" name="groupbuy_order" type="hidden" value="0"/>
</form>
<div class="ncg-container wrapper">
  <div class="ncg-nav">
    <ul>
      <li class="current"><a href="#">商品团购</a></li>
      <li style="display:none;"><a href="#">即将开始</a></li>
      <li style="display:none;"><a href="#">往期团购</a></li>
    </ul>
  </div>
  <div class="ncg-screen"> 
    <!-- 分类过滤列表 -->
    <dl>
      <dt>分类：</dt>
      <dd class="nobg selected"><a href="#">不限</a></dd>
	  {anxinMall:brandcat $sql=select top 10 id,navigationName from [anxinMall_cat] where fid=0 order by myorder asc $cache=0}
      <dd><a href="/index.asp?a=tg&pid=[brandcat:id]">[brandcat:navigationName]<i></i></a></dd>
	  {/anxinMall:brandcat}

    </dl>
    <!-- 价格过滤列表 -->
    <dl>
      <dt>价格：</dt>
      <dd class="selected"><a href="#">不限</a></dd>
      <dd><a href="/index.asp?a=tg&priceArea=1"><99<i></i></a></dd>
      <dd><a href="/index.asp?a=tg&priceArea=2">100-499<i></i></a></dd>
      <dd><a href="/index.asp?a=tg&priceArea=3">500-999<i></i></a></dd>
      <dd><a href="/index.asp?a=tg&priceArea=4">1000-2999<i></i></a></dd>
      <dd><a href="/index.asp?a=tg&priceArea=4">3000-4999<i></i></a></dd>
      <dd><a href="/index.asp?a=tg&priceArea=4">>5000<i></i></a></dd>
    </dl>
    <dl class="ncg-sortord">
      <dt>排序：</dt>
      <!--排序-->
      <dd class="selected"><a href="#">默认<i></i></a></dd>
      <dd ><a  href="#">价格<i></i></a></dd>
      <dd ><a  href="#">折扣<i></i></a></dd>
      <dd ><a  href="#">销量<i></i></a></dd>
    </dl>
  </div>
{anxinMall:asp}if anxinMall.db("select count(*) from [anxinMall_prod_tg]",2)(0)>0 then{/asp}
    <div class="no-content">没有团购信息</div>
{anxinMall:asp}else{/anxinMall:asp}

{anxinMall:page $size=18 $cache=0}
				<div {if:[page:i] mod 3=0 }class="tuanmore_listxq_r" {else}class="tuanmore_listxq"{end if} onmouseover="fnOver(this)" onmouseout="fnOut(this)">
					<a class="today_new" target="_blank" href="/s/index.asp?id=[page:shjiaid]&a=tgdetails&prodid=[page:prodid]"></a>
					<div class="lists1_img">
						<a href="/s/index.asp?id=[page:shjiaid]&a=tgdetails&prodid=[page:prodid]" target="_blank" class="image_link"><img src="[page:thumb $empty=/file/images/nothumb.jpg]" width="300" height="200" title="[page:prodname]" alt="[page:prodname]" /></a>
					</div>
					<h3>
						<a class="js_dlst " href="/s/index.asp?id=[page:shjiaid]&a=tgdetails&prodid=[page:prodid]" target="_blank" title="[page:prodname]">[page:prodname]</a>
					</h3>
					<div class="tuanbd">
						<div class="goods_price">
							<div class="price_now">
								<span class="rmb"><span class="yen">￥</span>[page:price2]</span> <span class="price_gray rmb">价值￥[page:price1]</span>
							</div>
						</div>
						<div class="goods_status">
							<p><a title='[page:prodname]' target="_blank" href="/s/index.asp?id=[page:shjiaid]&a=tgdetails&prodid=[page:prodid]"></a>
							</p>
						</div>
					</div>
					<div class="tuanft">
						<div class="goods_buyernumber">已有 <span class="pep_num">{anxinMall:asp}response.write anxinMall.db("select count(*) from [anxinMall_guestbook_tg] where prodid=[page:prodid]",2)(0){/anxinMall:asp}</span> 人团购</div>
					</div>
				</div>
			{/anxinMall:page}
{anxinMall:asp}end if{/anxinMall:asp}



	<link rel="stylesheet" href="/skin/{anxinMall:global.cfg_siteskin}/style/fengye.css" type="text/css" />
	<div class="pagebreak">{tag:page}</div>
</div>
<!--#include file="bottom.asp"-->
