<%@ page language="C#" autoeventwireup="true" inherits="Admin_WebSetting_EditPaymentInterface, ShopWe" %>

<%@ Register Assembly="FredCK.FCKeditorV2" Namespace="FredCK.FCKeditorV2" TagPrefix="FCKeditorV2" %>
<!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/my.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="../css/jquery.js"></script>
</head>
<body>
    <form id="form1" runat="server">
    <div class="all">
        <div class="validate">
            <asp:ValidationSummary ID="ValidationSummaryPage" CssClass="val_ys" runat="server"
                DisplayMode="List" ForeColor="#FF6600" />
            <asp:RequiredFieldValidator ID="RequiredFieldValidatorName" runat="server" ErrorMessage="支付方式名称不能为空"
                ControlToValidate="Name" Display="None"></asp:RequiredFieldValidator>
            <asp:RequiredFieldValidator ID="RequiredFieldValidatorPassword" runat="server" ControlToValidate="PayRate"
                Display="None" ErrorMessage="支付费率不能为空"></asp:RequiredFieldValidator>
            <asp:RegularExpressionValidator ID="RegularExpressionValidatorPrice" runat="server"
                ControlToValidate="PayRate" Display="None" ErrorMessage="支付费率格式错误" ValidationExpression="^[0-9]+(.[0-9]{1,3})?$"></asp:RegularExpressionValidator>
        </div>
        <div class="come_title">
            <h2>
                支付基本信息</h2>
            <div class="title_help">
                <a href="http://www.shopwe.cn/bbs/" target="_blank">
                    <img src="../Themes/Default/Images/help_1.jpg" alt="shopwe论坛" width="50" height="20" /></a>
                <a href="http://help.shopwe.cn/video/payment_demo/payment_demo.htm" target="_blank">
                    <img src="../Themes/Default/Images/video_help.jpg" alt="shopwe视频教程" width="50" height="20" /></a>
                <a href="http://help.shopwe.cn/help/Show.asp?id=27" target="_blank">
                    <img src="../Themes/Default/Images/help.jpg" alt="shopwe帮助中心" width="50" height="20" /></a></div>
        </div>
        <div class="k_all6">
            <div class="Payment" id="PaymentRemark">
                <asp:Literal ID="LiteralInfo" Text="支付方式信息" runat="server"></asp:Literal>
            </div>
            <table width="100%" border="0" cellpadding="0" cellspacing="0">
                <tr>
                    <td class="bg_1" style="text-align: right; width: 90px;">
                        支付方式名称：
                    </td>
                    <td>
                        <asp:TextBox ID="Name" CssClass="input" Style="width: 150px" runat="server"></asp:TextBox>
                        <h4>
                            <img src="../css/images/help.png" alt="支付方式名称" />
                            <span style="color: #999999">前台用户支付时显示的名称，例如支付宝，线下支付。</span></h4>
                    </td>
                </tr>
                <tr>
                    <td class="bg_1" style="text-align: right; width: 90px;">
                        是否开启：
                    </td>
                    <td>
                        <asp:CheckBox ID="CheckBoxIsOpen" Checked="false" runat="server" />
                    </td>
                </tr>
                <tr id="tr1" runat="server">
                    <td class="bg_1" style="text-align: right; width: 90px;">
                        <span id="AccountNumberScript">
                            <asp:Literal ID="LiteralAccountNumber" Text="商户号" runat="server"></asp:Literal>：
                        </span>
                    </td>
                    <td>
                        <asp:TextBox ID="AccountNumber" CssClass="input" Style="width: 150px" runat="server"></asp:TextBox><h4>
                            <img src="../css/images/help.png" />
                            <span style="color: #999999">接口公司给您的商户号，有些叫客户号。</span></h4>
                    </td>
                </tr>
                <tr id="tr2" runat="server">
                    <td class="bg_1" style="text-align: right; width: 90px;">
                        <span id="Md5KeyScript">
                            <asp:Literal ID="LiteralMD5" Text="密钥" runat="server"></asp:Literal>：</span>
                    </td>
                    <td>
                        <asp:TextBox ID="Md5Key" CssClass="input" Style="width: 150px" runat="server"></asp:TextBox><h4>
                            <img src="../css/images/help.png" alt="MD5" />
                            <span style="color: #999999">接口公司给您的私钥，有些叫MD5私钥。</span></h4>
                    </td>
                </tr>
                <tr id="tr3" runat="server">
                    <td class="bg_1" style="text-align: right; width: 90px;">
                        <span id="AccountScript">
                            <asp:Literal ID="LiteralAccount" Text="卖家帐号" runat="server"></asp:Literal>：</span>
                    </td>
                    <td>
                        <asp:TextBox ID="Account" CssClass="input" Style="width: 150px" runat="server"></asp:TextBox><h4>
                            <img src="../css/images/help.png" alt="帐号" />
                            <span style="color: #999999">有些支付方式需要商户填写卖家账户才能支付,例如支付宝。</span></h4>
                    </td>
                </tr>
                <tr>
                    <td class="bg_1" style="text-align: right; width: 90px;">
                        支付费率：
                    </td>
                    <td>
                        <asp:TextBox ID="PayRate" CssClass="input" Style="width: 50px" runat="server">0</asp:TextBox><h4>
                            <span style="color: #999999">%（如果让用户承担支付费率，则填写，例如支付宝收取1.5%的费率，则填写1.5）</span></h4>
                    </td>
                </tr>
            </table>
        </div>
        <div class="come_title_bai">
            <h2>
                支付方式介绍</h2>
        </div>
        <div class="k_all6">
            <FCKeditorV2:FCKeditor ID="Remark" runat="server">
            </FCKeditorV2:FCKeditor>
        </div>
    </div>
    <div class="sub">
        <asp:Button ID="Submit" runat="server" Text="提交" OnClick="Submit_Click" CssClass="but_add" />
    </div>
    </form>
</body>
</html>
