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

SCSI/ASPI

开发平台:

Others

  1. <%@ Page Language="c#" Inherits="Discuz.Web.Admin.givemedals" Codebehind="global_givemedals.aspx.cs" %>
  2. <%@ Register TagPrefix="cc1" Namespace="Discuz.Control" Assembly="Discuz.Control" %>
  3. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
  4. <html>
  5. <head>
  6.     <title>givemedals</title>
  7.     <link href="../styles/dntmanager.css" type="text/css" rel="stylesheet" />
  8.     <link href="../styles/modelpopup.css" type="text/css" rel="stylesheet" />
  9.     <link href="../styles/datagrid.css" type="text/css" rel="stylesheet" />
  10.     <script type="text/javascript" src="../js/modalpopup.js"></script>
  11.     <script type="text/javascript" src="../js/common.js"></script>
  12. <meta http-equiv="X-UA-Compatible" content="IE=7" />
  13. </head>
  14. <body>
  15.     <form id="Form1" method="post" runat="server">
  16.         <div class="ManagerForm">
  17.             <fieldset>
  18.                 <legend style="background: url(../images/icons/legendimg.jpg) no-repeat 6px 50%;">授予/收回勋章</legend>
  19.                 <table class="ntcplist">
  20.                 <tr class="head">
  21.                 <td>当前用户:<asp:Literal ID="givenusername" runat="server"></asp:Literal></td>
  22.                 </tr>
  23.                 <tr>
  24.                 <td>
  25.                 <table class="datalist" id="DataGrid1" style="border-collapse: collapse;" align="center" border="1" cellspacing="0" rules="all">
  26.                     <tr class="category">
  27.                         <td style="border: 1px solid rgb(234, 233, 225);" nowrap="nowrap" width="40%">勋章图片</td>
  28.                         <td nowrap="nowrap" style="border: 1px solid rgb(234, 233, 225);" width="40%">名称</td>
  29.                         <td nowrap="nowrap" style="border: 1px solid rgb(234, 233, 225);" width="20%"><input title="选中/取消该勋章" onclick="CheckAll(this.form)" type="checkbox" name="chkall" id="chkall" /></td>
  30.                     </tr>
  31.                     <asp:Repeater ID="medallist" runat="server">
  32.                         <ItemTemplate>
  33.                             <tr class="mouseoutstyle" onmouseover="this.className='mouseoverstyle'" onmouseout="this.className='mouseoutstyle'">
  34.                                 <td style="border: 1px solid rgb(234, 233, 225);" nowrap="nowrap"><img src="../../images/medals/<%# DataBinder.Eval(Container.DataItem,"image").ToString()%>" height="25px" /></td>
  35.                                 <td style="border: 1px solid rgb(234, 233, 225);" nowrap="nowrap"><%# DataBinder.Eval(Container.DataItem,"name").ToString()%></td>
  36.                                 <td style="border: 1px solid rgb(234, 233, 225);" nowrap="nowrap"><%# BeGivenMedal(DataBinder.Eval(Container.DataItem,"isgiven").ToString(),DataBinder.Eval(Container.DataItem,"medalid").ToString())%></td>
  37.                             </tr>
  38.                         </ItemTemplate>
  39.                         <AlternatingItemTemplate>
  40.                             <tr class="mouseoutstyle" onmouseover="this.className='mouseoverstyle'" onmouseout="this.className='mouseoutstyle'">
  41.                                 <td style="border: 1px solid rgb(234, 233, 225);" nowrap="nowrap"><img src="../../images/medals/<%# DataBinder.Eval(Container.DataItem,"image").ToString()%>" height="25px" /></td>
  42.                                 <td style="border: 1px solid rgb(234, 233, 225);" nowrap="nowrap"><%# DataBinder.Eval(Container.DataItem,"name").ToString()%></td>
  43.                                 <td style="border: 1px solid rgb(234, 233, 225);" nowrap="nowrap"><%# BeGivenMedal(DataBinder.Eval(Container.DataItem,"isgiven").ToString(),DataBinder.Eval(Container.DataItem,"medalid").ToString())%></td>
  44.                             </tr>
  45.                         </AlternatingItemTemplate>
  46.                     </asp:Repeater>
  47.                 </table>
  48.                 </td>
  49.                 </tr>
  50.                 </table>
  51.                 
  52.                 <table width="100%">
  53.                 <tr>
  54.                 <td class="panelbox">
  55.                 <table cellspacing="0" cellpadding="4" width="100%" align="center" border="0">
  56.                     <tr>
  57.                         <td style="width: 130px">授予/收回勋章的理由:</td>
  58.                         <td>
  59.                             <cc1:TextBox ID="reason" runat="server" HintTitle="提示" HintInfo="如果您修改了用户的勋章资料, 请输入操作理由, 系统将把理由记录在勋章授予记录中, 以供日后查看"
  60.                                 TextMode="MultiLine" RequiredFieldType="暂无校验" Width="80%" Height="112px"></cc1:TextBox>
  61.                         </td>
  62.                     </tr>
  63.                 </table>
  64.                 </td>
  65.                 </tr>
  66.                 </table>
  67.             </fieldset>
  68.             <cc1:Hint ID="Hint1" runat="server" HintImageUrl="../images"></cc1:Hint>
  69.             <div class="Navbutton">
  70.                 <cc1:Button ID="GivenMedal" runat="server" Text="提 交"></cc1:Button>&nbsp;&nbsp;
  71.                 <button type="button" class="ManagerButton" id="Button3" onclick="window.history.back();"><img src="../images/arrow_undo.gif"/> 返 回 </button>
  72.             </div>
  73.         </div>
  74.     </form>
  75.     <%=footer%>
  76. </body>
  77. </html>