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

SCSI/ASPI

开发平台:

Others

  1. <%@ Register TagPrefix="cc1" Namespace="Discuz.Control" Assembly="Discuz.Control" %>
  2. <%@ Page Language="c#" Inherits="Discuz.Web.Admin.usergroupgrid" Codebehind="global_usergroupgrid.aspx.cs" %>
  3. <%@ Register Src="../UserControls/PageInfo.ascx" TagName="PageInfo" TagPrefix="uc1" %>
  4. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
  5. <html>
  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" method="post" runat="server">
  15. <uc1:PageInfo ID="info1" runat="server" Icon="information" Text="增加用户组方法有两种:<br />方法1: 进入<a href=&quot;global_addusergroup.aspx&quot;>用户组添加</a>, 增加一个新的用户组,同时编辑该组的其他设置. <br />方法2: 点击下面的相关用户组记录上的 &quot;添加&quot; 链接,系统会用相关用户组的信息作为模板初始化&quot;添加表单&quot;,同时编辑该组的其他设置." />
  16. <cc1:DataGrid ID="DataGrid1" runat="server" IsFixConlumnControls="true" OnPageIndexChanged="DataGrid_PageIndexChanged" 
  17. OnSortCommand="Sort_Grid">
  18. <Columns>
  19. <asp:TemplateColumn HeaderText="">
  20. <itemtemplate>
  21. <a href="global_editusergroup.aspx?groupid=<%# DataBinder.Eval(Container, "DataItem.groupid").ToString()%>">编辑</a>
  22. <%# DataGrid1.LoadSelectedCheckBox(DataBinder.Eval(Container, "DataItem.groupid").ToString())%>
  23. </itemtemplate>
  24. </asp:TemplateColumn>
  25. <asp:TemplateColumn HeaderText="">
  26. <itemtemplate>
  27. <a href="global_addusergroup.aspx?groupid=<%# DataBinder.Eval(Container, "DataItem.groupid").ToString()%>">添加</a>
  28. </itemtemplate>
  29. </asp:TemplateColumn>
  30. <asp:BoundColumn DataField="groupid" SortExpression="groupid" HeaderText="用户组ID" Visible="false"></asp:BoundColumn>
  31. <asp:BoundColumn DataField="grouptitle" SortExpression="grouptitle" HeaderText="名称"></asp:BoundColumn>
  32. <asp:BoundColumn DataField="creditshigher" SortExpression="creditshigher" HeaderText="积分下限"></asp:BoundColumn>
  33. <asp:BoundColumn DataField="creditslower" SortExpression="creditslower" HeaderText="积分上限"></asp:BoundColumn>
  34. <asp:BoundColumn DataField="stars" SortExpression="stars" HeaderText="星星数目" readonly="true"></asp:BoundColumn>
  35. <asp:BoundColumn DataField="readaccess" SortExpression="readaccess" HeaderText="阅读权限" readonly="true"></asp:BoundColumn>
  36. <asp:BoundColumn DataField="maxprice" SortExpression="maxprice" HeaderText="主题(附件)最高售价" readonly="true"></asp:BoundColumn>
  37. <asp:BoundColumn DataField="maxpmnum" SortExpression="maxpmnum" HeaderText="短消息最多条数" readonly="true"></asp:BoundColumn>
  38. <asp:BoundColumn DataField="maxsigsize" SortExpression="maxsigsize" HeaderText="签名最多字节" readonly="true"></asp:BoundColumn>
  39. <asp:BoundColumn DataField="maxattachsize" SortExpression="maxattachsize" HeaderText="附件最大尺寸 [单位:字节]" readonly="true"></asp:BoundColumn>
  40. </Columns>
  41. </cc1:DataGrid>
  42. <p style="text-align:right;">
  43. <cc1:Button ID="EditUserGroup" runat="server" Text=" 提交 " OnClick="EditUserGroup_Click"></cc1:Button>&nbsp;&nbsp;
  44. <button type="button" class="ManagerButton" id="Button3" onclick="window.location='global_editgroup.aspx';"><img src="../images/arrow_undo.gif"/> 返 回 </button>           
  45. </p>
  46. </form>
  47. <%=footer%>
  48. </body>
  49. </html>