
<%@ Page language="c#" Codebehind="Admin_AddNews.aspx.cs" validaterequest="false" AutoEventWireup="false" Inherits="baoge.Admin.Admin_AddNews" %>
<%@ Register TagPrefix="ce" Namespace="CuteEditor" Assembly="CuteEditor" %>
<%@Import Namespace="System.IO"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<title>Admin_AddNews</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:dropdownlist id="ChannelID" runat="server" AutoPostBack="True"></asp:dropdownlist>&nbsp; 
							说明：请先选择一项频道，以激活下拉列表。</TD>
						<TD></TD>
					</TR>
					<TR>
						<TD>所属栏目：</TD>
						<TD><asp:dropdownlist id="ParentID" runat="server"></asp:dropdownlist>&nbsp;&nbsp;&nbsp; 
							说明：请先选择一项栏目，以激活下拉列表。</TD>
						<TD></TD>
					</TR>
					<TR>
						<TD>信息标题：</TD>
						<TD><asp:textbox id="Title" runat="server" Width="280px"></asp:textbox><asp:requiredfieldvalidator id="TRr" runat="server" ErrorMessage="* 请输入信息标题" ControlToValidate="Title"></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" Height="118px" TextMode="MultiLine"></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" ErrorMessage="*" ControlToValidate="Author"></asp:requiredfieldvalidator>信箱：
							<asp:textbox id="MY_Email" runat="server">dvbbs@163.com</asp:textbox><asp:requiredfieldvalidator id="RequiredFieldValidator4" runat="server" ErrorMessage="*" ControlToValidate="MY_Email"></asp:requiredfieldvalidator><asp:regularexpressionvalidator id="RegularExpressionValidator1" runat="server" ErrorMessage="邮箱格式不对" ControlToValidate="MY_Email"
								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" ErrorMessage="*" ControlToValidate="CopyFrom"></asp:requiredfieldvalidator>网址：
							<asp:textbox id="MY_Site" runat="server">http://suyuan.verylead.cn</asp:textbox><asp:requiredfieldvalidator id="RequiredFieldValidator5" runat="server" ErrorMessage="*" ControlToValidate="MY_Site"></asp:requiredfieldvalidator><asp:regularexpressionvalidator id="RegularExpressionValidator2" runat="server" ErrorMessage="网址格式不对" ControlToValidate="MY_Site"
								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;
							<asp:requiredfieldvalidator id="RequiredFieldValidator3" runat="server" ErrorMessage="*" ControlToValidate="Inputer"></asp:requiredfieldvalidator>&nbsp; 
							Q&nbsp; Q：
							<asp:textbox id="MY_QQ" runat="server">453971130</asp:textbox><asp:requiredfieldvalidator id="RequiredFieldValidator6" runat="server" ErrorMessage="*" ControlToValidate="MY_QQ"></asp:requiredfieldvalidator><asp:regularexpressionvalidator id="RegularExpressionValidator3" runat="server" ErrorMessage="QQ号码格式错误" ControlToValidate="MY_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"><asp:radiobuttonlist id="RadioButtonList1" runat="server" Width="104px" RepeatColumns="2">
								<asp:ListItem Value="1">是</asp:ListItem>
								<asp:ListItem Value="0" Selected="True">否</asp:ListItem>
							</asp:radiobuttonlist></TD>
						<TD style="HEIGHT: 23px"></TD>
					</TR>
					<TR>
						<TD style="HEIGHT: 23px">热门文章：</TD>
						<TD style="HEIGHT: 23px"><asp:radiobuttonlist id="RadioButtonList2" runat="server" Width="104px" RepeatColumns="2">
								<asp:ListItem Value="1">是</asp:ListItem>
								<asp:ListItem Value="0" Selected="True">否</asp:ListItem>
							</asp:radiobuttonlist></TD>
						<TD style="HEIGHT: 23px"></TD>
					</TR>
					<TR>
						<TD style="HEIGHT: 23px">是否图片：</TD>
						<TD style="HEIGHT: 23px"><asp:radiobuttonlist id="RadioButtonList3" runat="server" Width="96px" RepeatColumns="2">
								<asp:ListItem Value="1">是</asp:ListItem>
								<asp:ListItem Value="0" Selected="True">否</asp:ListItem>
							</asp:radiobuttonlist></TD>
						<TD style="HEIGHT: 23px"></TD>
					</TR>
					<TR>
						<TD style="HEIGHT: 23px">图片上传：</TD>
						<TD style="HEIGHT: 23px"><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></TD>
						<TD style="HEIGHT: 23px"></TD>
					</TR>
					<TR>
						<TD style="HEIGHT: 23px">缩略图：</TD>
						<TD style="HEIGHT: 23px"><asp:image id="Image1" runat="server" Width="120px" Height="100px"></asp:image></TD>
						<TD style="HEIGHT: 23px"></TD>
					</TR>
					<TR>
						<TD style="HEIGHT: 23px">点击数:</TD>
						<TD style="HEIGHT: 23px"><asp:textbox id="txthot" runat="server">100</asp:textbox><asp:requiredfieldvalidator id="RequiredFieldValidator7" runat="server" ErrorMessage="*" ControlToValidate="txthot"></asp:requiredfieldvalidator>(它主要用于作弊用,如果你上面热门选的"是"选项,那么不要改了，它会自动归10)</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>
