<%@ Control Language="c#" AutoEventWireup="true" Codebehind="LeftNavPT.ascx.cs" Inherits="XpShop.WebUI.Modules.LeftNavPT" TargetSchema="http://schemas.microsoft.com/intellisense/ie5"%>
<div id="tg" class="frame6" style="display:none;">
    <div class="tl"></div>
    <div class="tr"></div>
    <div class="tm">
        <div class="title">团购商品</div>
        <div class="more"><a href="<%=webSite %>tg/products-0-1-2-0-1.<%=config.html%>" target="_blank">更多>>></a></div>
    </div>
    <div class="ml"></div>
    <div class="mr"></div>
    <div class="mm">
        <ul id="tg_item" class="ul_style_5">
			<%BindPTPdts(2,5,1);%>
            <asp:Repeater Runat="server" ID="rptPdts">
                <ItemTemplate>
                    <li>
                        <a href='<%=webSite %>tgproduct-<%#DataBinder.Eval(Container.DataItem,"NewProductID")%>.<%=config.html%>' target="_blank"><%#DataBinder.Eval(Container.DataItem,"ProductName")%></a>
                    </li>
		        </ItemTemplate>
	        </asp:Repeater>
        </ul>
    </div>
    <div class="bl"></div>
    <div class="br"></div>
    <div class="bm"></div>
</div>
<div id="tg_ad" style="display:none;">
<%=GetAD(48)%>
</div>
<script type="text/javascript">
$(document).ready(function(){
	if($.trim($("#tg_item").html())!=""){
		$("#tg").show();
		$("#tg_ad").hide()
	}else{
		$("#tg").hide();
		$("#tg_ad").show()
	};
});
</script>
