<%@ Page Language="C#" MasterPageFile="../Admin.Master" AutoEventWireup="true" CodeBehind="ClassEdit.aspx.cs"
    Inherits="ETongJin.Search.Web.Admin.ClassEdit" %>
<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"> <asp:Label ID="lbTitle" runat="server" Text="添加类别"></asp:Label>
      </th>
    </tr>
    <tr>
      <td class="td2"> 类别名称： </td>
      <td class="td1"><asp:TextBox ID="txtName" runat="server" CssClass="ym12_input2"></asp:TextBox>
        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtName" ErrorMessage="不能为空！" ValidationGroup="add"></asp:RequiredFieldValidator>
      </td>
    </tr>
    <tr>
      <td class="td2"> 类别排序： </td>
      <td class="td1"><asp:TextBox ID="txtWeight" runat="server" CssClass="ym12_input2" Width="40px">1</asp:TextBox>
        <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="txtWeight" ErrorMessage="只能输入数字！" ValidationExpression="^[0-9]*$" ValidationGroup="add"></asp:RegularExpressionValidator>
      </td>
    </tr>
    <tr>
      <td class="td2"> 候补结果必须包含的关键词：</td>
      <td class="td1"><asp:TextBox ID="txtPageKeys" runat="server" MaxLength="70" CssClass="ym12_input4"></asp:TextBox>
        <br />
        多个关键词之间请用竖线&quot;|&quot;分割。最佳关键词个数不得多余6个，20左右个汉字。<br />
        （当本类别包含的用户搜索的内容很少时，需要候补的互联网内容中必须包含的关键词）</td>
    </tr>
    <tr>
      <td class="td2"> 是否在前台显示： </td>
      <td class="td1"><asp:RadioButtonList ID="rblMark" runat="server" RepeatDirection="Horizontal">
          <asp:ListItem Selected="True" Value="1">显示</asp:ListItem>
          <asp:ListItem Value="0">不显示</asp:ListItem>
        </asp:RadioButtonList>
      </td>
    </tr>
    <tr>
      <td colspan="2" class="td3"><asp:Button ID="Button2" runat="server" Text="确认操作" OnClick="Button2_Click" ValidationGroup="add" CssClass="btn02" onmouseover="this.className='btn04'" onmouseout="this.className='btn02'" />
      </td>
    </tr>
  </table>
</asp:Content>
