<%@ page language="C#" autoeventwireup="true" inherits="V5Shop.Admin.System_Payment_Operate, V5Shop.Shop.Payment" enableviewstatemac="false" enableEventValidation="false" viewStateEncryptionMode="Never" %>

<%@ Register Src="control/PageBottom.ascx" TagName="PageBottom" TagPrefix="uc2" %>
<%@ Register Src="control/HiddenField.ascx" TagName="HiddenField" TagPrefix="uc1" %>
<%@ Register TagPrefix="V5Shop" Namespace="V5Shop.Control" Assembly="V5Shop.Control" %>
<!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 id="Head1" 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>
        <div class="OperateTitle">
            <div>
            【 支付方式编辑 】
            <a href="System_Payment_Manage.aspx"><asp:Label ID="lblList" runat="server" Text="支付方式" meta:resourcekey="lblListResource1"></asp:Label></a>
            </div>
        </div>
    
    <div>
        <table id="OperateTable" runat="server" width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
            <tr>
                <td width="20%" height="30" align="right" bgcolor="#FFFFFF">
                    <asp:Label ID="Label1" runat="server" Text="支付方式名称：" meta:resourcekey="lblTitleResource1"></asp:Label> 
                </td>
                <td bgcolor="#FFFFFF" align=left>
                    <asp:TextBox ID="txtName" runat="server" meta:resourcekey="TitleResource2"></asp:TextBox>  <span class="NeedMsg">*</span>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" ControlToValidate="txtName" runat="server" ErrorMessage="不能为空" meta:resourcekey="RequiredFieldValidator1Resource1"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td width="20%" height="30" align="right" bgcolor="#FFFFFF">
                    <V5Shop:HelpCtrl ID="HelpCtrl1" runat="server" FontColor="red" Header="支付描述" ImageURL="images/help.gif"
                        Text="对该支付方式的描述。如用支付宝支付，中介保护，安全放心等。如果是线下支付方式。可以在这里写银行帐号，开户名等。" />
                    <asp:Label ID="Label2" runat="server" Text="支付描述：" ></asp:Label> 
                </td>
                <td bgcolor="#FFFFFF" align=left>
                    <asp:TextBox ID="txtDescription" Width="400" Height="150" runat="server" meta:resourcekey="TitleResource2" TextMode="MultiLine"></asp:TextBox>  <span class="NeedMsg">*</span>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" ControlToValidate="txtDescription" runat="server" ErrorMessage="不能为空" meta:resourcekey="RequiredFieldValidator1Resource1" Display="Dynamic"></asp:RequiredFieldValidator>
                    <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="txtDescription"
                        Display="Dynamic" ErrorMessage="长度必须在250字以内" ValidationExpression="^[\s\S]{0,250}$"></asp:RegularExpressionValidator></td>
            </tr>
            <tr>
                <td width="20%" height="30" align="right" bgcolor="#FFFFFF">
                    <asp:Label ID="lbldefault" runat="server" Text="默认描述："></asp:Label> 
                </td>
                <td bgcolor="#FFFFFF" align=left>
                    <asp:Label ID="lbldefaultcontent" runat="server"></asp:Label>
                </td>
            </tr>
            <tr>
                <td width="20%" height="30" align="right" bgcolor="#FFFFFF"></td>
                <td bgcolor="#FFFFFF" align=left>
                    <asp:Button ID="btnAdd" CssClass="button" runat="server" Text="确定" OnClick="btnAdd_Click" meta:resourcekey="btnAddResource1" />
                    <asp:Button ID="btnEdit" CssClass="button" runat="server" Text="更新" OnClick="btnEdit_Click" Visible="False" meta:resourcekey="btnEditResource1" />
                    <input id="iptReset" runat="server" type="reset" class="button" value="重置" />    
                    <input id="Button1" runat="server" type="button" value="返回列表" onclick="window.location.href='System_Payment_Manage.aspx'" class="button"/>  
                </td>
            </tr>
        </table>  
        <script type="text/javascript">
            //加TABLE样式
            InitTrClass();
        </script>
    </div>
        <uc2:PageBottom ID="PageBottom1" runat="server" />
    </div>
    </form>
</body>
</html>