<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Gather1.aspx.cs" Inherits="TotCms.Web.Admin.Gather1" %>

<%@ Register src="UI/main_top.ascx" tagname="main_top" tagprefix="uc1" %>

<!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">
    <meta HTTP-EQUIV="content-type" CONTENT="text/html; charset=UTF-8">
    <title>添加采集</title>
  <link href="style/Global.css" rel="stylesheet" type="text/css" />
  <script src="js/common.js" type="text/javascript"></script>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    
      <uc1:main_top ID="main_top1" runat="server" />
    
    </div>
    <table style="width:100%;" border="0" cellpadding="0" cellspacing="1" 
      class="black_border">
      <tr class="suphead">
        <td colspan="2">
          <asp:Label ID="Label1" runat="server" Text="Label"></asp:Label>采集(第一步)</td>
    </tr>
    <tr>
      <td class="fields_text">
        采集名称：</td>
      <td class="fields_input">
        <asp:TextBox ID="Title" runat="server" CssClass="input_middle"></asp:TextBox>
        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
          ControlToValidate="Title" ErrorMessage="名称不能为空"></asp:RequiredFieldValidator>
        </td>
    </tr>
    <tr>
      <td class="fields_text">
        采集地址：</td>
      <td class="fields_input">
        <asp:TextBox ID="Url" runat="server" CssClass="input_middle"></asp:TextBox>
          <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
          ControlToValidate="Url" ErrorMessage="采集网址不能为空"></asp:RequiredFieldValidator>
          </td>
    </tr>
    <tr>
      <td class="fields_text">
        编码：</td>
      <td class="fields_input">
        <asp:TextBox ID="Encode" runat="server">gb2312</asp:TextBox>
          <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" 
          ControlToValidate="Encode" ErrorMessage="请设置编码"></asp:RequiredFieldValidator>
          </td>
    </tr>
    <tr>
      <td class="fields_text">
        绑定文章模板：</td>
      <td class="fields_input">

        <asp:DropDownList ID="TemplateId" runat="server">
        </asp:DropDownList>
          </td>
    </tr>
    <tr>
      <td class="fields_text">
        采集到栏目：</td>
      <td class="fields_input">
      <asp:Label ID="CategoryTitle" runat="server" Text="选择栏目"></asp:Label>
        <asp:TextBox ID="CategoryId" runat="server" CssClass="hidden">0</asp:TextBox>
          <input id="Button4" type="button" value="..." onclick="popupWindow('Category_Tree.aspx','category_tree',400,300,1)" />
          </td>
    </tr>
    <tr>
      <td colspan="2" align="center" height="40">
        <asp:Button ID="Button1" runat="server" Text="下一步" onclick="Button1_Click" />
      </td>
    </tr>
  </table>
    </form>
</body>
</html>
