<%@ page language="C#" autoeventwireup="true" inherits="ECMe_Setting_EditPaymentInterface, ECMe_Deploy" validaterequest="false" %>

<%@ Register Assembly="FredCK.FCKeditorV2" Namespace="FredCK.FCKeditorV2" TagPrefix="FCKeditorV2" %>
<!-- 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/body63.css" rel="stylesheet" type="text/css" />
    <link href="../CSS/Admin/CSS/AdminIndex.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
    <asp:RequiredFieldValidator ID="RFV_TPaymentName" runat="server" ErrorMessage="支付方式名称不能为空"
        ControlToValidate="TPaymentName" Display="None"></asp:RequiredFieldValidator>
    <asp:RequiredFieldValidator ID="RFV_TPayRate" runat="server" ErrorMessage="支付费率不能为空"
        ControlToValidate="TPayRate" Display="None"></asp:RequiredFieldValidator>
    <asp:RegularExpressionValidator ID="REV_TPayRate" runat="server" ErrorMessage="支付费率格式不对"
        ValidationExpression="^[0-9]+(.[0-9]{1,4})?$" ControlToValidate="TPayRate" Display="None"></asp:RegularExpressionValidator>
    <div class="header">
        <h2>
            管理后台 &gt; <a href="#" class="admin_blue">添加支付方式</a></h2>
    </div>
    <div class="container">
        <asp:ValidationSummary ID="MainValidationSummary" DisplayMode="List" CssClass="error"
            runat="server" />
        <div class="dia">
            <p>
                <asp:Literal ID="LInfo" runat="server"></asp:Literal>
            </p>
        </div>
        <div class="all_1">
            <table border="0" cellspacing="0" cellpadding="0" style="width: 100%">
                <tr>
                    <td valign="top">
                        <div class="right">
                            <table width="100%" border="0" cellpadding="0" cellspacing="0" class="ADDGood_table_1">
                                <tr>
                                    <th style="width: 80px">
                                        支付方式：
                                    </th>
                                    <td>
                                        <asp:TextBox ID="TPaymentName" CssClass="input_1" Width="200px" runat="server"></asp:TextBox>
                                        <img src="../CSS/Admin/images/help.png" alt=" " width="10" height="10" />
                                        这里填写支付方式的名称
                                    </td>
                                </tr>
                                <tr>
                                    <th>
                                        是否开启：
                                    </th>
                                    <td>
                                        <asp:CheckBox ID="CIsOpen" runat="server" /><img src="../CSS/Admin/images/help.png" alt=" " width="10" height="10" />
                                        开启后用户即可使用此支付方式
                                    </td>
                                </tr>
                                <tr id="tr1" runat="server">
                                    <th>
                                        <asp:Literal ID="LAccountNumber" runat="server"></asp:Literal>：
                                    </th>
                                    <td>
                                        <asp:TextBox ID="TAccountNumber" Text="0" CssClass="input_1" Width="200px" runat="server"></asp:TextBox>
                                        <img src="../CSS/Admin/images/help.png" alt=" " width="10" height="10" />
                                        接口公司给您的商户号，有些叫客户号。
                                    </td>
                                </tr>
                                <tr id="tr2" runat="server">
                                    <th>
                                        <asp:Literal ID="LMD5" runat="server"></asp:Literal>：
                                    </th>
                                    <td>
                                        <asp:TextBox ID="TMD5Key" Text="0" CssClass="input_1" Width="200px" runat="server"></asp:TextBox>
                                        <img src="../CSS/Admin/images/help.png" alt=" " width="10" height="10" />
                                        接口公司给您的私钥，有些叫MD5私钥。
                                    </td>
                                </tr>
                                <tr id="tr3" runat="server">
                                    <th>
                                        <asp:Literal ID="LAccount" runat="server"></asp:Literal>：
                                    </th>
                                    <td>
                                        <asp:TextBox ID="TAccount" CssClass="input_1" Width="200px" runat="server"></asp:TextBox>
                                        <img src="../CSS/Admin/images/help.png" alt=" " width="10" height="10" />
                                        有些支付方式需要商户填写卖家账户才能支付,例如支付宝
                                    </td>
                                </tr>
                                <tr>
                                    <th>
                                        支付费率：
                                    </th>
                                    <td>
                                        <asp:TextBox ID="TPayRate" CssClass="input_1" Width="200px" runat="server"></asp:TextBox>
                                        %（如果让用户承担支付费率，则填写，例如支付宝收取1.5%的费率，则填写1.5）
                                    </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">
                        <FCKeditorV2:FCKeditor ID="FContent" Width="100%" Height="300px" runat="server">
                        </FCKeditorV2:FCKeditor>
                    </td>
                </tr>
            </table>
        </div>
    </div>
    <div class="footer">
        <div class="footer_button">
            <asp:Button ID="BSubmit" runat="server" Text="保存当前操作" CssClass="footer_but" OnClick="BSubmit_Click" />
        </div>
    </div>
    </form>
</body>
</html>
