<%@ Control Language="c#" AutoEventWireup="true" Codebehind="ProductReview.ascx.cs" Inherits="XpShop.WebUI.Modules.ProductReview" TargetSchema="http://schemas.microsoft.com/intellisense/ie5"%>

<%BindReview(3, 0, 1, true, "rptReview"); %>

<div class="xp-home-nframe" style="margin-top:10px;">
	<div class="top clear">
	    <div class="title">商城热评</div>
        
	</div>
	<div class="text">
		<ul class="xp-pdtreviewul clear">
        <asp:Repeater ID="rptReview" runat="server">
            <ItemTemplate>
            <li<%#Container.ItemIndex > 1 ? "" : " style=' border-right:1px #dedede dotted;'"%>>
                <div class="xp-pdtreviewul-title"><a href="<%=webSite %>products/product-<%# DataBinder.Eval(Container.DataItem,"ProductID") %>.<%=config.html %>" target="_blank"><%# DataBinder.Eval(Container.DataItem, "Title")%></a></div>
                <div class="clear">
                    <div style="float:left; width:100px; height:100px; overflow:hidden;">
                        <a href='<%=webSite %>products/product-<%#DataBinder.Eval(Container.DataItem,"ProductID")%>.<%=config.html%>' target="_blank" ><img width="100" height="100" src="<%=webSite %>upload/ProductImg/<%# DataBinder.Eval(Container.DataItem,"ImgFolder")%><%#DataBinder.Eval(Container.DataItem,"Img5")%>" alt='' /></a>
                    </div>
                    <div style="margin-left:15px; padding-top:10px;  line-height:20px;"><a href='<%=webSite %>products/product-<%#DataBinder.Eval(Container.DataItem,"ProductID")%>.<%=config.html%>' target="_blank" ><%#DataBinder.Eval(Container.DataItem, "ProductName")%></a></div>
                    <div class="xp-memberprice" style="line-height:20px;">
                        
                        <% if(MemberShowPrice()) {%><%=GetCurrencySign()%><%#DataBinder.Eval(Container.DataItem,"MemberPrice","{0:f}")%><% }%>
                    </div>
                </div>
                <div class="xp-pdtreviewul-membername">会员：<span style="color:#499de6"><%# DataBinder.Eval(Container.DataItem,"MemberName") %></span></div>
                <div class="xp-pdtreviewul-body">
                    <a href="<%=webSite %>products/product-<%# DataBinder.Eval(Container.DataItem,"ProductID") %>.<%=config.html %>" target="_blank">
                    <%# DataBinder.Eval(Container.DataItem,"Body") %>
                    </a>
                </div> 
            </li>
            </ItemTemplate>
        </asp:Repeater>
        </ul>
	</div>
</div>