<%@ Page Language="C#" AutoEventWireup="true" Inherits="Hidistro.UI.Web.Admin.EditArticle" MasterPageFile="~/Admin/Admin.Master" %>
<%@ Register TagPrefix="Hi" Namespace="Hidistro.UI.Common.Controls" Assembly="Hidistro.UI.Common.Controls" %>
<%@ Register TagPrefix="Hi" Namespace="Hidistro.UI.ControlPanel.Utility" Assembly="Hidistro.UI.ControlPanel.Utility" %>
<%@ Register TagPrefix="Hi" Namespace="Hidistro.UI.Common.Validator" Assembly="Hidistro.UI.Common.Validator" %>
<%@ Register TagPrefix="Kindeditor" Namespace="kindeditor.Net" Assembly="kindeditor.Net" %>
<%@ Register TagPrefix="UI" Namespace="ASPNET.WebControls" Assembly="ASPNET.WebControls" %>

<asp:Content ID="Content1" ContentPlaceHolderID="headHolder" runat="server">
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="contentHolder" runat="server">

<div class="areacolumn clearfix">
		<div class="columnleft clearfix">
                  <ul>
                        <li><a href="ArticleList.aspx"><span>文章管理</span></a></li>
                  </ul>
    </div>
      <div class="columnright">
          <div class="title title_height">
            <em><img src="../images/01.gif" width="32" height="32" /></em>
            <h1>编辑文章内容</h1>
          </div>
      <div class="formitem validator2">
        <ul>
          <li> <span class="formitemtitle Pw_100">所属分类：<em >*</em></span><abbr class="formselect">
            <Hi:ArticleCategoryDropDownList ID="dropArticleCategory" AllowNull="true" runat="server"></Hi:ArticleCategoryDropDownList>
          </abbr>
          <a href="AddArticleCategory.aspx">添加文章分类 </a>
          </li>
          <li> <span class="formitemtitle Pw_100">主题：<em >*</em></span>
            <asp:TextBox ID="txtArticleTitle" runat="server" CssClass="forminput"></asp:TextBox>
              　<input type="checkbox" id="ckrrelease" runat="server"/>是否立即发布&nbsp;
            <p id="ctl00_contentHolder_txtArticleTitleTip">限制在60个字符以内</p>
          </li>
          <li> <span class="formitemtitle Pw_100">搜索描述：</span>
	          <Hi:TrimTextBox runat="server" CssClass="forminput" ID="txtMetaDescription" />
            </li>
	        <li> <span class="formitemtitle Pw_100">搜索关键字：</span>
	          <Hi:TrimTextBox runat="server" CssClass="forminput" ID="txtMetaKeywords" />
	        </li>
          <li> <span class="formitemtitle Pw_100">文章图标：</span>
            <asp:FileUpload ID="fileUpload" CssClass="forminput" runat="server" />
            <div class="Pa_128 Pg_8 clear">
              <table width="300" border="0" cellspacing="0">
                <tr>
                <td width="80"> <Hi:HiImage runat="server" ID="imgPic" CssClass="Img100_60"/></td><td width="80" align="left"> <Hi:ImageLinkButton Id="btnPicDelete" runat="server" IsShow="true"  Text="删除" /></td></tr>
                  <tr><td width="160" colspan="2"></td>
                </tr>
              </table>
            </div>
          </li>
          <li> <span class="formitemtitle Pw_100">摘要：</span>
            <asp:TextBox ID="txtShortDesc" TextMode="MultiLine" CssClass="forminput" Height="70" runat="server"></asp:TextBox>
          </li>
          <li style="color:Red">如您要为某些关键词添加当前文章内链地址，只需在插入超链接中的URL地址框填写 # 即可。注意：#前无需添加http://</li>
          <li> <span class="formitemtitle Pw_100">内容：<em >*</em></span>
            <span><Kindeditor:KindeditorControl ID="fcContent" runat="server"  Width="550px" Height="300px" /></span>
          </li>
      </ul>
      <ul class="btn Pa_100 clearfix">
        <asp:Button ID="btnAddArticle" runat="server" OnClientClick="return PageIsValid();" Text="保 存"  CssClass="submit_DAqueding"/>
        </ul>
      </div>

      </div>
  </div>
<div class="databottom">
  <div class="databottom_bg"></div>
</div>
<div class="bottomarea testArea">
  <!--顶部logo区域-->
</div>
          
</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="validateHolder" runat="server">

    <script type="text/javascript" language="javascript">
function InitValidators()
{
    
    initValid(new InputValidator('ctl00_contentHolder_txtArticleTitle', 1, 60, false, null, '文章标题不能为空，长度限制在60个字符以内'))
    initValid(new InputValidator('ctl00_contentHolder_txtShortDesc', 0, 300, true, null, '文章摘要的长度限制在300个字符以内'))
}
$(document).ready(function(){ InitValidators(); });
</script>

</asp:Content>

