<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Contributor_Edit.aspx.cs" Inherits="TotCms.Web.Admin.Contributor_Edit" ValidateRequest="false" %>
<%@ Register src="UI/main_top.ascx" tagname="main_top" tagprefix="uc1" %>

<%@ Register assembly="TotCms.Controls" namespace="TotCms.Controls" tagprefix="cc1" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <meta http-equiv="content-type" content="text/html; charset=utf-8" />
    <title>编辑稿件</title>
    <link href="style/global.css" rel="stylesheet" type="text/css" />
    <script src="js/xmlhttp.js" type="text/javascript"></script>
    <script src="js/common.js" type="text/javascript"></script>  
    <script src="../ckeditor/ckeditor.js" type="text/javascript"></script>
  
</head>
<body>
    <form id="form1" runat="server">
    <div>
    
      <uc1:main_top ID="main_top1" runat="server" />
    
    </div>
    <table style="width:100%;" border="0" cellpadding="0" cellspacing="1" 
      class="black_border">
      <tr class="suphead">
        <td colspan="2">
                                        编辑稿件</td>
    </tr>
    <tr>
      <td class="fields_text">
        选择栏目：</td>
      <td class="fields_input">
        <asp:Label ID="CategoryTitle" runat="server" Text="选择栏目"></asp:Label>
        <asp:TextBox ID="CategoryId" runat="server" CssClass="hidden"></asp:TextBox>
          <input id="Button4" type="button" value="..." onclick="popupWindow('Category_Tree.aspx','category_tree',400,300,1)" />
          </td>
    </tr>
    <tr>
      <td class="fields_text">
          会员ID：</td>
      <td class="fields_input">
          <asp:TextBox ID="UserId" runat="server" ReadOnly="True"></asp:TextBox>
                </td>
    </tr>
    <tr>
      <td class="fields_text">
        标题：</td>
      <td class="fields_input">
        <asp:TextBox ID="Title" runat="server" CssClass="input_middle"></asp:TextBox>
          &nbsp;</td>
    </tr>
    <tr>
      <td class="fields_text">
        作者：</td>
      <td class="fields_input">
        <asp:TextBox ID="Author" runat="server" CssClass="input_middle"></asp:TextBox>
          &nbsp;&nbsp;</td>
    </tr>
    <tr>
      <td class="fields_text">
          来源：</td>
      <td class="fields_input">
          <asp:TextBox ID="SourceFrom" runat="server" CssClass="input_middle"></asp:TextBox>
          </td>
    </tr>
    <tr id="outLink3">
      <td class="fields_input" colspan="2">
        <asp:TextBox ID="Content" runat="server" CssClass="hidden" 
          TextMode="MultiLine">文章内容</asp:TextBox>
          <!-- This div will hold the editor. -->
	        <div id="editor"></div>
          <script type="text/javascript">
		      //<![CDATA[
			      // Replace the <textarea id="Content"> with an CKEditor instance.
			      var editor = CKEDITOR.replace( 'Content',
			      {
            filebrowserBrowseUrl : 'ckfinder/ckfinder.html',//启用浏览功能
            filebrowserImageBrowseUrl : 'ckfinder/ckfinder.html?Type=Images',
            filebrowserFlashBrowseUrl : 'ckfinder/ckfinder.html?Type=Flash',
            filebrowserUploadUrl : 'ckfinder/core/connector/aspx/connector.aspx?command=QuickUpload&type=Files',
            filebrowserImageUploadUrl : 'ckfinder/core/connector/aspx/connector.aspx?command=QuickUpload&type=Images',
            filebrowserFlashUploadUrl : 'ckfinder/core/connector/aspx/connector.aspx?command=QuickUpload&type=Flash'
            } 
            );
		      //]]>
		      </script>
          </td>
    </tr>
    <tr>
      <td colspan="2" align="center">
        <asp:Button ID="Button1" runat="server" Text="通过稿件" onclick="Button1_Click" />
        &nbsp;
        <input id="Button2" type="reset" value="重新编辑" /></td>
    </tr>
  </table>
    </form>
    
</body>
</html>
