<%@ page language="C#" validaterequest="false" masterpagefile="~/HL_Admin/AdminIndexMaster.master" autoeventwireup="true" inherits="HL_Admin_Admin_AddAnnounce, HoWaveVGO" title="Untitled Page" enableEventValidation="false" %>
<%@ Register TagPrefix="fckeditorv2" Namespace="FredCK.FCKeditorV2" Assembly="FredCK.FCKeditorV2" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<script type="text/javascript" src="Js/getdate.js"></script>
 <table class="adminheading">
   <tr>
      <th valign="middle" class="menus"> 添加修改公告</th>
      <td align="right"><div style="width:100px"><a href="Admin_Announce.aspx">返回</a></div></td>
                   
   </tr>                     
</table>
    <table class="nick" cellpadding="1" cellspacing="1" border="0">
        <tr>
           <td colspan="2" class="tit">添加/修改公告</td>
        </tr>
        <tr>
            <th>标题</th>
            <td class="rtd"><asp:TextBox ID="txtTitle"　 MaxLength="50"  runat="server" />
            <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="txtTitle"
                              ErrorMessage="不能空"></asp:RequiredFieldValidator> 
            </td>
        </tr>
        <tr>
            <th>类型</th>
            <td class="rtd">
                <asp:DropDownList ID="droptype" runat="server"  >
                    <asp:ListItem Text="弹窗" Value="1"></asp:ListItem>
                    <asp:ListItem Text="滚动" Value="2"></asp:ListItem>
                   
                </asp:DropDownList>
            </td>
        </tr>
        <tr>
            <th>等级</th>
            <td class="rtd">
                <asp:DropDownList ID="dropImportant" runat="server"  >
                    <asp:ListItem Text="普通" Value="0"></asp:ListItem>
                    <asp:ListItem Text="重要" Value="1"></asp:ListItem>
                    <asp:ListItem Text="紧急" Value="2"></asp:ListItem>
                </asp:DropDownList>
            </td>
        </tr>
        <tr>
            <th>发布人</th>
            <td class="rtd"><asp:TextBox MaxLength="50"  ID="txtzuozhe" runat="server" Enabled="false" /></td>
        </tr>
        <tr>
            <th>开始日期</th>
            <td class="rtd"><asp:TextBox ID="txtBeginDate" runat="server"  />
            <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ControlToValidate="txtBeginDate"
                              ErrorMessage="不能空"></asp:RequiredFieldValidator>          
            </td>
        </tr>
        <tr>
            <th>结束日期</th>
            <td class="rtd"><asp:TextBox ID="txtEndDate" runat="server" />
            <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtEndDate"
                              ErrorMessage="不能空"></asp:RequiredFieldValidator> 
             </td>
        </tr>
        <tr>
            <th>
                公告内容</th>
          <td class="rtd" >
             <fckeditorv2:FCKeditor ID="txtcontent" runat="server"  AutoDetectLanguage="true" BasePath="../FCKEditor/" ></fckeditorv2:FCKeditor>      
             </td>
        </tr>
        </table>
        <div class="div_btm">
                <asp:Button ID="Button1" runat="server" OnClick="Button1_Click" Text="添加" />              
                <asp:Button ID="Button2" runat="server" OnClick="Button2_Click" Text="修改" />
                <asp:Button ID="Button3" runat="server" OnClick="Button3_Click" Text="返回" />
        </div>
</asp:Content>

