<%@ Control Language="c#" AutoEventWireup="true" Codebehind="LeftNavPT.ascx.cs" Inherits="XpShop.WebUI.Modules.LeftNavPT" TargetSchema="http://schemas.microsoft.com/intellisense/ie5"%>
<div id="pm" class="xp-home-frame" style="display:none;">
    <div class="top">
        <div class="title">拍卖商品</div>
        <div class="more"><a href="<%=webSite %>auction/products-0-1-2-0-1.<%=config.html%>" target="_blank">更多</a></div>
    </div>
    <div class="text">
        <ul id="pm_item" class="ul_style_4">
			<%BindPTPdts(1,5,1);%>
            <asp:Repeater Runat="server" ID="rptPdts">
                <ItemTemplate>
                    <li>
                        <div class="pdt-img">
                            <a style="position:relative;" href='<%=webSite %>auction/product-<%#DataBinder.Eval(Container.DataItem,"NewProductID")%>.<%=config.html%>' target="_blank"><img src='<%=webSite %><%=config.Path%>upload/<%#DataBinder.Eval(Container.DataItem,"Picture")%>' alt="" /></a>
                        </div>
                        <div class="pdt-info">
                            <div class="pdtname">
                            <a href='<%=webSite %>auction/product-<%#DataBinder.Eval(Container.DataItem,"NewProductID")%>.<%=config.html%>' target="_blank"><%#DataBinder.Eval(Container.DataItem,"ProductName")%></a>
                            </div>
                            <div class="pdtprice">
                                <%=GetResourceString("BidUpPrice")%>：<span class="RedWeight"><%=GetCurrencySign()%><%#DataBinder.Eval(Container.DataItem,"LowPrice") %></span>
                            </div>
                        </div>
                    </li>
		        </ItemTemplate>
	        </asp:Repeater>
        </ul>
    </div>
</div>
<div id="pm_ad" style="display:none;">
<%=GetAD(47)%>
</div>
<script type="text/javascript">
$(document).ready(function(){
	if($.trim($("#pm_item").html())!=""){
		$("#pm").show();
		$("#pm_ad").hide()
	}else{
		$("#pm").hide();
		$("#pm_ad").show()
	};
});
</script>
