<%@ page title="" language="C#" masterpagefile="../../../Common/MasterPage.master" autoeventwireup="true" inherits="Admin_Modules_DIYPage_Page_Add, App_Web_yt1ntoeu" %>
<%@ Register Assembly="FredCK.FCKeditorV2" Namespace="FredCK.FCKeditorV2" TagPrefix="FCKeditorV2" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">

<link href="../../../images/site.css" rel="stylesheet" type="text/css" /> 
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="body" Runat="Server">
<asp:Panel runat="server" ID="pan_message" Visible="false">
  <asp:Label runat="server" ID="lbl_message" ForeColor="Red"></asp:Label>
</asp:Panel>
<asp:Panel runat="server" ID="pan_redirect" Visible="false">

  <script language="javascript" type="text/javascript">
      alert("已成功添加页面！");
      window.location.href = "<% Response.Write(link); %>";
  </script>
</asp:Panel>
<asp:Panel runat="server" ID="pan_editor">
<table width="98%" border="0" cellspacing="1">
  <tr><th colspan="2">内容页编辑</th></tr>
  <tr><td>标题</td><td><asp:TextBox runat="server" ID="txt_Title" Width="200"></asp:TextBox></td></tr>
  <tr><td>所属分组</td><td><asp:DropDownList runat="server" ID="lst_GroupID" DataTextField="Name" DataValueField="ID"></asp:DropDownList></td></tr>
  <tr><td>关键词</td><td><asp:TextBox runat="server" ID="txt_Keywords" Columns="50" Rows="5" TextMode="MultiLine"></asp:TextBox></td></tr>
  <tr><td>描述</td><td><asp:TextBox runat="server" ID="txt_Description" Columns="50" Rows="5" TextMode="MultiLine"></asp:TextBox></td></tr>
  <tr><td>文件名</td><td><asp:TextBox runat="server" ID="txt_FileName" Width="100"></asp:TextBox></td></tr>
  <tr><td>内容</td><td><FCKeditorV2:FCKeditor ID="fck_Content" BasePath="~/FCKEditor/" runat="server"></FCKeditorV2:FCKeditor></td></tr>
  <tr><td colspan="2"><asp:Button runat="server" ID="btn_Submit" Text="提交" /><asp:Button runat="server" ID="btn_Cancel" Text="取消" OnClientClick="javascript:this.parent.reset();" /></td></tr>
</table>
</asp:Panel>
</asp:Content>