<%@ Page language="c#" Codebehind="KeyLinkAdd.aspx.cs" AutoEventWireup="true" Inherits="XpShop.Manage.KeyLinkAdd" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<HTML>
	<HEAD>
	    <!--#include file="inc/head.inc"-->
		<title>NewsKeywords</title>
		<script type="text/javascript">
		    $(document).ready(function(){
		        var id = '<%=Request.QueryString["ID"] %>';
		        $('#btnCancel').click(function(){
	                if(id != ''){
		                $('#frmModify',window.parent.document).hide().siblings(':not(\"#loadingContainer\")').show();
	                    window.parent.BindList();
		            }else{
		                window.location.href='KeyLink.aspx';
		            }
	                
	            });
		        
		    });
		</script>
	</HEAD>
	<body>
		<form id="Form1" method="post" runat="server">
			<div class="frame">
		        <div class="frame_title"><asp:label id="lbTitle" Runat="server">关键词-链接添加</asp:label></div>
		        <div class="frame_content">
		            <table class="tableBorder" cellSpacing="1" cellPadding="1" width="98%" align="center" border="0">
				        <tr>
					        <td class="forumRowHighlight">
						        <table class="ptable" cellspacing="0" cellpadding="0">
							        <tr>
								        <th class="tl">关键词：</th>
								        <td class="tr"><asp:TextBox id="txtKeywords" runat="server" MaxLength="255"></asp:TextBox></td>
							        </tr>
							        <tr>
							            <th class="tl">描述：</th>
							            <td class="tr"><asp:TextBox id="txtRemark" runat="server" MaxLength="255"></asp:TextBox></td>
							        </tr>
							        <tr>
							            <th class="tl">链接：</th>
							            <td class="tr"><asp:TextBox id="txtLink" runat="server" MaxLength="255">http://</asp:TextBox></td>
							        </tr>
							        <tr>
							            <th class="tl">优先级：</th>
							            <td class="tr"><asp:TextBox id="txtSort" runat="server" MaxLength="10">0</asp:TextBox></td>
							        </tr>
							        <tr>
							            <th class="tl">打开方式：</th>
							            <td class="tr">
							                <asp:RadioButtonList ID="rblTarget" runat="server" RepeatDirection="horizontal">
							                    <asp:ListItem Value="0">原窗口</asp:ListItem>
							                    <asp:ListItem Value="1" Selected="true">新窗口</asp:ListItem>
							                </asp:RadioButtonList>
							            </td>
							        </tr>
							        <tr>
							            <th class="tl">状态：</th>
							            <td class="tr">
							                <asp:RadioButtonList ID="rblStatus" runat="server" RepeatDirection="horizontal">
							                    <asp:ListItem Value="1" Selected="true">开启</asp:ListItem>
							                    <asp:ListItem Value="0">禁用</asp:ListItem>
							                </asp:RadioButtonList>
							            </td>
							        </tr>
							        <tr>
								        <th class="tl"></th>
									     <td class="tr"><asp:Button id="btnSave" OnClick="btnSave_Click" runat="server" Text="保存" CssClass="inputbtn"></asp:Button><input type="button" id="btnCancel" value="返回列表" class="inputbtn" /></td>
							        </tr>
						        </table>
					        </td>
				        </tr>
			        </table>
		        </div>
	        </div>
		</form>
	</body>
</HTML>
