<%@ Control Language="c#" AutoEventWireup="false" Codebehind="NewPdtReview.ascx.cs" Inherits="XpShop.WebUI.Modules.NewPdtReview" TargetSchema="http://schemas.microsoft.com/intellisense/ie5"%>
<%--
功能：绑定最新商品评论
参数：最新的评论数量

可调取的内容如下
商品ID：ProductID
商品缩略图：ThumbnailImg
评论者名称：UserName
评论内容：Body
评论时间：AddTime
--%>
<%BindNewPdtReview(3);%>
<div class="lframe">
	<div class="tl"></div>
	<div class="tr"></div>
	<div class="tm">最新评论</div>
	<div class="ml"></div>
	<div class="mr"></div>
	<div class="mm">
		<ul class="newreview">
			<asp:Repeater id="rptNewPdtReview" runat="server">
				<ItemTemplate>
					<li><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" title="<%#DataBinder.Eval(Container.DataItem,"Body")%>"><%# XpShop.WebUI.WebUtils.SplitText(DataBinder.Eval(Container.DataItem,"Body").ToString(),14,"...") %></a></li>
				</ItemTemplate>
				<SeparatorTemplate>
					<li class="space"></li>
				</SeparatorTemplate>
			</asp:Repeater>
		</ul>
    </div>
	<div class="bl"></div>
	<div class="br"></div>
	<div class="bm"></div>
</div>

