<%@ Page Title="" Language="C#" MasterPageFile="~/Admin/Admin.Master" AutoEventWireup="true" CodeBehind="Admin_BulletinMg.aspx.cs" Inherits="QiCms.Web.Admin.Admin_BulletinMg" %>
<%@ Register assembly="FCKeditorV2.6.3" namespace="FredCK.FCKeditorV2" tagprefix="FCKeditorV2" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="QBSCmsContentPlaceHolder" runat="server">
    <form id="TableForm" runat="server">
    <asp:Panel ID="AddPH" runat="server">
        <div class="tpl-content-wrapper">
            <ol class="am-breadcrumb">
            <li><a href="Index.aspx" class="am-icon-home">首页</a></li>
            <li><a href="Admin_Bulletin.aspx">公告管理</a></li>
            <li class="am-active">添加公告</li>
            </ol>
            <div class="tpl-portlet-components">
                <div class="am-g tpl-amazeui-form">
                    <div class="am-form am-form-horizontal">
                        <div class="am-form-group">
                            <label for="user-name" class="am-u-sm-3 am-form-label">公告级别：</label>
                            <div class="am-u-sm-9">
                                <div style="width:150px;">
                                    <asp:DropDownList ID="BulletinTypeDrop" runat="server" data-am-selected="{btnSize: 'sm'}" >
			                            <asp:ListItem>显示级别</asp:ListItem>
			                            <asp:ListItem>全站公告</asp:ListItem>
			                            <asp:ListItem>首页公告</asp:ListItem>
			                            <asp:ListItem>内容公告</asp:ListItem>
		                            </asp:DropDownList>
                                 </div>
                                <asp:RequiredFieldValidator ID="BulletinTypeValR" runat="server" ErrorMessage="*" Display="Dynamic"></asp:RequiredFieldValidator>
                            </div>
                        </div>
                        <div class="am-form-group">
                            <label for="user-name" class="am-u-sm-3 am-form-label">公告标题：</label>
                            <div class="am-u-sm-9">
                                <input name="BulletinTitleTxt" type="text" id="BulletinTitleTxt" placeholder="简要的标题说明" runat="server">
                                <asp:RequiredFieldValidator ID="BulletinTitleValR" runat="server" ErrorMessage="*" Display="Dynamic"></asp:RequiredFieldValidator>
                            </div>
                        </div>
                        <div class="am-form-group">
                            <label for="user-name" class="am-u-sm-3 am-form-label">公告内容：</label>
                            <div class="am-u-sm-9">
                                <FCKeditorV2:FCKeditor ID="FCKeditor1" runat="server" ToolbarSet="Basic"></FCKeditorV2:FCKeditor>
                            </div>
                        </div>
                        
                        <div class="am-form-group">
                            <label for="user-name" class="am-u-sm-3 am-form-label">结束时间：</label>
                            <div class="am-u-sm-9">
                                <input name="EndDateTxt" type="text" id="EndDateTxt" data-am-datepicker="" placeholder="点击选择结束时间" style="width:30%;float:left;" MaxLength="50" runat="server" readonly/>
                                
                            </div>

                        </div>
                        <div class="am-form-group">
                            <div class="am-u-sm-9 am-u-sm-push-3">
                                <asp:Button ID="BulletinAddBtn" CssClass="am-btn am-btn-primary tpl-btn-bg-color-success" runat="server" OnClick="BulletinAddBtn_Click" Text="添加"/>
                            </div>
                        </div>

                    </div>

                    <p>&nbsp;</p>
                </div>
            </div>
        </div>
    </asp:Panel>
    <asp:Panel ID="EditPH" runat="server">
        <div class="tpl-content-wrapper">
            <ol class="am-breadcrumb">
            <li><a href="Index.aspx" class="am-icon-home">首页</a></li>
            <li><a href="Admin_Bulletin.aspx">公告管理</a></li>
            <li class="am-active">编辑公告</li>
            </ol>
            <div class="tpl-portlet-components">
                <div class="am-g tpl-amazeui-form">
                    <div class="am-form am-form-horizontal">
                        <div class="am-form-group">
                            <label for="user-name" class="am-u-sm-3 am-form-label">公告级别：</label>
                            <div class="am-u-sm-9">
                                <div style="width:150px;">
                                    <asp:DropDownList ID="BulletinTypeDropEdit" runat="server" data-am-selected="{btnSize: 'sm'}" >
			                            <asp:ListItem>显示级别</asp:ListItem>
			                            <asp:ListItem>全站公告</asp:ListItem>
			                            <asp:ListItem>首页公告</asp:ListItem>
			                            <asp:ListItem>内容公告</asp:ListItem>
		                            </asp:DropDownList>
                                 </div>
                                <asp:RequiredFieldValidator ID="BulletinTypeValREdit" runat="server" ErrorMessage="*" Display="Dynamic"></asp:RequiredFieldValidator>
                            </div>
                        </div>
                        <div class="am-form-group">
                            <label for="user-name" class="am-u-sm-3 am-form-label">公告标题：</label>
                            <div class="am-u-sm-9">
                                <input name="BulletinTitleTxtEdit" type="text" id="BulletinTitleTxtEdit" placeholder="简要的标题说明" runat="server">
                                <asp:RequiredFieldValidator ID="BulletinTitleValREdit" runat="server" ErrorMessage="*" Display="Dynamic"></asp:RequiredFieldValidator>
                            </div>
                        </div>
                        <div class="am-form-group">
                            <label for="user-name" class="am-u-sm-3 am-form-label">公告内容：</label>
                            <div class="am-u-sm-9">
                                <FCKeditorV2:FCKeditor ID="FCKeditor2" runat="server" ToolbarSet="Basic"></FCKeditorV2:FCKeditor>
                            </div>
                        </div>
                        
                        <div class="am-form-group">
                            <label for="user-name" class="am-u-sm-3 am-form-label">结束时间：</label>
                            <div class="am-u-sm-9">
                                <input name="EndDateTxtEdit" type="text" id="EndDateTxtEdit" data-am-datepicker="" placeholder="点击选择结束时间" style="width:30%;float:left;" MaxLength="50" runat="server" readonly/>
                                
                            </div>

                        </div>
                        <div class="am-form-group">
                            <div class="am-u-sm-9 am-u-sm-push-3">
                                <asp:Button ID="BulletinEditBtn" CssClass="am-btn am-btn-primary tpl-btn-bg-color-success" runat="server" OnClick="BulletinEditBtn_Click" Text="修改"/>
                            </div>
                        </div>

                    </div>

                    <p>&nbsp;</p>
                </div>
            </div>
        </div>
    </asp:Panel>
    </form>
</asp:Content>
