<%@ Register TagPrefix="uc1" TagName="OnlineEditor" Src="../UserControls/OnlineEditor.ascx" %>
<%@ Register TagPrefix="cc1" Namespace="Discuz.Control" Assembly="Discuz.Control" %>
<%@ Page language="c#" Inherits="Discuz.ForumPage.Admin.addannounce" Codebehind="global_addannounce.aspx.cs" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<html>
	<head>
		<title>添加公告</title>
		<link href="../styles/default.css" rel="stylesheet" type="text/css" id="css" >
		<link href="../styles/editor.css" rel="stylesheet" type="text/css" id="Link1" >
		<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" 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="90%"  height="50%" 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">
							<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" >
							<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">
						<cc1:Button id="AddAnnounceInfo" runat="server" Text=" 提 交 "></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>
