<%@ page language="C#" autoeventwireup="true" inherits="Admin_Template_EmailTemplate, 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>

    <script type="text/javascript" src="../css/admin.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="EmailTitle" Display="None"></asp:RequiredFieldValidator>
            </div>
            <div class="come_title">
                <h2>
                    邮件通知模板设置</h2>
            </div>
            <div class="k_all6">
                邮件类型：<asp:DropDownList ID="EmailType" runat="server" AutoPostBack="True" OnSelectedIndexChanged="EmailType_SelectedIndexChanged">
                    <asp:ListItem Value="Register_Succeed">用户注册成功</asp:ListItem>
                    <asp:ListItem Value="ChangedPassword">用户修改密码成功</asp:ListItem>
                    <asp:ListItem Value="Order_Confirm">订单已确认</asp:ListItem>
                    <asp:ListItem Value="Order_Payment">已经收到订单款项</asp:ListItem>
                    <asp:ListItem Value="Order_Consignment">已经发货</asp:ListItem>
                    <asp:ListItem Value="Order_Complete">订单完成</asp:ListItem>
                </asp:DropDownList>
            </div>
            <div class="come_title_bai">
                <h2>
                    邮件标题</h2>
            </div>
            <div class="k_all6">
                <table width="100%" border="0" cellpadding="0" cellspacing="0">
                    <tr>
                        <td class="bg_1" style="width: 60px; height: 36px;">
                            邮件标题：</td>
                        <td>
                            <input class="input" id="EmailTitle" runat="server" style="width: 440px" name="newmessage2" /></td>
                    </tr>
                </table>
            </div>
            <div class="come_title_bai">
                <h2>
                    邮件内容</h2>
            </div>
            <div class="k_all6">
                <fckeditorv2:fckeditor id="EmailBody" 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>
