<%
    //-----------------------------------------------------------
    // 文件名称: User_Freeze_Operate.aspx
    // 页面名称: 冻结资金/积分操作
    //
    // 描    述:
    //
    // 创建标识: Add By 吴建春 2008-06-16
    //-----------------------------------------------------------
%>

<%@ page language="C#" autoeventwireup="true" inherits="V5Shop.Admin.User_Freeze_Operate, V5Shop.Shop.User" culture="auto" uiculture="auto" meta:resourcekey="PageResource1" enableviewstatemac="false" enableEventValidation="false" viewStateEncryptionMode="Never" %>

<%@ Register Assembly="V5Shop.Control" Namespace="V5Shop.Control" TagPrefix="cc1" %>
<%@ Register Src="control/PageBottom.ascx" TagName="PageBottom" TagPrefix="uc2" %>
<%@ Register Src="control/HiddenField.ascx" TagName="HiddenField" TagPrefix="uc1" %>
<!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/css.css" rel="stylesheet" type="text/css" />
    <link href="css/css_list.css" rel="stylesheet" type="text/css" />
    <link href="css/control.css" rel="stylesheet" type="text/css" />
    <link href="js/calendar-system.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" language="javascript" src="js/Common.js"></script>
    <script type="text/javascript" language="javascript" src="Js/Calendar.js"></script>
    <script type="text/javascript" language="javascript" src="Js/Calendar-zh.js"></script>
    <script type="text/javascript" language="javascript" src="Js/Calendar-Setup.js"></script>
    <style type="text/css">
    .title{
        color:#666666;
        font-size: 12px; 
        font-family:Arial, Helvetica, sans-serif;
        width: 150px;
        text-align: right
    }
    .item{
        color:#666666;
        font-size: 12px; 
        font-family:Arial, Helvetica, sans-serif;
        width: 650px;
        text-align: left
    }
    </style>
