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

<!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/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>
<base  target="_self" />
</head>
<body>
    <form id="form1" runat="server">
        <div style="margin: 5px;" runat="server" id="divVar">
            <div class="OperateTitle">
                <div>
                    <span id="lblTitleAdd">邮件变量 (双击变量名称插入)<span></div>
                <p>
                    <input type="button" class="button" value="关闭窗口" onclick="window.close()"></p>
            </div>
            <div class="StyleList" style="margin: 5px">
                <ul>
                    <asp:Repeater ID="rptEmailVar" runat="server" OnItemDataBound="rptEmailVar_ItemDataBound">
                        <ItemTemplate>
                            <li><a href="javascript:void(0)" ondblclick="InitPicture(this)" title="{<%#Eval("TableName")%>.<%#Eval("Name") %>}">
                                <%#Eval("Descripation")%>
                            </a><span>[{<%#Eval("Name") %>}]</span></li>
                        </ItemTemplate>
                    </asp:Repeater>
                </ul>
            </div>
        </div>
        <div style="margin: 5px;" id="divConst" visible="false" runat="server">
            <div class="OperateTitle">
                <div>
                    <span id="lblConstTitleAdd">邮件常量 (双击变量名称插入)</span></div>
                <p>
                    <input type="button" class="button" value="关闭窗口" onclick="window.close()"></p>
            </div>
            <div style="margin: 5px" class="StyleList">
                <ul>
                    <li id="li2" runat="server"><a href="javascript:void(0)" ondblclick="InitPicture(this)" title="{Const.SiteName}">
                        网站名称</a> <span>[{Const.SiteName}]</span></li>
                    <li id="li6" runat="server"><a href="#" ondblclick="InitPicture(this)" title="{Const.SiteUrl}">
                        网站地址</a> <span>[{Const.SiteUrl}]</span></li>
                    <li id="li7" runat="server"><a href="#" ondblclick="InitPicture(this)" title="{Const.NowTime}">
                        发送时间</a> <span>[{Const.SendTime}]</span></li>
                </ul>
            </div>
        </div>
    </form>
</body>
</html>
