<%@ page language="C#" autoeventwireup="true" inherits="admin_label_SystemCommon, DianCMS" enableviewstatemac="false" enableEventValidation="false" viewStateEncryptionMode="Never" %>

<%@ Import Namespace="D.BLL" %>
<%@ Import Namespace="D.Common" %>
<!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 id="CssName" rel="stylesheet" type="text/css" runat="server" />

    <script language="javascript" src="../../js/<%=B_Lang.getLang() %>/label.js"></script>

    <script src="../../js/Common.js" type="text/javascript"></script>
    <script src="../../js/lhgdialog/lhgcore.lhgdialog.min.js?self=true&skin=<%=Function.GetCssNameColor()%>" type="text/javascript"></script>

    <script>
        var api = frameElement.api, W = api.opener;
        function Select(obj, Id, Name) {
            DianCMS_$(obj + "Name").value = Name;
            DianCMS_$(obj + "Id").value = Id;
        }
        function SelectLabel(obj) {
            DianCMS_$("txtType").value = obj.id;
            DianCMS_$(name).className = "LabelTd1";
            DianCMS_$(obj.id).className = "LabelTd2";
            DianCMS_$("Div" + name).style.display = "none";
            DianCMS_$("Div" + obj.id).style.display = "";
            name = obj.id;
        }
        function ListLayout(obj, Id) {
            var TypeCount = document.getElementsByName(obj);
            var p = 0;
            if (navigator.appName == "Microsoft Internet Explorer") {
                p = 1;
            }
            for (var i = p; i < TypeCount.length; i++) {
                if (TypeCount[i].checked) {
                    var DivType = eval("Layout_" + Id + "_1");
                    if (TypeCount[i].value == "div") {
                        DivType.style.display = "";
                        Direction(Id);
                    }
                    else {
                        var DivType2 = eval("Layout_" + Id + "_2");
                        var DivType3 = eval("Layout_" + Id + "_3");
                        DivType.style.display = "none";
                        DivType2.style.display = "";
                        DivType3.style.display = "none";
                    }
                }
            }
        }


        function Direction(Id) {
            var DivType2 = eval("Layout_" + Id + "_2");
            var DivType3 = eval("Layout_" + Id + "_3");
            var c = document.getElementsByName("RadDirectionList_" + Id + "");
            var p = 0;
            if (navigator.appName == "Microsoft Internet Explorer") {
                p = 1;
            }
            for (var i = p; i < c.length; i++) {
                if (c[i].checked) {
                    if (c[i].value == "H") {
                        DivType2.style.display = "none";
                        DivType3.style.display = "none";
                    }
                    else {
                        DivType2.style.display = "";
                        DivType3.style.display = "";
                    }
                }
            }
        }

        function LinkImageSize(obj) {
            var TypeCount = document.getElementsByName(obj);
            if (TypeCount[1].checked) {
                DianCMS_$("LinkImageSize").style.display = "none";
            }
            else {
                DianCMS_$("LinkImageSize").style.display = "";
            }
        }

        function ChangeMoreWhere(id) {
            D.BLL.B_MoreWhere.GetFieldForMoreWhereId(id, CallBackMoreWhere);
        }

        function CallBackMoreWhere(res) {
            if (res.value != null) {
                DianCMS_$("DropMoreWhereField").length = 0;
                for (var i = 0; i < res.value.Rows.length; i++) {
                    DianCMS_$("DropMoreWhereField").length++;
                    DianCMS_$("DropMoreWhereField").options[i].text = res.value.Rows[i]["Alias"];
                    DianCMS_$("DropMoreWhereField").options[i].value = res.value.Rows[i]["FieldId"];
                }

                MoreWhereValue(res.value.Rows[0]["FieldId"]);
            }
        }

        function MoreWhereValue(v) {
            DianCMS_$("txtMoreWhereFieldId").value = v;
        }
    </script>

