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

<%@ Import Namespace="D.Common" %>
<%@ Import Namespace="D.BLL" %>
<!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 type="text/javascript" language="javascript" src="../../js/date/date.js"></script>
    <script type="text/javascript" language="javascript" src="../../js/Common.js"></script>
    <script type="text/javascript" language="javascript" src="../../js/color.js"></script>
    <script type="text/javascript" src="../../js/<%=B_Lang.getLang() %>/Collection.js"></script>
    <script src="../../js/lhgdialog/lhgcore.lhgdialog.min.js?self=true&skin=<%=Function.GetCssNameColor()%>" type="text/javascript"></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="CollectionList.aspx">采集项目管理</a>
                    >>
                    <asp:Literal ID="LitItem" runat="server"></asp:Literal>
                </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:Literal ID="LitItemName" runat="server"></asp:Literal>
                </td>
            </tr>
            <asp:Repeater ID="RepField" runat="server" OnItemDataBound="RepField_ItemDataBound">
                <ItemTemplate>
                    <tr>
                        <td class="bqleft">
                            <asp:TextBox ID="txtFieldId" runat="server" Columns="5" Style="display: none" Text='<%#Eval("FieldId") %>'></asp:TextBox>
                            <%#Eval("Alias") %>：
                        </td>
                        <td class="bqright">
                            <asp:RadioButton ID="RadDefault" onclick="RadSet(this)" runat="server" GroupName="Type"
                                Text="字段默认值" />
                            <asp:RadioButton ID="RadDesignated" onclick="RadSet(this)" runat="server" GroupName="Type"
                                Text="使用指定值" />
                            <asp:TextBox ID="txtDesignated" runat="server" Visible="false" CssClass="in1"></asp:TextBox>
                            <asp:TextBox ID="DianCMS_Color" runat="server" onclick="rcolor(this,true)" title="选取颜色"
                                Visible="false" CssClass="in1"></asp:TextBox>
                            <asp:TextBox ID="txtRadio" runat="server" Visible="false" CssClass="in1"></asp:TextBox>
                            <asp:TextBox ID="DianCMS_Date" runat="server" onClick="date({dateFmt:'yyyy-MM-dd HH:mm:ss',readOnly:true})"
                                Visible="false" CssClass="in1"></asp:TextBox>
                            <asp:DropDownList ID="DianCMS_3" runat="server" Visible="false">
                                <asp:ListItem Value="0">请选择</asp:ListItem>
                            </asp:DropDownList>
                            <asp:DropDownList ID="DianCMS_2" runat="server" Visible="false">
                                <asp:ListItem Value="0">请选择</asp:ListItem>
                            </asp:DropDownList>
                            <asp:DropDownList ID="DianCMS_1" runat="server" Visible="false">
                                <asp:ListItem Value="0">请选择</asp:ListItem>
                            </asp:DropDownList>
                            <asp:TextBox ID="txtTemplate" runat="server" Columns="50" ToolTip="点击选择模板" CssClass="in1" Visible="false"></asp:TextBox>
                            <asp:TextBox ID="txtTable" runat="server" Columns="50" ToolTip="点击选择数据" CssClass="in1" Visible="false"></asp:TextBox>
                            <asp:TextBox ID="txtTable_Id" runat="server" Columns="50" CssClass="in1" Visible="false"></asp:TextBox>
                            <asp:RadioButtonList ID="Radio_Bit" runat="server" Visible="false" RepeatDirection="Horizontal">
                                <asp:ListItem Value="True">是</asp:ListItem>
                                <asp:ListItem Value="False" Selected="True">否</asp:ListItem>
                            </asp:RadioButtonList>
                            <asp:TextBox ID="DianCMS_ListBox" runat="server" Visible="false" Columns="20" CssClass="in1"></asp:TextBox><asp:TextBox
                                ID="DianCMS_ListBox_Id" runat="server" Visible="false" CssClass="in1"></asp:TextBox>
                            <asp:RadioButton ID="RadSet" onclick="RadSet(this)" runat="server" GroupName="Type"
                                Text="使用采集规则" />
                            <asp:Button ID="ButSet" runat="server" ToolTip="设置采集规则" CssClass="btn" Enabled="false" /><asp:RadioButtonList ID="RadAuditing" runat="server" RepeatDirection="Horizontal" Visible="false">
                            </asp:RadioButtonList>
                        </td>
                    </tr>
                </ItemTemplate>
            </asp:Repeater>
            <tr>
                <td class="bqleft"></td>
                <td class="bqright" height="40">
                    <asp:Button ID="Button1" runat="server" Text=" 保存 " CssClass="btn radius30 pad_0_30"
                        OnClick="Button1_Click" />
                </td>
            </tr>
        </table>
    </form>
</body>
</html>
