<%@ Register TagPrefix="cc1" Namespace="Discuz.Control" Assembly="Discuz.Control" %>
<%@ Register TagPrefix="uc1" TagName="OnlineEditor" Src="../UserControls/OnlineEditor.ascx" %>
<%@ Page language="c#" Inherits="Discuz.ForumPage.Admin.editannounce" Codebehind="global_editannounce.aspx.cs" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<html xmlns="http://www.w3.org/1999/xhtml" >
	<head>
		<title>编辑公告</title>
		
		<script type="text/javascript" src="../js/common.js"></script>
		<link href="../styles/dntmanager.css" type="text/css" rel="stylesheet">        
        <link href="../styles/modelpopup.css" type="text/css" rel="stylesheet">
        <script type="text/javascript" src="../js/modalpopup.js"></script>
</head>

	<body >
	<div class="ManagerForm">
		<form id="Form1" method="post" runat="server" onsubmit="return validate(this);">
		<fieldset>
		<legend style="background:url(../images/icons/icon33.jpg) no-repeat 6px 50%;">编辑公告</legend>
			<table class="table1" cellspacing="0" cellpadding="4" width="100%"  align="center" >				
				<tr>
					<td class="td2" width="20%" >显示顺序:</td>
					<td class="td2" >
							<cc1:TextBox id="displayorder" runat="server" RequiredFieldType="数据校验" CanBeNull="必填" Text="0" MaxLength="9"></cc1:TextBox></td>
				</tr>
				<tr>
					<td class="td1" >公告标题:</td>
					<td class="td1" colSpan="2">
							<cc1:TextBox id="title" runat="server" CanBeNull="必填" RequiredFieldType="暂无校验"  maxlength="249" size="60"></cc1:TextBox></td>
				</tr>
				<tr>
					<td class="td2">起始时间:</td>
					<td class="td2">
						<cc1:TextBox id="starttime" runat="server" CanBeNull="必填" RequiredFieldType="日期时间" width="200"></cc1:TextBox> 格式:2005-5-5 
							13:22:02</td>
				</tr>
				<tr>
					<td class="td1">结束时间:</td>
					<td class="td1">
						<cc1:TextBox id="endtime" runat="server" CanBeNull="必填" RequiredFieldType="日期时间" width="200"></cc1:TextBox> 格式:2005-5-5 
							13:22:02</td>
				</tr>
				<tr>
					<td class="td2" >公告内容:</td>
					<td class="td2" colSpan="2">
							<uc1:OnlineEditor id="message" runat="server" controlname="message"  postminchars=0 postmaxchars=200></uc1:OnlineEditor></td>
				</tr>
				<tr>
					<td class="td1" >&nbsp;</td>
					<td class="td1" colspan="2">
					<cc1:Button id="UpdateAnnounceInfo" runat="server" Text=" 提 交 " ValidateForm="true"></cc1:Button>
			        <cc1:Button id="DeleteAnnounce" runat="server" Text=" 删 除 " ButtonImgUrl="../images/del.gif"></cc1:Button></td>
				</tr>
			</table>
			
			<div style="display:none">
				<tr>
					<td class="td1">发布者用户名</td>
					<td class="td1">
							<cc1:TextBox id="poster" runat="server" RequiredFieldType="暂无校验" CanBeNull="必填" MaxLength="20" Enabled="false"></cc1:TextBox></td>
				</tr>
			</div>
			</fieldset>
		</form>
		</div>
		<%=footer%>
	</body>
</html>
