<%@ Page Language="C#" AutoEventWireup="true" ValidateRequest="false" MasterPageFile="../Global.Master" CodeBehind="SysArticle.aspx.cs" Inherits="Web.AdminManager.Setting.SysArticle" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <script src="/Common/js/Common_Class.js" type="text/javascript"></script>
    <script src="../js/Setting.SysArticle.js"></script>
    <script src="/Common/UEditor/editor_config.js" type="text/javascript"></script>
    <script src="/Common/UEditor/editor_all_min.js" type="text/javascript"></script>
    <link rel="stylesheet" type="text/css" href="/Common/UEditor/themes/default/ueditor.css" />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div id="ui_Edit" runat="server" visible="false">
        <form action="" method="post" class="ui-form ui-form-vertical">
            <fieldset class="p5">
                <legend><%=Enum.Parse(typeof(CommonLib.Enums.SysArticleType),msa.SysArticleType.ToString()) %></legend>
                <div class="ui-form-group">
                    <label class="ui-form-label">正文：</label><div class="ui-form-ctrls">
                        <script id="ArtContent" type="text/plain"><%=msa.ArtContent %></script>
                        <script type="text/javascript">
                            var editor = new baidu.editor.ui.Editor({
                                textarea: 'ArtContent'
                            });
                            editor.render("ArtContent");
                        </script>
                    </div>
                </div>
                <div class="ui-form-group">
                    <label class="ui-form-label">&nbsp;</label><div class="ui-form-ctrls">
                        <button type="submit" class="ui-btn ui-btn-primary">保存设置</button>
                        &nbsp;
                        <button class="ui-btn" onclick="history.back();" type="button">返回</button>
                    </div>
                </div>
            </fieldset>
        </form>
    </div>
    <div id="ui_List" runat="server" visible="false">
        <table class="ui-table ui-table-bordered">
            <thead>
                <tr>
                    <th>标题
                    </th>
                    <th>操作
                    </th>
                </tr>
            </thead>
            <%=ShowList%>
        </table>
    </div>
</asp:Content>

