<%@ 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"></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 width="19%" class="td1"> 订单ID</td>
      <td width="10%" class="td1"> 交易金额 </td>
      <td class="td1"> 用户姓名</td>
      <td width="20%" class="td1">交易账号</td>
      <td width="8%" class="td1"> 交易状态</td>
      <td width="15%" class="td1"> 交易地址</td>
      <td width="18%" class="td1"> 交易时间 </td>
    </tr>
    <asp:Repeater ID="Repeater1" runat="server" >
      <ItemTemplate>
        <tr align="center">
          <td><%#Eval("OrderID") %></td>
          <td><%#Eval("ToTalFee")%></td>
          <td class="td4"><%#Eval("UserName") %></td>
          <td><%#Eval("PayAccount") %></td>
          <td><script>
            var n=<%#Eval("Status") %>
            if(n==1){document.write("<span style=color:red>已充值</a>")}
            else{document.write("未付款")}
           </script>
          </td>
          <td><%#Eval("PayIP")%> </td>
          <td><%#Eval("addTime") %></td>
        </tr>
      </ItemTemplate>
    </asp:Repeater>
    <tr>
      <td colspan="7" class="td2"><div id="tnt_pagination"><%= PageStr%></div></td>
    </tr>
  </table>
<script language="JavaScript">
	tigra_tables('demo_table', 3, 1, '#ecfbd4', '#ffffff', '#e5f1f4', '#bce774');
</script>
</asp:Content>
