<%@ page language="C#" autoeventwireup="true" inherits="Admin_xx_agreement, App_Web_ouxoyg5o" validaterequest="false" %>
<%@ Register src="YanZen.ascx" tagname="YanZen" tagprefix="uc1" %>

<!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="Admin_Style.css" rel="stylesheet" type="text/css" />

    <link rel="stylesheet" href="/Editor/themes/default/default.css" />
	<link rel="stylesheet" href="/Editor/plugins/code/prettify.css" />
	<script charset="utf-8" src="/Editor/kindeditor.js"></script>
	<script charset="utf-8" src="/Editor/lang/zh_CN.js"></script>
	<script charset="utf-8" src="/Editor/plugins/code/prettify.js"></script>
	<script>
		KindEditor.ready(function(K) {
			var editor1 = K.create('#Editor1', {
				cssPath : '/Editor/plugins/code/prettify.css',
				uploadJson : '/Editor/asp.net/upload_json.ashx',
				fileManagerJson : '/Editor/asp.net/file_manager_json.ashx',
				allowFileManager : true,
				afterCreate : function() {
					var self = this;
					K.ctrl(document, 13, function() {
						self.sync();
						K('form[name=example]')[0].submit();
					});
					K.ctrl(self.edit.doc, 13, function() {
						self.sync();
						K('form[name=example]')[0].submit();
					});
				}
			});
			prettyPrint();
		});
	</script>
</head>
<body>
    <form id="form1" runat="server">
    <uc1:YanZen ID="YanZen1" runat="server" />
    <div id="tab1">
        <table cellpadding="4" cellspacing="1" style="width: 100%;">
            <tr>
                <td>
                    <img src="images/start3.gif" />
                    <b>用户注册协议设置</b>
                </td>
            </tr>
            <tr>
                <td>
                </td>
            </tr>
            <tr>
                <td>
                    文本替换： 
                    <asp:TextBox ID="OldText" runat="server" Height="22px" Width="200px"></asp:TextBox>
                    替换为<asp:TextBox ID="NewText" runat="server" Height="22px" Width="200px"></asp:TextBox>
                    <asp:Button ID="Button1" runat="server" Height="28px" onclick="Button1_Click" 
                        Text="替换" Width="50px" />
                    <asp:Button ID="EditDate" runat="server" Height="28px" onclick="EditDate_Click" 
                        Text="保存用户协议" Width="120px" />
                    <asp:Label ID="ErrorLabel" runat="server" Font-Size="14px" ForeColor="Red"></asp:Label>
                </td>
            </tr>
            <tr>
                <td>
                    <textarea id="Editor1" cols="100" rows="8" style="width:100%;height:500px;visibility:hidden;" runat="server"></textarea>
                </td>
            </tr>
            <tr>
                <td>
                </td>
            </tr>
            <tr>
                <td>
                </td>
            </tr>
        </table>
    </div>
    </form>
</body>
</html>
