<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="AllNewPl.aspx.cs" Inherits="web.AllNewPl" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<title>全部商品最新评论列表 － <%=config.SiteTitle %></title><meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />

	
<meta http-equiv="content-type" content='text/html;charset=utf-8'/>
<meta name="description" content="<%=config.MetaDescription %>"/> 
<meta name="keywords" content="<%=config.MetaKeywords %>"/>
<link href="img/css/base.css" rel="stylesheet" type="text/css" media="all" />
<link href="img/css/v7.css" rel="stylesheet" type="text/css" media="all" />
<link href="img/css/index.css" rel="stylesheet" type="text/css" media="all" />
<link href="img/css/style.css" rel="stylesheet" type="text/css" media="all" />
<script type="text/javascript" src="img/js/hpcommon.v3.js"  charset="utf-8"></script>
<script src="img/js/notice.js" type="text/javascript"></script>

<script src="../img/js/comment.js" type="text/javascript"></script>

 <script type="text/javascript">
 function SetCwinHeight(cs){
  var bobo=document.getElementById(cs); //iframe id
  if (bobo){
   if (bobo && !window.opera){
    if (bobo.contentDocument && bobo.contentDocument.body.offsetHeight){
     bobo.height = bobo.contentDocument.body.offsetHeight;
    }else if(bobo.Document && bobo.Document.body.scrollHeight){ bobo.height = bobo.Document.body.scrollHeight-0;
         }
   }
    else
    {
        if(bobo.contentWindow.document && bobo.contentWindow.document.body.scrollHeight)
            bobo.height = bobo.contentWindow.document.body.scrollHeight;//Opera
    }
  }
 }
</script>
    </head>
	<body>
		<noscript>


</noscript>

     	<iframe id=head src="modHtml/header.html" onload="Javascript:SetCwinHeight('head')" width=100% height="180"  frameborder=no border=0 MARGINWIDTH=0 MARGINHEIGHT=0 SCROLLING=no></iframe>

		<!--头部导航条开始-->
		
		<!--头部导航条结束-->
	

 <div class="news_dt">
    <ul>
    <li class="dt_left"></li>
      <li class="dt_bg">
        <div align="left" style="font-weight: normal;">你目前的位置:&nbsp;<a href="Default.html" target="_blank">首页</a> → 
		<%if (base.Request.QueryString["mid"] != null)
    { %>
		<%=Getmname(Convert.ToInt32(base.Request.QueryString["mid"].ToString())) %>
		<%}else{ %>
		全部店铺
		<%} %>
		最新评论列表</div>
      </li>
      <li class="dt_right"></li>
    </ul>
    </div>
<table width="990" cellpadding="0" cellspacing="0" id="middle" >
  <tr align="left" valign="top">
		
    <td> 
      <!--商品列表开始--> 
