<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="sitecate.aspx.cs" Inherits="SearchEasy.SiteSearch.backend.sitecate" %>
<!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>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>搜索类型分类设置-搜易站内搜索引擎系统</title>
<link href="images/sdcms.css" rel="stylesheet" type="text/css" />
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<script language="javascript" src="images/sdcms.js" type="text/javascript"></script>
<script type="text/javascript" src="editor/xheditor/jquery.js"></script>
<script type="text/javascript" src="editor/xheditor/editor.js"></script>
</head>
<body>
<form id="Form1" runat="server">
<div class="sdcms_notice"><span>管理操作：</span>搜索类型分类设置</div>
<div id="sdcms_right_b"> 
<table width="98%" border="0" align="center" cellpadding="3" cellspacing="1" id="Table1">
   <tr>
      <td width="100%" class="tdbg" colspan="2"><strong>分类字段设置（总共提供五组自定义分类功能，如启用该分组则填入相应字段名，不启用则不选，且在初始化索引前设定好分类）：</strong></td>
   </tr>
   <tr>
      <td width="100" align="center" class="tdbg"><font color=red>*</font>数据表：</td>
      <td  class="tdbg">
      <asp:DropDownList runat="server" ID="ddlDBTable" CssClass="input" 
              DataTextField="Name" DataValueField="Name" AutoPostBack="True" 
              onselectedindexchanged="ddlDBTable_SelectedIndexChanged"></asp:DropDownList>(此选择仅为字段选择方便而设)</td>
   </tr>
   <tr>
      <td width="100" align="center" class="tdbg"><font color=red>*</font>自定义分类1(c1)字段：</td>
      <td  class="tdbg">
      <asp:TextBox runat="server" ID="txtCate1" CssClass="input" /> 
      <asp:DropDownList runat="server" ID="ddlCate1" CssClass="input"></asp:DropDownList> </td>
   </tr>
   <tr>
      <td width="100" align="center" class="tdbg"><font color=red>*</font>自定义分类1(c1)项：</td>
      <td  class="tdbg">
        <asp:TextBox runat="server" ID="txtCateList1" CssClass="input" Height="102px" TextMode="MultiLine" Width="501px" /> <br />
        每行一项，项和值以|分割，如 中国|1，下同
      </td>
   </tr>
   <tr>
      <td width="100" align="center" class="tdbg"><font color=red>*</font>自定义分类2(c2)字段：</td>
      <td  class="tdbg">
      <asp:TextBox runat="server" ID="txtCate2" CssClass="input" /> 
      <asp:DropDownList runat="server" ID="ddlCate2" CssClass="input"></asp:DropDownList> </td>
   </tr>
   <tr>
      <td width="100" align="center" class="tdbg"><font color=red>*</font>自定义分类2(c2)项：</td>
      <td  class="tdbg">
        <asp:TextBox runat="server" ID="txtCateList2" CssClass="input" Height="102px" TextMode="MultiLine" Width="501px" /> <br />
      </td>
   </tr>
   
   <tr>
      <td width="100" align="center" class="tdbg"><font color=red>*</font>自定义分类3(c3)字段：</td>
      <td  class="tdbg">
      <asp:TextBox runat="server" ID="txtCate3" CssClass="input" /> 
      <asp:DropDownList runat="server" ID="ddlCate3" CssClass="input"></asp:DropDownList> </td>
   </tr>
   <tr>
      <td width="100" align="center" class="tdbg"><font color=red>*</font>自定义分类3(c3)项：</td>
      <td  class="tdbg">
        <asp:TextBox runat="server" ID="txtCateList3" CssClass="input" Height="102px" TextMode="MultiLine" Width="501px" /> <br />
      </td>
   </tr>
   
   <tr>
      <td width="100" align="center" class="tdbg"><font color=red>*</font>自定义分类4(c4)字段：</td>
      <td  class="tdbg">
      <asp:TextBox runat="server" ID="txtCate4" CssClass="input" /> 
      <asp:DropDownList runat="server" ID="ddlCate4" CssClass="input"></asp:DropDownList> </td>
   </tr>
   <tr>
      <td width="100" align="center" class="tdbg"><font color=red>*</font>自定义分类4(c4)项：</td>
      <td  class="tdbg">
        <asp:TextBox runat="server" ID="txtCateList4" CssClass="input" Height="102px" TextMode="MultiLine" Width="501px" /> <br />
      </td>
   </tr>
   
    <tr>
      <td width="100" align="center" class="tdbg"><font color=red>*</font>自定义分类5(c5)字段：</td>
      <td  class="tdbg">
      <asp:TextBox runat="server" ID="txtCate5" CssClass="input" /> 
      <asp:DropDownList runat="server" ID="ddlCate5" CssClass="input"></asp:DropDownList> </td>
   </tr>
   <tr>
      <td width="100" align="center" class="tdbg"><font color=red>*</font>自定义分类5(c5)项：</td>
      <td  class="tdbg">
        <asp:TextBox runat="server" ID="txtCateList5" CssClass="input" Height="102px" TextMode="MultiLine" Width="501px" /> <br />
      </td>
   </tr>

</table>
<table width="98%" border="0" align="center" cellpadding="3" cellspacing="1" >
    <tr class="tdbg">
	  <td width="100">&nbsp;</td>
      <td><asp:Button runat="server" CssClass="bnt" Text="保存" ID="btnSave" onclick="btnSave_Click" /> </td>
	 </tr>
</table>
</div>
</form>
<script language="javascript" type="text/javascript">
function SetValue(obj,v)
{
    document.getElementById(obj).value = v ;
}
</script>
</body>
</html>
