<%@ page language="C#" autoeventwireup="true" inherits="admin_Collection_SetCollection, DianCMS" 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 id="CssName" rel="stylesheet" type="text/css" runat="server" />

    <script src="../../js/Common.js" 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:TextBox ID="txtName" runat="server" CssClass="in1" Columns="40"></asp:TextBox><font color="red">*</font><asp:DropDownList ID="DropClass" runat="server">
                    <asp:ListItem Value="0">--选择分类--</asp:ListItem>
                </asp:DropDownList>
            </td>
        </tr>
        <tr>
            <td class="bqleft">
                对应内容模型：
            </td>
            <td class="bqright">
                <asp:DropDownList ID="DropInfoModel" runat="server">
                    <asp:ListItem Value="0">选择模型</asp:ListItem>
                </asp:DropDownList>
            </td>
        </tr>
        <tr>
            <td class="bqleft">
                采集网站：
            </td>
            <td class="bqright">
                <asp:TextBox ID="txtWebSite" runat="server" Columns="30" CssClass="in1"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td class="bqleft">
                采集URL：
            </td>
            <td class="bqright">
                <asp:TextBox ID="txtUrl" runat="server" Columns="80" CssClass="in1" Text="http://"></asp:TextBox><font
                    color="red">*</font>
            </td>
        </tr>
        <tr>
            <td class="bqleft">
                网站列表页编码：
            </td>
            <td class="bqright">
                <asp:RadioButtonList ID="RadCodeType" runat="server" RepeatDirection="Horizontal">
                    <asp:ListItem Value="GB2312" Selected="True">GB2312</asp:ListItem>
                    <asp:ListItem Value="UTF-8">UTF-8</asp:ListItem>
                    <asp:ListItem Value="Big5">Big5</asp:ListItem>
                </asp:RadioButtonList>
            </td>
        </tr>
        <tr>
            <td class="bqleft">
                网站内容页编码：
            </td>
            <td class="bqright">
                <asp:RadioButtonList ID="RadInfoCode" runat="server" RepeatDirection="Horizontal">
                    <asp:ListItem Value="GB2312" Selected="True">GB2312</asp:ListItem>
                    <asp:ListItem Value="UTF-8">UTF-8</asp:ListItem>
                    <asp:ListItem Value="Big5">Big5</asp:ListItem>
                </asp:RadioButtonList>
            </td>
        </tr>
        <tr>
            <td class="bqleft">
                采集后是否生成：
            </td>
            <td class="bqright">
                <asp:RadioButtonList ID="IsCreate" 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:TextBox ID="txtColId" runat="server" Text="0" CssClass="in1" Columns="10"></asp:TextBox> <font color="red">注：默认"0"为按模型方式生成，如果需要按栏目方式生成，请填写栏目ID，多个栏目用","分开。</font>
            </td>
        </tr>
        <tr>
            <td class="bqleft">
                采集顺序：
            </td>
            <td class="bqright">
                <asp:RadioButtonList ID="RadlOrder" 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="IsHistory" 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">
                相同Url地址：
            </td>
            <td class="bqright">
            <span style="float:left">
                <asp:RadioButtonList ID="IsRepeat" runat="server" RepeatDirection="Horizontal">
                    <asp:ListItem Value="False" Selected="True">不重复采集</asp:ListItem>
                    <asp:ListItem Value="True">重复采集</asp:ListItem>
                </asp:RadioButtonList></span><span style="float:left;margin-left:20px;line-height:30px;height:24px;"><font color="red">注</font>：不重复采集只有在开启历史记录后生效</span>
            </td>
        </tr>
        <tr>
            <td class="bqleft">
                采集时间间隔：
            </td>
            <td class="bqright">
                <asp:TextBox ID="txtJianGeTime" runat="server" Text="0"></asp:TextBox>毫秒 1000毫秒=1秒 <font color="red">注：采集每条URL数据时的时间间隔</font>
            </td>
        </tr>
        <tr>
            <td class="bqleft">
                采集备注：
            </td>
            <td class="bqright">
                <asp:TextBox ID="txtContent" runat="server" TextMode="MultiLine" Rows="6" Columns="40"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td class="bqleft">
            </td>
            <td class="bqright" height="40">
                <asp:Button ID="Button2" runat="server" Text=" 保存 " CssClass="btn radius30 pad_0_30" OnClick="Button1_Click" />
                <asp:Button ID="Button1" runat="server" Text=" 保存并进入下一步 " CssClass="btn radius30 pad_0_30" OnClick="Button1_Click"
                    Style="margin-left: 10px;" />
            </td>
        </tr>
    </table>
    </form>
</body>
</html>
