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

SCSI/ASPI

开发平台:

Others

  1. <%@ Page language="c#" Inherits="Discuz.Web.Admin.iconfilegrid" Codebehind="forum_iconfilegrid.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. <link href="../styles/dntmanager.css" type="text/css" rel="stylesheet" /> 
  9. <script type="text/javascript" src="../js/common.js"></script>
  10. <script type="text/javascript">
  11. function Check(form)
  12. {
  13. CheckAll(form);
  14. checkedEnabledButton(form,'id','DelRec');
  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"><br />
  21. <cc1:datagrid id="DataGrid1" runat="server" OnCancelCommand="DataGrid_Cancel" OnEditCommand="DataGrid_Edit"
  22. OnPageIndexChanged="DataGrid_PageIndexChanged" OnSortCommand="Sort_Grid" OnUpdateCommand="DataGrid_Update"
  23. OnDeleteCommand="DataGrid_Delete">
  24. <Columns>
  25. <asp:TemplateColumn HeaderText="<input title='选中/取消' onclick='Check(this.form)' type='checkbox' name='chkall' id='chkall' />">
  26. <HeaderStyle Width="20px" />
  27. <ItemTemplate>
  28. <input id="id" onclick="checkedEnabledButton(this.form,'id','DelRec')" type="checkbox" value="<%# DataBinder.Eval(Container, "DataItem.id").ToString() %>" name="id" />
  29. </ItemTemplate>
  30. </asp:TemplateColumn>
  31. <asp:BoundColumn DataField="ID" SortExpression="id" HeaderText="表情id" Visible="false" ></asp:BoundColumn>
  32. <asp:BoundColumn DataField="displayorder" SortExpression="displayorder" HeaderText="显示顺序"></asp:BoundColumn>
  33. <asp:BoundColumn DataField="type" SortExpression="type" HeaderText="类型" Visible="false"></asp:BoundColumn>
  34. <asp:BoundColumn DataField="code" SortExpression="code" HeaderText="代码" ></asp:BoundColumn>
  35. <asp:BoundColumn DataField="url" SortExpression="url" HeaderText="文件名"></asp:BoundColumn>
  36. <asp:BoundColumn DataField="url" HeaderText="图片" readonly="true"></asp:BoundColumn>
  37. <asp:TemplateColumn HeaderText="图片">
  38. <ItemTemplate>
  39. <asp:Label id=Label4 runat="server" Text='<%# PicStr(DataBinder.Eval(Container, "DataItem.url").ToString()) %>' />
  40. </ItemTemplate>
  41. </asp:TemplateColumn>
  42. </Columns>
  43. </cc1:datagrid>
  44. <p style="text-align:right;">
  45. <input title="选中/取消选中 本页所有Case" onclick="document.getElementById('chkall').click()" type="checkbox" name="Checkbox1" id="Checkbox1" />全选/取消全选&nbsp;&nbsp;
  46. <cc1:Button id="DelRec" runat="server" Text=" 删 除 " ButtonImgUrl="../images/del.gif" Enabled="false"></cc1:Button> &nbsp;&nbsp;
  47. <button type="button" class="ManagerButton" onclick="javascript:window.location.href='forum_addiconfile.aspx';">
  48. <img src="../images/add.gif" /> 添加表情
  49. </button>
  50. </p>
  51. </form>
  52. <%=footer%>
  53. </body>
  54. </html>