<%
    //-----------------------------------------------------------
    // 文件名称: User_UserScore_Operate.aspx
    // 页面名称: 积分操作
    //
    // 描    述:
    //
    // 创建标识: Add By 吴建春 2008-07-10
    //-----------------------------------------------------------
%>

<%@ page language="C#" autoeventwireup="true" inherits="V5Shop.Admin.User_UserScore_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" />

    <script type="text/javascript" language="javascript" src="js/Common.js"></script>

</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="Label5" runat="server" Text="当前积分："></asp:Label></td>
                            <td align="left">
                                <asp:Label ID="txtOldScore" runat="server" Text="0"></asp:Label></td>
                        </tr>
                        <tr class="F7tr">
                            <td style="height: 30px" align="right">
                                <asp:Label ID="Label6" runat="server" Text="积分："></asp:Label></td>
                            <td align="left">
                                <asp:DropDownList ID="ddlIsOut" runat="server" Width="60px">
                                    <asp:ListItem Value="0">增加</asp:ListItem>
                                    <asp:ListItem Value="1">扣除</asp:ListItem>
                                </asp:DropDownList>&nbsp;<cc1:NumberBox ID="txtScore" runat="server" IsInt="true" Width="60px" />
                            </td>
                        </tr>
                        <tr class="FFtr">
                            <td style="height: 30px" align="right">
                                <asp:Label ID="Label7" runat="server" Text="原因描述："></asp:Label></td>
                            <td align="left">
                                <asp:TextBox ID="txtDescription" runat="server" Width="218px" Height="80px" TextMode="MultiLine" MaxLength="100" />
                                <asp:RegularExpressionValidator ID="revDescription" runat="server" ControlToValidate="txtDescription" Display="Dynamic" ErrorMessage="长度必须在100以内" ValidationExpression=".{0,100}"></asp:RegularExpressionValidator></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; background:#ffffff">
                                <cc1:V5ShopGridView ID="GridViewShow" runat="server" AllowPaging="True" AllowSorting="True" AutoGenerateColumns="False" 
                                CssClass="datalist" PageSize="5" HeaderStyle-ForeColor="#000000" EmptyDataText="没有任何可用信息！">
                                    <PagerSettings Mode="NumericFirstLast" />
                                    <Columns>
                                        <asp:BoundField DataField="Date" HeaderText="变动时间" SortExpression="Date" />
                                        <asp:BoundField DataField="Description" HeaderText="描述" SortExpression="Description" />
                                        <asp:BoundField DataField="OperateType" HeaderText="操作" SortExpression="OperateType" />
                                        <asp:BoundField DataField="OldScore" HeaderText="当前积分" SortExpression="OldScore" />
                                        <asp:BoundField DataField="Sum" HeaderText="变动积分" SortExpression="Sum" />
                                    </Columns>
                                    <HeaderStyle CssClass="category" ForeColor="Black" />
                                </cc1:V5ShopGridView></div>
                            </td>
                        </tr>
                        <tr class="FFtr">
                            <td align="center" style="text-align: center; height:36PX" colspan="2">
                                <br />
                                <asp:Button ID="btnAddSubmit" runat="server" meta:resourcekey="btnAddResource1" OnClick="btnAddSubmit_Click" Text="确定" CssClass="button" />
                                <input id="iptReset" runat="server" type="reset" value="重置" class="button" />
                                <asp:Button id="btnReturn" onclick="btnReturn_Click" runat="server" Text="返回列表" CssClass="button" CausesValidation="false" />
                                <br />
                            </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>
