{layout:simple} {class:Shop.inc.product_comment}
<%=Tag("商品满意度")%><%=model.Star_Comment%><%=Tag("分")%> <%=Tag("共")%> <%=model.Count_Comment%> <%=Tag("人评分")%>

<%=Tag("商品满意度")%>

  • <%=Star5Percent%>%
  • <%=Star4Percent%>%
  • <%=Star3Percent%>%
  • <%=Star2Percent%>%
  • <%=Star1Percent%>%

<%=Tag("该商品怎么样?")%>

  • <%=Tag("发表评价最高可获得")%><%=SYS.CommentPoint %><%=Tag("积分")%>
  • <% DB.LebiShop.Lebi_Order_Product order_product = DB.LebiShop.B_Lebi_Order_Product.GetModel("IsCommented = 0 and User_id=" + CurrentUser.id + " and Product_id = "+ id +" and id in(select id from [Lebi_Order_Product] where Order_id in(select id from [Lebi_Order] where User_id=" + CurrentUser.id + " and IsReceived = 1))"); if (order_product != null){ %>
  • " target="_blank" class="btn btn-11"><%=Tag("发表评价")%>
  • <% } %>
<%foreach (DB.LebiShop.Lebi_Comment m in models) {%>

<%=m.User_UserName %>

<%=m.Time_Add %>
<%=m.Content.Replace("\r\n", "
")%>
    <% string[] images = m.ImagesSmall.Split('@'); string[] bigs = m.Images.Split('@'); for (int i = 0; i < images.Count();i++) { if (images[i] == "") continue; %>
  • <%} %>
<% List modelr = DB.LebiShop.B_Lebi_Comment.GetList("Parentid = " + m.id + "", "id desc", PageSize, pageindex); foreach (DB.LebiShop.Lebi_Comment modelreply in modelr) { %>
  • <%=Tag("客服回复")%>:<%=modelreply.Content.Replace("\r\n", "
    ")%><%=modelreply.Time_Add%>
<%} %>
<%} %>
<%=PageString%>