<%@ Control Language="c#" AutoEventWireup="true" Codebehind="TagPdts.ascx.cs" Inherits="XpShop.WebUI.Modules.TagPdts" TargetSchema="http://schemas.microsoft.com/intellisense/ie5"%>
<!--首页特价商品-->
<div class="frame4">
    <div class="tl"></div>
    <div class="tr"></div>
    <div class="tm">
        <div class="title">特价专区</div>
        <div class="more"><a href="<%=webSite %>TagProduct-1.<%=config.html %>" target="_blank">更多>>></a></div>
    </div>
    <div class="ml"></div>
    <div class="mr"></div>
    <div class="mm bg">
		<%BindTagPdts(config.DiscountProductSizeInIndex, "specialoffer", "dlSpecialProducts", true); %>
	    <asp:DataList id="dlSpecialProducts"
		    CellPadding="5"
		    CellSpacing="0"
		    GridLines="None"
		    RepeatColumns="4"
		    RepeatDirection="Horizontal"
		    RepeatLayout="Table"
		    Visible="false"
		    Width="100%"
		    runat="server">
		    <ItemStyle CssClass="alignCenterTop"/>
		    <ItemTemplate>									
                <table cellpadding="3" cellspacing="0" border="0" class="item">
	                <tr>
		                <td>
			                <a href='<%=webSite %>products/product-<%#DataBinder.Eval(Container.DataItem,"ProductID")%>.<%=config.html%>' target="_blank">
			                <img width="100" height="75" src="<%=webSite %>upload/ProductImg/<%# DataBinder.Eval(Container.DataItem,"ImgFolder")%><%#DataBinder.Eval(Container.DataItem,"ThumbnailImg")%>" alt="" />
			                </a>
		                </td>
	                </tr>
	                <tr>
		                <td>
			                <div class="heightoverflow"><a href='<%=webSite %>products/product-<%#DataBinder.Eval(Container.DataItem,"ProductID")%>.<%=config.html%>' target="_blank"><%#DataBinder.Eval(Container.DataItem,"ProductName")%><font color="#ff0000"><%#DataBinder.Eval(Container.DataItem,"ShortDesc")%></font></a></div>
			                
			                <% if(MemberShowPrice()) {%><font color="#fe0000"><%=GetResourceString("MemberPrice")%>：<%=GetCurrencySign()%><%#DataBinder.Eval(Container.DataItem,"MemberPrice","{0:f}")%></font><% }%>
		                </td>
	                </tr>
                </table>
		    </ItemTemplate>
	    </asp:DataList>
    </div>
    <div class="bl"></div>
    <div class="br"></div>
    <div class="bm"></div>
</div>