Discuz.Web/admin/global/global_announceprivatemessage.aspx

(开头部分) 4KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

<%@ Page Language="c#" Inherits="Discuz.Web.Admin.announceprivatemessage" Codebehind="announceprivatemessage.aspx.cs" %>
<%@ Register TagPrefix="cc2" Namespace="Discuz.Control" Assembly="Discuz.Control" %>
<%@ Register TagPrefix="cc1" Namespace="Discuz.Control" Assembly="Discuz.Control" %>
<%@ Register TagPrefix="uc1" TagName="PageInfo" Src="../UserControls/PageInfo.ascx" %>
<!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" />
<script type="text/javascript" src="../js/common.js"></script>
<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/modalpopup.js"></script>
<script type="text/javascript">
	function Check(form)
	{
		CheckAll(form);
		checkedEnabledButton(form,'id','DelRec')
	}
</script>
<meta http-equiv="X-UA-Compatible" content="IE=7" />
</head>
<body>
<form id="Form1" method="post" runat="server">
	<cc1:DataGrid ID="DataGrid1" runat="server" IsFixConlumnControls="true" OnPageIndexChanged="DataGrid_PageIndexChanged" OnSortCommand="Sort_Grid">
		<Columns>
			<asp:TemplateColumn HeaderText="<input title='选中/取消' onclick='Check(this.form)' type='checkbox' name='chkall' id='chkall' />">
				<HeaderStyle Width="20px" />
				<ItemTemplate>
					<input id="id" onclick="checkedEnabledButton(this.form,'id','DelRec')" type="checkbox" value="<%# DataBinder.Eval(Container, "DataItem.pmid").ToString() %>"	name="id" />
					<%# DataGrid1.LoadSelectedCheckBox(DataBinder.Eval(Container, "DataItem.pmid").ToString())%>
				</ItemTemplate>
			</asp:TemplateColumn>
			<asp:BoundColumn DataField="pmid" SortExpression="pmid" HeaderText="pmid" Visible="false" />
			<asp:BoundColumn DataField="subject" SortExpression="subject" HeaderText="消息标题" readonly="true"/>
			<asp:BoundColumn DataField="message" SortExpression="message" HeaderText="消息内容" readonly="true"/>
			<asp:BoundColumn DataField="postdatetime" SortExpression="postdatetime" HeaderText="发布日期" readonly="true" />
		</Columns>
	</cc1:DataGrid>
	<p style="text-align:right;">
		<button type="button" class="ManagerButton" id="Button2" onclick="BOX_show('neworedit');"><img src="../images/add.gif"/> 新建公共消息 </button>&nbsp;&nbsp;
		<cc1:Button ID="DelRec" runat="server" Text=" 删 除 " ButtonImgUrl="../images/del.gif" Enabled="false" OnClientClick="if(!confirm('你确认要删除所选的公共消息吗?')) return false;"></cc1:Button>
	</p>
	<div id="BOX_overlay" style="background: #000; position: absolute; z-index:100; filter:alpha(opacity=50);-moz-opacity: 0.6;opacity: 0.6;"></div>
	<div id="neworedit" style="display: none; background :#fff; padding:10px; border:1px solid #999; width:350px;">
		<div class="ManagerForm">
			<fieldset>
				<legend style="background: url(../images/icons/icon48.jpg) no-repeat 6px 50%;">新建公共消息</legend>
				<table cellspacing="0" cellpadding="4" width="100%" align="center">
					<tr>
						<td style="width: 80px;height:35px;">消息标题:</td>
						<td>
							<cc2:TextBox ID="subject" runat="server" RequiredFieldType="暂无校验" IsReplaceInvertedComma="true" MaxLength="254" Size="30"></cc2:TextBox>
						</td>
					</tr>
					<tr>
						<td style="height:100px;">消息内容:</td>
						<td>
							<cc2:TextBox ID="message" runat="server" RequiredFieldType="暂无校验" TextMode="MultiLine" Rows="4" Cols="33"></cc2:TextBox>
						</td>
后面还有 17 行代码,解锁后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。