<%@ Page Language="C#" MasterPageFile="MasterPage.Master" AutoEventWireup="true" CodeBehind="ArticleAdd.aspx.cs" Inherits="SocoShop.Web.Admin.ArticleAdd" %>
<%@ Register Namespace="SkyCES.EntLib" Assembly="SkyCES.EntLib" TagPrefix="SkyCES"%>
<%@ Register Assembly="FredCK.FCKeditorV2" Namespace="FredCK.FCKeditorV2" TagPrefix="FCKeditorV2" %>
<%@ Import Namespace="SocoShop.Entity" %>
<%@ Import Namespace="SocoShop.Common" %>
<%@ Import Namespace="SocoShop.Business" %>
<asp:Content ID="MasterContent" ContentPlaceHolderID="ContentPlaceHolder" runat="server">
<script language="javascript" type="text/javascript" src="/Admin/Js/ProductAdd.js"></script>
<script type="text/javascript" src="/Admin/Pop/lhgdialog_ex.js"></script>	
<div class="position"><img src="/Admin/Style/Images/PositionIcon.png"  alt=""/>资讯<%=ShopCommon.GetAddUpdate()%></div>
<div class="add" >	
	<ul>
		<li class="left">分类：</li>
		<li class="right"><asp:DropDownList ID="ClassID"  runat="server"  /></li>
	</ul>	
	<ul>
		<li class="left">标题：</li>
		<li class="right"><SkyCES:TextBox ID="Title" CssClass="input" runat="server" Width="400px"  CanBeNull="必填"/></li>
	</ul>
	<ul>
		<li class="left">发布者：</li>
		<li class="right"><SkyCES:TextBox ID="Author" CssClass="input" runat="server" Width="100px" /></li>
		<li class="left">来源：</li>
		<li class="right"><SkyCES:TextBox ID="Resource" CssClass="input" runat="server" Width="100px" /></li>
	</ul>	
	<ul>
		<li class="left">链接地址：</li>
		<li class="right"><SkyCES:TextBox ID="Url" CssClass="input" runat="server" Width="400px" HintInfo="填写该项就表示文章详细页直接链接到该地址，如果是外部地址，请在地址前带上Http://"/></li>
	</ul>
	<ul>
		<li class="left">图片：</li>
		<li class="right"><SkyCES:TextBox ID="Photo" CssClass="input" runat="server" Width="400px" /></li>
	</ul>
	<ul>
		<li class="left">上传图片：</li>
		<li class="right"><iframe src="UploadAdd.aspx?Control=Photo&TableID=<%=ArticleBLL.TableID%>&FilePath=ArticlePhoto/Original" width="400" height="30px" frameborder="0" allowTransparency="true" scrolling="no"></iframe></li>
	</ul> 
	<ul>
		<li class="left">关键字：</li>
		<li class="right"><SkyCES:TextBox ID="Keywords" CssClass="input" runat="server" Width="400px" /></li>
	</ul>	
	<ul>
		<li class="left">摘要：</li>
		<li class="right"><SkyCES:TextBox ID="Summary" CssClass="input" runat="server" Width="400px" TextMode="MultiLine" Height="60px" /></li>
	</ul>
	<ul>
		<li class="left">内容：</li>
		<li class="right"><FCKeditorV2:FCKeditor ToolbarSet="Basic" id="Content" runat="server" Width="600px" Height="260px"/></li>
	</ul>
	<ul>
		<li class="left">是否推荐：</li>
		<li class="right"><asp:RadioButtonList ID="IsTop" runat="server" RepeatDirection="Horizontal"><asp:ListItem Value="1"  Selected="True">是</asp:ListItem><asp:ListItem Value="0">否</asp:ListItem></asp:RadioButtonList></li>
	</ul>
	<ul><SkyCES:Hint ID="Hint" runat="server"/></ul>
</div>
<div class="action">
    <asp:Button CssClass="button" ID="SubmitButton" Text=" 确 定 " runat="server"  OnClick="SubmitButton_Click" OnClientClick="CheckArticle()" />
</div>
</asp:Content>
