📄 albumhomepage.jsp
字号:
<%@ page contentType="text/html; charset=GBK" %>
<%@ include file="../../lybbs/jsp/common/include/taglibs.jsp" %>
<html:html>
<head>
<title><lybbs:blog key="blogName"/>--相册首页</title>
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon">
<link rel="bookmark" href="favicon.ico" type="image/x-icon">
<%@ include file="../../lybbs/jsp/common/include/header.jsp" %>
<style type="text/css">
.titletd {
FONT-WEIGHT: bold; FONT-SIZE: 16px; COLOR: #282828
}
.titletable {
BORDER-RIGHT: #333333 1px dashed; BORDER-TOP: #333333 1px dashed; FILTER: Alpha(Opacity=65); BORDER-LEFT: #333333 1px dashed; BORDER-BOTTOM: #333333 1px dashed; BACKGROUND-COLOR: #ffffff
}
.holderbox {
BORDER-RIGHT: #f0f0f0 3px solid; PADDING-RIGHT: 0px; BORDER-TOP: #f0f0f0 3px solid; PADDING-LEFT: 30px; FONT-SIZE: 12px; FLOAT: left; PADDING-BOTTOM: 10px; OVERFLOW: hidden; BORDER-LEFT: #f0f0f0 3px solid; WIDTH: 175px; PADDING-TOP: 10px; BORDER-BOTTOM: #f0f0f0 3px solid; HEIGHT: 195px
}
</style>
<SCRIPT language="JavaScript">
function doDeleteDirectory(id){
if(confirm('确定要删除此文件夹吗?')) {
document.myform.action="blog_albumDirectory.do?action=delete&albumDirID="+id;
document.myform.submit();
}
}
</SCRIPT>
</head>
<bean:define id="currentUserID" name="userBean" property="authorID" scope="session"/>
<bean:define id="currentUserName" name="userBean" property="userName" scope="session"/>
<body topmargin=0 leftmargin=0>
<TABLE class=tableCommonStyle cellSpacing=1 cellPadding=3 border=0 align=center>
<TR>
<TD class=noBgStyle id=blogTitleBg background="lyblog/images/title_bg.jpg">
<TABLE width=100% cellSpacing=0 cellPadding=0 border=0>
<TBODY>
<TR>
<TD height=94>
</TD>
</TR>
</TBODY>
</TABLE>
</TD>
</TR>
<tr>
<td class=menuStyle height=22>
<table width=100% cellpadding=0 cellspacing=0 border=0>
<tr>
<td align=left>
<lybbs:typeUserHeaderTag forumID="0"/>
</td>
<td align=right>
<lybbs:web key="returnHomeLink"/>
</td>
</tr>
</table>
</td>
</tr>
</table>
<br>
<table class=tableCommonStyle cellpadding=3 cellspacing=1 border=0 align=center >
<tr>
<td bgcolor="#FFFFFF">
<table width=100% cellpadding=0 cellspacing=0 border=0>
<tr>
<td valign=top width=70><img src="lyblog/images/face.gif" border="0"></td>
<td valign=top>
<h3><bean:write name="userName" scope="request"/>的相册</h3>
<a href="bbs_index.do">论坛</a> | <a href="blog_index.do">博客</a><logic:equal name="userName" value="<%=currentUserName.toString()%>" scope="request"> | <a href="blog_albumDirectory.do?action=create">创建目录</a></logic:equal>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td bgcolor="#F5F5FA">
<%boolean flag;%>
<logic:iterate id="element" name="albumDirList" scope="request">
<%flag=true;%>
<logic:equal name="element" property="dirType" value="0">
<logic:notEqual name="element" property="userID" value="<%=currentUserID.toString()%>">
<%flag=false;%>
</logic:notEqual>
</logic:equal>
<%if(flag) {%>
<div class=holderbox>
<span style="FONT-WEIGHT: bold; FONT-SIZE: 16px;"><bean:write name="element" property="dirName"/></span><br>
<a href="blog_album.do?dirID=<bean:write name="element" property="albumDirID"/>"><img src="<bean:write name="element" property="dirImg"/>" title="<bean:write name="element" property="dirDescription"/>" border=0></a><br>
[<bean:write name="element" property="dirCount"/> 张]<br>
<logic:equal name="userName" value="<%=currentUserName.toString()%>" scope="request">
<a href="blog_albumDirectory.do?action=edit&albumDirID=<bean:write name="element" property="albumDirID"/>"><img src="lyblog/images/icon_modify.gif" border=0></a> <a href="javascript:doDeleteDirectory(<bean:write name="element" property="albumDirID"/>);"><img src="lyblog/images/icon_del.gif" border=0></a>
</logic:equal>
<logic:notEqual name="userName" value="<%=currentUserName.toString()%>" scope="request">
<logic:equal name="userBean" property="userMode" value="7" scope="session">
<a href="blog_albumDirectory.do?action=edit&albumDirID=<bean:write name="element" property="albumDirID"/>"><img src="lyblog/images/icon_modify.gif" border=0></a> <a href="javascript:doDeleteDirectory(<bean:write name="element" property="albumDirID"/>);"><img src="lyblog/images/icon_del.gif" border=0></a>
</logic:equal>
</logic:notEqual>
</div>
<%}%>
</logic:iterate>
</td>
</tr>
</table>
<lybbs:web key="foot"/>
<div style="display:none">
<form name="myform" method="post">
<input type=hidden name="sessionToken" value="<%=StringUtils.getSessionToken(request)%>">
</form>
</div>
</body>
</html:html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -