<%@ Page Language="C#" AutoEventWireup="true" MasterPageFile="~/Member/MemberMaster.Master"
    Inherits="Member_Exchange" CodeBehind="Exchange.aspx.cs" %>

<%@ Register Assembly="TopWinCMS.WebControls" Namespace="TopWinCMS.WebControls" TagPrefix="cc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">

    <script language="javascript">
        function Check(which) {
            if (which == "A") {
                A();
            }
            else if (which == "B") {
                B();
            }
            else if (which == "C") {
                C();
            }
        }
        function A() {
            var i = document.getElementById("NumericTextBox1").value;
            if (i == "") {
                alert('请输入数字。');
                return false;
            }
        }
        function B() {
            var i = document.getElementById("NumericTextBox2").value;
            if (i == "") {
                alert('请输入数字。');
                return false;
            }
        }
        function C() {
            var i = document.getElementById("NumericTextBox3").value;
            if (i == "") {
                alert('请输入数字。');
                return false;
            }
        }
  
 
    </script>

    <form id="form2" runat="server">
    <table style="table-layout: fixed; border-collapse: collapse" cellspacing="0" cellpadding="3"
        width="98%" align="center" border="0">
        <tbody>
            <tr>
                <td width="8%" height="32" align="center" background="../Images/demo_53.gif">
                    &nbsp;
                </td>
                <td width="92%" align="center" background="../Images/demo_53.gif">
                    <strong>点数管理 －－
                        <asp:Label ID="LB_Path" runat="server"></asp:Label>
                    </strong>
                </td>
            </tr>
            <tr>
                <td colspan="2" valign="top" align="center" style="height: 291px">
                    <asp:Panel ID="Panel1" runat="server" Width="100%">
                        <table border="0" cellpadding="4" style="width: 100%">
                            <tr>
                                <td align="right" style="width: 145px">
                                    注意：
                                </td>
                                <td style="text-align:left">
                                    为了防止作弊，全部转换都采用“去尾法”计算。
                                </td>
                            </tr>
                            <tr>
                                <td align="right" style="width: 145px">
                                    金币转点数：
                                </td>
                                <td style="text-align:left" >
                                    <cc1:NumericTextBox ID="NumericTextBox1" runat="server" Width="94px"></cc1:NumericTextBox>
                                    <asp:Button ID="BT_OK1" runat="server" OnClick="BT_OK1_Click" Text="确定" CssClass="btn" />
                                    汇率：<asp:Label ID="Label1" runat="server" Text="Label"></asp:Label>
                                </td>
                            </tr>
                            <tr>
                                <td align="right" style="width: 145px">
                                    点数转金币：
                                </td>
                                <td width="79%" style="text-align:left">
                                    <cc1:NumericTextBox ID="NumericTextBox2" runat="server" Width="94px"></cc1:NumericTextBox>
                                    <asp:Button ID="BT_OK2" runat="server" OnClick="BT_OK2_Click" Text="确定" CssClass="btn" />
                                    汇率：<asp:Label ID="Label2" runat="server" Text="Label"></asp:Label>
                                </td>
                            </tr>
                            <tr>
                                <td align="right" style="width: 145px">
                                    经验转点数：
                                </td>
                                <td style="text-align:left">
                                    <cc1:NumericTextBox ID="NumericTextBox3" runat="server" Width="94px"></cc1:NumericTextBox>
                                    <asp:Button ID="BT_OK3" runat="server" OnClick="BT_OK3_Click" Text="确定" CssClass="btn" />
                                    汇率：<asp:Label ID="Label3" runat="server" Text="Label"></asp:Label>
                                </td>
                            </tr>
                            <tr>
                                <td align="right" style="width: 145px; height: 32px">
                                </td>
                                <td style="height: 32px">
                                </td>
                            </tr>
                        </table>
                    </asp:Panel>
                    <asp:Panel ID="Panel2" runat="server" Width="100%">
                        <table border="0" cellpadding="4" style="width: 100%">
                            <tr>
                                <td align="right" style="width: 145px">
                                    金币转赠：
                                </td>
                                <td style="text-align:left">
                                    <asp:TextBox ID="TB_MemberName" runat="server"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td align="right" style="width: 145px">
                                    金币数量：
                                </td>
                                <td style="text-align:left">
                                    <cc1:NumericTextBox ID="NTB_Coin" runat="server" Width="94px"></cc1:NumericTextBox>
                                </td>
                            </tr>
                            <tr>
                                <td align="right" style="width: 145px">
                                </td>
                                <td width="570">
                                    <asp:Button ID="BT_OK4" runat="server" OnClick="BT_OK4_Click" Text="确定" CssClass="btn" />
                                </td>
                            </tr>
                            <tr>
                                <td align="right" style="width: 145px">
                                </td>
                                <td>
                                </td>
                            </tr>
                            <tr>
                                <td align="right" style="width: 145px; height: 32px">
                                </td>
                                <td style="height: 32px">
                                </td>
                            </tr>
                        </table>
                    </asp:Panel>
                </td>
            </tr>
        </tbody>
    </table>
    </form>
</asp:Content>
