global_allowparticipatescore.aspx
上传用户:wenllgg125
上传日期:2020-04-09
资源大小:7277k
文件大小:3k
源码类别:
SCSI/ASPI
开发平台:
Others
- <%@ Page Language="c#" Inherits="Discuz.Web.Admin.allowparticipatescore" Codebehind="global_allowparticipatescore.aspx.cs" %>
- <%@ Register Src="../UserControls/PageInfo.ascx" TagName="PageInfo" TagPrefix="uc1" %>
- <%@ Register TagPrefix="cc1" Namespace="Discuz.Control" Assembly="Discuz.Control" %>
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
- <html>
- <head>
- <title>允许评分范围列表</title>
- <link href="../styles/datagrid.css" type="text/css" rel="stylesheet" />
- <link href="../styles/dntmanager.css" type="text/css" rel="stylesheet" />
- <script type="text/javascript" src="../js/common.js"></script>
- <meta http-equiv="X-UA-Compatible" content="IE=7" />
- </head>
- <body>
- <form id="Form1" method="post" runat="server">
- <uc1:PageInfo ID="info1" runat="server" Icon="information" Text="您所编辑的字段必段是在[<a href=../global/global_scoreset.aspx>积分设置</a>]中指定了积分字段的名称, 未指定项无效" />
- <uc1:PageInfo ID="PageInfo1" runat="server" Icon="warning" Text="您所编辑的评分最小值字段可以为负值, 如-5即扣5分." />
- <br />
- <a href="<%=Request.Params["pagename"]%>.aspx?groupid=<%=Request.Params["groupid"]%>" class="TextButton">返 回</a>
- <br />
- <cc1:DataGrid ID="DataGrid1" runat="server" OnCancelCommand="DataGrid_Cancel" OnEditCommand="DataGrid_Edit"
- OnPageIndexChanged="DataGrid_PageIndexChanged" OnSortCommand="Sort_Grid" OnUpdateCommand="DataGrid_Update">
- <Columns>
- <asp:BoundColumn DataField="id" HeaderText="id [递增]" Visible="false"></asp:BoundColumn>
- <asp:TemplateColumn HeaderText="参与评分">
- <headerstyle width="7%" />
- <itemtemplate>
- <%# GetImgLink(DataBinder.Eval(Container.DataItem,"available").ToString())%>
- </itemtemplate>
- <edititemtemplate>
- <div align="center">
- <asp:CheckBox id="available" runat="server" Checked='<%# GetAvailable(DataBinder.Eval(Container, "DataItem.available").ToString())%>'></asp:CheckBox>
- </div>
- </edititemtemplate>
- </asp:TemplateColumn>
- <asp:BoundColumn DataField="ScoreCode" HeaderText="积分代号" ReadOnly="true">
- <headerstyle width="15%" />
- </asp:BoundColumn>
- <asp:BoundColumn DataField="ScoreName" HeaderText="积分名称" ReadOnly="true">
- <headerstyle width="25%" />
- </asp:BoundColumn>
- <asp:BoundColumn DataField="Min" HeaderText="评分最小值">
- <headerstyle width="15%" />
- </asp:BoundColumn>
- <asp:BoundColumn DataField="Max" HeaderText="评分最大值">
- <headerstyle width="15%" />
- </asp:BoundColumn>
- <asp:BoundColumn DataField="MaxInDay" HeaderText="24小时最大评分数">
- <headerstyle width="15%" />
- </asp:BoundColumn>
- </Columns>
- </cc1:DataGrid>
- <p style="text-align:right;">
- <button type="button" class="ManagerButton" id="Button3" onclick="window.history.back();"><img src="../images/arrow_undo.gif"/> 返 回 </button>
- </p>
- </form>
- <%=footer%>
- </body>
- </html>