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

SCSI/ASPI

开发平台:

Others

  1. <%@ Page Language="c#" Inherits="Discuz.Web.Admin.allowparticipatescore" Codebehind="global_allowparticipatescore.aspx.cs" %>
  2. <%@ Register Src="../UserControls/PageInfo.ascx" TagName="PageInfo" TagPrefix="uc1" %>
  3. <%@ Register TagPrefix="cc1" Namespace="Discuz.Control" Assembly="Discuz.Control" %>
  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="您所编辑的字段必段是在[<a href=../global/global_scoreset.aspx>积分设置</a>]中指定了积分字段的名称, 未指定项无效" />
  16. <uc1:PageInfo ID="PageInfo1" runat="server" Icon="warning" Text="您所编辑的评分最小值字段可以为负值, 如-5即扣5分." />
  17. <br />
  18. &nbsp; <a href="<%=Request.Params["pagename"]%>.aspx?groupid=<%=Request.Params["groupid"]%>" class="TextButton">返 回</a>
  19. <br />
  20. <cc1:DataGrid ID="DataGrid1" runat="server" OnCancelCommand="DataGrid_Cancel" OnEditCommand="DataGrid_Edit"
  21. OnPageIndexChanged="DataGrid_PageIndexChanged" OnSortCommand="Sort_Grid" OnUpdateCommand="DataGrid_Update">
  22. <Columns>
  23. <asp:BoundColumn DataField="id" HeaderText="id [递增]" Visible="false"></asp:BoundColumn>
  24. <asp:TemplateColumn HeaderText="参与评分">
  25. <headerstyle width="7%" />
  26. <itemtemplate>
  27. <%# GetImgLink(DataBinder.Eval(Container.DataItem,"available").ToString())%>
  28. </itemtemplate>
  29. <edititemtemplate>
  30. <div align="center">
  31. <asp:CheckBox id="available" runat="server" Checked='<%# GetAvailable(DataBinder.Eval(Container, "DataItem.available").ToString())%>'></asp:CheckBox>
  32. </div>
  33. </edititemtemplate>
  34. </asp:TemplateColumn>
  35. <asp:BoundColumn DataField="ScoreCode" HeaderText="积分代号" ReadOnly="true">
  36. <headerstyle width="15%" />
  37. </asp:BoundColumn>
  38. <asp:BoundColumn DataField="ScoreName" HeaderText="积分名称" ReadOnly="true">
  39. <headerstyle width="25%" />
  40. </asp:BoundColumn>
  41. <asp:BoundColumn DataField="Min" HeaderText="评分最小值">
  42. <headerstyle width="15%" />
  43. </asp:BoundColumn>
  44. <asp:BoundColumn DataField="Max" HeaderText="评分最大值">
  45. <headerstyle width="15%" />
  46. </asp:BoundColumn>
  47. <asp:BoundColumn DataField="MaxInDay" HeaderText="24小时最大评分数">
  48. <headerstyle width="15%" />
  49. </asp:BoundColumn>
  50. </Columns>
  51. </cc1:DataGrid>
  52. <p style="text-align:right;">
  53. <button type="button" class="ManagerButton" id="Button3" onclick="window.history.back();"><img src="../images/arrow_undo.gif"/> 返 回 </button>
  54. </p>
  55. </form>
  56. <%=footer%>
  57. </body>
  58. </html>