<%@ Register TagPrefix="uc1" TagName="cCtPCy" Src="../../js/cCtPCy.ascx" %>
<%@ Register TagPrefix="uc1" TagName="InfoTop" Src="InfoTop.ascx" %>
<%@ Register TagPrefix="fckeditorv2" Namespace="FredCK.FCKeditorV2" Assembly="FredCK.FCKeditorV2" %>
<%@ Page language="c#" Codebehind="InfoUpdate.aspx.cs" AutoEventWireup="false"  Inherits="TourOnline.BgManage.TourNews.InfoUpdate"   validateRequest="false"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<title>UserManage</title>
		<meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
		<meta content="C#" name="CODE_LANGUAGE">
		<meta content="JavaScript" name="vs_defaultClientScript">
		<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
		<link href='../Admin_Style.css' rel='stylesheet' type='text/css'>
		<script type="text/javascript" language="javascript">
			function getimg()
			{
				var oEditor = FCKeditorAPI.GetInstance('FCKeditor1').EditorDocument;
				var imgurl=oEditor.images;
				document.Form1.txtDownImgs.value="";
				for(i=0;i<imgurl.length;i++)
				{
					if(i==0)
					{
						document.Form1.txtDownImgs.value+=imgurl[i].src;
					}
					else
					{
						document.Form1.txtDownImgs.value+="|"+imgurl[i].src;
					}
				}
			}
		</script>
	</HEAD>
	<body>
		<form id="Form1" method="post" runat="server">
			<TABLE cellSpacing="1" cellPadding="1" width="100%" border="0">
				<TR class='topbg'>
					<TD align="center" height="22"><FONT style="FONT-WEIGHT: bold" face="宋体">新闻/信息管理－－修改新闻/信息</FONT>&nbsp;&nbsp;</STRONG>带<FONT color="#ff0000"><STRONG>*</STRONG></FONT>的为必填项 
						</FONT></TD>
				</TR>
				<TR>
					<TD class='tdbg' height="30">
						<uc1:InfoTop id="InfoTop1" runat="server"></uc1:InfoTop>
					</TD>
				</TR>
				<TR>
					<TD class='tdbg' height="1"><hr size="1" width="100%" color="#0650d2">
					</TD>
				</TR>
				<TR>
					<TD vAlign="top" align="center">
						<TABLE class="table1" cellSpacing="0" cellPadding="0" width="100%" border="0">
							<TR>
								<TD class='tdbg5' align="left" width="20%"><STRONG>所属类别：</STRONG>
								</TD>
								<TD class="td2" align="left" width="80%"><FONT face="宋体"><asp:dropdownlist id="dropSort" runat="server" Width="77%" CssClass="input"></asp:dropdownlist></FONT></TD>
							</TR>
							<TR>
								<TD class='tdbg5' align="left"><STRONG>所属专题：</STRONG>
								</TD>
								<TD class="td2" align="left"><FONT face="宋体"><asp:dropdownlist id="dropSpecial" runat="server" Width="77%" CssClass="input"></asp:dropdownlist></FONT></TD>
							</TR>
							<TR>
								<TD class='tdbg5' align="left"><STRONG>所属地区：</STRONG>
								</TD>
								<TD class="td2" align="left"><FONT face="宋体">
										<uc1:cCtPCy id="CCtPCy1" runat="server"></uc1:cCtPCy>
										<asp:dropdownlist id="dropCont" runat="server"></asp:dropdownlist>
										<asp:dropdownlist id="dropCountry" runat="server"></asp:dropdownlist>
										<asp:dropdownlist id="dropProvince" runat="server"></asp:dropdownlist>
										<asp:dropdownlist id="dropCity" runat="server"></asp:dropdownlist><br>
										在发布各地名吃、列车时刻表等信息时使用，用来划分信息归属地。</FONT></TD>
							</TR>
							<TR>
								<TD class='tdbg5' align="left"><STRONG><font color="red">*</font></STRONG><STRONG>信息标题：</STRONG>
								</TD>
								<TD class="td2" align="left"><FONT face="宋体"><asp:textbox id="txtNName" runat="server" MaxLength="100" CssClass="input" Width="77%"></asp:textbox></FONT></TD>
							</TR>
							<TR>
								<TD class='tdbg5' align="left"><STRONG><font color="red">*</font></STRONG><STRONG>关键字：</STRONG>&nbsp;
									<br>
								</TD>
								<TD class="td2" align="left"><FONT face="宋体"><asp:textbox id="txtNKeysWord" runat="server" MaxLength="100" CssClass="input" Width="77%"></asp:textbox><br>
										用来查找相关文章，可输入多个关键字，中间用“|”隔开。不能出现"'&amp;?;:()等字符。</FONT></TD>
							</TR>
							<TR>
								<TD class='tdbg5' align="left"><STRONG><font color="red">*</font></STRONG><STRONG>作者：</STRONG>
								</TD>
								<TD class="td2" align="left"><asp:textbox id="txtNAuthor" runat="server" MaxLength="25" CssClass="input" Width="77%"></asp:textbox><FONT color="blue"><br>
										【<FONT style="CURSOR: hand" onclick="document.getElementById('txtNAuthor').value='佚名'"
											color="green">佚名</FONT>】【<FONT style="CURSOR: hand" onclick="document.getElementById('txtNAuthor').value='未知'"
											color="green">未知</FONT>】【<FONT style="CURSOR: hand" onclick="document.getElementById('txtNAuthor').value='管理员'"
											color="green">管理员</FONT>】</FONT></TD>
							</TR>
							<TR>
								<TD class='tdbg5' align="left"><STRONG><font color="red">*</font></STRONG><STRONG>信息来源：</STRONG>
								</TD>
								<TD class="td2" align="left"><FONT face="宋体"><asp:textbox id="txtNLaiYuan" runat="server" MaxLength="50" CssClass="input" Width="77%"></asp:textbox><br>
										<FONT color="blue">【<FONT style="CURSOR: hand" onclick="document.getElementById('txtNLaiYuan').value='本站原创'"
												color="green">本站原创</FONT>】【<FONT style="CURSOR: hand" onclick="document.getElementById('txtNLaiYuan').value='网易'"
												color="green">网易</FONT>】【<FONT style="CURSOR: hand" onclick="document.getElementById('txtNLaiYuan').value='新浪'"
												color="green">新浪</FONT>】【<FONT style="CURSOR: hand" onclick="document.getElementById('txtNLaiYuan').value='搜狐'"
												color="green">搜狐</FONT>】【<FONT style="CURSOR: hand" onclick="document.getElementById('txtNLaiYuan').value='新华网'"
												color="green">新华网</FONT>】【<FONT style="CURSOR: hand" onclick="document.getElementById('txtNLaiYuan').value='人民网'"
												color="green">人民网</FONT>】</FONT> </FONT>
								</TD>
							</TR>
							<TR>
								<TD class='tdbg5' align="left"><STRONG><font color="red">*</font></STRONG><STRONG>信息介绍：</STRONG>
								</TD>
								<TD class="td2" align="left"><FONT face="宋体"><asp:textbox id="txtNJs" runat="server" MaxLength="350" Width="77%" Height="88px" TextMode="MultiLine"
											CssClass="input"></asp:textbox></FONT></TD>
							</TR>
							<TR>
								<TD class='tdbg5' align="left"><STRONG><font color="red">*</font></STRONG><STRONG>信息内容：</STRONG><br>
									<asp:CheckBox id="chbIsDownImg" runat="server" Text="自动下载文章内容里的远程图片" Checked="True"></asp:CheckBox><BR>
									&nbsp;&nbsp;&nbsp;<FONT color="green">启用此功能后，如果从其它网站上复制内容到右边的编辑器中，并且内容中包含有图片，本系统会在保存文章时自动把相关图片复制到本站服务器上。<BR>
										&nbsp;&nbsp;&nbsp;&nbsp;系统会因所下载图片的大小而影响速度，建议图片较多时不要使用此功能。</FONT><BR>
									<BR>
								</TD>
								<TD class="td2" align="left"><FONT face="宋体">
										<FCKeditorV2:FCKeditor id="FCKeditor1" runat="server" Width="77%" Height="350px"></FCKeditorV2:FCKeditor></FONT></TD>
							</TR>
							<TR>
								<TD class='tdbg5' align="left"><STRONG>首页图片：</STRONG>
								</TD>
								<TD class="td2" align="left">
									<asp:textbox id="txtNTitleImg" runat="server" CssClass="input" Width="30%" MaxLength="100"></asp:textbox>
									<asp:CheckBox id="chbIsSmallImg" runat="server" Text="自动为首页图片生成缩略图" Checked="True"></asp:CheckBox><FONT face="宋体">&nbsp;宽：
										<asp:TextBox id="txtSmallWidth" runat="server" Width="40px" MaxLength="3"></asp:TextBox>px 
										高：
										<asp:TextBox id="txtSmallHeight" runat="server" Width="40px" MaxLength="3"></asp:TextBox>px<INPUT type="hidden" name="txtDownImgs"></FONT><br>
									用于在首页的图片文章处显示</TD>
							</TR>
							<TR>
								<TD class='tdbg5' align="left"><STRONG>信息属性：</STRONG>
								</TD>
								<TD class="td2" align="left"><FONT face="宋体">
										<asp:CheckBox id="cbNIsIndex" runat="server" Text="首页显示"></asp:CheckBox>&nbsp;
										<asp:CheckBox id="cbNIsScrollPic" runat="server" Text="滚动图片"></asp:CheckBox>&nbsp;
										<asp:CheckBox id="cbNIsPic" runat="server" Text="图文信息"></asp:CheckBox></FONT></TD>
							</TR>
							<TR>
								<TD class='tdbg5' align="left"><STRONG>点击数初始值：</STRONG>
								</TD>
								<TD class="td2" align="left"><FONT face="宋体">
										<asp:textbox id="txtNHot" runat="server" MaxLength="7" CssClass="input" Width="77%"></asp:textbox><br>
										这功能是提供给管理员作弊用的。不过尽量不要用呀！</FONT></TD>
							</TR>
							<TR>
								<TD class='tdbg5' align="left"><STRONG>录入时间：</STRONG>
								</TD>
								<TD class="td2" align="left"><FONT face="宋体">
										<asp:textbox id="txtNTime" runat="server" MaxLength="25" CssClass="input" Width="77%"></asp:textbox><br>
										时间格式为“年-月-日 时:分:秒”，如：<FONT color="green">2006-5-12 12:32:47</FONT> </FONT>
								</TD>
							</TR>
						</TABLE>
					</TD>
				</TR>
				<TR>
					<TD class='tdbg' height="1"><hr size="1" width="100%" color="#0650d2">
					</TD>
				</TR>
				<TR>
					<TD align="center"><asp:button id="Button1" runat="server" CssClass="button" Text="保存修改结果"></asp:button><FONT face="宋体">&nbsp;&nbsp;
							<INPUT class="button" type="button" value=" 取 消 " onclick="javascript:location.href='InfoManage.aspx';"></FONT>
					</TD>
				</TR>
			</TABLE>
		</form>
	</body>
</HTML>
