<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="SysKey.aspx.cs" Inherits="JuSNS.Web.system.sys.SysKey" %>

<!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>
    <title id="ptitle" runat="server">关键字过滤设置</title>
    <link href="../images/css/style.css" rel="stylesheet" type="text/css" />

    <script language="javascript" type="text/javascript" src="../../js/ajax.js"></script>

    <script language="javascript" type="text/javascript" src="../../js/public.js"></script>


</head>
<body>
    <table width="99%" border="0" align="center" cellpadding="5" cellspacing="1">
        <tr>
            <td width="120" align="center" valign="top">
                <div class="menu">
                    <ul>
                        <%=this.GetSystemMenu(sort)%>
                    </ul>
                </div>
            </td>
            <td valign="top">
                <div class="navip">
                    <span class="Blue">
                    <a href="index.aspx">空间管理</a> 
                    <a href="Email.aspx">电子邮件设置</a> 
                    <a href="EmailSend.aspx">邮件通知</a> 
                    <a href="EmailSys.aspx">发送邮件内容编辑</a> 
                    <a href="SysKey.aspx">关键字过滤</a> 
                    <a href="gbook.aspx">留言管理</a> 
                    <a href="EmailSTMP.aspx">邮件服务器设置</a> 
                    <a href="Area.aspx">地区管理</a> 
                        </span>
                </div>
               <div style="padding:6px 8px 0px 8px;">
                <form id="form1" runat="server">
                     <div style="padding:6px 8px 0px 8px;"><a href="sysKey.aspx?Type=0">过滤关键字设置</a> &nbsp; <a href="sysKey.aspx?Type=1">会员注册禁用姓名设置</a></a>
                    <br /><%if (type == "2"){ %>是否开启会员注册设置<%}else if (type == "0"){ %>过滤关键字设置<%}else if (type == "1"){ %>会员注册禁用姓名设置<%}%>
                    <table width="100%" border="0" cellpadding="3" cellspacing="1" class="maintable">
                        <tr class="maintablelist">
                            <%if(type=="0"){ %><td align="right" style="width: 200px;">
                                要过滤的关键字</td>
                            <td align="left" style="width: 678px">
                                <textarea  id="txtKey"  runat="server" style="width: 100%; height: 108px;"></textarea>（多个关键字之间用竖线 '|' 隔开）
                            </td><%}else if(type=="1"){ %>
                            <td align="right" style="width: 200px;">
                                注册需要禁用的姓名</td>
                            <td align="left" style="width: 678px">
                                <textarea  id="txtName"  runat="server" style="width: 100%; height: 108px;"></textarea>（多个姓名之间用竖线 '|' 隔开）
                            </td><%}
                                   else if (type == "2")
                                   { %><td align="right" style="width: 200px;">
                                是否需要开启会员注册</td>
                             <td align="left" style="width: 678px">
                                 <asp:RadioButtonList ID="radreg" runat="server" RepeatDirection="Horizontal">
                                     <asp:ListItem Selected="True">允许</asp:ListItem>
                                     <asp:ListItem Value="0">不允许</asp:ListItem>
                                 </asp:RadioButtonList></td><%} %>
                        </tr>
                        <tr class="maintablelist">
                            <td align="right" style="width: 200px">
                            </td>
                            <td align="left" colspan="2">
                                <asp:Button ID="Button1" runat="server" Text=" 保 存 " OnClick="Button1_Click" />
                            </td>
                        </tr>
                    </table>
                </form>
                </div> 
                
            </td>
        </tr>
    </table>
</body>
</html>