<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="lowerfsdata.aspx.cs" Inherits="AgentManager.admin.lowerfsdata" %>
    <link rel="stylesheet" href="css/bootstrap/css/bootstrap.min.css"/>
      <link rel="stylesheet" href="css/AdminLTE.css" />
      <link rel="stylesheet" href="css/plugins/iCheck/flat/blue.css"/> 

<script src="js/jquery-1.9.1.min.js"></script>
<script src="css/bootstrap/js/bootstrap.min.js"></script>
<script src="css/My97DatePicker/WdatePicker.js"></script>
<script src="js/mainData.js"></script>


     <div class="content-wrapper">
       
<section class="content-header">
    <h1>
    下级会员反水记录
    <small></small>
    </h1>
    
</section>
         
         <form action="lowerfsdata.aspx" method="post">
 <div class="col-md-6">
              <table class="table">
                  <tr>
                      <td><label>账号</label></td>
                       <td>
                     <input  name="username" id="username"  value="<%=username %>" maxlength="15" autocomplete="off"  class="form-control" list="a"/>

<datalist id="a"> 
   

                          <%foreach (var item in li)
                              {
                                
                                  %>

                              <option value="<%=item.Username %>"><%=item.Myname  %></option>

                          <%

                              } %>
</datalist>

                    <%-- <input name="username" type="text" id="username" maxlength="15" autocomplete="off" value="<%=username %>" class="form-control" />--%>

                       </td>



                      <td><label>时间范围</label></td>
                    <td colspan="2">
                        <div class="btn-group">
                          <button type="button" class="btn btn-default" onclick="setAutoTime('1','starttime','endtime')">最近3天</button>
                          <button type="button" class="btn btn-default" onclick="setAutoTime('2','starttime','endtime')">最近7天</button>
                          <button type="button" class="btn btn-default" onclick="setAutoTime('3','starttime','endtime')">最近30天</button>
                        </div>
                    </td>
                  </tr>
                  <tr>
                      <td><label>开始时间</label></td>
                      <td><input name="starttime" type="text" id="starttime" maxlength="10" autocomplete="off" value="<%=start %>" class="form-control" onclick="WdatePicker()" /></td>
                      <td><label>结束时间</label></td>
                      <td><input name="endtime" type="text" id="endtime" maxlength="10" autocomplete="off" value="<%=end %>" class="form-control" onclick="WdatePicker()" /></td>
                      <td><input type="submit" name="Submit" value="搜索" class="btn btn-block btn-primary"/></td>
                  </tr>
              </table>
        </div>
         </form>
<section class="content">

<div id="mainbox">
<form id="form1" name="form1" method="post">

<table class="box">
   
  <tr>
    <td><strong>ID</strong></td>
    <td><strong>单号</strong></td>
    <td><strong>玩家名字</strong></td>
        <td><strong>反水金额</strong></td>
      <td><strong>充值时间</strong></td>
  
      <td><strong>备注时间段</strong></td>

  </tr>
   
  <%
      if (li1!=null)
      {

     
      foreach (var item in li1)
      {%>
      <tr>
    <td><strong><%=item.Id %></strong></td>
    <td><strong><%=item.Billno %></strong></td>
    <td><strong><%=item.Username %></strong></td>
    <td><strong><%=item.Moneynum %></strong></td>
    <td><strong><%=item.Inputtime %></strong></td>
 
    <td><strong><%=item.Beizhu %></strong></td>

  </tr>
    <%

      } } %>
    
   
</table>
</form>

</div>

</section>



<div class="page" id="pagebox" runat="server">
     <div>页码<strong><%= pageindex %></strong>/<%= pagecount %>，共<span><%=count %></span>条记录，每页显示<span><%= pagesize %></span>条</div>
    <div>
        <a  class="btn btn-primary btn-sm" href="lowershowdata.aspx?username=<%=username %>&page=<%= 1 %>&starttime=<%= start %>&endtime=<%=end %>">首页</a>
        <a  class="btn btn-primary btn-sm" href="lowershowdata.aspx?username=<%= username %>&page=<%= pageindex-1 %>&starttime=<%= start %>&endtime=<%=end %>">上一页</a>
        <a  class="btn btn-primary btn-sm" href="lowershowdata.aspx?username=<%= username %>&page=<%= pageindex+1%>&starttime=<%= start %>&endtime=<%=end %>">下一页</a>
        <a  class="btn btn-primary btn-sm" href="lowershowdata.aspx?username=<%= username %>&page=<%= pagecount %>&starttime=<%= start %>&endtime=<%=end %>">末页</a>
     </div>
   
</div>




</div>






