<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="YC_SearchKeyword_Add.aspx.cs"
    Inherits="YCHR.Web.admin.Sys.YC_SearchKeyword_Add" %>
<!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 id="Head1" runat="server">
<title>增加关键字</title>
<link rel="stylesheet" type="text/css" href="../images/style.css" />
<script type="text/javascript" src="../js/jquery.js"></script>
<script type="text/javascript" src="../js/jquery.validate.min.js"></script>
<script type="text/javascript" src="../js/messages_cn.js"></script>
<script type="text/javascript" src="../js/cursorfocus.js"></script>
<script type="text/javascript">
        $(function () {
            //表单验证JS
            $("#form1").validate({
                //出错时添加的标签
                errorElement: "span",
                success: function (label) {
                    //正确时的样式
                    label.text(" ").addClass("success");
                }
            });
        });
    </script>
<style type="text/css">
.style1 {
	width: 15%;
}
</style>
</head>
<body style="padding: 10px;">
<form id="form1" runat="server">
  <div class="navigation"> <span class="back"><a href="AdvList.aspx">返回列表</a></span><b>您当前的位置：管理中心 &gt; 系统管理 &gt;
    关键字管理</b> </div>
  <div class="spClear"> </div>
  <table width="100%" border="0" align="center" cellpadding="2" cellspacing="1">
    <tr>
      <td height="25" class="pl20"><b>管理选项：</b> <a href="YC_SearchKeyword_Add.aspx">新增关键字</a> |<a href="YC_SearchKeyword_List.aspx?type=ishot">热门搜索关键字</a> |<a href="YC_SearchKeyword_List.aspx?type=isquick">快速搜索关键字</a> | <a href="YC_SearchKeyword_List.aspx?type=null"> 未处理的用户搜索关键字</a>[<a href="javascript:location.reload()">刷新页面</a>] </td>
    </tr>
    <tr>
      <td height="25" class="pl20"><b>关健字：</b>
        <asp:TextBox ID="txtsearchKeywords" runat="server" CssClass="keyword"></asp:TextBox>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        <asp:Button ID="btnSelect" runat="server" Text="查询" CssClass="submit" OnClick="btnSelect_Click" />
        &nbsp; </td>
    </tr>
  </table>
  <table width="100%" border="0" cellspacing="0" cellpadding="0" class="msgtable">
    <tr>
      <th colspan="2" align="left"> 新增关键字 </th>
    </tr>
    <tr>
      <td align="right" class="style1"> 关键字类型： </td>
      <td width="75%"><asp:DropDownList ID="dropType" runat="server">
          <asp:ListItem Value="1">快速搜索关键字</asp:ListItem>
          <asp:ListItem Value="2">热门搜索关键字</asp:ListItem>
        </asp:DropDownList></td>
    </tr>
    <tr>
      <td align="right" class="style1"> 关键字： </td>
      <td width="75%"><asp:TextBox ID="txtkeyword" runat="server" CssClass="input required" size="30" MaxLength="10"></asp:TextBox></td>
    </tr>
    <tr>
      <td align="right" class="style1"> 英文名： </td>
      <td><asp:TextBox ID="txtename" runat="server" CssClass="input required" size="30" MaxLength="20"></asp:TextBox></td>
    </tr>
    <tr>
      <td align="right" class="style1"> 排序： </td>
      <td><asp:TextBox ID="txtOrder" runat="server" CssClass="input required number" size="5"
                    Text="0" MaxLength="10"></asp:TextBox></td>
    </tr>
  </table>
  <div style="margin-top: 10px; text-align: center;">
    <asp:Button ID="btnSave" runat="server" Text="确认保存" CssClass="submit" OnClick="btnSave_Click" />
    &nbsp;&nbsp;
    <input type="reset" name="button" id="btnReset" value="重 置" class="submit" />
  </div>
</form>
</body>
</html>
