<%@ page language="C#" autoeventwireup="true" inherits="ECMe_Member_MemberInfo, ECMe_Deploy" %>

<!-- Put IE into quirks mode -->
<!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 runat="server">
    <title>会员详细</title>
    <link href="../CSS/Admin/CSS/ECMe.css" rel="stylesheet" type="text/css" />
    <link href="../CSS/Admin/CSS/body0.css" rel="stylesheet" type="text/css" />
    <link href="../CSS/Admin/CSS/AdminIndex.css" rel="stylesheet" type="text/css" />
    <link href="../CSS/Admin/CSS/volti.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="../JS/Common.js"></script>
</head>
<body>
    <form id="form1" runat="server">
    <div class="header">
        <div class="aj">
            <ul>
                <li id="two1" onclick="setTab('two',1,9)" class="hover" style="cursor: pointer">基本信息</li>
                <li id="two2" onclick="setTab('two',2,9)" style="cursor: pointer">我的订单</li>
                <li id="two3" onclick="setTab('two',3,9)" style="cursor: pointer">积分</li>
                <li id="two4" onclick="setTab('two',4,9)" style="cursor: pointer">充值</li>
                <li id="two5" onclick="setTab('two',5,9)" style="cursor: pointer">提现申请</li>
                <li id="two6" onclick="setTab('two',6,9)" style="cursor: pointer">短消息</li>
                <li id="two7" onclick="setTab('two',7,9)" style="cursor: pointer">评论</li>
                <li id="two8" onclick="setTab('two',8,9)" style="cursor: pointer">咨询</li>
                <li id="two9" onclick="setTab('two',9,9)" style="cursor: pointer">投诉建议</li>
            </ul>
        </div>
    </div>
    <div class="container">
        <div id="con_two_1">
            <div class="title">
                会员的基本信息</div>
            <div class="all_1">
                <table border="0" cellspacing="0" cellpadding="0" style="width: 100%">
                    <tr>
                        <td valign="top">
                            <div class="dialog">
                                <p>
                                    用户姓名：<asp:Literal ID="LLoginName" runat="server"></asp:Literal></p>
                                <p>
                                    会员级别：<asp:Literal ID="LLevel" runat="server"></asp:Literal></p>
                                <p>
                                    当前积分：<span style="color: #FF6600">
                                        <asp:Literal ID="LPoint" runat="server"></asp:Literal>
                                    </span>
                                </p>
                                <p>
                                    当前存款：<span style="color: #FF6600"> ￥<asp:Literal ID="LAmount" runat="server"></asp:Literal>
                                    </span>
                                </p>
                                <p>
                                    注册时间：<asp:Literal ID="LDate" runat="server"></asp:Literal></p>
                                <p>
                                    电子邮件：<asp:Literal ID="LEMail" runat="server"></asp:Literal></p>
                            </div>
                        </td>
                    </tr>
                </table>
            </div>
            <div class="title">
                会员详细信息</div>
            <div class="all_1">
                <table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                        <td class="all">
                            <div class="Fast_group_labe">
                                <table border="0" cellspacing="0" cellpadding="0" class="Fast_group_table">
                                    <tr>
                                        <th style="width: 150px">
                                            注册项名
                                        </th>
                                        <th style="width: 150px">
                                            注册项值
                                        </th>
                                        <th style="width: 150px">
                                            注册项类型
                                        </th>
                                        <th>
                                            相关操作
                                        </th>
                                    </tr>
                                    <asp:Repeater ID="RepeaterInfo" runat="server" OnItemCommand="RepeaterInfo_ItemCommand">
                                        <ItemTemplate>
                                            <tr>
                                                <td>
                                                    <asp:TextBox ID="TRegisterName" Width="140px" Text='<%# Eval("InfoName") %>' runat="server"></asp:TextBox>
                                                </td>
                                                <td>
                                                    <asp:TextBox ID="TRegisterValue" Width="140px" Text='<%# Eval("InfoValue")%>' runat="server"></asp:TextBox>
                                                </td>
                                                <td>
                                                    <%# Eval("InfoType")%>
                                                </td>
                                                <td>
                                                    <img src="../CSS/Admin/images/Edit.png" alt="更新" />
                                                    <asp:LinkButton ID="LUpdateInfo" CssClass="blue" CausesValidation="false" CommandArgument='<%# Eval("ID") %>'
                                                        runat="server">更新</asp:LinkButton>
                                                </td>
                                            </tr>
                                        </ItemTemplate>
                                    </asp:Repeater>
                                </table>
                            </div>
                        </td>
                    </tr>
                </table>
            </div>
        </div>
        <div id="con_two_2" style="display: none">
            <div class="title">
                会员订单列表</div>
            <div class="all_1">
                <table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                        <td class="all">
                            <div class="Fast_group_labe">
                                <table border="0" cellspacing="0" cellpadding="0" class="Fast_group_table">
                                    <tr>
                                        <th style="width: 120px">
                                            编号
                                        </th>
                                        <th>
                                            订单号
                                        </th>
                                    </tr>
                                    <asp:Repeater ID="RepeaterOrder" runat="server">
                                        <ItemTemplate>
                                            <tr>
                                                <td>
                                                    <%# Eval("ID") %>
                                                </td>
                                                <td>
                                                    <img src="../CSS/Admin/images/order.png" alt="订单" />
                                                    <a href="#" class="blue">
                                                        <%# Eval("OrderNumber") %></a>
                                                </td>
                                            </tr>
                                        </ItemTemplate>
                                    </asp:Repeater>
                                </table>
                            </div>
                        </td>
                    </tr>
                </table>
            </div>
        </div>
        <div id="con_two_3" style="display: none">
            <div class="title">
                添加会员积分</div>
            <div class="all_1">
                <table border="0" cellspacing="0" cellpadding="0" style="width: 100%">
                    <tr>
                        <td valign="top">
                            <div class="dialog">
                                <table width="100%" border="0" cellspacing="0" cellpadding="0" style="font-size: 12px">
                                    <tr>
                                        <td align="right" style="width: 110px; height: 34px">
                                            当前积分：
                                        </td>
                                        <td>
                                            <span style="color: #FF6600">
                                                <asp:Literal ID="LMemberPoint" runat="server"></asp:Literal>
                                            </span>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td align="right" style="height: 34px">
                                            添加积分(增/减)：
                                        </td>
                                        <td>
                                            <asp:TextBox ID="TPointNumber" CssClass="input_1" Text="0" Width="250px" runat="server"></asp:TextBox>
                                            <asp:Button ID="BAddPoint" CssClass="button_1" runat="server" Text="确定" OnClick="BAddPoint_Click" />
                                            <asp:RequiredFieldValidator ID="RFV_TPointNumber" runat="server" ErrorMessage="积分不能为空"
                                                ControlToValidate="TPointNumber"></asp:RequiredFieldValidator>
                                            <asp:RegularExpressionValidator ID="REV_TPointNumber" runat="server" ErrorMessage="积分格式不对"
                                                ValidationExpression="^-?\d+$" ControlToValidate="TPointNumber"></asp:RegularExpressionValidator>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td align="right" style="height: 50px">
                                            积分备注：
                                        </td>
                                        <td>
                                            <asp:TextBox ID="TPointRemark" CssClass="input_1" Width="300px" Height="40px" runat="server"></asp:TextBox>
                                        </td>
                                    </tr>
                                </table>
                            </div>
                        </td>
                    </tr>
                </table>
            </div>
            <div class="title">
                会员积分列表</div>
            <div class="all_1">
                <table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                        <td class="all">
                            <div class="Fast_group_labe">
                                <table border="0" cellspacing="0" cellpadding="0" class="Fast_group_table">
                                    <tr>
                                        <th style="width: 120px">
                                            日期
                                        </th>
                                        <th style="width: 120px">
                                            积分变化
                                        </th>
                                        <th style="width: 120px">
                                            操作员
                                        </th>
                                        <th>
                                            说明
                                        </th>
                                    </tr>
                                    <asp:Repeater ID="RepeaterPointNote" runat="server">
                                        <ItemTemplate>
                                            <tr>
                                                <td>
                                                    <%# Eval("OperateDate")%>
                                                </td>
                                                <td style="color: #FF6600">
                                                    <%# Eval("PointNumber")%>
                                                </td>
                                                <td>
                                                    <%# Eval("Operate")%>
                                                </td>
                                                <td>
                                                    <%# Eval("Remark")%>
                                                </td>
                                            </tr>
                                        </ItemTemplate>
                                    </asp:Repeater>
                                </table>
                            </div>
                        </td>
                    </tr>
                </table>
            </div>
        </div>
        <div id="con_two_4" style="display: none">
            <div class="title">
                会员充值</div>
            <div class="all_1">
                <table border="0" cellspacing="0" cellpadding="0" style="width: 100%">
                    <tr>
                        <td valign="top">
                            <div class="dialog">
                                <table width="100%" border="0" cellspacing="0" cellpadding="0" style="font-size: 12px">
                                    <tr>
                                        <td align="right" style="width: 110px; height: 34px">
                                            当前金额：
                                        </td>
                                        <td>
                                            <span style="color: #FF6600">
                                                <asp:Literal ID="LMemberAmount" runat="server"></asp:Literal></span>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td align="right" style="height: 34px">
                                            充值金额(增/减)：
                                        </td>
                                        <td>
                                            <asp:TextBox ID="TAmountNumber" CssClass="input_1" Text="0" Width="250px" runat="server"></asp:TextBox>
                                            <asp:Button ID="BAddAmount" CssClass="button_1" runat="server" Text="确定" OnClick="BAddAmount_Click" />
                                            <asp:RequiredFieldValidator ID="RFV_TAmountNumber" runat="server" ErrorMessage="金额不能为空"
                                                ControlToValidate="TAmountNumber"></asp:RequiredFieldValidator>
                                            <asp:RegularExpressionValidator ID="REV_TAmountNumber" runat="server" ErrorMessage="金额格式不对"
                                                ValidationExpression="^(-?\d+)(\.\d+)?$" ControlToValidate="TAmountNumber"></asp:RegularExpressionValidator>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td align="right" style="height: 50px">
                                            充值备注：
                                        </td>
                                        <td>
                                            <asp:TextBox ID="TAmountRemark" CssClass="input_1" Width="300px" Height="40px" runat="server"></asp:TextBox>
                                        </td>
                                    </tr>
                                </table>
                            </div>
                        </td>
                    </tr>
                </table>
            </div>
            <div class="title">
                会员充值历史</div>
            <div class="all_1">
                <table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                        <td class="all">
                            <div class="Fast_group_labe">
                                <table border="0" cellspacing="0" cellpadding="0" class="Fast_group_table">
                                    <tr>
                                        <th style="width: 120px">
                                            日期
                                        </th>
                                        <th style="width: 120px">
                                            金额变化
                                        </th>
                                        <th style="width: 120px">
                                            操作员
                                        </th>
                                        <th>
                                            说明
                                        </th>
                                    </tr>
                                    <asp:Repeater ID="RepeaterAmountNote" runat="server">
                                        <ItemTemplate>
                                            <tr>
                                                <td>
                                                    <%# Eval("OperateDate")%>
                                                </td>
                                                <td style="color: #FF6600">
                                                    <%# Eval("AmountNumber")%>
                                                </td>
                                                <td>
                                                    <%# Eval("Operate")%>
                                                </td>
                                                <td>
                                                    <%# Eval("Remark")%>
                                                </td>
                                            </tr>
                                        </ItemTemplate>
                                    </asp:Repeater>
                                </table>
                            </div>
                        </td>
                    </tr>
                </table>
            </div>
        </div>
        <div id="con_two_5" style="display: none">
            <div class="title">
                会员提现记录</div>
            <div class="all_1">
                <table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                        <td class="all">
                            <div class="Fast_group_labe">
                                <table border="0" cellspacing="0" cellpadding="0" class="Fast_group_table">
                                    <tr>
                                        <th style="width: 120px">
                                            申请日期
                                        </th>
                                        <th style="width: 120px">
                                            放款日期
                                        </th>
                                        <th style="width: 120px">
                                            提现金额
                                        </th>
                                        <th style="width: 120px">
                                            提现银行
                                        </th>
                                        <th style="width: 120px">
                                            银行卡号
                                        </th>
                                        <th>
                                            开户人
                                        </th>
                                    </tr>
                                    <asp:Repeater ID="RepeaterCash" runat="server">
                                        <ItemTemplate>
                                            <tr>
                                                <td>
                                                    <%# Eval("ApplyDate")%>
                                                </td>
                                                <td>
                                                    <%# Eval("CashDate")%>
                                                </td>
                                                <td style="color: #FF6600">
                                                    <%# Eval("Amount")%>
                                                </td>
                                                <td>
                                                    <%# Eval("BankCardName")%>
                                                </td>
                                                <td>
                                                    <%# Eval("BankCard")%>
                                                </td>
                                                <td>
                                                    <%# Eval("BankCardPeople")%>
                                                </td>
                                            </tr>
                                        </ItemTemplate>
                                    </asp:Repeater>
                                </table>
                            </div>
                        </td>
                    </tr>
                </table>
            </div>
        </div>
        <div id="con_two_6" style="display: none">
            <div class="title">
                会员短消息列表</div>
            <div class="all_1">
                <table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                        <td class="all">
                            <div class="Fast_group_labe">
                                <table border="0" cellspacing="0" cellpadding="0" class="Fast_group_table">
                                    <tr>
                                        <th style="width: 100px">
                                            标题
                                        </th>
                                        <th style="width: 100px">
                                            日期
                                        </th>
                                        <th>
                                            内容
                                        </th>
                                    </tr>
                                    <asp:Repeater ID="RepeaterMessage" runat="server">
                                        <ItemTemplate>
                                            <tr>
                                                <td>
                                                    <a href="#" class="blue">
                                                        <%# Eval("Title") %></a>
                                                </td>
                                                <td style="color: #FF6600">
                                                    <%# Eval("SendDate")%>
                                                </td>
                                                <td>
                                                    <%# Eval("Body") %>
                                                </td>
                                            </tr>
                                        </ItemTemplate>
                                    </asp:Repeater>
                                </table>
                            </div>
                        </td>
                    </tr>
                </table>
            </div>
        </div>
        <div id="con_two_7" style="display: none">
            <div class="title">
                会员评论列表</div>
            <div class="all_1">
                <table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                        <td class="all">
                            <div class="Fast_group_labe">
                                <table border="0" cellspacing="0" cellpadding="0" class="Fast_group_table">
                                    <tr>
                                        <th>
                                            评论的商品
                                        </th>
                                        <th style="width: 120px">
                                            会员名
                                        </th>
                                        <th style="width: 120px">
                                            打分
                                        </th>
                                        <th style="width: 120px">
                                            评论日期
                                        </th>
                                        <th style="width: 120px">
                                            查看内容
                                        </th>
                                    </tr>
                                    <asp:Repeater ID="RepeaterReview" runat="server">
                                        <ItemTemplate>
                                            <tr>
                                                <td>
                                                    <img src="../CSS/Admin/images/Goods.png" alt="商品" />
                                                    <a href="../../Product.aspx?id=<%#Eval("ID")%>" target="_blank" class="blue">
                                                        <%#Common.GetProductName(int.Parse(Eval("ProductID").ToString()))%></a>
                                                </td>
                                                <td>
                                                    <%# Common.GetMemberName(int.Parse(Eval("MemberID").ToString()))%>
                                                </td>
                                                <td style="color: #FF6600">
                                                    <%#Eval("ReviewScore")%>
                                                    分
                                                </td>
                                                <td>
                                                    <%#Eval("ReviewDate")%>
                                                </td>
                                                <td>
                                                    <img src="../CSS/Admin/images/View.png" alt="查看评论" />
                                                    <a href='ReviewInfo.aspx?id=<%#Eval("ID")%>' class="blue" target="_blank" title="查看商品评论">
                                                        查看内容</a>
                                                </td>
                                            </tr>
                                        </ItemTemplate>
                                    </asp:Repeater>
                                </table>
                            </div>
                        </td>
                    </tr>
                </table>
            </div>
        </div>
        <div id="con_two_8" style="display: none">
            <div class="title">
                会员咨询列表</div>
            <div class="all_1">
                <table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                        <td class="all">
                            <div class="Fast_group_labe">
                                <table border="0" cellspacing="0" cellpadding="0" class="Fast_group_table">
                                    <tr>
                                        <th>
                                            咨询的商品
                                        </th>
                                        <th style="width: 100px">
                                            会员名
                                        </th>
                                        <th style="width: 60px">
                                            咨询类型
                                        </th>
                                        <th style="width: 100px">
                                            咨询日期
                                        </th>
                                        <th style="width: 100px">
                                            回复日期
                                        </th>
                                        </th>
                                        <th style="width: 60px">
                                            是否处理
                                        </th>
                                        <th style="width: 70px">
                                            查看内容
                                        </th>
                                    </tr>
                                    <asp:Repeater ID="RepeaterAsk" runat="server">
                                        <ItemTemplate>
                                            <tr>
                                                <td>
                                                    <img src="../CSS/Admin/images/Goods.png" alt="商品" />
                                                    <a href="../../Product.aspx?id=<%#Eval("ID")%>" target="_blank" class="blue">
                                                        <%#Common.GetProductName(int.Parse(Eval("ProductID").ToString()))%></a>
                                                </td>
                                                <td>
                                                    <%# Common.GetMemberName(int.Parse(Eval("MemberID").ToString()))%>
                                                </td>
                                                <td style="width: 50px" class="ys_red">
                                                    <%#Eval("AskType")%>
                                                </td>
                                                <td>
                                                    <%#Eval("AskDate")%>
                                                </td>
                                                <td>
                                                    <%#Eval("ReplyDate")%>
                                                </td>
                                                <td>
                                                    <%#Utils.GetBoolWord(bool.Parse(Eval("State").ToString()))%>
                                                </td>
                                                <td>
                                                    <img src="../CSS/Admin/images/View.png" alt="查看商品咨询" />
                                                    <a href='AskInfo.aspx?id=<%#Eval("ID")%>' class="blue" target="_blank" title="查看商品咨询">
                                                        查看内容</a>
                                                </td>
                                            </tr>
                                        </ItemTemplate>
                                    </asp:Repeater>
                                </table>
                            </div>
                        </td>
                    </tr>
                </table>
            </div>
        </div>
        <div id="con_two_9" style="display: none">
            <div class="title">
                会员投诉建议</div>
            <div class="all_1">
                <table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                        <td class="all">
                            <div class="Fast_group_labe">
                                <table border="0" cellspacing="0" cellpadding="0" class="Fast_group_table">
                                    <tr>
                                        <th>
                                            投诉建议标题
                                        </th>
                                        <th style="width: 80px">
                                            会员名
                                        </th>
                                        <th style="width: 80px">
                                            留言类型
                                        </th>
                                        <th style="width: 100px">
                                            投诉建议日期
                                        </th>
                                        <th style="width: 80px">
                                            是否处理
                                        </th>
                                        <th style="width: 80px">
                                            查看
                                        </th>
                                    </tr>
                                    <asp:Repeater ID="RepeaterComplaint" runat="server">
                                        <ItemTemplate>
                                            <tr>
                                                <td>
                                                    <img src="../CSS/Admin/images/Content.png" alt="标题" />
                                                    <%#Eval("ComplaintTitle")%>
                                                </td>
                                                <td>
                                                    <%# Common.GetMemberName(int.Parse(Eval("MemberID").ToString()))%>
                                                </td>
                                                <td style="width: 50px" class="ys_red">
                                                    <%#Eval("ComplaintType")%>
                                                </td>
                                                <td>
                                                    <%#Eval("ComplaintDate")%>
                                                </td>
                                                <td>
                                                    <%#Utils.GetBoolWord(bool.Parse(Eval("State").ToString()))%>
                                                </td>
                                                <td>
                                                    <img src="../CSS/Admin/images/View.png" alt="查看商品建议" />
                                                    <a href='ComplaintInfo.aspx?id=<%#Eval("ID")%>' class="blue" target="_blank" title="查看商品建议">
                                                        查看内容</a>
                                                </td>
                                            </tr>
                                        </ItemTemplate>
                                    </asp:Repeater>
                                </table>
                            </div>
                        </td>
                    </tr>
                </table>
            </div>
        </div>
    </div>
    </form>
</body>
</html>