<div style="width:990px;margin:0px auto;">
	  <div class="commentWarp" id="cmt">
 
                
                        <ul class="cmtList">
                        	  <asp:DataList id="mypp" CellPadding="5" CellSpacing="0" GridLines="None" RepeatColumns="1"
													RepeatDirection="Horizontal" RepeatLayout="Table" Visible="true" Width="100%" runat="server">
													<ItemStyle CssClass="alignCenterTop" />
													<ItemTemplate>
                            <li id="CommentItem<%#DataBinder.Eval(Container.DataItem,"ReviewID")%>">
                                <p class="text33">
                                    <span class="left">
                                  
                                    <em> <%#GetRatingg(Convert.ToInt32(DataBinder.Eval(Container.DataItem, "Score").ToString()))%></em>&nbsp;&nbsp;&nbsp;标题：<%#DataBinder.Eval(Container.DataItem,"UserName")%>&nbsp;&nbsp;&nbsp;<font color="#666666"> 评论对象：</font><a href="company/company_<%#DataBinder.Eval(Container.DataItem,"ProductID")%>.html" target="_blank"><%#Getpname(Convert.ToInt32(DataBinder.Eval(Container.DataItem, "ProductID").ToString()))%></a></span>
                                    <span class="right">  <%#DataBinder.Eval(Container.DataItem,"AddTime")%></span>
                                </p>
                                <div class="cmtBody">
                                    <div class="left">
                                      <img src='<%#Gethead(Convert.ToInt32(DataBinder.Eval(Container.DataItem, "MemberID").ToString()))%>' border=0 />
                                    </div>
                                    <div class="right">
                                        <p class="text4">
                                         <font color="6699cc">  <%#Getmname(Convert.ToInt32(DataBinder.Eval(Container.DataItem, "MemberID").ToString()))%>
                                                </font> >&nbsp;&nbsp; 会员等级： 
                                                <%#Getgname(Convert.ToInt32(DataBinder.Eval(Container.DataItem, "MemberID").ToString()))%>&nbsp;&nbsp;<%#getserver(DataBinder.Eval(Container.DataItem, "Reply").ToString())%>
                                             
                                            
                                
                                    
                                        </p>
                                        
                           
                                        
                                        
                                        <p class="gray" id="cc_<%#DataBinder.Eval(Container.DataItem,"ReviewID")%>"><%#DataBinder.Eval(Container.DataItem,"body")%></p>
                        
                                        
                                        
                                        
                                        
                                        
                                        
                                        
                                        <p class="text5"><a class="replayCmtBtn" onclick="GetReply(<%#DataBinder.Eval(Container.DataItem,"ReviewID")%>);">回复(<span id="RC_<%#DataBinder.Eval(Container.DataItem,"ReviewID")%>"><%#Gethfn(Convert.ToInt32(DataBinder.Eval(Container.DataItem,"ReviewID"))) %></span>)</a>&nbsp;&nbsp;|&nbsp;&nbsp;
                                       <a class="replayCmtBtn" onclick="yy(<%#DataBinder.Eval(Container.DataItem,"ReviewID")%>);">有用(<span id="yy_<%#DataBinder.Eval(Container.DataItem,"ReviewID")%>"><%#Getzcn(Convert.ToInt32(DataBinder.Eval(Container.DataItem, "ReviewID")))%></span>)</a>&nbsp;&nbsp;|&nbsp;&nbsp; <a class="replayCmtBtn" onclick="my(<%#DataBinder.Eval(Container.DataItem,"ReviewID")%>);">没用(<span id="my_<%#DataBinder.Eval(Container.DataItem,"ReviewID")%>"><%#Getfdn(Convert.ToInt32(DataBinder.Eval(Container.DataItem, "ReviewID")))%></span>)</a>&nbsp;&nbsp;|&nbsp;&nbsp;
                                        <span id="Report_167083" ><a class="replayCmtBtn"  onclick="Getjb(<%#DataBinder.Eval(Container.DataItem,"ReviewID")%>);">举报</a></span>&nbsp;&nbsp;|&nbsp;&nbsp;
                                        <a class="replayCmtBtn" onclick="sc(<%#DataBinder.Eval(Container.DataItem,"ReviewID")%>);">收藏</a>
                                
                                        
                                        </p>
                                      <div id="jb_<%#DataBinder.Eval(Container.DataItem,"ReviewID")%>" style="display:none;"></div>
                                       <div id="Reply_<%#DataBinder.Eval(Container.DataItem,"ReviewID")%>" style="display:none;"></div>

                                    </div>
                                </div>
                            </li>

                        
													</ItemTemplate>
                                                  <SeparatorStyle BorderColor="Red" BorderStyle="Solid" BorderWidth="1px" />
											  </asp:DataList>
                                           
                        </ul>
                        <p class="text2">
                               <form id="Form1" method="post" runat="server">
                            <p class="pagemenu" style="text-align: right"> <span> 
                              <br/>
                              <br/>
                              共 
                              <asp:Literal ID="lttotal" runat="server"></asp:Literal>
                              条，第 
                              <asp:Literal ID="ltcurpage" runat="server">1</asp:Literal>
                              页/共 
                              <asp:Literal ID="lttotalpage" runat="server"></asp:Literal>
                              页 </span> <span class="padd1"> 
                              <asp:LinkButton ID="lbfirst" runat="server" OnClick="lbfirst_Click" ToolTip="第一页" ><img src="images/first-icon.gif" alt="第一页"/></asp:LinkButton>
                              <asp:LinkButton ID="pre" runat="server"  ToolTip="上一页" OnClick="pre_Click" ><img src="images/left-icon.gif" id="IMG1" alt="上一页"/></asp:LinkButton>
                              <asp:LinkButton ID="lbup" runat="server" OnClick="lbup_Click" CssClass="pageA">上一页</asp:LinkButton>
                              <asp:LinkButton ID="lbdown" runat="server" OnClick="lbdown_Click" CssClass="pageA">下一页</asp:LinkButton>
                              <asp:LinkButton ID="next" runat="server" ToolTip="下一页" OnClick="next_Click" ><img src="images/right-icon.gif"  alt="下一页"/></asp:LinkButton>
                              <asp:LinkButton ID="lblast" runat="server" OnClick="lblast_Click" ToolTip="最后一页"><img src="images/last-icon.gif"  alt="最后一页"/></asp:LinkButton>
                              </span> <br/>
                              <br/>
                              <br/>
                            </p></form>
			
                        </p>
                    </div>
	</div>
	  </td>
    </tr></table>
					
			

	
	    <iframe id="help" src="modHtml/helper.html"  onload="Javascript:SetCwinHeight('help')" width=100% frameborder=no  MARGINWIDTH=0 MARGINHEIGHT=0 SCROLLING=no></iframe>
	
    <script language="JavaScript" src="stat.aspx" type="text/JavaScript"></script>
	   


					<!--商品列表结束-->
	</body>
</html>
