Article_Add.aspx
上传用户:szraylite
上传日期:2018-06-06
资源大小:11546k
文件大小:4k
源码类别:

软件测试

开发平台:

Java

  1. <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Article_Add.aspx.cs" Inherits="admin_Article_Add"  validateRequest=false%>
  2. <%@ Register Assembly="FreeTextBox" Namespace="FreeTextBoxControls" TagPrefix="FTB" %>
  3. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
  4. <HTML>
  5. <HEAD>
  6. <title>Article_Add</title>
  7. <meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
  8. <meta content="C#" name="CODE_LANGUAGE">
  9. <meta content="JavaScript" name="vs_defaultClientScript">
  10. <meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
  11. <LINK href="Admin_Style.css" type="text/css" rel="stylesheet">
  12. </HEAD>
  13. <body>
  14. <form id="Form1" method="post" runat="server">
  15. <table class="border" cellSpacing="1" cellPadding="0" width="100%" align="center" border="0">
  16. <tr>
  17. <td class="title" align="center" colSpan="3" height="22"><b>添 加 文 章(简洁模式)</b></td>
  18. </tr>
  19. <tr class="tdbg">
  20. <td align="right" width="100"><strong>所属栏目:</strong></td>
  21. <td><asp:dropdownlist id="ddl_ArticleClass" runat="server" Height="20px" Width="128px" DataValueField="ClassID"
  22. DataTextField="ClassName"></asp:dropdownlist></td>
  23. <td><font color="#ff6600"><strong>注意:</strong></font><font color="#0066cc">1、不能指定为含有子栏目的栏目,或者外部栏目</font></td>
  24. </tr>
  25. <tr class="tdbg">
  26. <td align="right" width="100"><strong>文章标题:</strong></td>
  27. <td colSpan="2">
  28.                         <asp:TextBox ID="txb_Title" runat="server" Width="264px"></asp:TextBox><font color="#ff6600">*</font></td>
  29. </tr>
  30. <tr class="tdbg">
  31. <td align="right" width="100"><strong>作者:</strong></td>
  32. <td colSpan="2">
  33.                         <asp:TextBox ID="txb_Author" runat="server"></asp:TextBox></td>
  34. </tr>
  35. <tr class="tdbg">
  36. <td align="right" width="100"><strong>转贴自:</strong></td>
  37. <td colSpan="2"><input id="txb_CopyFrom" type="text" maxLength="100" size="50" name="txb_CopyFrom">
  38. </td>
  39. </tr>
  40. <tr class="tdbg">
  41. <td vAlign="middle" align="right" width="100">
  42. <p><strong>文章内容:</strong></p>
  43. <p align="left"><font color="#0066cc"><br>
  44. <br>
  45. · 换行请按</font><font color="#ff6600">Shift+Enter</font><br>
  46. <font color="#0066cc">· 另起一段请按</font><font color="#ff6600">Enter</font><br>
  47. </p>
  48. </td>
  49. <td colSpan="2">
  50.                     <FTB:FreeTextBox ID="FreeTextBox1" runat="server" Language="zh-CN"
  51.                     ButtonDownImage="True"
  52.                     ToolbarLayout="ParagraphMenu,FontFacesMenu,FontSizesMenu,FontForeColorsMenu|Bold,Italic,Underline,Strikethrough;Superscript,Subscript,RemoveFormat|JustifyLeft,JustifyRight,JustifyCenter,JustifyFull;BulletedList,NumberedList,Indent,Outdent;CreateLink,Unlink,InsertImage,InsertImageFromGallery,InsertRule" BackColor="Silver" EditorBorderColorDark="DimGray" EditorBorderColorLight="DimGray" GutterBackColor="SkyBlue" GutterBorderColorDark="DimGray" ButtonSet="OfficeMac" ImageGalleryPath="~/admin/photos/" Height="300px" Width="600px">
  53.                     </FTB:FreeTextBox>
  54.                     </td>
  55. </tr>
  56. <tr class="tdbg">
  57. <td align="center" colSpan="3" style="height: 36px">
  58.                         <asp:Button ID="add" runat="server" Text="添加" CssClass="CURSOR: hand; BACKGROUND-COLOR: #cccccc" Width="58px" OnClick="add_Click"/>
  59.                         &nbsp; &nbsp;&nbsp;&nbsp;&nbsp; &nbsp; &nbsp;<asp:Button ID="Button2" runat="server"
  60.                             Text="取消" CssClass="CURSOR: hand; BACKGROUND-COLOR: #cccccc" Width="58px"/>
  61. </td>
  62. </tr>
  63. </table>
  64. </form>
  65. </body>
  66. </HTML>