Discuz.Web/templates/default3.1/myattachment.htm

(开头部分) 1KB

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

<%template _header%>
<%namespace "Discuz.Config"%>
<div id="nav">
	<div class="wrap s_clear">
		<a href="{config.forumurl}" class="title">{config.forumtitle}</a> &raquo; <a href="usercpprofile.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 == "pmitemid") 
			{
				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">
		<h1>附件</h1>
<%if page_err==0%>
		<%template _attachmentmenu%>
	<%if ispost%>
		<%template _msgbox%>
	<%else%>
	<%if {myattachmentlist.count}>0%>
		<form id="pmform" name="pmform" method="post" action="" class="datalist">
		<table width="100%" border="0" cellspacing="0" cellpadding="0" class="datatable">
		<thead>
			<tr class="colplural">
				<th width="22%">附件名称</th>
				<th>附件描述</th>
				<th width="15%">上传时间</th>
				<th width="10%">下载次数</th>
			</tr>
		</thead>
		<tbody>
		<%loop (MyAttachmentInfo) myatinfo myattachmentlist%>
			<tr>
			<td  class="datatitle"><a href="{myatinfo.filename}" title="{myatinfo.attachment}">{myatinfo.SimpleName}</a></td>
			<td>{myatinfo.Description}</td>
			<td class="time">{myatinfo.Postdatetime}</td>
			<td>{myatinfo.Downloads}</td>
			</tr>
		<%/loop%>
		</tbody>
		</table>
		</form>	
		<div class="cpbox s_clear">
			<div class="pages_btns">
				<div class="pages">
					{pagenumbers}<em>{pageid}/{pagecount}页</em>
				</div>
			</div>
后面还有 13 行代码,解锁后查看完整代码

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

AI 解读 AI

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

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