<%@Import Namespace="System.IO"%>
<%@ Register TagPrefix="ce" Namespace="CuteEditor" Assembly="CuteEditor" %>
<%@ Page language="c#" Codebehind="Admin_EditNews.aspx.cs" validaterequest="false" AutoEventWireup="false" Inherits="baoge.Admin.Admin_EditNews" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<title>Admin_EditNews</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="../CSS.css" type="text/css" rel="stylesheet">
	</HEAD>
	<body>
		<form id="Form1" method="post" runat="server">
			<FONT face="宋体">
				<TABLE id="Table1" style="BORDER-RIGHT: #8aa6e5 1px solid; BORDER-TOP: #8aa6e5 1px solid; BORDER-LEFT: #8aa6e5 1px solid; BORDER-BOTTOM: #8aa6e5 1px solid"
					cellSpacing="1" cellPadding="5" width="98%" align="center" border="0">
					<TR bgColor="#8aa6e5">
						<TD colSpan="3"><STRONG><FONT color="#ffffff">信息修改：</FONT></STRONG></TD>
					</TR>
					<TR>
						<TD>信息标题：</TD>
						<TD><asp:textbox id="Title" runat="server" Width="280px"></asp:textbox><asp:requiredfieldvalidator id="TRr" runat="server" ControlToValidate="Title" ErrorMessage="* 请输入信息标题"></asp:requiredfieldvalidator></TD>
						<TD></TD>
					</TR>
					<TR>
						<TD>外部链接：</TD>
						<TD><asp:textbox id="LinkUrl" runat="server"></asp:textbox>&nbsp;说明：一个外部链接1、点击信息标题将链接到外部，2、或是作为下载链接</TD>
						<TD></TD>
					</TR>
					<TR>
						<TD vAlign="top">新闻内容：</TD>
						<TD>
							<CE:Editor id="Editor1" runat="server" Width="520px" Height="300px" AutoConfigure="Simple">
								<FrameStyle Height="100%" BorderWidth="1px" BorderStyle="Solid" BorderColor="#DDDDDD" Width="100%"
									CssClass="CuteEditorFrame" BackColor="White"></FrameStyle>
							</CE:Editor></TD>
						<TD></TD>
					</TR>
					<TR>
						<TD>新闻简介：</TD>
						<TD><asp:textbox id="Intro" runat="server" Width="592px" TextMode="MultiLine" Height="118px"></asp:textbox></TD>
						<TD></TD>
					</TR>
					<TR>
						<TD>作者：</TD>
						<TD><asp:textbox id="Author" runat="server"></asp:textbox>&nbsp;&nbsp;
							<asp:requiredfieldvalidator id="RequiredFieldValidator1" runat="server" ControlToValidate="Author" ErrorMessage="*"></asp:requiredfieldvalidator>信箱：
							<asp:textbox id="MY_Email" runat="server"></asp:textbox><asp:requiredfieldvalidator id="RequiredFieldValidator4" runat="server" ControlToValidate="MY_Email" ErrorMessage="*"></asp:requiredfieldvalidator><asp:regularexpressionvalidator id="RegularExpressionValidator1" runat="server" ControlToValidate="MY_Email" ErrorMessage="邮箱格式不对"
								ValidationExpression="\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"></asp:regularexpressionvalidator></TD>
						<TD></TD>
					</TR>
					<TR>
						<TD>来源：</TD>
						<TD><asp:textbox id="CopyFrom" runat="server"></asp:textbox>&nbsp;&nbsp;
							<asp:requiredfieldvalidator id="RequiredFieldValidator2" runat="server" ControlToValidate="CopyFrom" ErrorMessage="*"></asp:requiredfieldvalidator>网址：
							<asp:textbox id="MY_Site" runat="server"></asp:textbox><asp:requiredfieldvalidator id="RequiredFieldValidator5" runat="server" ControlToValidate="MY_Site" ErrorMessage="*"></asp:requiredfieldvalidator><asp:regularexpressionvalidator id="RegularExpressionValidator2" runat="server" ControlToValidate="MY_Site" ErrorMessage="网址格式不对"
								ValidationExpression="http://([\w-]+\.)+[\w-]+(/[\w- ./?%&amp;=]*)?"></asp:regularexpressionvalidator></TD>
						<TD></TD>
					</TR>
					<TR>
						<TD style="HEIGHT: 23px">录入：</TD>
						<TD style="HEIGHT: 23px"><asp:textbox id="Inputer" runat="server"></asp:textbox>&nbsp;&nbsp;
							<asp:requiredfieldvalidator id="RequiredFieldValidator3" runat="server" ControlToValidate="Inputer" ErrorMessage="*"></asp:requiredfieldvalidator>Q&nbsp; 
							Q：
							<asp:textbox id="MY_QQ" runat="server"></asp:textbox><asp:requiredfieldvalidator id="RequiredFieldValidator6" runat="server" ControlToValidate="MY_QQ" ErrorMessage="*"></asp:requiredfieldvalidator><asp:regularexpressionvalidator id="RegularExpressionValidator3" runat="server" ControlToValidate="MY_QQ" ErrorMessage="QQ号码格式错误"
								ValidationExpression="^[1-9]{1}\d{4,13}$"></asp:regularexpressionvalidator></TD>
						<TD style="HEIGHT: 23px"></TD>
					</TR>
					<TR>
						<TD style="HEIGHT: 23px">推荐：</TD>
						<TD style="HEIGHT: 23px" vAlign="middle"><asp:radiobuttonlist id="RadioButtonList1" runat="server" Width="112px" RepeatColumns="2">
								<asp:ListItem Value="1">是</asp:ListItem>
								<asp:ListItem Value="0">否</asp:ListItem>
							</asp:radiobuttonlist></TD>
						<TD style="HEIGHT: 23px"></TD>
					</TR>
					<TR>
						<TD style="HEIGHT: 23px">热门：</TD>
						<TD style="HEIGHT: 23px" vAlign="middle"><asp:radiobuttonlist id="RadioButtonList2" runat="server" Width="112px" RepeatColumns="2">
								<asp:ListItem Value="1">是</asp:ListItem>
								<asp:ListItem Value="0">否</asp:ListItem>
							</asp:radiobuttonlist></TD>
						<TD style="HEIGHT: 23px"></TD>
					</TR>
					<TR>
						<TD style="HEIGHT: 23px">是否图片：</TD>
						<TD style="HEIGHT: 23px" vAlign="middle">
							<asp:RadioButtonList id="RadioButtonList3" runat="server" Width="96px" RepeatColumns="2">
								<asp:ListItem Value="1">是</asp:ListItem>
								<asp:ListItem Value="0">否</asp:ListItem>
							</asp:RadioButtonList></TD>
						<TD style="HEIGHT: 23px"></TD>
					</TR>
					<TR>
						<TD style="HEIGHT: 23px">修改图片：</TD>
						<TD style="HEIGHT: 23px" vAlign="middle"><INPUT id="File1" type="file" name="File1" runat="server">
							<asp:Button id="Button2" runat="server" Text="上传"></asp:Button>
							<asp:TextBox id="TextBox1" runat="server"></asp:TextBox>
							<asp:Image id="Image1" runat="server"></asp:Image></TD>
						<TD style="HEIGHT: 23px"></TD>
					</TR>
					<TR>
						<TD style="HEIGHT: 23px"></TD>
						<TD style="HEIGHT: 23px" vAlign="middle">
							<asp:TextBox id="txthot" runat="server"></asp:TextBox>
							<asp:RequiredFieldValidator id="RequiredFieldValidator7" runat="server" ControlToValidate="txthot" ErrorMessage="*"></asp:RequiredFieldValidator>当上面的“热门”选否时，下框是你要还原的次数。如以前次数为18，则写18；</TD>
						<TD style="HEIGHT: 23px"></TD>
					</TR>
					<TR>
						<TD></TD>
						<TD align="right"><asp:button id="Button1" runat="server" Text="修 改"></asp:button></TD>
						<TD></TD>
					</TR>
				</TABLE>
			</FONT>
		</form>
	</body>
</HTML>
