<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="WebXabara_money_Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>汇款单</title>
    <link href="../InClude/StyleSheet.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
    <!--
    body {
	    margin-left: 0px;margin-top: 15px;margin-right: 10px;margin-bottom: 10px;
    }
    -->
    </style>
    <script src="/js/jquery.min.js" type="text/javascript"></script>    
    <script src="/js/all.js" type="text/javascript"></script>
</head>
<body>
    <form id="form1" runat="server">
    <div class="divWidth">
        <div class="titleBg">
            汇款单
            <asp:TextBox ID="searchWord" runat="server" CssClass="inputText" Width="120px" ToolTip="输入用户名或姓名搜索"></asp:TextBox>
            <asp:Button ID="SearchButton" runat="server" CssClass="inputBottom" Text="搜索" OnClick="SearchButton_Click" />
            <asp:RequiredFieldValidator SetFocusOnError="True" ID="RequiredFieldValidator1" runat="server"
                ControlToValidate="searchWord" ErrorMessage="请输入关键词"></asp:RequiredFieldValidator></div>
        <div class="height10px">
        </div>
        <asp:Repeater ID="RepeaterList" runat="server">
            <HeaderTemplate>
                <table width="100%" class="tableLine">
                    <tr>
                        <td class="trTitleBG">
                            会员
                        </td>
                        <td class="trTitleBG">
                            姓名
                        </td>
                        <td class="trTitleBG">
                            汇款方式
                        </td>
                        <td class="trTitleBG">
                            汇款底图
                        </td>
                        <td class="trTitleBG">
                            汇款用途
                        </td>
                        <td class="trTitleBG">
                            汇款金额
                        </td>
                        <td class="trTitleBG">
                            备注
                        </td>
                        <td class="trTitleBG">
                            汇款/提交时间
                        </td>
                        <td class="trTitleBG">
                            操作
                        </td>
                    </tr>
            </HeaderTemplate>
            <ItemTemplate>
                <tr>
                    <td style="text-align: left;">
                        <%# Eval("uID").ToString().Trim()%>
                    </td>
                    <td>
                        <%# Eval("remitName").ToString().Trim()%>
                    </td>
                    <td style="text-align:center;">
                        <%# Eval("remitBank").ToString().Trim()%>
                    </td>
                    <td style="text-align:center;">
                        <asp:HyperLink ID="HyperLink2" runat="server" NavigateUrl='<%# getImg(Eval("remitImg").ToString().Trim())%>'
                            Target="_blank"><img src='<%# getImg(Eval("remitImg").ToString().Trim())%>' style="width:80px; height:60px;" /></asp:HyperLink>
                    </td>
                    <td style="text-align:center;">
                        <%# Eval("remitType").ToString().Trim()%>
                    </td>
                    <td>
                        <%# getM(Eval("remitMoney").ToString().Trim())%>
                    </td>
                    <td style="text-align: left;">
                        <%# Eval("remitInfo").ToString().Trim()%>
                    </td>
                    <td style="text-align:center;">
                        R：<%#Convert.ToDateTime(Eval("remitDate")).ToString("yy-MM-dd HH") %><br />
                        P：<%#Convert.ToDateTime(Eval("postDate")).ToString("yy-MM-dd HH") %>
                    </td>
                    <td style="text-align:center;">
                        <%if (passID < 1)
                          { %><asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl='<%# Eval("rID","passMoney.aspx?id={0}&flagID=1").ToString().Trim()%>'><b onclick="return confirm('确定充入帐户余额吗？');">确认</b></asp:HyperLink>&nbsp;&nbsp;<asp:HyperLink
                                                       ID="HyperLink3" runat="server" NavigateUrl='<%# Eval("rID","passMoney.aspx?id={0}&flagID=2").ToString().Trim()%>'
                                                       Font-Bold="true">作废</asp:HyperLink><%}
                          else
                          {%><%# Convert.ToDateTime(Eval("adminDate")).ToString("yy-MM-dd HH:mm:ss") + "<br />" + Eval("adminID").ToString().Trim() + "　" + getP(Eval("adminPass").ToString())%><%} %>
                    </td>
                </tr>
            </ItemTemplate>
            <AlternatingItemTemplate>
                <tr>
                    <td style="background-color: #E9F8FC;">
                        <%# Eval("uID").ToString().Trim()%>
                    </td>
                    <td style="background-color: #E9F8FC;">
                        <%# Eval("remitName").ToString().Trim()%>
                    </td>
                    <td style="background-color: #E9F8FC; text-align:center;">
                        <%# Eval("remitBank").ToString().Trim()%>
                    </td>
                    <td style="background-color: #E9F8FC; text-align:center;">
                        <asp:HyperLink ID="HyperLink2" runat="server" NavigateUrl='<%# getImg(Eval("remitImg").ToString().Trim())%>'
                            Target="_blank"><img src='<%# getImg(Eval("remitImg").ToString().Trim())%>' style="width:80px; height:60px;" /></asp:HyperLink>
                    </td>
                    <td style="background-color: #E9F8FC; text-align:center;">
                        <%# Eval("remitType").ToString().Trim()%>
                    </td>
                    <td style="background-color: #E9F8FC;">
                        <%# getM(Eval("remitMoney").ToString().Trim())%>
                    </td>
                    <td style="background-color: #E9F8FC; text-align: left;">
                        <%# Eval("remitInfo").ToString().Trim()%>
                    </td>
                    <td style="background-color: #E9F8FC; text-align:center;">
                        R：<%#Convert.ToDateTime(Eval("remitDate")).ToString("yy-MM-dd HH") %><br />
                        P：<%#Convert.ToDateTime(Eval("postDate")).ToString("yy-MM-dd HH") %>
                    </td>
                    <td style="background-color: #E9F8FC; text-align:center;">
                        <%if (passID < 1)
                          { %><asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl='<%# Eval("rID","passMoney.aspx?id={0}&flagID=1").ToString().Trim()%>'><b onclick="return confirm('确定充入帐户余额吗？');">确认</b></asp:HyperLink>&nbsp;&nbsp;<asp:HyperLink
                                                       ID="HyperLink3" runat="server" NavigateUrl='<%# Eval("rID","passMoney.aspx?id={0}&flagID=2").ToString().Trim()%>'
                                                       Font-Bold="true">作废</asp:HyperLink><%}
                          else
                          {%><%# Convert.ToDateTime(Eval("adminDate")).ToString("yy-MM-dd HH:mm:ss") + "<br />" + Eval("adminID").ToString().Trim() + "　" + getP(Eval("adminPass").ToString())%><%} %>
                    </td>
                </tr>
            </AlternatingItemTemplate>
            <FooterTemplate>
                </table>
            </FooterTemplate>
        </asp:Repeater>
        <div class="height10px">
        </div>
        <div>
            <asp:Label ID="lblCurrentPage" runat="server"></asp:Label>
        </div>
    </div>
    </form>
</body>
</html>
