<%@ Register TagPrefix="webdiyer" Namespace="Wuqi.Webdiyer" Assembly="AspNetPager" %>
<%@ Page language="c#" Codebehind="user_ly.aspx.cs" AutoEventWireup="True" Inherits="Webdisk.user_ly" trace="False" %>
<%@ Register Src="~/userleft.ascx" TagPrefix="uc1" TagName="userleft" %>
<%@ Register Src="~/usertop.ascx" TagPrefix="uc1" TagName="usertop" %>
<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>留言管理</title>
    <link rel="stylesheet" href="css/bootstrap.min.css">
	<link rel="stylesheet" href="css/atlantis.css">
	
</head>
<body>
<div class="wrapper">
    <!-- begin::navigation -->
         <uc1:usertop runat="server" ID="usertop" />
    <uc1:userleft runat="server" ID="userleft" />
    <!-- end::navigation -->

   <div class="main-panel">

        <div class="content">
            <div class="page-inner">
        <div >

           <div class="card">
			    <div class="card-body" >
						<div class="row">&nbsp;&nbsp;&nbsp;&nbsp;<img src="pics/page.gif" width="16" height="16" align="absMiddle">&nbsp;&nbsp;&nbsp;&nbsp;<h5><b>留言管理</b></h5></div>
					<form id="Form1" method="post" runat="server">
<div class="row app-block">
           
            <div class="col-md app-content">
<div class="app-content-body" id="DataGrid">
    <div class="<%=Webdisk.DAL.Config.IsMobile %>">
                    <div class="app-lists">
                        <ul class="list-group list-group-flush">
                            <asp:Repeater ID="Repeater" runat="server">
                                <ItemTemplate>
                          <li class="list-group-item">
                              <div>
                                  <div class="custom-control custom-checkbox mr-0">
											<INPUT id='chkSelect<%# Eval("id") %>' onclick=AddRemoveValues(this) class='custom-control-input' name="checkbox" type=checkbox value='<%# DataBinder.Eval(Container,"DataItem.id") %>'>
												 <label class="custom-control-label" for="chkSelect<%# Eval("id") %>"></label></div>
                              </div>
                              
                              <div>
                                  <figure class="avatar avatar-sm mr-0">
                                      <%# Mark(DataBinder.Eval(Container, "DataItem.mark").ToString()) %>
                                  </figure>
                              </div>
                              <div class="flex-grow-1 min-width-0">
                                  <div class="mb-1 d-flex justify-content-between align-items-center">
                                      <div class="text-truncate app-list-title"><%# ShowContent(DataBinder.Eval(Container.DataItem, "ly_content").ToString())%>
																								<span class="style1">
																									<%# ShowReply(DataBinder.Eval(Container.DataItem, "ly_reply").ToString())%>
																								</span></div>
                                      <div class="pl-3 d-flex">
                                          <span class="text-nowrap text-muted"><%# DataBinder.Eval(Container.DataItem, "ly_time","{0:yyyy/MM/dd}")%></span>
                                          <div class="dropdown ml-3">
                                                <a href="javascript:void(0)" onClick="showly('<%# Eval("ID") %>');" target="_blank" class="btn btn-outline-light" data-toggle="tooltip" title="回复">
                                                    <i class="fas fa-pencil-alt"></i>
                                                </a>
                                            <a href="<%# DataBinder.Eval(Container.DataItem, "ID","user_ly.aspx?ID={0}") %>" class="btn btn-outline-light ml-2" data-toggle="tooltip"
                                       title="删除">
                                        <i class="fas fa-trash-alt"></i>
                                    </a>
                                          </div>
                                      </div>
                                  </div>
                                  <div class="text-muted d-flex justify-content-between">
                                      <div class="text-truncate small"><%# DataBinder.Eval(Container.DataItem, "ly_user") %>
                                      </div>
                                      
                                  </div>
                              </div>
                            </li>
                                    </ItemTemplate>
							</asp:Repeater>
                        </ul>
                    </div>
                    <!-- end::app-lists -->
    <p></div>
  <div class="hidden-sm hidden-md hidden-lg text-center"><%=sjinfo %><p></div>
    <webdiyer:aspnetpager CssClass="paginator"  CurrentPageButtonClass="cpb" PagingButtonSpacing="0" id="Pager" runat="server" HorizontalAlign="Right" AlwaysShow="True" ShowCustomInfoSection="Left"
											NumericButtonCount="5" PageSize="20" FirstPageText="|<" PrevPageText="<" NextPageText=">" LastPageText=">|" Height="20px" onpagechanged="Pager_PageChanged" CustomInfoTextAlign="Left"></webdiyer:aspnetpager><br>
    <p><div class="row  align-items-center">
        &nbsp;&nbsp;&nbsp;&nbsp; <div class="custom-control custom-checkbox mr-3">
												<input type="checkbox" class="custom-control-input" id="customCheckAll">
												<label class="custom-control-label" for="customCheckAll"></label>
											</div>
                   <INPUT class="btn btn-outline-light" id="Submit1" type="button" value="删除选中" name="Submit1" runat="server" onserverclick="Submit1_ServerClick">&nbsp;&nbsp;
													<INPUT class="btn btn-outline-light" id="Submit2" type="button" value="审核留言" name="Submit2" runat="server" onserverclick="Submit2_ServerClick"><br><br>
													<INPUT type="hidden" id="HdnSelectedValues" name="HdnSelectedValues" runat="server">
                </div> </div></div></div>
										
										
									</form>	
									</div>
								
		
 </div>
			    </div>

    </div></div></div>
    <!-- end::main content -->
</body>
</html>			
  <script type="text/javascript" src="js/calendar.js"></script>
<script src="js/jquery.3.2.1.min.js"></script>
	<script src="js/popper.min.js"></script>
	<script src="js/bootstrap.min.js"></script>
	<!-- jQuery UI -->
	<script src="js/jquery-ui.min.js"></script>
	<script src="js/jquery.ui.touch-punch.min.js"></script>
	
	<!-- jQuery Scrollbar -->
	<script src="js/jquery.scrollbar.min.js"></script>
	<!-- Atlantis JS -->
	<script src="js/webfont.min.js"></script>
	<script src="js/atlantis.js"></script>
<script src="js/function.js"></script>
		<script>
            function showly(id) {
                var url = 'ly_reply.aspx?ID=' +id;
                window.open(url, '', 'scrollbars=yes,resizable=no,status=no,toolbar=no,menubar=no,location=no,width=650,height=300');
            }
        </script>