<%@ Control Language="c#" AutoEventWireup="false" Codebehind="HotProduct.ascx.cs" Inherits="XpShop.WebUI.Modules.HotProduct" TargetSchema="http://schemas.microsoft.com/intellisense/ie5" %>
<div class="lframe">
	<div class="tl"></div>
	<div class="tr"></div>
	<div class="tm">
	    <%=GetResourceString("HotProducts")%> 
    </div>
	<div class="ml"></div>
	<div class="mr"></div>
	<div class="mm">
		<%BindHotProductList(config.HotProductSizeInIndex);%>
		<asp:DataList id="dlHotProducts"
				CellPadding="3"
				CellSpacing="0"
				GridLines="None"
				RepeatColumns="1"
				RepeatDirection="Horizontal"
				RepeatLayout="Table"
				Visible=false
				Width="100%"
				runat="server">
				<ItemStyle CssClass="alignCenterTop"/>
				<ItemTemplate>									
					<table cellpadding="3" cellspacing="0" border="0">
						<tr>
						    <td width="85px">
						        <A href='/<%=System.Configuration.ConfigurationSettings.AppSettings["ShopFolder"]%><%if(config.html==""){%>Show.aspx?PID=<%#DataBinder.Eval(Container.DataItem,"ProductID")%><%}else{%>products/Product_<%#DataBinder.Eval(Container.DataItem,"ProductID")%>.<%=config.html%><%}%>' target=_blank>
						        <IMG width="70" height="70" src="/<%=System.Configuration.ConfigurationSettings.AppSettings["ShopFolder"]%><%=config.Path%>upload/<%#DataBinder.Eval(Container.DataItem,"ThumbnailImg")%>">
						        </A>
						    </td>
						    <td>
						        <table cellpadding="3" cellspacing="0" border="0">
						            <tr>
							            <td align="left" height="30px" valign="top">
								            <div style="height:29px; overflow:hidden;"><a href='/<%=System.Configuration.ConfigurationSettings.AppSettings["ShopFolder"]%><%if(config.html==""){%>Show.aspx?PID=<%#DataBinder.Eval(Container.DataItem,"ProductID")%><%}else{%>products/Product_<%#DataBinder.Eval(Container.DataItem,"ProductID")%>.<%=config.html%><%}%>' target=_blank><%#DataBinder.Eval(Container.DataItem,"Name")%></a></div>
							            </td>
						            </tr>
						            <tr>
				                        <td align="center">
						                    <% if(XpShop.WebUI.WebUtils.MemberShowPrice()) {%><%=GetCurrency()%><font color="#ff5400"><b><%#DataBinder.Eval(Container.DataItem,"MemberPrice","{0:f}")%></b></font><% }%>
				                        </td>
				                    </tr>
						        </table>
						    </td>
						</tr>
						<%--<tr>
							<td align="right">
								<% if(XpShop.WebUI.WebUtils.MemberShowPrice()) {%><%=GetResourceString("MemberPrice")%>：<%=GetCurrency()%><%#DataBinder.Eval(Container.DataItem,"MemberPrice","{0:f}")%><% }%>
								<hr size="1" noshade="noshade" style="border:1px #cccccc solid"/>
							</td>
						</tr>--%>
						<tr>
							<td colspan="2" align=center>
								<%# GetAliPayButton(DataBinder.Eval(Container.DataItem,"ProductID").ToString())%>
							</td>
						</tr>
					</table>
				</ItemTemplate>
			</asp:DataList>
	</div>
	<div class="bl"></div>
	<div class="br"></div>
	<div class="bm"></div>
</div>