<%@ Control Language="c#" AutoEventWireup="true" Codebehind="TagPdts.ascx.cs" Inherits="XpShop.WebUI.Modules.TagPdts" TargetSchema="http://schemas.microsoft.com/intellisense/ie5"%>

<%BindTagPdts(7, "specialoffer", "rptSpecPds", true); %>
<ul class="xp-custompdt-ul1 clear">
<asp:Repeater id="rptSpecPds" runat="server">
    <ItemTemplate>	
        <li<%#Container.ItemIndex > 3 ? " class='even1'" : ""%>>
            
            <div class="xp-pdt-img">
                <a href='<%=webSite %>products/product-<%#DataBinder.Eval(Container.DataItem,"ProductID")%>.<%=config.html%>' target="_blank" ><img width="140" height="140" src="<%=webSite %>upload/ProductImg/<%# DataBinder.Eval(Container.DataItem,"ImgFolder")%><%#DataBinder.Eval(Container.DataItem,"ThumbnailImg")%>" alt='' /></a>
            </div>
            
            <div class="xp-heightoverflow-cuspdtname">
                <a href='<%=webSite %>products/product-<%#DataBinder.Eval(Container.DataItem,"ProductID")%>.<%=config.html%>' target="_blank" ><%#DataBinder.Eval(Container.DataItem,"ProductName")%></a>
            </div>
            <div class="xp-marketprice">
                <%=GetCurrencySign()%><%#DataBinder.Eval(Container.DataItem,"MarketPrice","{0:f}")%><%--&nbsp;&nbsp;&nbsp;&nbsp;<span><%#int.Parse(DataBinder.Eval(Container.DataItem,"Quantity").ToString()) > 20 ? "" : ("仅剩<font color=red><b>" + DataBinder.Eval(Container.DataItem,"Quantity") + "</b></font>件")%></span>--%>
            </div>
            <div class="xp-memberprice">
                <% if(MemberShowPrice()) {%><%=GetCurrencySign()%><%#DataBinder.Eval(Container.DataItem,"MemberPrice","{0:f}")%><% }%>
            </div>
        </li>								
    </ItemTemplate>
</asp:Repeater>
</ul>
