Discuz.Web/templates/default3.1/space/usercpspacecomment.htm

(开头部分) 2KB

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

<%inherits "Discuz.Space.Pages.usercpspacecomment"%>
<%template _header%>
<div id="nav">
	<div class="wrap s_clear">
        <a href="{config.forumurl}" class="title">{config.forumtitle}</a> &raquo; <a href="usercp.aspx">用户中心</a> &raquo; <strong>管理评论</strong>
	</div>
</div>
<script type="text/javascript">
	function checkCheckBox(form,objtag)
	{
		for(var i = 0; i < form.elements.length; i++) 
		{
			var e = form.elements[i];
			if(e.name == "commentid") 
			{
				e.checked = objtag.checked;
			}
		}
		objtag.checked = !objtag.checked;
	}
</script>
<div class="wrap with_side s_clear" id="wrap">
	<%template _menu%>
	<div class="cpmain">
	<div class="cpcontent datalist">
		<h1>管理评论</h1>
		<%template _spacemenu%>	
	<%if page_err==0%>
		<%if ispost%>
			<%template _usercpmsgbox%>
		<%else%>
			<form id="commentlist" name="commentlist" method="post" action="">
			<table width="100%" border="0" cellspacing="0" cellpadding="0" class="datatable">
			<tbody>
			<%if commentcount>0%>
				<tr class="colplural">
					<th width="80%" style="text-align:left;">评论标题</th>
					<th>发表日期</th>
				</tr>
				<%loop currentcomment commentlist%>	
				<tr>
					<td class="datatitle"><input type="checkbox" name="commentid" id="commentid{currentcomment[commentid]}" value="{currentcomment[commentid]}" />
				{currentcomment[author]} 对 <a href="{spaceurl}space/viewspacepost.aspx?postid={currentcomment[postid]}" target="_blank">{currentcomment[posttitle]}</a> 发表评论</td>
					<td>{currentcomment[postdatetime]}</td>
				</tr>
				<tr>
					<td colspan="2" style="text-align:left;">{currentcomment[content]}</td>
				</tr>
				<%/loop%>
			<%else%>
				<div class="zerothreads">暂无评论</div>
			<%/if%>
			</tbody>
			</table>
			</form>
				<div class="cpbox s_clear">
					<div class="pages_btns">
					   <%if commentcount>0%>
						<div class="pages">
							{pagenumbers} <em>{pageid}/{pagecount}页</em> 
后面还有 18 行代码,解锁后查看完整代码

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

AI 解读 AI

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

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