<%@ page language="C#" autoeventwireup="true" inherits="Admin_xx_helpadd, 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 colspan="2">
                    <img src="images/start3.gif" />
                    <b>添加帮助信息</b>
                </td>
            </tr>
            <tr>
                <td colspan="2">
                </td>
            </tr>
            <tr>
                <td style="width: 120px; text-align: right">
                    帮助标题：
                </td>
                <td>
                    <asp:TextBox ID="TitleText" runat="server" Height="20px" Width="300px"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                        Display="Dynamic" ErrorMessage="请输入标题" ControlToValidate="TitleText"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td style="width: 120px; text-align: right">
                    信息属性：
                </td>
                <td>
                    <asp:DropDownList ID="KindList" runat="server">
                    </asp:DropDownList>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                        ControlToValidate="KindList" Display="Dynamic" ErrorMessage="请选择信息子类别"></asp:RequiredFieldValidator>
                    <asp:CheckBox ID="UpCheck" runat="server" Text="置顶" />
                    <asp:CheckBox ID="ImgCheck" runat="server" Text="图片" />
                    <asp:CheckBox ID="NewCheck" runat="server" Text="最新" />
                    <asp:CheckBox ID="HotCheck" runat="server" Text="热点" />
                </td>
            </tr>
            <tr>
                <td style="width: 120px; text-align: right">
                    详细内容：
                </td>
                <td>
                    <textarea id="Editor1" cols="100" rows="8" style="width:800px;height:500px;visibility:hidden;" runat="server"></textarea>
                </td>
            </tr>
            <tr>
                <td style="width: 120px; text-align: right">
                    &nbsp;</td>
                <td>
                    <asp:CheckBox ID="AutoImagesCheck" runat="server" Checked="True" 
                        Text="自动保存远程图片" />
&nbsp;<asp:CheckBox ID="AutoFormatLinkCheck" runat="server" Checked="True" Text="自动去除超链接" />
                </td>
            </tr>
            <tr>
                <td style="width: 120px; text-align: right">
                </td>
                <td>
                    <asp:Button ID="AddBtn" runat="server" Height="28px" Text="添加新信息" 
                        Width="100px" onclick="AddBtn_Click" />
                </td>
            </tr>
            <tr>
                <td colspan="2">
                </td>
            </tr>
        </table>
    </div>
    </form>
</body>
</html>
