<%@ page language="C#" masterpagefile="~/Admin/MasterPage/Main.master" autoeventwireup="true" inherits="admin_Product_pinLunLlist, App_Web_u1mfhyty" title="无标题页" %>
<%@ Register Src="~/Admin/Controls/CurrTool_Panel.ascx" TagName="CurrTool" TagPrefix="html" %>
<%@ Register Src="~/Admin/Controls/CurrImage_Panel.ascx" TagName="CurrImage" TagPrefix="html" %>
<%@ Register TagName="FenYe" TagPrefix="Uc1" Src="~/ascx/fenYe.ascx" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
  <link rel="stylesheet" type="text/css" href="../../css/fenye.css" />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
  <div class="divTools">
    <div class="tool-nav">
      <div class="title"> 导航栏</div>
      <asp:HyperLink ID="hy_list" Text="[返回商品列表]" runat="server"/>
    </div>
    <div class="clear"> </div>
    <html:CurrTool ID="CurrTool1" Title="查看商品评论" Version="120402" runat="server"/>
    <html:CurrImage ID="CurrImage1" Title="查看商品评论" 
            Tips="在这里您可以查看或者删除商品的评论信息...." runat="server" />
    <div class="clear"> </div>
  </div>
  <div class="divContent">
    <asp:ScriptManager ID="ScriptManager1" runat="server"> </asp:ScriptManager>
    <asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Conditional">
      <ContentTemplate>
        <asp:DataList ID="pinLunList" runat="server" width="100%" RepeatLayout="Flow"
         OnSelectedIndexChanged="pinLunList_SelectedIndexChanged" OnDeleteCommand="pinLunList_DeleteCommand" >
          <ItemTemplate>
            <table border="0" cellpadding="1" cellspacing="1" class="table" width="100%">
              <tr>
                <td colspan="4"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                      <td width="80%"><b style="color: Red;"> <a href="../product/AddproInfo.aspx?Uid=2&oneId=1&ispro=<%#DataBinder.Eval(Container.DataItem, "ProId")%>"><%#DataBinder.Eval(Container.DataItem, "ProTitle")%></a></b>　 
                      [评论时间：<%#DataBinder.Eval(Container.DataItem, "AddTime")%>] </td>
                      <td>
                        <asp:button runat="server" Text="删除" CssClass="button"  CausesValidation="False" CommandName="Delete" ID="btnDelete"></asp:button>
                      </td>
                      <td>
                        <asp:button runat="server" Text="前台不显示" CssClass="button" CausesValidation="False" CommandName="Select" ID="btnShow"></asp:button>
                      </td>
                    </tr>
                  </table></td>
              </tr>
              <tr>
                <td colspan="2"> 状态：<%#DataBinder.Eval(Container.DataItem, "isShow")%>  <b style="color:Red;"><%#DataBinder.Eval(Container.DataItem, "isRead")%></b></td>
                <td width="16%"> 评论者： </td>
                <td width="34%"><%#DataBinder.Eval(Container.DataItem, "UserName")%> &nbsp;&nbsp;<asp:LinkButton runat="server" ID="SeeUser" Text="查看会员" Visible="false"></asp:LinkButton></td>
              </tr>
              <tr>
                <td width="16%"> 信箱： </td>
                <td width="34%"><%#DataBinder.Eval(Container.DataItem, "Email")%></td>
                <td> 电话： </td>
                <td><%#DataBinder.Eval(Container.DataItem, "Tele")%></td>
              </tr>
              <tr>
                <td> 内容： </td>
                <td colspan="3"><%#DataBinder.Eval(Container.DataItem, "Pcontent")%>
                  <asp:Literal runat="server" ID="Uid" Text ='<%#DataBinder.Eval(Container.DataItem, "Pid")%>' Visible="false"></asp:Literal>
                  <asp:Literal runat="server" ID="isSHow" Text ='<%#DataBinder.Eval(Container.DataItem, "isSHow")%>' Visible="false"></asp:Literal>
                  <asp:Literal runat="server" ID="UserId" Text ='<%#DataBinder.Eval(Container.DataItem, "UserId")%>' Visible="false"></asp:Literal></td>
              </tr>
            </table>
          </ItemTemplate>
        </asp:DataList>
        <div class="divth">
          <Uc1:FenYe runat="server" ID="FenYe1" />
        </div>
      </ContentTemplate>
    </asp:UpdatePanel>
  </div>
</asp:Content>
