<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ReplacePage.aspx.cs" Inherits="MyITJob.Admin.ReplacePage" %>

<!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="../images/Admin_Style.css" rel="stylesheet" type="text/css" />
    <script language="javascript" type="text/javascript">
    function showtable(n) {
        var table1 = document.getElementById("tb1");
        var table2 = document.getElementById("tb2");
        for(var i=1;i<=2;i++){
            document.getElementById("tb"+i).style.display='none';
            if(n == i){
                document.getElementById("tb"+i).style.display='block';
            }
        }		
	}
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    <table align="center" border="0" cellpadding="2" cellspacing="1" class="border" width="100%">
                <tr class="topbg">
                    <td colspan="2" height="24">
                        <table width="100%">
                            <tr class="topbg">
                                <td align="center">
                                    <b>职 位 列 表 管 理</b></td>
                            </tr>
                        </table>
                    </td>
                </tr>
                <tr class="tdbg">
                    <td height="30" style="width: 88px">
                        <strong>管理导航：</strong></td>
                    <td class="dh">
                        <a href="#" onclick="showtable(1);">屏蔽敏感字</a> | <a href="#" onclick="showtable(2);">
                            屏蔽IP地址</a></td>
                </tr>
            </table>
            <br />
        <table id="tb1" align="center" border="0" cellpadding="2" cellspacing="1" class="border" width="100%">
            <tr class="topbg">
                <td colspan="2" height="24">
                    <table width="100%">
                        <tr class="topbg">
                            <td align="center">
                                <b>屏 蔽 敏 感 内 容 设 置</b>
                            </td>
                        </tr>                        
                    </table>
                </td>
            </tr>            
            <tr class="tdbg">
                <td height="30" valign="top"><strong>设置屏蔽内容：</strong></td>
                <td class="dh">
                    <asp:TextBox ID="TextBox1" runat="server" Height="257px" TextMode="MultiLine" 
                        Width="608px"></asp:TextBox>
                    <br />
                    <span class="style4">* 设置在<b>添加数据</b>时，需要屏蔽的非法/敏感关键字或词（整站通用），每个字或词之间用<b>回车</b>分开。</span></td>
            </tr>
            <tr class="tdbg">
                <td width="12%" height="30">
                    <strong>是否开启功能：</strong>
                </td>
                <td width="88%" class="dh">
                    <asp:CheckBox ID="CheckBox1" runat="server" /> <span class="style4">* 打勾为开启屏蔽功能，否则不屏蔽敏感字。</span></td>
            </tr>
            <tr class="tdbg">
              <td height="30">&nbsp;</td>
              <td class="dh">
                  <asp:Button ID="Button1" runat="server" onclick="Button1_Click" Text="保存设置" />
                    </td>
            </tr>
        </table>
        
        <!-- 屏蔽IP地址 -->
        <table id="tb2" align="center" border="0" cellpadding="2" cellspacing="1" class="border" width="100%">
            <tr class="topbg">
                <td colspan="2" height="24">
                    <table width="100%">
                        <tr class="topbg">
                            <td align="center">
                                <b>屏 蔽 IP 地 址 设 置</b>
                            </td>
                        </tr>                        
                    </table>
                </td>
            </tr>            
            <tr class="tdbg">
                <td height="30" valign="top"><strong>设置屏蔽IP：</strong></td>
                <td class="dh">
                    <asp:TextBox ID="IPText" runat="server" Height="257px" TextMode="MultiLine" 
                        Width="608px"></asp:TextBox>
                    <br />
                    <span class="style4">* 设置在<b>添加数据</b>时，需要屏蔽的非法/敏感关键字或词（整站通用），每个字或词之间用<b>回车</b>分开。</span></td>
            </tr>
            <tr class="tdbg">
                <td width="12%" height="30">
                    <strong>是否开启功能：</strong>
                </td>
                <td width="88%" class="dh">
                    <asp:CheckBox ID="IPCheckBox" runat="server" /> <span class="style4">* 打勾为开启屏蔽功能，否则不屏蔽敏感字。</span></td>
            </tr>
            <tr class="tdbg">
              <td height="30">&nbsp;</td>
              <td class="dh">
                  <asp:Button ID="ButtonIP" runat="server" Text="保存设置" onclick="ButtonIP_Click" />
                    </td>
            </tr>
        </table>
    </div>
    </form>
</body>
</html>
