<%@ Page Language="C#" MasterPageFile="../Admin.Master"
AutoEventWireup="true" CodeBehind="HistoryPay.aspx.cs" Inherits="ETongJin.Search.UI.Admin.sys.HistoryPay" %>


<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style type="text/css">
      
        .style1
        {
            height: 30px;
        }
      
    </style>
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <table class="tableBorder" border="0" cellpadding="3" cellspacing="1" id="demo_table">
    <tr>
      <th colspan="7"> 用户充值记录</th>
    </tr>
    <tr>
      <td colspan="7" class="date">
      
      <div class="dateinput">搜索：<asp:DropDownList 
              ID="ddlSearchType" runat="server"  Width="85px" 
              onselectedindexchanged="ddlSearchType_SelectedIndexChanged" 
              AutoPostBack="True">
            <asp:ListItem Value="3">交易状态</asp:ListItem>
            <asp:ListItem Text="交易成功" Value="1"></asp:ListItem>
            <asp:ListItem Text="交易未完成" Value="2"></asp:ListItem>
          </asp:DropDownList><input style="display:none" />
          用户名
          <asp:TextBox ID="txtUserName" runat="server" Text="" 
              onfocus="if(this.value=='关键字')this.value='';" CssClass="ym12_input2"></asp:TextBox>
          <asp:Button ID="Button5" runat="server" Text="提交" CssClass="btn02" 
            onmouseover="this.className='btn04'" onmouseout="this.className='btn02'" 
            onclick="Button5_Click"  />
        </div>
      </td>
    </tr>
    <tr align="center">
      <td class="td2" > 商品编号</td>
      <td class="td2">  用户姓名</td>
      <td  align="center" class="td2"> 交易时间 </td>
      <td class="td2">  交易状态</td>
      <td class="td2"> 交易金额 </td>
      <td  align="center" class="td2"> 交易地址</td>
     <td class="td2">交易账号</td>
      
    </tr>
    <asp:Repeater ID="Repeater1" runat="server" >
      <ItemTemplate>
           <tr bgcolor="#FFFFFF" onmouseover="javascript:this.bgColor='#E3E1D7'" onmouseout="javascript:this.bgColor='#FFFFFF'"
                                style="text-align: center;" >
                       
          <td><%#Eval("OrderID") %></td>
          <td><%#Eval("UserName") %></td>
          <td ><%#Eval("addTime") %></td>
          
          <td >
           <script>
            var n=<%#Eval("Status") %>
            if(n==1){document.write("<span style=color:red>已充值</a>")}
            else{document.write("未付款")}
           </script>
         
            
          </td>
          <td> <%#Eval("ToTalFee")%></td>
          <td><%#Eval("PayIP")%> </td>
          <td><%#Eval("PayAccount") %></td>
        
        </tr>
       
      </ItemTemplate>
    </asp:Repeater>
     <tr align="center">
      <td colspan="7" class="td2"><div id="tnt_pagination"><%= PageStr%></div></td>
    </tr>
   
   
  </table>
<script language="JavaScript">
	tigra_tables('demo_table', 3, 2, '#ffffff', '#F8F8F8', '#F1F3F5', '#71ADDA');
</script>
</asp:Content>