<%@ Control Language="c#" AutoEventWireup="false" Codebehind="CustomProducts.ascx.cs" Inherits="XpShop.WebUI.Modules.CustomProducts" TargetSchema="http://schemas.microsoft.com/intellisense/ie5" %>
<div class="lframen" style="float:left; width:385px; margin-top:10px;">
	<div class="tl"></div>
	<div class="tr"></div>
	<div class="tm">
	    <div style=" float:left; width:108px; text-align:center;" class="on"><%= getCategoryName(4, 2) %></div>
		<div style="float:right; padding-right:10px; cursor:hand;"><div class="tt"><a href='<%if(config.html==""){%>/<%=System.Configuration.ConfigurationSettings.AppSettings["ShopFolder"]%>List.aspx?CatID=<%= getCategoryName(4, 1) %><%}else{%><% if(getCategoryName(4, 1)==""){%>List.html<%}else{ %>categories/Category_<%= getCategoryName(4, 1) %>.<%=config.html%><%}}%>'><font color="#ffffff">More</font></a></div></div>
	</div>				
	<div class="ml"></div>
	<div class="mr"></div>
	<div class="mm">
	<div style="clear:both;"></div>
		<%BindCustomProductList(4,3,"dlCustomProductts","New");%>
		<asp:DataList id="dlCustomProductts" CellPadding="3" CellSpacing="0" GridLines="None" RepeatColumns="3"
			RepeatDirection="Horizontal" RepeatLayout="Table" Visible="false" Width="100%" runat="server">
			<ItemStyle CssClass="alignCenterTop" />
			<ItemTemplate>					
				<TABLE cellSpacing="0" cellPadding="0" width="120px" border="0">
					<TR>
						<TD>
							<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%><%}%>'>
                            <IMG width="90" height="90" src="/<%=System.Configuration.ConfigurationSettings.AppSettings["ShopFolder"]%><%=config.Path%>upload/<%#DataBinder.Eval(Container.DataItem,"ThumbnailImg")%>">
						    </A>
						</TD>
					</TR>
					<tr>
						<td height="80px" valign="top">
							<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=_self ><%#DataBinder.Eval(Container.DataItem,"Name")%></a>
							<br>
							<%=GetResourceString("MarketPrice")%>：<font color=red><s><%=GetCurrency()%><%#DataBinder.Eval(Container.DataItem,"MarketPrice","{0:f}")%></s></font><% if(XpShop.WebUI.WebUtils.MemberShowPrice()) {%><br><%=GetResourceString("MemberPrice")%>：<%=GetCurrency()%><%#DataBinder.Eval(Container.DataItem,"MemberPrice","{0:f}")%><% }%>
						</td>
					</tr>
				</TABLE>
			</ItemTemplate>
		</asp:DataList>
    </div>
	<div class="bl"></div>
	<div class="br"></div>
	<div class="bm"></div>
</div>