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

SCSI/ASPI

开发平台:

Others

  1. <%@ Page language="c#" Inherits="Discuz.Web.Admin.forum_tagmanage" Codebehind="forum_tagmanage.aspx.cs" %>
  2. <%@ Register TagPrefix="cc1" Namespace="Discuz.Control" Assembly="Discuz.Control" %>
  3. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  4. <html>
  5. <head>
  6. <title>标签管理</title>
  7. <link href="../styles/datagrid.css" type="text/css" rel="stylesheet" />
  8. <script type="text/javascript" src="../js/common.js"></script>
  9. <link href="../styles/dntmanager.css" type="text/css" rel="stylesheet" />
  10. <script type="text/javascript">
  11. function Check(form)
  12. {
  13. CheckAll(form);
  14. checkedEnabledButton(form,'tagid','DisableRec');
  15. }
  16. </script>
  17. <meta http-equiv="X-UA-Compatible" content="IE=7" />
  18. </head>
  19. <body>
  20. <form id="Form1" method="post" runat="server">
  21. <div class="ManagerForm">
  22. <fieldset>
  23. <legend style="background:url(../images/icons/icon32.jpg) no-repeat 6px 50%;">标签查询</legend>
  24. <table width="100%">
  25. <tr><td class="item_title" colspan="2">标签名称</td></tr>
  26. <tr>
  27. <td class="vtop rowform">
  28. <cc1:TextBox id="tagname" runat="server" Width="150px" onBlur></cc1:TextBox>
  29. </td>
  30. <td class="vtop"></td>
  31. </tr>
  32. <tr><td class="item_title" colspan="2">主题数介于</td></tr>
  33. <tr>
  34. <td class="vtop" colspan="2">
  35. <cc1:TextBox id="txtfrom" runat="server" Width="150px"></cc1:TextBox>--<cc1:TextBox id="txtend" runat="server" Width="150px"></cc1:TextBox>
  36. </td>
  37. </tr>
  38. <tr><td class="item_title" colspan="2"></td></tr>
  39. <tr>
  40. <td class="vtop rowform">
  41. <cc1:RadioButtonList id="radstatus" runat="server" RepeatColumns = "3" RepeatDirection="Vertical">
  42. <asp:ListItem Value="0"  Selected="True">全部</asp:ListItem>
  43. <asp:ListItem Value="1">锁定</asp:ListItem>
  44. <asp:ListItem Value="2">开放</asp:ListItem>
  45. </cc1:RadioButtonList><br />
  46. </td>
  47. <td class="vtop">请选择</td>
  48. </tr>
  49. </table>
  50. <div class="Navbutton"><cc1:Button id="searchtag" runat="server" Text="搜索标签" OnClick="searchtag_Click"/></div>
  51. </fieldset>
  52. </div>
  53. <cc1:datagrid id="DataGrid1" runat="server" IsFixConlumnControls="true" OnPageIndexChanged="DataGrid_PageIndexChanged" OnSortCommand="Sort_Grid" PageSize="15">
  54. <Columns>
  55. <asp:TemplateColumn HeaderText="<input title='选中/取消' onclick='Check(this.form)' type='checkbox' name='chkall' id='chkall' />">
  56. <HeaderStyle Width="20px" />
  57. <ItemTemplate>
  58. <input id="tagid" type="checkbox" onclick="checkedEnabledButton(this.form,'tagid','DisableRec')" value="<%# DataBinder.Eval(Container, "DataItem.tagid").ToString() %>" name="tagid"/>
  59. </ItemTemplate>
  60. </asp:TemplateColumn>
  61. <asp:TemplateColumn HeaderText="标签名称">
  62. <itemtemplate>
  63. <a href="../../topictag-<%# DataBinder.Eval(Container, "DataItem.tagid").ToString()%>.aspx" target="_blank"><%# DataBinder.Eval(Container, "DataItem.tagname").ToString()%></a> | <%# DataBinder.Eval(Container, "DataItem.fcount").ToString()%>
  64. <%# DataGrid1.LoadSelectedCheckBox(DataBinder.Eval(Container, "DataItem.tagid").ToString())%>
  65. </itemtemplate>
  66. </asp:TemplateColumn>
  67. <asp:BoundColumn DataField="orderid" HeaderText="显示顺序"></asp:BoundColumn>
  68. <asp:BoundColumn DataField="color" HeaderText="颜色"></asp:BoundColumn>
  69. </Columns>
  70. </cc1:datagrid>
  71. <cc1:Hint ID="Hint1" runat="server" HintImageUrl="../images"></cc1:Hint>
  72. <p style="text-align:right;">
  73. <cc1:Button ID="savetags" runat="server" Text="保存标签修改" OnClick="savetags_Click"></cc1:Button>&nbsp;&nbsp;
  74. <cc1:Button id="DisableRec" runat="server" Text=" 禁 用 " Enabled="false" ButtonImgUrl="../images/del.gif" OnClick="DisableRec_Click"></cc1:Button>
  75. </p>
  76. </form>
  77. <%=footer%>
  78. </body>
  79. </html>