forum_ratescorelog.aspx
上传用户:wenllgg125
上传日期:2020-04-09
资源大小:7277k
文件大小:6k
源码类别:
SCSI/ASPI
开发平台:
Others
- <%@ Page language="c#" Inherits="Discuz.Web.Admin.ratescorelog" Codebehind="forum_ratescorelog.aspx.cs" %>
- <%@ Register TagPrefix="cc1" Namespace="Discuz.Control" Assembly="Discuz.Control" %>
- <%@ Register TagPrefix="cc2" Namespace="Discuz.Control" Assembly="Discuz.Control" %>
- <%@ Register TagPrefix="cc4" Namespace="Discuz.Control" Assembly="Discuz.Control" %>
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html>
- <head>
- <title>用户评分日志</title>
- <link href="../styles/datagrid.css" type="text/css" rel="stylesheet" />
- <link href="../styles/calendar.css" type="text/css" rel="stylesheet" />
- <link href="../styles/dntmanager.css" type="text/css" rel="stylesheet" />
- <link href="../styles/modelpopup.css" type="text/css" rel="stylesheet" />
- <script type="text/javascript" src="../js/common.js"></script>
- <script type="text/javascript" src="../js/modalpopup.js"></script>
- <script type="text/javascript">
- function Check(form)
- {
- CheckAll(form);
- checkedEnabledButton(form,'id','DelRec');
- }
- // function validate()
- // {
- // return confirm('删除此评分日志将导致帖子中的该评分项被删除!n你确认要删除吗?');
- // }去掉这个功能
- function DeleteMode2SetStatus()
- {
- document.getElementById("DelRec").disabled =
- !(document.getElementById("radio2").checked && document.getElementById("deleteNum").value != "");
- }
- function DeleteMode3SetStatus()
- {
- document.getElementById("DelRec").disabled =
- !(document.getElementById("radio3").checked && document.getElementById("deleteFrom_deleteFrom").value != "");
- }
- </script>
- <meta http-equiv="X-UA-Compatible" content="IE=7" />
- </head>
- <body>
- <form id="Form1" method="post" runat="server">
- <cc1:Hint id="Hint1" runat="server" HintImageUrl="../images"></cc1:Hint>
- <div class="ManagerForm">
- <fieldset>
- <legend style="background:url(../images/icons/icon19.jpg) no-repeat 6px 50%;">搜索日志</legend>
- <table width="100%">
- <tr><td class="item_title" colspan="2">发生时间范围</td></tr>
- <tr>
- <td class="vtop rowform">
- <cc4:Calendar id="postdatetimeStart" runat="server" ReadOnly="True" ScriptPath="../js/calendar.js"></cc4:Calendar> -
- <cc4:Calendar id="postdatetimeEnd" runat="server" ReadOnly="True" ScriptPath="../js/calendar.js"></cc4:Calendar>
- </td>
- <td class="vtop"></td>
- </tr>
- <tr><td class="item_title" colspan="2">搜索内容</td></tr>
- <tr>
- <td class="vtop rowform">
- <cc2:TextBox id="others" runat="server" RequiredFieldType="暂无校验"></cc2:TextBox>
- </td>
- <td class="vtop"></td>
- </tr>
- <tr><td class="item_title" colspan="2">管理员名称</td></tr>
- <tr>
- <td class="vtop rowform">
- <cc2:TextBox id="Username" runat="server" RequiredFieldType="暂无校验"></cc2:TextBox>
- </td>
- <td class="vtop">多用户名中间请用半角逗号 "," 分割</td>
- </tr>
- </table>
- <div class="Navbutton"><cc1:Button ID="SearchLog" runat="server" Text="开始搜索" ButtonImgUrl="../images/search.gif"></cc1:Button></div>
- </fieldset>
- </div>
- <cc1:datagrid id="DataGrid1" runat="server" OnPageIndexChanged="DataGrid_PageIndexChanged" PageSize="15" >
- <Columns>
- <asp:TemplateColumn HeaderText="<input title='选中/取消' onclick='Check(this.form)' type='checkbox' name='chkall' id='chkall' />" Visible="false" >
- <HeaderStyle Width="20px" />
- <ItemTemplate>
- <input id="id" type="checkbox" onclick="checkedEnabledButton(this.form,'id','DelRec')" value="<%# DataBinder.Eval(Container, "DataItem.id").ToString() %>" name="id" />
- </ItemTemplate>
- </asp:TemplateColumn>
- <asp:BoundColumn DataField="id" HeaderText="id [递增]" Visible="false" ></asp:BoundColumn>
- <asp:BoundColumn DataField="username" HeaderText="用户名" ></asp:BoundColumn>
- <asp:BoundColumn DataField="grouptitle" HeaderText="用户组"></asp:BoundColumn>
- <asp:BoundColumn DataField="postdatetime" HeaderText="时间" ></asp:BoundColumn>
- <asp:BoundColumn DataField="poster" HeaderText="被评价用户" ></asp:BoundColumn>
- <asp:TemplateColumn HeaderText="扩展积分名">
- <ItemTemplate>
- <%# ExtcreditsStr(DataBinder.Eval(Container, "DataItem.extcredits").ToString(),DataBinder.Eval(Container, "DataItem.score").ToString())%>
- </ItemTemplate>
- </asp:TemplateColumn>
- <asp:BoundColumn DataField="score" HeaderText="分数" visible="false"></asp:BoundColumn>
- <asp:BoundColumn DataField="title" HeaderText="标题"></asp:BoundColumn>
- <asp:BoundColumn DataField="reason" HeaderText="原因"></asp:BoundColumn>
- </Columns>
- </cc1:datagrid>
- <%--
- <div class="Navbutton">
- <input type="radio" name="deleteMode" checked="checked" onclick="changeDeleteModeState(1,this.form)" value="chkall" id="radio1" />
- <input title="选中/取消" type="checkbox" name="chkall1" id="chkall1" onclick="document.getElementById('chkall').click()" />全选/取消全选
- <input type="radio" name="deleteMode" onclick="changeDeleteModeState(2,this.form)" value="deleteNum" id="radio2" />
- 保留最新<cc2:TextBox id="deleteNum" runat="server" RequiredFieldType="暂无校验" size="5" MaxLength="5" Enabled="true" onkeyup="DeleteMode2SetStatus()"></cc2:TextBox>条记录
- <input type="radio" name="deleteMode" onclick="changeDeleteModeState(3,this.form)" value="deleteFrom" id="radio3" />
- 删除<cc4:Calendar id="deleteFrom" runat="server" ReadOnly="True" ScriptPath="../js/calendar.js" Enabled="False"></cc4:Calendar>之前的记录
- <cc1:Button id="DelRec" runat="server" Text=" 删 除 " ButtonImgUrl="../images/del.gif" Enabled="false" ValidateForm="true"></cc1:Button>
- </div>
- <script type="text/javascript">
- document.getElementById("deleteFrom_deleteFrom").onkeyup = DeleteMode3SetStatus;
- document.getElementById("deleteFrom_deleteFrom").onchange = DeleteMode3SetStatus;
- </script>去掉这个功能--%>
- </form>
- <%=footer%>
- </body>
- </html>