Discuz.Web/templates/default3.1/album/showalbum.htm
(开头部分) 3KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<%inherits "Discuz.Album.Pages.showalbum"%>
<%template _albumheader%>
<div id="nav">
<div class="wrap s_clear">
<%template _albumnavigation%>
<a href="{config.albumurl}" class="title">{config.albumname}首页</a> »
<%if {albumcategory}!=null%>
<a href="{albumurl}showalbumlist.aspx?cate={albumcategory.albumcateid}">{albumcategory.title}</a> » <strong>{album.title}</strong>
<%/if%>
</div>
</div>
<%if page_err==0%>
<div class="wrap">
<%if {!needpassword}%>
<div class="modulebox">
<cite>
<!-- <%if {config.silverlight}==1%>
<a id="silverlightalbum" target="_blank" title="Silverlight相册展示" href="silverlight/album/index.html?albumid={album.albumid}"><img src="templates/{templatepath}/album/images/button_seeit.gif" alt="Silverlight相册展示" /></a>
<%/if%>-->
</cite>
<h2 style="line-height:36px;height:36px;">{album.title}<strong><script type="text/javascript">document.write(window.location);</script></strong>(<a href="###" onclick="setcopy(window.location.href.replace('###','') + '&page={currentpage}', '已经复制到剪贴板');" class="copylink">复制到剪帖板</a>)
</h2>
<div class="controlPhoto">
<p>
<%if {config.enablespace}==1%><a href="{spaceurl}space/?uid={album.userid}" target="_blank"><img src="templates/{templatepath}/album/images/dotspace.gif" />{album.username}的空间</a><%/if%>
<%set {aspxrewriteurl} = this.UserInfoAspxRewrite({album.userid})%>
<a href="{forumurl}{aspxrewriteurl}"><img src="templates/{templatepath}/album/images/user_info.gif" alt="用户信息:"/>{album.username}的用户资料</a>
<a href="{albumurl}showalbumlist.aspx?uid={album.userid}"><img src="templates/{templatepath}/album/images/user_album.gif" alt="用户相册"/>{album.username}的全部相册</a>
</p>
<p><%if {album.userid}=={userid}%>
<a href="{forumurl}usercpspacemanagephoto.aspx?albumid={album.albumid}" target="_blank"><img src="templates/{templatepath}/album/images/album_edit.gif" />管理</a>
<%/if%>
<a href="{forumurl}favorites.aspx?albumid={album.albumid}"><img src="templates/{templatepath}/album/images/album_fav.gif" alt="收藏" title="收藏" />收藏</a>
</p>
</div>
<%if {photolist.Count}>0%>
<div class="photo">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<%set (int) {photoindex} = 1%>
<%loop (PhotoInfo) photo photolist%>
<%if {photoindex}==1%>
<tr>
<%/if%>
<td>
<p><a href="{albumurl}showphoto.aspx?photoid={photo.photoid}"><img src="{photo.filename}" alt="{photo.title}" title="{photo.title}" /></a></p>
<p>
<script language="javascript" type="text/javascript">
ShowFormatBytesStr({photo.filesize});
</script>
</p>
<h5><a href="{albumurl}showphoto.aspx?photoid={photo.photoid}">{photo.title}</a></h5>
</td>
<%if {photoindex}==4%>
</tr>
<%set {photoindex}=1%>
<%else%>
<%set {photoindex}={photoindex}+1%>
<%/if%>
<%/loop%>
</table>
后面还有 23 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。
