<%@ page language="C#" masterpagefile="~/member/MemberMasterPage.master" autoeventwireup="true" inherits="V5Shop.NewMember.User_ArticleReview_Manage, V5Shop.Member" title="文章评价" enableviewstatemac="false" enableEventValidation="false" viewStateEncryptionMode="Never" %>
<%@ Register Src="UserControl/PageList.ascx" TagName="PageList" TagPrefix="uc1" %>
<%@ Register Assembly="V5Shop.Control" Namespace="V5Shop.Control" TagPrefix="cc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">

<div style="float:left; width:760px">
    <div><img src="images/list/top-1.gif" /></div>
	<div style="border-right:1px #C5DCE7 solid; width:739px; padding:10px">
	  <div style="background:url(images/list/tab-bg.gif) repeat-x bottom; height:27px; padding-left:20px">
	
		   <div style="float:left; background:url(images/list/tab-1.gif) no-repeat; margin-right:3px; width:76px; height:27px; line-height:27px; text-align:center; font-weight:bold; color:#111">文章评价</div>
	  </div>
	  <div style="background:url(images/list/bg_2.gif) repeat-x; height:30px; line-height:30px">
	    <div style="float:left; width:150px; text-align:center">评论标题</div>
		<div style="float:left; width:150px; text-align:center">评论文章</div>
		<div style="float:left; width:100px; text-align:center">评论星级</div>
		<div style="float:left; width:100px; text-align:center">评论时间</div>
		<div style="float:left; width:85px; text-align:center">是否审核</div>
		<div style="float:left; width:75px; text-align:center">是否回复</div>
		<div style="float:left; width:65px; text-align:center">回复时间</div>
	  </div>
	      <div style="border-top: #dedee0 1px solid; margin-top: 2px; background: #f3f3f3;
                line-height: 28px; border-bottom: #dedee0 1px solid; height: 28px">
                <input name="checkbox" type="checkbox" class="checkbox" id="CheckAllBox" onclick="CheckAll()" /> 
                全选
                <asp:Button ID="BtnDelete2" runat="server" Text="删除" CssClass="input_bg" OnClick="BtnDelete_Click" />
            </div>
	  <div class="list2_div1">
	    <table width="100%" border="0" cellspacing="0" cellpadding="0">
           <asp:Repeater ID="rpArticleReviewList" runat="server" >
		            <ItemTemplate>
			            <tr>
                        <td width="20">
                           
                                 <asp:CheckBox ID="chkChoose" runat="server" />
                          <asp:HiddenField ID="CheckBoxID" runat="server" Value='<%# Eval("ID") %>' />
                           
                        </td>
                        <td align="center" width="150">
                           <a href="User_ArticleReview_View.aspx?id=<%# Eval("ID") %>"><%# Eval("Title")%></a></td>
                       <td align="center" width="150">
                         
                            <a href="../article.aspx?id=<%# Eval("ArticleID") %>" target="_blank"><%# V5Shop.Common.utils.left(Convert.ToString(Eval("ArticleTitle")),10)%></a> 
                           </td>
                       
                       <td align="center" width="100">
                            <cc1:LevelCtrl id="lblStar" runat="server" Value='<%# Eval("Star") %>' ImageURL="images/star.gif" /></td>
                           <td align="center" width="100">
                            <%# Convert.ToDateTime(Eval("Date")).ToShortDateString()%></td>
                           
                           <td align="center" width="85">
                           <%# "1".Equals(Eval("IsPass").ToString())?"是":"否"%></td>
                           <td align="center" width="85">
                           <%# "1".Equals(Eval("IsRemark").ToString()) ? "是" : "否"%></td>
                           <td align="center" width="85">
                           <%# Convert.ToDateTime(Eval("RemarkDate")).ToShortDateString()%></td>
                    </tr>
		            </ItemTemplate>
	            </asp:Repeater>
 
</table>
	  </div>
	 <div style="border-top: #dedee0 1px solid; margin-top: 2px; background: #f3f3f3;
                line-height: 28px; border-bottom: #dedee0 1px solid; height: 28px;">
                <div style="float: left">
                    <input name="checkbox1" type="checkbox" class="checkbox" id="CheckAllBox2" onclick="CheckAll2()" /> 
                    &nbsp;全选
                   
                    <asp:Button ID="BtnDelete" runat="server" Text="删除" CssClass="input_bg" OnClick="BtnDelete_Click" />
                </div>
                <uc1:pagelist id="PageList1" runat="server" ></uc1:pagelist>
             
            </div>
	</div>
	<div><img src="images/list/bottom-1.gif" /></div>
  </div>
  
    <script language="javascript" type="text/javascript">
    ShowOrHidden(1);
    ShowOrHidden(3);
    ShowOrHidden(5);
    </script>
  
   <asp:Label ID="lblParam" runat="server" Text="参数错误" Visible="false" ></asp:Label>
    <asp:Label ID="lblDelete" runat="server" Text="您确定要删除吗?" Visible="false" ></asp:Label>
</asp:Content>

