aggregation_edithottopic.aspx
上传用户:wenllgg125
上传日期:2020-04-09
资源大小:7277k
文件大小:4k
源码类别:

SCSI/ASPI

开发平台:

Others

  1. <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="aggregation_edithottopic.aspx.cs" Inherits="Discuz.Web.Admin.edithottopic" %>
  2. <%@ Register TagPrefix="cc1" Namespace="Discuz.Control" Assembly="Discuz.Control" %>
  3. <%@ Register TagPrefix="uc1" TagName="TextareaResize" Src="../UserControls/TextareaResize.ascx" %>
  4. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  5. <html xmlns="http://www.w3.org/1999/xhtml" >
  6. <head>
  7. <title>论坛数据</title>
  8. <link href="../styles/datagrid.css" type="text/css" rel="stylesheet" />
  9. <link href="../styles/dntmanager.css" type="text/css" rel="stylesheet" />  
  10. <script type="text/javascript" src="../js/common.js"></script>
  11. <meta http-equiv="X-UA-Compatible" content="IE=7" />
  12. </head>
  13. <body>
  14. <form id="Form1" runat="server">
  15. <div>
  16. <cc1:datagrid id="websiteconfig" runat="server" ColumnSpan="5">
  17. <Columns>
  18. <asp:TemplateColumn HeaderText=""><itemstyle width="8%" />
  19. <ItemTemplate>
  20. <a href="?tid=<%# DataBinder.Eval(Container, "DataItem.tid").ToString()%>">编辑</a>
  21. </ItemTemplate>
  22. </asp:TemplateColumn>
  23. <asp:BoundColumn DataField="title" HeaderText="标题"><itemstyle width="20%" /></asp:BoundColumn>
  24. <asp:BoundColumn DataField="poster" HeaderText="发帖人"><itemstyle width="20%" /></asp:BoundColumn>
  25. <asp:BoundColumn DataField="postdatetime" HeaderText="发帖时间"><itemstyle width="30%" /></asp:BoundColumn>
  26. </Columns>
  27. </cc1:datagrid>
  28. </div>
  29. <p style="text-align:right;">
  30. <button class="ManagerButton" type="button" onclick="javascript:window.location.href='aggregation_forumhottopic.aspx';"><img src="../images/submit.gif" />重新推荐热帖</button>
  31. </p>
  32. <asp:Panel ID="panel1" runat="server" Visible="false">
  33. <div class="ManagerForm">
  34. <fieldset>
  35. <legend style="background:url(../images/icons/legendimg.jpg) no-repeat 6px 50%;">编辑帖子</legend>
  36. <table width="100%">
  37. <tr><td class="item_title" colspan="2">标题</td></tr>
  38. <tr>
  39. <td class="vtop rowform">
  40. <input type="hidden" id="topicid" runat="server" />
  41. <cc1:TextBox id="title" runat="server" RequiredFieldType="暂无校验" width="200"></cc1:TextBox>
  42. </td>
  43. <td class="vtop"></td>
  44. </tr>
  45. <tr style="display:none"><td class="item_title" colspan="2">发帖人</td></tr>
  46. <tr style="display:none">
  47. <td class="vtop rowform">
  48. <cc1:TextBox id="poster" runat="server" RequiredFieldType="暂无校验" width="200"></cc1:TextBox>
  49. </td>
  50. <td class="vtop"></td>
  51. </tr>
  52. <tr style="display:none"><td class="item_title" colspan="2">发帖时间</td></tr>
  53. <tr style="display:none">
  54. <td class="vtop rowform">
  55. <cc1:TextBox id="postdatetime" runat="server" RequiredFieldType="暂无校验" width="200"></cc1:TextBox>
  56. </td>
  57. <td class="vtop"></td>
  58. </tr>
  59. <tr style="display:none"><td class="item_title" colspan="2">内容</td></tr>
  60. <tr style="display:none">
  61. <td class="vtop rowform">
  62. <uc1:TextareaResize id="shortdescription" runat="server" controlname="shortdescription" Cols="60" Rows="5"></uc1:TextareaResize>
  63. <button class="TopicButton" type="button" onclick="document.getElementById('shortdescription_posttextarea').value=document.getElementById('fulldescription').value" style="width:250px;"><img src="../images/submit.gif" />读入帖子完整内容</button>
  64. <input type="hidden" id="fulldescription" runat="server" />
  65. </td>
  66. <td class="vtop">将帖子完整内容读入文本框, 您可自行修改内容长度</td>
  67. </tr>
  68. </table>
  69. <div class="Navbutton"><cc1:Button ID="savetopic" runat="server" Text="保存" designtimedragdrop="247" OnClick="savetopic_Click"></cc1:Button></div>
  70. </fieldset>
  71. </div>
  72. </asp:Panel>
  73. <cc1:Hint id="hint1" runat="server" HintImageUrl="../images"></cc1:Hint>
  74. </form>
  75.  <%=footer%>
  76. </body>
  77. </html>