<%@ Page Language="C#" AutoEventWireup="true" CodeFile="edit_kwd.aspx.cs" Inherits="admin_admin_edit_kwd" %>
<%@ Register TagPrefix="WebSession" TagName="CheckSession" Src="UserControls/session.ascx"  %>
<WebSession:CheckSession id="CheckSession" runat="server"></WebSession:CheckSession>
<!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">
    <title>无标题页</title>
    <link href="../../skin/css/admin.css" rel="stylesheet" type="text/css" />
</head>

<body>
    <form id="form1" runat="server">
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
				<tr>
					<td height="7"></td>
				</tr>
			</table>
			<table width="96%" border="0" align="center" cellpadding="0" cellspacing="0">
				<tr>
					<td height="30" class="title_top" align="center">修改关键词</td>
				</tr>
			</table>
			<table cellSpacing="1" cellPadding="3" width="96%" align="center" bgColor="#77aeee" border="0">
  <tr>
    <th align="right" style="width:120px;height:25px; background-color:#dfefff">关键词名称：</th>
    <td style="background-color:#ffffff;">
        <asp:TextBox ID="KwdName" runat="server" Columns="45" MaxLength="50"></asp:TextBox>
        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="KwdName"
            Display="Dynamic" ErrorMessage="请输入关键词名称"></asp:RequiredFieldValidator></td>
  </tr>
   <tr>
    <th align="right" style="height:25px; background-color:#dfefff;">链接网址：</th>
    <td style="background-color:#ffffff;">
        <asp:TextBox ID="KwdLinkUrl" runat="server" Columns="45" MaxLength="50"></asp:TextBox>
        <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="KwdLinkUrl"
            Display="Dynamic" ErrorMessage="请输入链接网址"></asp:RequiredFieldValidator></td>
  </tr>
  <tr>
    <th valign="top" align="right" style="height:25px; background-color:#dfefff; padding-top:10px">所属分类：</th>
    <td style="background-color:#ffffff;">
  <asp:DropDownList ID="KwdClassID" runat="server">
      <asp:ListItem Value="1">站内搜索关键词</asp:ListItem>
      <asp:ListItem Selected="True" Value="2">站内互链关键词</asp:ListItem>
                        </asp:DropDownList>
            </td>
  </tr>
  <tr>
    <th valign="top" align="right" style="height:25px; background-color:#dfefff; padding-top:10px">备注说明：</th>
    <td style="background-color:#ffffff;">
        <asp:TextBox ID="KwdDesc" runat="server" Columns="42" Rows="3" 
            TextMode="MultiLine"></asp:TextBox>
            </td>
  </tr>
  <tr>
	<th align="right" bgcolor="#dfefff">排序ID：</th>
	<td bgcolor="#ffffff">
                        <asp:TextBox ID="KwdSortID" runat="server" Columns="10" MaxLength="4"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="KwdSortID"
                            Display="Dynamic" ErrorMessage="请输入排序ID"></asp:RequiredFieldValidator>
                        <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="KwdSortID"
                            Display="Dynamic" ErrorMessage="排序ID只能为数字" ValidationExpression="[0-9]{1,4}"></asp:RegularExpressionValidator></td>
  </tr>
  <tr>
    <th align="right" style="height:25px; background-color:#dfefff;"></th>
    <td style="background-color:#ffffff;">
        <asp:Button ID="Button1" runat="server" Text="确认修改" OnClick="Button1_Update_Click" /></td>
  </tr>
</table>
    </form>
</body>
</html>
