<%@ Control Language="c#" AutoEventWireup="false" Codebehind="Comment.ascx.cs" Inherits="XpShop.WebUI.Modules.Comment" TargetSchema="http://schemas.microsoft.com/intellisense/ie5" %>
<%BindCommentProducts(0,0,false,false,true,2,"rptList");%><%--类别ID，品牌ID，最新（默认false），热卖（默认false）,评论数量最多（默认false），显示的个数,绑定控件ID--%>

<div class="lframe">
    <div class="tl"></div>
    <div class="tr"></div>
    <div class="tm"><div class="title">商品评论</div></div>
    <div class="ml"></div>
    <div class="mr"></div>
    <div class="mm">
        <ul class="newview">
            <asp:Repeater ID="rptList" runat="server">
                <ItemTemplate>
                <li class="title"><span><a href='/<%=ShopFolder %>ProductReview.aspx?PID=<%#DataBinder.Eval(Container.DataItem,"ProductID")%>&ReviewType=1' target="_blank" ><%#DataBinder.Eval(Container.DataItem,"Title")%></a></span></li>
                <li>
                    <div class="img"><a href='/<%=ShopFolder %>ProductReview.aspx?PID=<%#DataBinder.Eval(Container.DataItem,"ProductID")%>&ReviewType=1' target="_blank" ><img src="/<%=ShopFolder %><%=config.Path%>upload/ProductImg/<%# PPFolder(DataBinder.Eval(Container.DataItem,"CategoryNo").ToString())%>/<%#DataBinder.Eval(Container.DataItem,"ThumbnailImg")%>" alt='' /></a></div>
                    <div class="name"><a href='/<%=ShopFolder %>ProductReview.aspx?PID=<%#DataBinder.Eval(Container.DataItem,"ProductID")%>&ReviewType=1' target="_blank" ><%#DataBinder.Eval(Container.DataItem,"ProductName")%></a></div>
                </li>
                <li>
					<div class="body"><a href='/<%=ShopFolder %>ProductReview.aspx?PID=<%#DataBinder.Eval(Container.DataItem,"ProductID")%>&ReviewType=1' target="_blank" ><%#XpShop.Common.Utils.SplitText(DataBinder.Eval(Container.DataItem,"Body").ToString(),15,"...")%></a></div>
                </li>
                <li>
					<div class="time"><a href='/<%=ShopFolder %>ProductReview.aspx?PID=<%#DataBinder.Eval(Container.DataItem,"ProductID")%>&ReviewType=1' target="_blank" ><%#DataBinder.Eval(Container.DataItem, "AddTime", "{0:yyyy-MM-dd}")%></a> by&nbsp;<a href='/<%=ShopFolder %>ProductReview.aspx?PID=<%#DataBinder.Eval(Container.DataItem,"ProductID")%>&ReviewType=1' target="_blank" ><%#DataBinder.Eval(Container.DataItem,"MemberName")%></a></div>
				</li>
                </ItemTemplate>
                <SeparatorTemplate>
                    <li class="space"></li>
                </SeparatorTemplate>
            </asp:Repeater>
        </ul>
        
        <div class="clear"></div>
    </div>
    <div class="bl"></div>
    <div class="br"></div>
    <div class="bm"></div>
</div>