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

(开头部分) 2KB

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

<%inherits "Discuz.Space.Pages.usercpspacemanageattachment"%>
<%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 == "aid") 
			{
				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="attachlist" name="attachlist" method="post" action="">
		<table width="100%" border="0" cellspacing="0" cellpadding="0" class="datatable">
		<tbody>
		  <%if attachmentcount>0%>
			<tr class="colplural">
				<th width="50%">附件名</th>
				<th width="14%">大小(单位:KB)</th>
				<th width="10%">下载次数</th>
				<th width="20%">上传时间</th>
				<th>&nbsp;</th>
			</tr>
			<%loop currentattachment attachmentlist%>
			<tr>
				<td>
				<input name="aid" type="checkbox" id="aid{currentattachment[aid]}" value="{currentattachment[aid]}"/>
				<span id="layer{currentattachment[aid]}" onmouseover="showMenu(this.id, 0, 0, 1, 0);"><a href="{currentattachment[filename]}">{currentattachment[attachment]}</a></span>
				<%if {currentattachment[isimg]}=="True"%>
				<div id="layer{currentattachment[aid]}_menu" style="position: absolute;display:none"><img src="{currentattachment[filename]}" onerror="this.onerror=null;this.src='';" width="100"/></div>
				<%/if%>
				</td>
				<td>
				<script language="javascript" type="text/javascript">
				ShowFormatBytesStr({currentattachment[filesize]});
				</script>
				</td>
				<td>{currentattachment[downloads]}</td>
后面还有 29 行代码,解锁后查看完整代码

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

AI 解读 AI

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

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