<%@ Page Language="C#" MasterPageFile="../Admin.Master" AutoEventWireup="true" CodeBehind="IndexAdd.aspx.cs"
    Inherits="ETongJin.Search.Web.Admin.IndexAdd" ValidateRequest="false" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server"></asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
  <table class="tableBorder" border="0" cellpadding="3" cellspacing="1">
    <tr>
      <th colspan="2"> 批量添加索引页面 </th>
    </tr>
    <tr>
      <td class="td2"> 请输入待索引页面的URL：</td>
      <td class="td1"><asp:TextBox ID="txtWd" runat="server" Height="221px" TextMode="MultiLine" Width="446px"></asp:TextBox>
        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtWd" ErrorMessage="不能为空！"></asp:RequiredFieldValidator><br /><strong>注意：</strong>每行一个
      </td>
    </tr>
    <tr>
      <td class="td2"> 所属类别： </td>
      <td class="td1"><asp:DropDownList ID="DropDownList1" runat="server" DataTextField="ename" DataValueField="id"> </asp:DropDownList>
      </td>
    </tr>
    <tr>
      <td class="td2"> 页面编码： </td>
      <td class="td1"><asp:RadioButtonList ID="rblEncoding" runat="server" RepeatDirection="Horizontal">
          <asp:ListItem Selected="True" Value="">智能识别</asp:ListItem>
          <asp:ListItem Value="gb2312">GB2312</asp:ListItem>
          <asp:ListItem Value="utf-8">UTF-8</asp:ListItem>
        </asp:RadioButtonList>
      </td>
    </tr>
    <tr>
      <td class="td2"> 权重： </td>
      <td class="td1"><asp:TextBox ID="txtWeight" runat="server" CssClass="ym12_input2" Width="50px">1</asp:TextBox>
        权重越高，搜索排名越靠前 （默认值为1，一般设置成1.5或者2就有不错的权重了） </td>
    </tr>
    <tr>
      <td class="td2"> 是否保存快照： </td>
      <td class="td1"><asp:RadioButtonList ID="rblSnap" runat="server" RepeatDirection="Horizontal">
          <asp:ListItem Selected="true" Text="不保存" Value="0"></asp:ListItem>
          <asp:ListItem Text="保存快照" Value="1"></asp:ListItem>
        </asp:RadioButtonList>
        选择保存快照功能将会占用大量空间. </td>
    </tr>
    <tr>
      <td colspan="2" class="td3"> <asp:Button ID="Button1" runat="server" OnClick="Button1_Click" Text="添 加" CssClass="btn02" onmouseover="this.className='btn04'" onmouseout="this.className='btn02'" />
      </td>
    </tr>
  </table>
</asp:Content>
