<%@ page language="C#" autoeventwireup="true" inherits="admin_label_ImportLabel, DianCMS" enableviewstatemac="false" enableEventValidation="false" viewStateEncryptionMode="Never" %>
<%@ 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 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 type="text/javascript">
        function SelOutURL() {
            var TypeCount = document.getElementsByName("RadioButtonList3");
            var s;
            if (navigator.appName == "Microsoft Internet Explorer") {
                s = TypeCount[1].checked;
            }
            else {
                s = TypeCount[0].checked;
            }
            if (s) {
                DianCMS_$("Tr1").style.display = "none";
            }
            else {
                DianCMS_$("Tr1").style.display = "";
            }
        }
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <table class="dh" cellpadding="0" cellspacing="0" border="0" align="center">
        <tr>
            <td>
                <asp:Image ID="P_Go" runat="server" ImageAlign="AbsMiddle" />
                您现在的位置：<a href="../info.aspx">后台管理</a> >> <a href="labellist.aspx">标签列表</a> >> 导入标签
            </td>
        </tr>
    </table>
    <table class="border" cellspacing="1" cellpadding="0" width="99%" border="0" align="center">
        <tr>
            <td class="bqleft">
                导入方式：
            </td>
            <td class="bqright">
                <asp:RadioButtonList ID="RadioButtonList3" runat="server" RepeatDirection="Horizontal" onclick="SelOutURL()">
                    <asp:ListItem Value="1">全新导入（会删除已经创建好的样式标签，慎用！）</asp:ListItem>
                    <asp:ListItem Value="2" Selected="True">导入部分</asp:ListItem>
                </asp:RadioButtonList>
            </td>
        </tr>
        <tbody id="Tr1">
        <tr>
            <td class="bqleft">
                重复标签：
            </td>
            <td class="bqright">
                <asp:RadioButtonList ID="RadLabel" 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:RadioButtonList ID="RadioStyle" 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:RadioButtonList ID="RadioLableClass" runat="server" RepeatDirection="Horizontal">
                    <asp:ListItem Value="1">导入（只针对新增标签分类）</asp:ListItem>
                    <asp:ListItem Value="2" Selected="True">不导入</asp:ListItem>
                </asp:RadioButtonList>
            </td>
        </tr>
        <tr>
            <td class="bqleft">
                样式分类：
            </td>
            <td class="bqright">
                <asp:RadioButtonList ID="RadioStyleClass" runat="server" RepeatDirection="Horizontal">
                    <asp:ListItem Value="1">导入（只针对新增样式分类）</asp:ListItem>
                    <asp:ListItem Value="2" Selected="True">不导入</asp:ListItem>
                </asp:RadioButtonList>
            </td>
        </tr>
        </tbody>
        <tr>
            <td class="bqleft">
                选择导入模板：
            </td>
            <td class="bqright">
                <asp:TextBox ID="txtTemplate" runat="server" Columns="50" CssClass="in1"></asp:TextBox>
                <input id="Button3" type="button" value="选择模板" class="btn" onclick="WinOpenLhgDialog('选择模板','../template/SelectTemplate.aspx?ControlId=txtTemplate',650,450,'')" /><font
                    color="#ff0066">*</font>
            </td>
        </tr>
        <tr>
            <td class="bqleft">
            </td>
            <td class="bqright" height="50">
                <asp:Button ID="Button2" runat="server" Text=" 提交 " CssClass="btn radius30 pad_0_30" OnClick="Button2_Click" />
            </td>
        </tr>
     </table>
    </form>
</body>
</html>