</head>
<body>
    <form id="form1" runat="server">
        <div class="OperateTitle">
            <div>
                <asp:Label ID="lblPageTitle" runat="server" Text="【冻结资金/积分】" />
                <a href='User_User_Manage.aspx' title="返回文章分类管理">返回列表</a>
            </div>
        </div>
        <div style="text-align: center;">
            <asp:Panel runat="server" ID="PanelShow" Width="100%">
                <div>
                    <table border="0" cellpadding="5" cellspacing="0" class="membertable" width="100%">
                        <tr class="F7tr">
                            <td style="height: 30px; width: 20%" align="right">
                                <asp:Label ID="Label1" runat="server" Text="当前会员："></asp:Label></td>
                            <td align="left">
                                <asp:Label ID="lblName" runat="server"></asp:Label>&nbsp;</td>
                        </tr>
                        <tr class="FFtr">
                            <td style="height: 30px" align="right">
                                <asp:Label ID="Label3" runat="server" Text="当前卡内佘额："></asp:Label></td>
                            <td align="left">
                                <asp:Label ID="lblPrice" runat="server" Text="0"></asp:Label></td>
                        </tr>
                        <tr class="F7tr">
                            <td align="right" style="height: 30px">
                                <asp:Label ID="Label2" runat="server" Text="已经冻结资金：" />
                            </td>
                            <td align="left" style="height: 30px">
                                <asp:Label ID="lblFrozenDeposit" runat="server" Text="0" />
                            </td>
                        </tr>
                        <tr class="FFtr">
                            <td style="height: 30px" align="right"><cc1:HelpCtrl ID="HelpCtrl2" runat="server" FontColor="red" Header="冻结资金" ImageURL="images/help.gif" Text="冻结资金数据" />
                                <asp:Label ID="Label4" runat="server" Text="冻结资金："></asp:Label></td>
                            <td align="left" style="height: 30px"><asp:DropDownList ID="ddlFrozenDeposit" runat="server" Width="50px">
                                <asp:ListItem Value="1">增加</asp:ListItem>
                                <asp:ListItem Value="-1">减少</asp:ListItem>
                            </asp:DropDownList>&nbsp;<cc1:NumberBox ID="txtFrozenDeposit" runat="server" Width="120px" />
                                &nbsp;<asp:Button ID="btnFrozenDeposit" runat="server" CssClass="button" Text="确定" OnClick="btnFrozenDeposit_Click" /></td>
                        </tr>
                        <tr class="F7tr">
                            <td style="height: 30px" align="right">
                                <asp:Label ID="Label5" runat="server" Text="当前积分："></asp:Label></td>
                            <td align="left">
                                <asp:Label ID="txtScore" runat="server" Text="0"></asp:Label></td>
                        </tr>
                        <tr class="FFtr">
                            <td align="right" style="height: 30px">
                                <asp:Label ID="Label9" runat="server" Text="已经冻结积分：" />
                            </td>
                            <td align="left">
                                <asp:Label ID="lblFrozenScore" runat="server" Text="0" /></td>
                        </tr>
                        <tr class="F7tr">
                            <td style="height: 30px" align="right"><cc1:HelpCtrl ID="HelpCtrl1" runat="server" FontColor="red" Header="冻结结分" ImageURL="images/help.gif" Text="冻结积分数据" />
                                <asp:Label ID="Label6" runat="server" Text="冻结积分："></asp:Label></td>
                            <td align="left"><asp:DropDownList ID="ddlFrozenScore" runat="server" Width="50px">
                                <asp:ListItem Value="1">增加</asp:ListItem>
                                <asp:ListItem Value="-1">减少</asp:ListItem>
                            </asp:DropDownList>
                                <cc1:NumberBox ID="txtFrozenScore" runat="server" IsInt="true" Width="120px" />
                                &nbsp;<asp:Button ID="btnFrozenScore" runat="server" CssClass="button" Text="确定" OnClick="btnFrozenScore_Click" /></td>
                        </tr>
                        <tr class="FFtr">
                            <td style="height: 30px" align="right"><cc1:HelpCtrl ID="HelpCtrl3" runat="server" FontColor="red" Header="变动原因" HideSelects="False" ImageURL="images/help.gif" Text="积分或资金的变动原因" />
                                &nbsp;<asp:Label ID="Label7" runat="server" Text="变动原因："></asp:Label></td>
                            <td align="left">
                                <asp:TextBox ID="txtCausation" runat="server" Width="450px" Height="96px" TextMode="MultiLine"></asp:TextBox></td>
                        </tr>
                        <tr class="F7tr">
                            <td style="height: 30px" align="right">
                                <asp:Label ID="Label8" runat="server" Text="冻结记录："></asp:Label></td>
                            <td align="left">
                                <div style="border: 1PX #CCCCCC solid; width: 600px" class="listborder">
                                    <cc1:V5ShopGridView ID="GridViewShow" runat="server" AllowPaging="True" AllowSorting="True" AutoGenerateColumns="False" CssClass="datalist" HeaderStyle-Height="18px" PageSize="5" HeaderStyle-ForeColor="#000000" EmptyDataText="没有任何可用信息！">
                                        <PagerSettings Mode="NumericFirstLast" />
                                        <Columns>
                                            <asp:BoundField DataField="Date" HeaderText="变动时间" SortExpression="Date" />
                                            <asp:BoundField DataField="Causation" HeaderText="变动原因" SortExpression="Causation" />
                                            <asp:BoundField DataField="Price" HeaderText="当前卡内余额" SortExpression="Price" />
                                            <asp:BoundField DataField="FrozenDeposit" HeaderText="冻结资金" SortExpression="FrozenDeposit" />
                                            <asp:BoundField DataField="Score" HeaderText="当前积分" SortExpression="Score" />
                                            <asp:BoundField DataField="FrozenScore" HeaderText="冻结积分" SortExpression="FrozenScore" />
                                        </Columns>
                                        <HeaderStyle CssClass="category" ForeColor="Black" />
                                    </cc1:V5ShopGridView>
                                </div>
                            </td>
                        </tr>
                    </table>
                </div>
            </asp:Panel>
            <uc2:PageBottom ID="PageBottom1" runat="server" />
        </div>
        <div id="hiddenfield">
            <asp:HiddenField ID="CheckedIDS" runat="server" Value="0" />
            <asp:HiddenField ID="PageIndex" runat="server" Value="0" />
            <asp:HiddenField ID="MaxPageIndex" runat="server" Value="0" />
            <uc1:HiddenField ID="Alert" runat="server" />
        </div>
    </form>
</body>
</html>
