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

(开头部分) 3KB

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

<%inherits "Discuz.Space.Pages.bloglist"%>
<%template _spaceheader%>
<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; <strong>个人空间</strong>
	</div>
</div>
<%if {page_err}==0%>
<div class="wrap">
<div class="left space_main cl">
	<div class="modulebox">
		<%loop __postinfo postslist%> 					
		<div class="ntblog cl">
			<h3><a href="{spaceurl}space/viewspacepost.aspx?postid={__postinfo[postid]}">{__postinfo[title]}</a></h3>
			<h4>
				<%set {aspxrewriteurl} = this.ShowTopicAspxRewrite({__postinfo[uid]},0)%>
				<a href="{aspxrewriteurl}">{__postinfo[author]}</a>   {__postinfo[postdatetime]} 【评论:{__postinfo[commentcount]}】【阅读:{__postinfo[views]}】 </h4>
			<P><%getsubstring({__postinfo[content]},350,"...")%></p>
			<h4><a href="{spaceurl}space/viewspacepost.aspx?postid={__postinfo[postid]}">阅读全文</a> >></h4>
		</div>
		<%/loop%>
		<div class="ntforumpage">{pagenumbers}</div>
	</div>
</div>
<div class="right space_side cl">
	<%template _rotatepic%>			
	<div class="sidebox">
		<h2>推荐日志</h2>
		<ul class="newslist">
		<%loop (SpaceShortPostInfo) __spacepostrecommend spacepostlist%> 
			<li><a href="{spaceurl}space/viewspacepost.aspx?postid={__spacepostrecommend.postid}"><%getsubstring({__spacepostrecommend.title},30,"...")%></a> </li>	
		<%/loop%>
		</ul>
	</div>
	<div class="sidebox">
		<h4>最新空间评论</h4>
		<ul class="newslist">
		<%loop comment topspacecomments%>
			<li><a href="{spaceurl}space/viewspacepost.aspx?postid={comment[postid]}">{comment[content]}</a> [{comment[author]}]</li>	
		<%/loop%>
		</ul>
	</div>            
	<%if {config.enablealbum}==1%>
	<div class="sidebox">
		<h4>推荐相册</h4>
		<ul class="newslist">
			<%loop (AlbumInfo) album recommendalbumlist%>
				<li><a href="showalbum.aspx?albumid={album.albumid}">{album.title}</a> ({album.imgcount}) [<a href="showalbumlist.aspx?uid={album.userid}">{album.username}</a>]</li>	
			<%/loop%>
		</ul>
	</div>
	<%/if%>
	<div class="sidebox">
		<h4>最近更新的空间</h4>
		<ul class="newslist">
		<%loop __space recentupdatespacelist%> 						
			<li><a href="{spaceurl}space/?uid={__space[userid]}"><%getsubstring({__space[spacetitle]},28,"...")%></a></li>
后面还有 28 行代码,解锁后查看完整代码

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

AI 解读 AI

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

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