<%@ Page Language="C#" AutoEventWireup="true" CodeFile="DeepSoonArticleUpdate.aspx.cs" Inherits="Security.ArticleUpdate" ValidateRequest="false"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
		<link rel="stylesheet" href="css/common.css" type="text/css" />
		<link href="myEditor/EditorStyles.css" type=text/css rel=stylesheet>
		<script type="text/javascript" src="myEditor/EditotFunctions.js"></script>
		<title>网站栏目规划</title>
	</head>

	<body style="padding-right:30px;overflow:hidden;">
		<form runat="server" style="margin:0px;padding:0px;">
		<div id="man_zone">
			<asp:Label ID="labelAdminTitle" runat="server" Text="" class="adminTitle"/></asp:Label>
			<asp:Label ID="labelUpdateInfor" runat="server" Text="" class="labelInforStyle"/></asp:Label><br>
			<span class="adminGuid">
				[操作说明] 文章正文按Enter键另起一段，同时按Shift+Enter 另起一行，所见几所得文本编辑器，支持全屏编辑。
			</span>
			<table cellpadding=0 cellspacing=1 style="font-size:13px;">
				<tr><td class="colorTd">文章标题</td>
					<td><asp:TextBox ID="txtTitle" runat="server" MaxLength="50"></asp:TextBox> <span class="adminHelp">必填项，汉字或字母，不超过50个字符</span></td>
				</tr>
				<tr><td class="colorTd">来源</td>
					<td><asp:TextBox ID="txtSource" runat="server" MaxLength="20"></asp:TextBox> <span class="adminHelp">必填项</span></td>
				</tr>
				<tr><td class="colorTd">作者</td>
					<td><asp:TextBox ID="txtAuthor" runat="server" MaxLength="20"></asp:TextBox> <span class="adminHelp">必填项</span>
					</td>
				</tr>
				<tr><td class="colorTd">所属栏目</td>
					<td>
						<asp:DropDownList ID="dropListClassName" runat="server"></asp:DropDownList> <span class="adminHelp">必填项，不允许外部栏目(带*的栏目)</span>
					</td>
				</tr>
				<tr><td class="colorTd">正文</td>
					<td Valign=top>
							<asp:HiddenField ID="hiddenDbArticle" runat="server"></asp:HiddenField>
							<div id="HdEditorLayout" class='NormalScreen'>						
								<!--#include file="myEditor/ToolBar.html"-->
								<Div id="grayBar" class="grayBar"></div>
								<textarea id="contentTxt" class="contentTxt"></textarea>
								<iframe  id="contentBox" class="contentBox" onbeforedeactivate="deactivateEve()" onFocus="activeEve()" src="" frameborder="0" onload="document.getElementById('contentBox').contentWindow.document.body.innerHTML=document.getElementById('hiddenDbArticle').value;"></iframe >
								<div id="oldData" style="display:none;"></div>
							</div>
							<div id="filterDataDiv" style="position:absolute;left:-1000000px;top:-1000000px;width:1px;height:1px;"></div>
							<script language=JavaScript>
								document.getElementById('filterDataDiv').contentEditable= 'true';
								document.getElementById('contentBox').contentWindow.document.contentEditable= 'true';
								document.getElementById('contentBox').contentWindow.document.designMode = 'On';
								//document.getElementById('contentBox').contentWindow.document.write("<html><body style='font-size:14px;'></body></html>");
								document.getElementById('contentBox').contentWindow.document.onclick=function(){hiddenMenu(nowPanelID);};
							</script>
						<div style="margin-top:5px;color:#EB9C2B;">提示：按Enter键另起一段，同时按Shift+Enter 另起一行</div>
						<asp:HiddenField ID="hiddFieldArticle" runat="server"></asp:HiddenField>
						<asp:HiddenField ID="hiddFieldBriefInfor" runat="server"></asp:HiddenField>
					</td>
				</tr>
				<tr><td class="colorTd">发布时间</td>
					<td><asp:TextBox ID="txtDateStr" runat="server"></asp:TextBox> <span class="adminHelp">必填项 格式：2014-4-30 21:23:06</span></td>
				</tr>
				<tr><td class="colorTd">操 作</td>
					<td><asp:Button ID="btnUpdate" runat="server" OnClick="btnUpdate_Click" Text="更新文章" class="adminButton"/></td>
				</tr>
			</table>
		</div>
		</form>
	</body>
</html>