</head>
<body>
    <form id="form1" runat="server">
        <table class="border" cellspacing="1" cellpadding="0" width="99%" border="0" align="center">
            <tr>
                <td class="LabelTd1" onclick="SelectLabel(this)" id="SiteName" runat="server">站点名称
                </td>
                <td class="LabelTd1" onclick="SelectLabel(this)" id="Logo" runat="server">站点Logo
                </td>
                <td class="LabelTd1" onclick="SelectLabel(this)" id="Banner" runat="server">站点Banner
                </td>
                <td class="LabelTd1" onclick="SelectLabel(this)" id="KeyWords" runat="server">网页关键字
                </td>
                <td class="LabelTd1" onclick="SelectLabel(this)" id="Description" runat="server">网页描述
                </td>
                <td class="LabelTd1" onclick="SelectLabel(this)" id="Domain" runat="server">站点域名
                </td>
                <td class="LabelTd1" onclick="SelectLabel(this)" id="CopyRight" runat="server">版权信息
                </td>
            </tr>
            <tr>
                <td class="LabelTd1" onclick="SelectLabel(this)" id="UserLogin" runat="server">用户登陆
                </td>
                <td class="LabelTd1" onclick="SelectLabel(this)" id="CommentList" runat="server">评论列表
                </td>
                <td class="LabelTd1" onclick="SelectLabel(this)" id="AddComment" runat="server">发表评论
                </td>
                <td class="LabelTd1" onclick="SelectLabel(this)" id="Favorite" runat="server">收藏夹
                </td>
                <td class="LabelTd1" onclick="SelectLabel(this)" id="Report" runat="server">举报
                </td>
                <td class="LabelTd1" onclick="SelectLabel(this)" id="Cookies" runat="server">读取Cookies
                </td>
                <td class="LabelTd1" onclick="SelectLabel(this)" id="SaveCookies" runat="server">写入Cookies
                </td>
            </tr>
            <tr>
                <td class="LabelTd1" onclick="SelectLabel(this)" id="PageField" runat="server">当前字段
                </td>
                <td class="LabelTd1" onclick="SelectLabel(this)" id="PagePosition" runat="server">当前位置
                </td>
                <td class="LabelTd1" onclick="SelectLabel(this)" id="Purpose" runat="server">网页特效
                </td>
                <td class="LabelTd1" onclick="SelectLabel(this)" id="Weather" runat="server">天气预报
                </td>
                <td class="LabelTd1" onclick="SelectLabel(this)" id="Random" runat="server">随机数
                </td>
                <td class="LabelTd1" onclick="SelectLabel(this)" id="adZone" runat="server">广告
                </td>
                <td class="LabelTd1" onclick="SelectLabel(this)" id="Sql" runat="server">执行SQL语句
                </td>
            </tr>
            <tr>
                <td class="LabelTd1" onclick="SelectLabel(this)" id="LinkUrl" runat="server">模型|栏目URL
                </td>
                <td class="LabelTd1" onclick="SelectLabel(this)" id="SinglePageUrl" runat="server">单页连接URL
                </td>
                <td class="LabelTd1" onclick="SelectLabel(this)" id="SpecialUrl" runat="server">专题连接URL
                </td>
                <td class="LabelTd1" onclick="SelectLabel(this)" id="TableFieldValue" runat="server">任意表字段值
                </td>
                <td class="LabelTd1" onclick="SelectLabel(this)" id="Service" runat="server">客服中心
                </td>
                <td class="LabelTd1" onclick="SelectLabel(this)" id="MoreWhere" runat="server">多条件筛选
                </td>
                <td class="LabelTd1" onclick="SelectLabel(this)" id="NowTime" runat="server">当前时间
                </td>
            </tr>
            <tr>
                <td class="LabelTd1" onclick="SelectLabel(this)" id="UseDate" runat="server">根据日期返回
                </td>
                <td class="LabelTd1" onclick="SelectLabel(this)" id="JiSuan" runat="server">加减乘除法
                </td>
                <td class="LabelTd1" onclick="SelectLabel(this)" id="Urlparam" runat="server">地址栏参数
                </td>
                <td class="LabelTd1" onclick="SelectLabel(this)" id="FormInfo" runat="server">表单内容页
                </td>
                <td class="LabelTd1" onclick="SelectLabel(this)" id="SingleInfo" runat="server">单页信息</td>
                <td class="LabelTd1" onclick="SelectLabel(this)" id="ModelInfo" runat="server">指定模型
                </td>
                <td class="LabelTd1" onclick="SelectLabel(this)" id="ColumnInfo" runat="server">指定栏目
                </td>
            </tr>
            <tr>
                <td class="LabelTd1" onclick="SelectLabel(this)" id="LabelToAjax" runat="server">动态输出标签
                </td>
                <td class="LabelTd1" onclick="SelectLabel(this)" id="SingleVote" runat="server">单个投票
                </td>
                <td class="LabelTd1" onclick="SelectLabel(this)" id="UserCount" runat="server">用户数统计
                </td>
                <td class="LabelTd1" onclick="SelectLabel(this)" id="SaveTempValue" runat="server">记录临时值
                </td>
                <td class="LabelTd1" onclick="SelectLabel(this)" id="ReadTempValue" runat="server">读取临时值
                </td>
                <td class="LabelTd1" onclick="SelectLabel(this)" id="Dictionary" runat="server">数据字典
                </td>
                <td class="LabelTd1" onclick="SelectLabel(this)" id="Link" runat="server">友情链接
                </td>
            </tr>
            <tr>
                <td class="LabelTd1" onclick="SelectLabel(this)" id="TimeSpan" runat="server">时间差
                </td>
                <td class="LabelTd1" onclick="SelectLabel(this)" id="ShopNum" runat="server">购物车数量</td>
                <td class="LabelTd1" onclick="SelectLabel(this)" id="SingleContent">单个内容</td>
                <td class="LabelTd1"></td>
                <td class="LabelTd1"></td>
                <td class="LabelTd1"></td>
                <td class="LabelTd1"></td>
            </tr>
        </table>
        <table class="border" cellspacing="1" cellpadding="2" width="99%" border="0" align="center"
            style="margin-top: 2px;">
            <tbody style="display: none" id="DivSiteName" runat="server">
            </tbody>
            <tbody style="display: none" id="DivLogo" runat="server">
            </tbody>
            <tbody style="display: none" id="DivBanner" runat="server">
            </tbody>
            <tbody style="display: none" id="DivCopyRight" runat="server">
            </tbody>
            <tbody style="display: none" id="DivKeyWords" runat="server">
            </tbody>
            <tbody style="display: none" id="DivDescription" runat="server">
            </tbody>
            <tbody style="display: none" id="DivReport" runat="server">
                <tr>
                    <td class="bqleft">
                    显示文字：
                    <td class="bqright">
                        <asp:TextBox ID="txtReportShowtext" runat="server" CssClass="in1">我要举报</asp:TextBox>
                    </td>
                </tr>
            </tbody>
            <tbody style="display: none" id="DivDomain" runat="server">
            </tbody>
            <tbody style="display: none" id="DivUserLogin" runat="server">
                <tr>
                    <td class="bqleft">排列方式：
                    </td>
                    <td class="bqright">
                        <asp:RadioButtonList ID="RadLoginDirection" runat="server" RepeatDirection="Horizontal">
                            <asp:ListItem Value="H" Selected="True">横向</asp:ListItem>
                            <asp:ListItem Value="V">纵向</asp:ListItem>
                        </asp:RadioButtonList>
                    </td>
                </tr>
            </tbody>
            <tbody style="display: none" id="DivPagePosition" runat="server">
                <tr>
                    <td class="bqleft">当前位置：
                    </td>
                    <td class="bqright">
                        <asp:TextBox ID="txtPosText" runat="server" CssClass="in1">当前位置：</asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td class="bqleft">间隔符：
                    </td>
                    <td class="bqright">
                        <asp:TextBox ID="txtSpaceCharacter" runat="server" CssClass="in1">>></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td class="bqleft">Class名称：
                    </td>
                    <td class="bqright">
                        <asp:TextBox ID="txtStyleId" runat="server" CssClass="in1"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td class="bqleft">样式：
                    </td>
                    <td class="bqright">
                        <asp:TextBox ID="txtStyle" runat="server" Columns="40" CssClass="in1">padding:0px 5px 0px 5px</asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td class="bqleft">首页文字：
                    </td>
                    <td class="bqright">
                        <asp:TextBox ID="txtHomeText" runat="server" Columns="20" CssClass="in1" Text="首页"></asp:TextBox>
                        此处填写SiteName可获得站点名称
                    </td>
                </tr>
                <tr>
                    <td class="bqleft">控制显示：
                    </td>
                    <td class="bqright">
                        <asp:CheckBox ID="ChkPagePosition1" runat="server" Text="栏目页显示模型名称" /><asp:CheckBox
                            ID="ChkPagePosition2" runat="server" Text="内容页显示模型名称" /><asp:CheckBox ID="ChkPagePosition3"
                                runat="server" Text="内容页显示栏目名称" />
                    </td>
                </tr>
                <tr>
                    <td class="bqleft">栏目页显示父级栏目：
                    </td>
                    <td class="bqright">
                        <asp:TextBox ID="txtColumnNum" runat="server" Columns="5" CssClass="in1" Text="-1"></asp:TextBox>层
                    <font color="red">-1</font>表示显示当前栏目所有父级栏目
                    </td>
                </tr>
                <tr>
                    <td class="bqleft">内容页显示栏目关系：
                    </td>
                    <td class="bqright">指定栏目字段：<asp:TextBox ID="txtColumnField" runat="server" Columns="10" CssClass="in1"
                        Text="Column"></asp:TextBox>
                        显示栏目层次：<asp:TextBox ID="txtInfoColumnNum" runat="server" Columns="5" CssClass="in1"
                            Text="-1"></asp:TextBox>层
                    </td>
                </tr>
                <tr>
                    <td class="bqleft">内容页显示字段：
                    </td>
                    <td class="bqright">
                        <asp:TextBox ID="txtInfoTitle" runat="server" Columns="20" CssClass="in1">Title</asp:TextBox>
                        显示长度：<asp:TextBox ID="txtInfoTitleLength" runat="server" Columns="5" CssClass="in1" Text="35"></asp:TextBox>字符，-1为不限制。一个中文两个字符。
                    </td>
                </tr>
            </tbody>
            <tbody style="display: none" id="DivCommentList" runat="server">
                <tr>
                    <td class="bqleft">
                    每页显示条数：
                    <td class="bqright">
                        <asp:TextBox ID="txtCommentListNum" runat="server" CssClass="in1">5</asp:TextBox>条
                    </td>
                </tr>
                <tr>
                    <td class="bqleft">
                    是否分页：
                    <td class="bqright">
                        <asp:RadioButtonList ID="CommentListIsPager" runat="server" RepeatDirection="Horizontal">
                            <asp:ListItem Value="1" Selected="True">是</asp:ListItem>
                            <asp:ListItem Value="0">否</asp:ListItem>
                        </asp:RadioButtonList>
                    </td>
                </tr>
                <tr>
                    <td class="bqleft">
                    分页效果：
                    <td class="bqright">
                        <asp:TextBox ID="CommentListCssName" runat="server" CssClass="in1" Text="viciao"
                            Style="float: left"></asp:TextBox><input id="Button7" type="button" value="选择分页效果"
                                class="btn" style="float: left" onclick="WinOpenDialog('../common/SelectPageStyle.aspx?ControlId=CommentListCssName', '620', '500')" />
                    </td>
                </tr>
                <tr>
                    <td class="bqleft">自定义分页效果：
                    </td>
                    <td class="bqright">
                        <asp:DropDownList ID="DropPager" runat="server">
                            <asp:ListItem Value="0">不使用</asp:ListItem>
                        </asp:DropDownList>
                    </td>
                </tr>
                <tr>
                    <td class="bqleft">
                    <td class="bqright">如果不分页，只会显示定义的“每页条数”数据，而且不会显示分页符。
                    </td>
                </tr>
            </tbody>
            <tbody style="display: none" id="DivAddComment" runat="server">
            </tbody>
            <tbody style="display: none" id="DivPageField" runat="server">
                <tr>
                    <td class="bqleft">当前模型字段：
                    </td>
                    <td class="bqright">
                        <table width="100%" cellpadding="0" cellspacing="0">
                            <tr>
                                <td>
                                    <div onclick="CreateRange('txtHtml','{D_F_Model_ModelId}')" class="fieldstyle" title="点击选择该字段">
                                        模型ID
                                    </div>
                                </td>
                                <td>
                                    <div onclick="CreateRange('txtHtml','{D_F_Model_ModelName}')" class="fieldstyle"
                                        title="点击选择该字段">
                                        模型中文名称
                                    </div>
                                </td>
                                <td>
                                    <div onclick="CreateRange('txtHtml','{D_F_Model_ModelEnName}')" class="fieldstyle"
                                        title="点击选择该字段">
                                        模型英文名称
                                    </div>
                                </td>
                                <td>
                                    <div onclick="CreateRange('txtHtml','{D_F_Model_ModelUrl}')" class="fieldstyle" title="点击选择该字段">
                                        模型URL
                                    </div>
                                </td>
                            </tr>
                        </table>
                    </td>
                </tr>
                <tr>
                    <td class="bqleft">当前栏目字段：
                    </td>
                    <td class="bqright">
                        <table width="100%" cellpadding="0" cellspacing="0">
                            <tr>
                                <td>
                                    <div onclick="CreateRange('txtHtml','{D_F_Column_ColId}')" class="fieldstyle" title="点击选择该字段">
                                        栏目ID
                                    </div>
                                </td>
                                <td>
                                    <div onclick="CreateRange('txtHtml','{D_F_Column_CnName}')" class="fieldstyle" title="点击选择该字段">
                                        栏目中文名
                                    </div>
                                </td>
                                <td>
                                    <div onclick="CreateRange('txtHtml','{D_F_Column_EnName}')" class="fieldstyle" title="点击选择该字段">
                                        栏目英文名
                                    </div>
                                </td>
                                <td>
                                    <div onclick="CreateRange('txtHtml','{D_F_Column_ColumnUrl}')" class="fieldstyle"
                                        title="点击选择该字段">
                                        栏目URL
                                    </div>
                                </td>
                            </tr>
                        </table>
                    </td>
                </tr>
                <tr>
                    <td class="bqleft">当前内容字段：
                    </td>
                    <td class="bqright">
                        <table width="100%" cellpadding="0" cellspacing="0">
                            <tr>
                                <td>
                                    <div onclick="CreateRange('txtHtml','{D_F_Info_Id}')" class="fieldstyle" title="点击选择该字段">
                                        内容ID
                                    </div>
                                </td>
                                <td>
                                    <div onclick="CreateRange('txtHtml','{D_F_Info_Title}')" class="fieldstyle" title="点击选择该字段">
                                        内容标题
                                    </div>
                                </td>
                                <td>
                                    <div onclick="CreateRange('txtHtml','{D_F_Info_InfoUrl}')" class="fieldstyle" title="点击选择该字段">
                                        内容URL
                                    </div>
                                </td>
                                <td>
                                    <div onclick="CreateRange('txtHtml','{D_F_Info_ColumnInfoUrl}')" class="fieldstyle"
                                        title="点击选择该字段">
                                        当前栏目内容URL
                                    </div>
                                </td>
                            </tr>
                        </table>
                    </td>
                </tr>
                <tr>
                    <td class="bqleft">当前单页字段：
                    </td>
                    <td class="bqright">
                        <table width="100%" cellpadding="0" cellspacing="0">
                            <tr>
                                <td>
                                    <div onclick="CreateRange('txtHtml','{D_F_SinglePage_Id}')" class="fieldstyle" title="点击选择该字段">
                                        单页ID
                                    </div>
                                </td>
                                <td>
                                    <div onclick="CreateRange('txtHtml','{D_F_SinglePage_Title}')" class="fieldstyle"
                                        title="点击选择该字段">
                                        单页标题
                                    </div>
                                </td>
                                <td>
                                    <div onclick="CreateRange('txtHtml','{D_F_SinglePage_ClassName}')" class="fieldstyle"
                                        title="点击选择该字段">
                                        分类名称
                                    </div>
                                </td>
                                <td>
                                    <div onclick="CreateRange('txtHtml','{D_F_SinglePage_OrderId}')" class="fieldstyle"
                                        title="点击选择该字段">
                                        排序值
                                    </div>
                                </td>
                                <td>
                                    <div onclick="CreateRange('txtHtml','{D_F_SinglePage_Click}')" class="fieldstyle"
                                        title="点击选择该字段">
                                        单页访问数
                                    </div>
                                </td>
                            </tr>
                        </table>
                    </td>
                </tr>
                <tr>
                    <td class="bqleft">显示效果：
                    </td>
                    <td class="bqright">
                        <asp:TextBox ID="txtHtml" runat="server" TextMode="MultiLine" Width="99%" Rows="3"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td class="bqleft">显示效果：
                    </td>
                    <td class="bqright">
                        <font color="blue">模型</font>：{D_F_Model_<font color="red">字段名称</font>} <font color="blue">
                        栏目</font>：{D_F_Column_<font color="red">字段名称</font>}<br />
                        <font color="blue">内容</font>：{D_F_Info_<font color="red">字段名称</font>} <font color="blue">
                        单页</font>：{D_F_SinglePage_<font color="red">字段名称</font>}<br />
                        <font color="red">字段名称</font>可以修改成<font color="blue">模型表</font>/<font color="blue">栏目表</font>/<font
                            color="blue">内容表</font>/<font color="blue">单页表</font>中的字段名称。<br />
                        如内容标题：{D_F_Info_<font color="red"><b>Title</b></font>}
                    </td>
                </tr>
            </tbody>
            <tbody style="display: none" id="DivLinkUrl" runat="server">
                <tr>
                    <td class="bqleft">模型Id：
                    </td>
                    <td class="bqright">
                        <asp:DropDownList ID="DropModelLinkUrl" runat="server">
                        </asp:DropDownList>
                    </td>
                </tr>
                <tr>
                    <td class="bqleft">栏目Id：
                    </td>
                    <td class="bqright">
                        <asp:TextBox ID="txtColumnId" runat="server" CssClass="in1" Text="0"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td class="bqleft">内容Id：
                    </td>
                    <td class="bqright">
                        <asp:TextBox ID="txtInfoId" runat="server" CssClass="in1" Text="0"></asp:TextBox>
                    </td>
                </tr>
            </tbody>
            <tbody style="display: none" id="DivFormInfo" runat="server">
                <tr>
                    <td class="bqleft">引用样式：
                    </td>
                    <td class="bqright" height="28">
                        <table cellpadding="0" cellspacing="0" border="0">
                            <tr>
                                <td>
                                    <div onmousemove="ShowDiv('5')" onmouseout="HiddenDiv('5')" id="Href5" style="z-index: 100; display: none; width: 322px; position: absolute; visibility: visible; height: 200px; margin-top: 21px; overflow: auto">
                                        <table class="border" cellpadding="2" cellspacing="0" border="0">
                                            <asp:Repeater ID="RepTableInfo" runat="server">
                                                <ItemTemplate>
                                                    <tr class="tdMoveTr" onmouseover="this.className='tdMoveTrBg'" onmouseout="this.className='tdMoveTr'">
                                                        <td onclick="Select('txtTableInfoStyle','<%#Eval("StyleId") %>','<%#Eval("Name") %>');HiddenDiv('5')"
                                                            style="cursor: pointer">
                                                            <%#Eval("Name") %>
                                                        </td>
                                                    </tr>
                                                </ItemTemplate>
                                            </asp:Repeater>
                                        </table>
                                    </div>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:TextBox ID="txtTableInfoStyleName" Text="选择样式" onclick="ShowDiv('5')" onmouseout="HiddenDiv('5')"
                                        runat="server" CssClass="in1" Style="width: 320px; cursor: pointer"></asp:TextBox><asp:TextBox
                                            ID="txtTableInfoStyleId" runat="server" CssClass="in1" Style="display: none"></asp:TextBox>
                                </td>
                            </tr>
                        </table>
                    </td>
                </tr>
            </tbody>
            <tbody style="display: none" id="DivFavorite" runat="server">
                <tr>
                    <td class="bqleft">显示文字：
                    </td>
                    <td class="bqright" height="28">
                        <asp:TextBox ID="txtFavorite" runat="server" CssClass="in1">收藏本页</asp:TextBox>
                    </td>
                </tr>
            </tbody>
            <tbody style="display: none" id="DivLink" runat="server">
                <tr>
                    <td class="bqleft">排列方式：
                    </td>
                    <td class="bqright">
                        <asp:RadioButtonList ID="LinkLayout" runat="server" RepeatDirection="Horizontal"
                            onclick="ListLayout('LinkLayout','1')">
                            <asp:ListItem Value="table" Selected="True">普通表格</asp:ListItem>
                            <asp:ListItem Value="div">Div+Css</asp:ListItem>
                        </asp:RadioButtonList>
                    </td>
                </tr>
                <tr style="display: none" id="Layout_1_1">
                    <td class="bqleft">排列方式：
                    </td>
                    <td class="bqright" height="28">
                        <asp:RadioButtonList ID="RadDirectionList_1" runat="server" RepeatDirection="Horizontal"
                            onclick="Direction('1')">
                            <asp:ListItem Value="H" Selected="True">横向排列</asp:ListItem>
                            <asp:ListItem Value="V">纵向排列</asp:ListItem>
                        </asp:RadioButtonList>
                    </td>
                </tr>
                <tr id="Layout_1_2">
                    <td class="bqleft">内容列表列数：
                    </td>
                    <td class="bqright" height="28">
                        <asp:TextBox ID="txtColumn" runat="server" CssClass="in1" Rows="20" Text="1" Columns="10"></asp:TextBox>
                    </td>
                </tr>
                <tr id="Layout_1_3" style="display: none">
                    <td class="bqleft">列控制代码：
                    </td>
                    <td class="bqright" height="28">&lt;<asp:TextBox ID="txtDivRepP" runat="server" Text="p" Columns="4" CssClass="in1"></asp:TextBox>
                        id="<asp:TextBox ID="txtDivRepId" runat="server" Columns="4" CssClass="in1"></asp:TextBox>"
                    class="<asp:TextBox ID="txtDivRepClass" runat="server" Columns="4" CssClass="in1"></asp:TextBox>"&gt;
                    </td>
                </tr>
                <tr>
                    <td class="bqleft">显示模式：
                    </td>
                    <td class="bqright">
                        <asp:RadioButtonList ID="LinkType" runat="server" RepeatDirection="Horizontal" onclick="LinkImageSize('LinkType')">
                            <asp:ListItem Value="Text" Selected="True">文字</asp:ListItem>
                            <asp:ListItem Value="Image">图片</asp:ListItem>
                        </asp:RadioButtonList>
                    </td>
                </tr>
                <tr style="display: none" id="LinkImageSize">
                    <td class="bqleft">图片大小：
                    </td>
                    <td class="bqright">宽度<asp:TextBox ID="txtLinkWidth" runat="server" Text="88" Columns="4" CssClass="in1"></asp:TextBox>px
                    高度<asp:TextBox ID="txtLinkHeight" runat="server" Text="31" Columns="4" CssClass="in1"></asp:TextBox>px
                    </td>
                </tr>
                <tr>
                    <td class="bqleft">调用数量：
                    </td>
                    <td class="bqright">
                        <asp:TextBox ID="txtInfoNum" runat="server" CssClass="in1">10</asp:TextBox>条 如果为0则显示所有数据
                    </td>
                </tr>
                <tr>
                    <td class="bqleft">只显示推荐连接：
                    </td>
                    <td class="bqright">
                        <asp:RadioButtonList ID="IsRecommend" runat="server" RepeatDirection="Horizontal">
                            <asp:ListItem Value="True">是</asp:ListItem>
                            <asp:ListItem Value="False" Selected="True">否</asp:ListItem>
                        </asp:RadioButtonList>
                    </td>
                </tr>
                <tr>
                    <td class="bqleft">排序方式：
                    </td>
                    <td class="bqright">
                        <asp:RadioButtonList ID="LinkOrder" runat="server" RepeatDirection="Horizontal">
                            <asp:ListItem Value="Id desc" Selected="True">按ID降序</asp:ListItem>
                            <asp:ListItem Value="Id asc">按ID升序</asp:ListItem>
                            <asp:ListItem Value="OrderId desc">按设定降序</asp:ListItem>
                            <asp:ListItem Value="OrderId asc">按设定升序</asp:ListItem>
                        </asp:RadioButtonList>
                    </td>
                </tr>
                <tr>
                    <td class="bqleft">是否自动补齐连接：
                    </td>
                    <td class="bqright">
                        <asp:RadioButtonList ID="IsAutoLink" runat="server" RepeatDirection="Horizontal">
                            <asp:ListItem Value="True" Selected="True">是</asp:ListItem>
                            <asp:ListItem Value="False">否</asp:ListItem>
                        </asp:RadioButtonList>
                    </td>
                </tr>
            </tbody>
            <tbody style="display: none" id="DivSinglePageUrl" runat="server">
                <tr>
                    <td class="bqleft">单页编号值：
                    </td>
                    <td class="bqright">
                        <asp:TextBox ID="txtSinglePageId" runat="server" Text="0" CssClass="in1" Columns="15"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td class="bqleft">连接方式：
                    </td>
                    <td class="bqright">
                        <asp:RadioButtonList ID="SinglePageIsHtml" runat="server" RepeatDirection="Horizontal">
                            <asp:ListItem Value="0">动态地址</asp:ListItem>
                            <asp:ListItem Value="1" Selected="True">静态地址</asp:ListItem>
                        </asp:RadioButtonList>
                    </td>
                </tr>
            </tbody>
            <tbody style="display: none" id="DivSpecialUrl" runat="server">
                <tr>
                    <td class="bqleft">选择专题：
                    </td>
                    <td class="bqright">
                        <asp:DropDownList ID="DropSpecial" runat="server">
                        </asp:DropDownList>
                    </td>
                </tr>
            </tbody>
            <tbody style="display: none" id="DivTableFieldValue" runat="server">
                <tr>
                    <td class="bqleft">表名：
                    </td>
                    <td class="bqright">
                        <asp:TextBox ID="txtTableName" runat="server" CssClass="in1"></asp:TextBox>
                        如：D_Admin
                    </td>
                </tr>
                <tr>
                    <td class="bqleft">主键字段名：
                    </td>
                    <td class="bqright">
                        <asp:TextBox ID="txtKeyField" runat="server" CssClass="in1"></asp:TextBox>
                        如：AdminId
                    </td>
                </tr>
                <tr>
                    <td class="bqleft">主键字段值：
                    </td>
                    <td class="bqright">
                        <asp:TextBox ID="txtKeyValue" runat="server" CssClass="in1"></asp:TextBox>
                        如：1
                    </td>
                </tr>
                <tr>
                    <td class="bqleft">需要调用字段名：
                    </td>
                    <td class="bqright">
                        <asp:TextBox ID="txtFieldName" runat="server" CssClass="in1"></asp:TextBox>
                        如：UserName
                    </td>
                </tr>
                <tr>
                    <td class="bqleft">返回字符长度：
                    </td>
                    <td class="bqright">
                        <asp:TextBox ID="txtLength" runat="server" CssClass="in1" Text="0" Columns="5"></asp:TextBox>
                        默认0为显示全部。如要截取前面100个字符,请填写100。
                    </td>
                </tr>
                <tr>
                    <td class="bqleft">调用字段值编码/解码：
                    </td>
                    <td class="bqright">
                        <asp:RadioButtonList ID="RadHTMLTOCONTENT" runat="server" RepeatDirection="Horizontal">
                            <asp:ListItem Value="0" Selected="True">不使用</asp:ListItem>
                            <asp:ListItem Value="1">普通编码</asp:ListItem>
                            <asp:ListItem Value="2">普通解码</asp:ListItem>
                            <asp:ListItem Value="3">HTML编码</asp:ListItem>
                            <asp:ListItem Value="4">HTML解码</asp:ListItem>
                        </asp:RadioButtonList>
                    </td>
                </tr>
                <tr>
                    <td class="bqleft"></td>
                    <td class="bqright">
                        <font color="red">普通编码/解码</font>适合多行文本字段 <font color="red">HTML编码/解码</font>适用HTML编辑器字段
                    </td>
                </tr>
            </tbody>
            <tbody style="display: none" id="DivRandom" runat="server">
                <tr>
                    <td class="bqleft">随机数类型：
                    </td>
                    <td class="bqright">
                        <asp:RadioButtonList ID="RadioRandom" runat="server" RepeatDirection="Horizontal">
                            <asp:ListItem Value="time" Selected="True">时间型</asp:ListItem>
                            <asp:ListItem Value="filename">文件名型</asp:ListItem>
                            <asp:ListItem Value="guid">Guid型</asp:ListItem>
                        </asp:RadioButtonList>
                    </td>
                </tr>
            </tbody>
            <tbody style="display: none" id="DivadZone" runat="server">
                <tr>
                    <td class="bqleft">选择广告位：
                    </td>
                    <td class="bqright">
                        <table cellpadding="0" cellspacing="0" border="0">
                            <tr>
                                <td>
                                    <div onmousemove="ShowDiv('4')" onmouseout="HiddenDiv('4')" id="Href4" style="z-index: 100; display: none; width: 322px; position: absolute; visibility: visible; height: 280px; overflow: auto; margin-top: 21px;">
                                        <table class="xiala" cellpadding="2" cellspacing="0" border="0" width="100%">
                                            <asp:Repeater ID="RepadZone" runat="server">
                                                <ItemTemplate>
                                                    <tr onmouseover="this.className='tdMoveTrBg'" onmouseout="this.className=''">
                                                        <td onclick="Select('txtadZone','<%#Eval("Id") %>','<%#Eval("Name") %>');HiddenDiv('4')"
                                                            style="cursor: pointer">
                                                            <span>
                                                                <%#Eval("Name") %></span>
                                                        </td>
                                                    </tr>
                                                </ItemTemplate>
                                            </asp:Repeater>
                                        </table>
                                    </div>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:TextBox ID="txtadZoneName" Text="选择广告位" runat="server" CssClass="in1" Style="width: 320px; cursor: pointer"
                                        onclick="ShowDiv('4')" onmouseout="HiddenDiv('4')"></asp:TextBox><asp:TextBox
                                            ID="txtadZoneId" runat="server" CssClass="in1" Text="0" Style="display: none"></asp:TextBox>
                                </td>
                            </tr>
                        </table>
                    </td>
                </tr>
            </tbody>
            <tbody style="display: none" id="DivPurpose" runat="server">
                <tr>
                    <td class="bqleft">选择特效：
                    </td>
                    <td class="bqright">
                        <asp:DropDownList ID="DropPurpose" runat="server">
                            <asp:ListItem Value="0">请选择</asp:ListItem>
                        </asp:DropDownList>
                    </td>
                </tr>
            </tbody>
            <tbody style="display: none" id="DivWeather" runat="server">
                <tr>
                    <td class="bqleft">选择天气预报：
                    </td>
                    <td class="bqright">
                        <asp:DropDownList ID="DropWeather" runat="server">
                            <asp:ListItem Value="0">请选择</asp:ListItem>
                        </asp:DropDownList>
                    </td>
                </tr>
            </tbody>
            <tbody style="display: none" id="DivCookies" runat="server">
                <tr>
                    <td class="bqleft">Cookies名称：
                    </td>
                    <td class="bqright">
                        <asp:TextBox ID="cookiesName" runat="server" CssClass="in1"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td class="bqleft">Cookies Key：
                    </td>
                    <td class="bqright">
                        <asp:TextBox ID="cookieskey" runat="server" CssClass="in1"></asp:TextBox>
                        没有则留空
                    </td>
                </tr>
                <tr>
                    <td class="bqleft">默认值：
                    </td>
                    <td class="bqright">
                        <asp:TextBox ID="cookiesdefault" runat="server" CssClass="in1"></asp:TextBox>
                        Cookies为null时返回的默认值
                    </td>
                </tr>
                <tr>
                    <td class="bqleft">使用解码：
                    </td>
                    <td class="bqright">
                        <asp:RadioButtonList ID="Radcookies" runat="server" RepeatDirection="Horizontal">
                            <asp:ListItem Value="0" Selected="True">不使用</asp:ListItem>
                            <asp:ListItem Value="1">Base64解码</asp:ListItem>
                        </asp:RadioButtonList>
                    </td>
                </tr>
            </tbody>
            <tbody style="display: none" id="DivSaveCookies" runat="server">
                <tr>
                    <td class="bqleft">Cookies名称：
                    </td>
                    <td class="bqright">
                        <asp:TextBox ID="savecookiesName" runat="server" CssClass="in1"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td class="bqleft">Cookies Key：
                    </td>
                    <td class="bqright">
                        <asp:TextBox ID="savecookieskey" runat="server" CssClass="in1"></asp:TextBox>
                        不需要则留空
                    </td>
                </tr>
                <tr>
                    <td class="bqleft">写入值：
                    </td>
                    <td class="bqright">
                        <asp:TextBox ID="savecookiesdefault" runat="server" CssClass="in1"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td class="bqleft">多个值间隔符：
                    </td>
                    <td class="bqright">
                        <asp:TextBox ID="txtsavecookiesjiange" runat="server" CssClass="in1" Text=","></asp:TextBox>如：【,】【|】【$】【#】【☂】等
                    </td>
                </tr>
                <tr>
                    <td class="bqleft">保存时间：
                    </td>
                    <td class="bqright">
                        <asp:TextBox ID="savecookiestime" runat="server" CssClass="in1" Text="1"></asp:TextBox><asp:DropDownList ID="dropsavecookiestimeunit" runat="server">
                            <asp:ListItem Value="no">不保存</asp:ListItem>
                            <asp:ListItem Value="seconds">秒钟</asp:ListItem>
                            <asp:ListItem Value="minutes">分钟</asp:ListItem>
                            <asp:ListItem Value="hours" Selected="True">小时</asp:ListItem>
                            <asp:ListItem Value="days">天</asp:ListItem>
                            <asp:ListItem Value="months">月</asp:ListItem>
                            <asp:ListItem Value="years">年</asp:ListItem>
                        </asp:DropDownList>
                    </td>
                </tr>
                <tr>
                    <td class="bqleft">再次写入时：
                    </td>
                    <td class="bqright">
                        <asp:RadioButtonList ID="radsavecookiesrevalue" runat="server" RepeatDirection="Horizontal">
                            <asp:ListItem Value="0" Selected="True">替换</asp:ListItem>
                            <asp:ListItem Value="1">累加（可重复）</asp:ListItem>
                            <asp:ListItem Value="2">累加（不重复）</asp:ListItem>
                        </asp:RadioButtonList>
                    </td>
                </tr>
                <tr>
                    <td class="bqleft">保存数据组数：
                    </td>
                    <td class="bqright">
                        <asp:TextBox ID="txtsavecookieslength" runat="server" CssClass="in1" Text="-1"></asp:TextBox>-1为不限制。有个数限制时，旧数据会被替换。
                    </td>
                </tr>
                <tr>
                    <td class="bqleft">加密方式：
                    </td>
                    <td class="bqright">
                        <asp:RadioButtonList ID="Radsavecookies" runat="server" RepeatDirection="Horizontal">
                            <asp:ListItem Value="0" Selected="True">不使用</asp:ListItem>
                            <asp:ListItem Value="1">Base64加密</asp:ListItem>
                            <asp:ListItem Value="2">URL编码</asp:ListItem>
                            <asp:ListItem Value="3">HTML编码</asp:ListItem>
                            <asp:ListItem Value="4">MD5加密</asp:ListItem>
                        </asp:RadioButtonList>
                    </td>
                </tr>
            </tbody>
            <tbody style="display: none" id="DivSaveTempValue" runat="server">
                <tr>
                    <td class="bqleft">临时值名称：
                    </td>
                    <td class="bqright">
                        <asp:TextBox ID="txtsaveTempName" runat="server" CssClass="in1"></asp:TextBox>同一模板不同临时值时，名称需要唯一。
                    </td>
                </tr>
                <tr>
                    <td class="bqleft">写入值：
                    </td>
                    <td class="bqright">
                        <asp:TextBox ID="txtTempValue" runat="server" CssClass="in1"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td class="bqleft">多个值间隔符：
                    </td>
                    <td class="bqright">
                        <asp:TextBox ID="txtJianGe" runat="server" CssClass="in1" Text=","></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td class="bqleft">再次写入时：
                    </td>
                    <td class="bqright">
                        <asp:RadioButtonList ID="radsavetempxieru" runat="server" RepeatDirection="Horizontal">
                            <asp:ListItem Value="False" Selected="True">替换</asp:ListItem>
                            <asp:ListItem Value="True">累计</asp:ListItem>
                        </asp:RadioButtonList>
                    </td>
                </tr>
                <tr>
                    <td class="bqleft">再次写入重复值时：
                    </td>
                    <td class="bqright">
                        <asp:RadioButtonList ID="radsavetemprevalue" runat="server" RepeatDirection="Horizontal">
                            <asp:ListItem Value="False" Selected="True">不写入</asp:ListItem>
                            <asp:ListItem Value="True">允许写入（允许写入时会出现,1,2,2）</asp:ListItem>
                        </asp:RadioButtonList>
                    </td>
                </tr>
            </tbody>
            <tbody style="display: none" id="DivReadTempValue" runat="server">
                <tr>
                    <td class="bqleft">临时值名称：
                    </td>
                    <td class="bqright">
                        <asp:TextBox ID="txtreadtempvaluename" runat="server" CssClass="in1"></asp:TextBox>需要读取临时值的名称
                    </td>
                </tr>
                <tr>
                    <td class="bqleft">默认值：
                    </td>
                    <td class="bqright">
                        <asp:TextBox ID="txtreadtempdefaultvalue" runat="server" CssClass="in1"></asp:TextBox>无数据时返回的默认值。
                    </td>
                </tr>
            </tbody>
            <tbody style="display: none" id="DivUrlparam" runat="server">
                <tr>
                    <td class="bqleft">Url参数名称：
                    </td>
                    <td class="bqright">
                        <asp:TextBox ID="urlparamName" runat="server" CssClass="in1"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td class="bqleft">参数类型：
                    </td>
                    <td class="bqright">
                        <asp:RadioButtonList ID="RadioUrlType" runat="server" RepeatDirection="Horizontal">
                            <asp:ListItem Value="1" Selected="True">数字型</asp:ListItem>
                            <asp:ListItem Value="2">字符型</asp:ListItem>
                        </asp:RadioButtonList>
                    </td>
                </tr>
                <tr>
                    <td class="bqleft">默认值：
                    </td>
                    <td class="bqright">
                        <asp:TextBox ID="txturlparamDefaultValue" runat="server" CssClass="in1" Text="0"></asp:TextBox>
                        没有获取到值时默认显示值
                    </td>
                </tr>
                <tr>
                    <td class="bqleft">参数值处理：
                    </td>
                    <td class="bqright">
                        <asp:RadioButtonList ID="RadioUrlEncode" runat="server" RepeatDirection="Horizontal">
                            <asp:ListItem Value="0" Selected="True">无</asp:ListItem>
                            <asp:ListItem Value="1">URL编码</asp:ListItem>
                            <asp:ListItem Value="2">URL解码</asp:ListItem>
                        </asp:RadioButtonList>
                    </td>
                </tr>
            </tbody>
            <tbody style="display: none" id="DivSql" runat="server">
                <tr>
                    <td class="bqleft">需执行SQL：
                    </td>
                    <td class="bqright">
                        <asp:TextBox ID="txtSql" runat="server" CssClass="in1" Columns="50"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td class="bqleft">返回的字段名称：
                    </td>
                    <td class="bqright">
                        <asp:TextBox ID="txtSqlFieldName" runat="server" CssClass="in1"></asp:TextBox>多个字段用“,”隔开
                    </td>
                </tr>
                <tr>
                    <td class="bqleft">默认值：
                    </td>
                    <td class="bqright">
                        <asp:TextBox ID="txtSqlDefaultValue" runat="server" CssClass="in1" Text="0" Columns="10"></asp:TextBox>
                        没有值时默认显示，多个字段则返回 值1☂值2
                    </td>
                </tr>
                <tr>
                    <td class="bqleft">参数值处理：
                    </td>
                    <td class="bqright">
                        <asp:RadioButtonList ID="RadioSqlEncode" runat="server" RepeatDirection="Horizontal">
                            <asp:ListItem Value="0" Selected="True">无</asp:ListItem>
                            <asp:ListItem Value="1">URL编码</asp:ListItem>
                            <asp:ListItem Value="2">URL解码</asp:ListItem>
                        </asp:RadioButtonList>
                    </td>
                </tr>
            </tbody>
            <tbody style="display: none" id="DivService" runat="server">
            </tbody>
            <tbody style="display: none" id="DivMoreWhere" runat="server">
                <tr>
                    <td class="bqleft">选择筛选条件：
                    </td>
                    <td class="bqright">
                        <asp:DropDownList ID="DropMorWhere" runat="server" onchange="ChangeMoreWhere(this.value)">
                        </asp:DropDownList>
                    </td>
                </tr>
                <tr>
                    <td class="bqleft">选择字段：
                    </td>
                    <td class="bqright">
                        <asp:TextBox ID="txtMoreWhereFieldId" runat="server" Style="display: none"></asp:TextBox>
                        <asp:DropDownList ID="DropMoreWhereField" runat="server" onchange="MoreWhereValue(this.value)">
                        </asp:DropDownList>
                    </td>
                </tr>
            </tbody>
            <tbody style="display: none" id="DivNowTime" runat="server">
                <tr>
                    <td class="bqleft">指定日期：
                    </td>
                    <td class="bqright">
                        <asp:TextBox ID="NowTimeDateValue" runat="server" CssClass="in1"></asp:TextBox>
                        填写“nowTime”获取当前日期</td>
                </tr>
                <tr>
                    <td class="bqleft">时间格式：
                    </td>
                    <td class="bqright">
                        <asp:DropDownList ID="DropNowTime" runat="server">
                            <asp:ListItem Selected="True" Value="yyyy-MM-dd">2009-06-19</asp:ListItem>
                            <asp:ListItem Value="yyyy/MM/dd">2009/06/19</asp:ListItem>
                            <asp:ListItem Value="yyyy-M-dd">2009-6-19</asp:ListItem>
                            <asp:ListItem Value="yyyy/M/dd">2009/6/19</asp:ListItem>
                            <asp:ListItem Value="MM-dd">06-19</asp:ListItem>
                            <asp:ListItem Value="M-dd">6-19</asp:ListItem>
                            <asp:ListItem Value="MM/dd">06/19</asp:ListItem>
                            <asp:ListItem Value="M/dd">6/19</asp:ListItem>
                            <asp:ListItem Value="HH:mm:ss">14:10:30</asp:ListItem>
                            <asp:ListItem Value="MM-dd-yyyy">06-19-2009</asp:ListItem>
                            <asp:ListItem Value="MM/dd/yyyy">06/19/2009</asp:ListItem>
                        </asp:DropDownList>
                        如没有您需要的格式，还可以在标签内容中手动修改
                    </td>
                </tr>
                <tr>
                    <td class="bqleft">增加/减少时间：
                    </td>
                    <td class="bqright">
                        <table cellpadding="0" cellspacing="0" border="0">
                            <tr>
                                <td>
                                    <asp:TextBox ID="txtNowTime" runat="server" CssClass="in1" Columns="10" Text="0"></asp:TextBox>
                                </td>
                                <td>
                                    <asp:RadioButtonList ID="RadioNowTime" runat="server" RepeatDirection="Horizontal">
                                        <asp:ListItem Value="years" Selected="True">年</asp:ListItem>
                                        <asp:ListItem Value="months">月</asp:ListItem>
                                        <asp:ListItem Value="days">日</asp:ListItem>
                                        <asp:ListItem Value="hours">时</asp:ListItem>
                                        <asp:ListItem Value="minutes">分</asp:ListItem>
                                        <asp:ListItem Value="seconds">秒</asp:ListItem>
                                    </asp:RadioButtonList>
                                </td>
                            </tr>
                        </table>
                    </td>
                </tr>
            </tbody>
            <tbody style="display: none" id="DivLabelToAjax" runat="server">
                <tr>
                    <td class="bqleft">请输入标签Id：
                    </td>
                    <td class="bqright">
                        <asp:TextBox ID="txtLabelToAjax" runat="server" CssClass="in1" Columns="20"></asp:TextBox>
                        标签Id：标签列表中的标签编号
                    </td>
                </tr>
            </tbody>
            <tbody style="display: none" id="DivSingleVote" runat="server">
                <tr>
                    <td class="bqleft">选择投票：
                    </td>
                    <td class="bqright">
                        <asp:DropDownList ID="DropVote" runat="server">
                            <asp:ListItem Value="0">选择投票项</asp:ListItem>
                        </asp:DropDownList>
                    </td>
                </tr>
                <tr>
                    <td class="bqleft">引用样式：
                    </td>
                    <td class="bqright">
                        <table cellpadding="0" cellspacing="0" border="0">
                            <tr>
                                <td>
                                    <div onmousemove="ShowDiv('6')" onmouseout="HiddenDiv('6')" id="Href6" style="z-index: 100; display: none; width: 322px; position: absolute; visibility: visible; height: auto; overflow: auto; margin-top: 21px;">
                                        <table class="xiala" cellpadding="2" cellspacing="0" border="0" width="100%">
                                            <asp:Repeater ID="RepVote" runat="server">
                                                <ItemTemplate>
                                                    <tr onmouseover="this.className='tdMoveTrBg'" onmouseout="this.className=''">
                                                        <td onclick="Select('txtVote','<%#Eval("StyleId") %>','<%#Eval("Name") %>');HiddenDiv('6')"
                                                            style="cursor: pointer">
                                                            <span>
                                                                <%#Eval("Name") %></span>
                                                        </td>
                                                    </tr>
                                                </ItemTemplate>
                                            </asp:Repeater>
                                        </table>
                                    </div>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:TextBox ID="txtVoteName" Text="选择投票样式" runat="server" CssClass="in1" Style="width: 320px; cursor: pointer"
                                        onclick="ShowDiv('6')" onmouseout="HiddenDiv('6')"></asp:TextBox><asp:TextBox
                                            ID="txtVoteId" runat="server" CssClass="in1" Text="0" Style="display: none"></asp:TextBox>
                                </td>
                            </tr>
                        </table>
                    </td>
                </tr>
            </tbody>
            <tbody style="display: none" id="DivUserCount" runat="server">
                <tr>
                    <td class="bqleft">用户数统计：
                    </td>
                    <td class="bqright">
                        <asp:RadioButtonList ID="RadUserCount" runat="server" RepeatColumns="5" RepeatDirection="Horizontal">
                            <asp:ListItem Value="0" Selected="True">所有用户</asp:ListItem>
                        </asp:RadioButtonList>
                    </td>
                </tr>
            </tbody>
            <tbody style="display: none" id="DivUseDate" runat="server">
                <tr>
                    <td class="bqleft">指定日期：
                    </td>
                    <td class="bqright">
                        <asp:TextBox ID="txtUseDateValue" runat="server" CssClass="in1"></asp:TextBox>
                        填写“nowTime”获取当前日期</td>
                </tr>
                <tr>
                    <td class="bqleft">返回类型：
                    </td>
                    <td class="bqright">
                        <asp:RadioButtonList ID="RadUseDateType" runat="server" RepeatColumns="5" RepeatDirection="Horizontal">
                            <asp:ListItem Value="nianling" Selected="True">年龄</asp:ListItem>
                            <asp:ListItem Value="xingzuo">星座</asp:ListItem>
                            <asp:ListItem Value="shengxiao">生肖</asp:ListItem>
                            <asp:ListItem Value="monday">同周一</asp:ListItem>
                            <asp:ListItem Value="sunday">同周日</asp:ListItem>
                            <asp:ListItem Value="monthen">月份英文</asp:ListItem>
                            <asp:ListItem Value="monthenjx">月份英文（简写）</asp:ListItem>
                            <asp:ListItem Value="weeken">星期英文</asp:ListItem>
                            <asp:ListItem Value="weekenjx">星期英文（简写）</asp:ListItem>
                            <asp:ListItem Value="week">星期几</asp:ListItem>
                            <asp:ListItem Value="weekcn">星期几（中文）</asp:ListItem>
                            <asp:ListItem Value="datetimeformats">时间所有表达形式</asp:ListItem>
                        </asp:RadioButtonList>
                    </td>
                </tr>
                <tr>
                    <td class="bqleft">返回结果说明：
                    </td>
                    <td class="bqright">同周一：返回的结果为指定时间所在周的周一时间<br />
                        同周日：返回的结果为指定时间所在周的周日时间<br />
                        星期几：返回的结果为1-7。如：星期一返回的结果为 1<br />
                        星期几（中文）：返回“星期一”、“星期二”<br />
                        时间表达形式：有175种。创建标签后，需要对index进行设置，index从0开始 <a href="javascript:" onclick="WinOpenLhgDialog('查看时间转换的所有字符串格式','../common/datetimeformats.aspx',500,280,'')">查看效果</a></td>
                </tr>
            </tbody>
            <tbody style="display: none" id="DivJiSuan" runat="server">
                <tr>
                    <td class="bqleft">数字一：
                    </td>
                    <td class="bqright">
                        <asp:TextBox ID="txtJiSuanNum1" runat="server" CssClass="in1"></asp:TextBox>
                        填写数字6或者6.19</td>
                </tr>
                <tr>
                    <td class="bqleft">数字二：
                    </td>
                    <td class="bqright">
                        <asp:TextBox ID="txtJiSuanNum2" runat="server" CssClass="in1"></asp:TextBox></td>
                </tr>
                <tr>
                    <td class="bqleft">返回类型：
                    </td>
                    <td class="bqright">
                        <asp:RadioButtonList ID="RadJiSuanType" runat="server" RepeatColumns="6" RepeatDirection="Horizontal">
                            <asp:ListItem Value="+" Selected="True">加法</asp:ListItem>
                            <asp:ListItem Value="-">减法</asp:ListItem>
                            <asp:ListItem Value="*">乘法</asp:ListItem>
                            <asp:ListItem Value="/">除法</asp:ListItem>
                            <asp:ListItem Value="%">余数</asp:ListItem>
                        </asp:RadioButtonList>
                    </td>
                </tr>
                <tr>
                    <td class="bqleft">结果格式化：
                    </td>
                    <td class="bqright">
                        <asp:TextBox ID="txtJiSuanFormat" runat="server" CssClass="in1"></asp:TextBox><br />
                        1、如果您希望得到原始结果就为空。<br />
                        2、如得到结果为8.8888,但是您希望显示为两位数就填写：0.00</td>
                </tr>
            </tbody>
            <tbody style="display: none" id="DivSingleInfo" runat="server">
                <tr>
                    <td class="bqleft">指定单页Id：
                    </td>
                    <td class="bqright">
                        <asp:TextBox ID="txtSingleInfoId" runat="server" CssClass="in1"></asp:TextBox>
                        填写单页Id</td>
                </tr>
                <tr>
                    <td class="bqleft">单页字段：
                    </td>
                    <td class="bqright">
                        <asp:DropDownList ID="dropSingleInfoField" runat="server">
                            <asp:ListItem Value="Title">单页标题</asp:ListItem>
                            <asp:ListItem Value="EnName">英文名称</asp:ListItem>
                            <asp:ListItem Value="Content">单页内容</asp:ListItem>
                            <asp:ListItem Value="ClassName">类别名称</asp:ListItem>
                        </asp:DropDownList>
                    </td>
                </tr>
            </tbody>
            <tbody style="display: none" id="DivDictionary" runat="server">
                <tr>
                    <td class="bqleft">字典父类Id：
                    </td>
                    <td class="bqright">
                        <asp:TextBox ID="txtDicParentId" runat="server" CssClass="in1" Text="0"></asp:TextBox>
                        填写单页父类Id</td>
                </tr>
                <tr>
                    <td class="bqleft">字典样式：
                    </td>
                    <td class="bqright">
                        <asp:DropDownList ID="dropDictionaryStyle" runat="server">
                            <asp:ListItem Value="0">请选择样式</asp:ListItem>
                        </asp:DropDownList>
                    </td>
                </tr>
            </tbody>
            <tbody style="display: none" id="DivModelInfo" runat="server">
                <tr>
                    <td class="bqleft">指定模型Id：
                    </td>
                    <td class="bqright">
                        <asp:TextBox ID="txtModelInfoId" runat="server" CssClass="in1"></asp:TextBox>
                        填写模型Id。</td>
                </tr>
                <tr>
                    <td class="bqleft">模型字段：
                    </td>
                    <td class="bqright">
                        <asp:DropDownList ID="dropModelInfoField" runat="server">
                            <asp:ListItem Value="ModelName">模型中文名称</asp:ListItem>
                            <asp:ListItem Value="ModelEnName">模型英文名称</asp:ListItem>
                            <asp:ListItem Value="ModelUnit">模型单位</asp:ListItem>
                            <asp:ListItem Value="KeyWords">关键词</asp:ListItem>
                            <asp:ListItem Value="ModelDesc">描述</asp:ListItem>
                            <asp:ListItem Value="UploadPath">上传路径</asp:ListItem>
                            <asp:ListItem Value="Click">访问次数</asp:ListItem>
                            <asp:ListItem Value="AddTime">创建时间</asp:ListItem>
                        </asp:DropDownList>
                    </td>
                </tr>
            </tbody>
            <tbody style="display: none" id="DivColumnInfo" runat="server">
                <tr>
                    <td class="bqleft">指定栏目Id：
                    </td>
                    <td class="bqright">
                        <asp:TextBox ID="txtColId" runat="server" CssClass="in1"></asp:TextBox>
                        填写栏目Id。</td>
                </tr>
                <tr>
                    <td class="bqleft">栏目字段：
                    </td>
                    <td class="bqright">
                        <asp:DropDownList ID="dropColumnField" runat="server">
                            <asp:ListItem Value="CnName">中文名称</asp:ListItem>
                            <asp:ListItem Value="EnName">英文名称</asp:ListItem>
                            <asp:ListItem Value="Image">图片</asp:ListItem>
                            <asp:ListItem Value="KeyWords">关键词</asp:ListItem>
                            <asp:ListItem Value="Description">描述</asp:ListItem>
                            <asp:ListItem Value="ExpandField1">扩展字段一</asp:ListItem>
                            <asp:ListItem Value="ExpandField2">扩展字段二</asp:ListItem>
                            <asp:ListItem Value="ExpandField3">扩展字段三</asp:ListItem>
                            <asp:ListItem Value="ExpandField4">扩展字段四</asp:ListItem>
                            <asp:ListItem Value="ExpandField5">扩展字段五</asp:ListItem>
                            <asp:ListItem Value="Click">访问次数</asp:ListItem>
                        </asp:DropDownList>
                    </td>
                </tr>
            </tbody>
            <tbody style="display: none" id="DivTimeSpan" runat="server">
                <tr>
                    <td class="bqleft">开始时间：
                    </td>
                    <td class="bqright">
                        <asp:TextBox ID="txtTimeSpanStart" runat="server" CssClass="in1"></asp:TextBox>
                        填写“nowTime”获取当前日期。</td>
                </tr>
                <tr>
                    <td class="bqleft">结束时间：
                    </td>
                    <td class="bqright">
                        <asp:TextBox ID="txtTimeSpanEnd" runat="server" CssClass="in1"></asp:TextBox>
                        填写“nowTime”获取当前日期。
                    </td>
                </tr>
                <tr>
                    <td class="bqleft">返回类型：
                    </td>
                    <td class="bqright">
                        <asp:RadioButtonList ID="radTimeSpan" runat="server" RepeatDirection="Horizontal">
                            <asp:ListItem Value="days" Selected="True">天</asp:ListItem>
                            <asp:ListItem Value="hours">小时</asp:ListItem>
                            <asp:ListItem Value="minutes">分钟</asp:ListItem>
                            <asp:ListItem Value="seconds">秒</asp:ListItem>
                            <asp:ListItem Value="milliseconds">毫秒</asp:ListItem>
                            <asp:ListItem Value="totaldays">总天</asp:ListItem>
                            <asp:ListItem Value="totalhours">总小时</asp:ListItem>
                            <asp:ListItem Value="totalminutes">总分钟</asp:ListItem>
                            <asp:ListItem Value="totalseconds">总秒数</asp:ListItem>
                            <asp:ListItem Value="totalmilliseconds">总毫秒</asp:ListItem>
                        </asp:RadioButtonList>
                    </td>
                </tr>
            </tbody>
            <tbody style="display: none" id="DivShopNum" runat="server">
                <tr>
                    <td class="bqleft">显示类型：
                    </td>
                    <td class="bqright">
                        <asp:RadioButtonList ID="RadShopNum" runat="server" RepeatDirection="Horizontal">
                            <asp:ListItem Value="1" Selected="True">购物车物品样数</asp:ListItem>
                            <asp:ListItem Value="2">购物车物品件数</asp:ListItem>
                        </asp:RadioButtonList></td>
                </tr>
                <tr>
                    <td class="bqleft">选择说明：
                    </td>
                    <td class="bqright">物品样数：即同一件物品，不管购买多少数量，只算一件。<br />物品件数：即每个物品所购买数量的总和。</td>
                </tr>
            </tbody>
            <tbody style="display: none" id="DivSingleContent" runat="server">
				<tr>
                    <td class="bqleft">调用字段：
                    </td>
                    <td class="bqright">
						<asp:DropDownList ID="dropSingleContent" runat="server">
						</asp:DropDownList>
                    </td>
                </tr>
            </tbody>
            <tr>
                <td class="bqleft"></td>
                <td height="40" align="center" class="bqright">
                    <asp:TextBox ID="txtType" runat="server" Style="display: none" Text="SiteName"></asp:TextBox>
                    <asp:Button ID="Button1" runat="server" Text=" 确认 " CssClass="btn radius30 pad_0_30" OnClick="Button1_Click" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                <input id="Button2" type="button" value=" 取消 " onclick="frameElement.api.close()"
                    class="btn radius30 pad_0_30" />
                </td>
            </tr>
        </table>
    </form>

    <script>
        var name = DianCMS_$("txtType").value;
    </script>

    <asp:Literal ID="LitMsg" runat="server"></asp:Literal>
</body>
</html>
