<%@ Page Language="C#" Inherits="IWMS.Admin.KeyAdd" MasterPageFile="admin.master"%>
<asp:Content ContentPlaceHolderId="cphMain" runat="server">
	<form id="myForm" runat="server">
		<asp:ValidationSummary 
			 DisplayMode="BulletList" 
			 EnableClientScript="true"
			 ShowSummary="false"
			 ShowMessageBox="true"                        
			 HeaderText="请正确填写以下内容"
			 runat="server"/>
	
	<div class="mframe">
	<div class="tl"></div>
	<div class="rt"></div>
	<div class="tm">
		<span class="tt"><asp:Literal id="literalTitle" runat="server"/>站内关键字</span>
	</div>
	<div class="wrapper">
	<div class="ml"></div>
	<div class="mr"></div>
	<div class="mm">
		<asp:Label id="myLabel" class="msgBar" runat="server"/>
		<table cellpadding="3" cellspacing="0" width="95%" align="center" >
		  <tr> 
		   <th width="60">
			关键字
		</th><td>
			<asp:TextBox Columns="15" MaxLength="50" id="keyName" runat="server"/>
			<asp:RequiredFieldValidator
				ControlToValidate="keyName"
				ErrorMessage="关键字必须填写"
				Display="None"
				runat="server"/>
			<asp:RegularExpressionValidator
				runat="server"
				ControlToValidate="keyName"
				ValidationExpression="[^']+"
				ErrorMessage="关键字不能有'字符"
				Display="None" />
		</td></tr>
		<tr><th>
			链接
		</th><td>
			<asp:TextBox id="keyUrl" size="50" maxLength="200" runat="server" />
			<asp:RequiredFieldValidator
				ControlToValidate="keyUrl"
				ErrorMessage="链接必须填写"
				Display="None"
				runat="server"/>
			<asp:RegularExpressionValidator
				runat="server"
				ControlToValidate="keyUrl"
				ValidationExpression="[^']+"
				ErrorMessage="链接不能有'字符"
				Display="None" />
		</td></tr>
		<tr><th>
			说明
		</th><td>
			<asp:TextBox id="keyAlt" size="50" maxLength="200" runat="server" />
			<asp:RegularExpressionValidator
				runat="server"
				ControlToValidate="keyAlt"
				ValidationExpression="[^']+"
				ErrorMessage="说明不能有'字符"
				Display="None" />
		</td></tr>
		<tr><td colspan="2" align="center">	
		   <asp:Button id="Submit" text="添 加" onclick="Submit_OnClick" runat="server"/>
		   </td>
		  </tr>
		 <tr><td colspan="2" height="30">
		 	注：新闻里的站内关健字将被替换为超链接
		 </td>
		 </tr>
		 </table>
		
	</div>
	</div>
	<div class="bl"></div>
	<div class="br"></div>
	<div class="bm"></div>
	</div>
	
	</form>

</asp:Content>