Discuz.Web/templates/default/space/usercpspacemanageblog.htm

(开头部分) 2KB

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

<%inherits "Discuz.Space.Pages.usercpspacemanageblog"%>
<%template _header%>
<div class="wrap cl pageinfo">
	<div id="nav">
		<%if {usergroupinfo.allowsearch}>0%>
			<%template _quicksearch%>
		<%/if%>
        <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 == "postid") 
			{
				e.checked = objtag.checked;
			}
		}
		objtag.checked = !objtag.checked;
	}
</script>
<div class="wrap uc cl">
	<%template _menu%>
	<div class="uc_main">
	<div class="uc_content">
		<h1>管理日志</h1>
		<%template _spacemenu%>	
	<%if page_err==0%>
		<%if ispost%>
		<%template _usercpmsgbox%>
		<%else%>
		<form id="bloglist" name="bloglist" method="post" action="">
		<table width="100%" border="0" cellspacing="0" cellpadding="0" class="datatable">
		<tbody>
		<%if blogcount>0%>
			<tr class="colplural">
				<th width="50%">日志标题</th>
				<th width="20%">分类</th>
				<th width="17%">发布日期</th>
				<th width="8%">评论次数</th>
				<th width="5%">&nbsp;</th>
			</tr>
			<%loop currentblog bloglist%>
			<tr>
				<td>
				<input name="postid" type="checkbox" id="blog{currentblog[postid]}" value="{currentblog[postid]}"/>
				<a href="{spaceurl}space/viewspacepost.aspx?postid={currentblog[postid]}" title="{currentblog[title]}" target="_blank">{currentblog[shorttitle]}</a>
				<a href="usercpspaceeditblog.aspx?postid={currentblog[postid]}">[编辑]</a>
				</td>
				<td>{currentblog[category]}</td>
				<td>{currentblog[postdatetime]}</td>
				<td>{currentblog[commentcount]}</td>
				<td><a href="###" onclick="$('blog{currentblog[postid]}').checked=true;$('bloglist').submit();">删除</a></td>
			</tr>
			<%/loop%>
		<%else%>
			<div class="zerothreads">暂无日志</div>
后面还有 25 行代码,解锁后查看完整代码

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

AI 解读 AI

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

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