<%@ Page Language="C#" MasterPageFile="~/Manage/main.Master" AutoEventWireup="true" ValidateRequest="false" CodeBehind="NoticeEdit.aspx.cs" Inherits="EasySion.ERP.Web.admin.NoticeEdit" Title="无标题页" %>
<%@ Register Assembly="FredCK.FCKeditorV2" Namespace="FredCK.FCKeditorV2" TagPrefix="FCKeditorV2" %>
<asp:Content ID="Content1" ContentPlaceHolderID="LeftMenu" runat="Server">
  <div class="leftMenuTitle">系统管理</div>
  <ul class="leftMenu">
    <li><a href="NoticeList.aspx">公告管理</a></li>
    <li><a href="FriendLinkAdd.aspx">友情链接</a></li>
    <li><a href="searchCategory.aspx">搜索管理</a></li>
    <li><a href="SysTemplet.aspx">系统模板</a></li>
  </ul>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MidContent" runat="Server">
  <div id="mainMenu">
    <ul>
      <li><a href="NoticeAdd.aspx">添加公告</a></li>
      <li><a href="NoticeList.aspx">公告列表</a></li>
      <li><a href="NoticeEdit.aspx">编辑公告</a></li>
    </ul>
  </div>
  <div id="main">
    <asp:Label ID="Msg" runat="server" Text="" CssClass="msg" Visible="False"></asp:Label>
    <table width="100%" border="0" cellpadding="2" cellspacing="1" bgcolor="#D7D7D7">
      <tr>
        <td colspan="2" bgcolor="#FFFFFF" class="mainTitle">编辑公告</td>
      </tr>
      <tr>
        <td align="right" bgcolor="#FFFFFF">公告ID：</td>
        <td bgcolor="#FFFFFF"><asp:Label ID="ShowNoticeId" runat="server" ForeColor="Red"></asp:Label></td>
      </tr>
      <tr>
        <td align="right" bgcolor="#FFFFFF" class="mainContentLeftTd">公告标题：</td>
        <td bgcolor="#FFFFFF" class="mainContentRightTd"><asp:TextBox ID="NoticeTitle" CssClass="adminput" runat="server"></asp:TextBox>
          <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="NoticeTitle" Display="Dynamic" ErrorMessage="公告标题必须填写"></asp:RequiredFieldValidator></td>
      </tr>
      <tr>
        <td align="right" bgcolor="#FFFFFF">添加时间：</td>
        <td bgcolor="#FFFFFF"><asp:TextBox ID="AddTime" runat="server" MaxLength="25"></asp:TextBox>
          <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="AddTime" Display="Dynamic" ErrorMessage="添加时间必须填写"></asp:RequiredFieldValidator>
          <asp:CustomValidator ID="CustomValidator1" runat="server" ControlToValidate="AddTime" Display="Dynamic" ErrorMessage="时间格式错误！" OnServerValidate="CustomValidator1_ServerValidate"></asp:CustomValidator></td>
      </tr>
      <tr>
        <td align="right" bgcolor="#FFFFFF">公告内容：</td>
        <td bgcolor="#FFFFFF">&nbsp;</td>
      </tr>
      <tr>
        <td colspan="2" align="left" bgcolor="#ffffff"><div class="mainNoLeftTd">
            <FCKeditorV2:FCKeditor ID="NoticeContent" runat="server" Height="250px" Width="100%"></FCKeditorV2:FCKeditor>
          </div></td>
      </tr>
      <tr>
        <td align="right" bgcolor="#FFFFFF" style="height: 20px"></td>
        <td bgcolor="#FFFFFF" style="height: 20px">&nbsp;
          <asp:Button ID="Edit" runat="server" Text="编辑公告" CssClass="inputBt" OnClick="Edit_Click" /></td>
      </tr>
    </table>
  </div>
  <script language="JavaScript" type="text/javascript">
	topMenuThisPage(5);
	leftMenuThisPage(1,1);
	mainMenuThisPage(3);
  </script>
</asp:Content>