⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 albumdirectoryedit.jsp

📁 LyBBS基于Struts1.3/Ajax的架构
💻 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: 160px
}
</style>
<script language="JavaScript">
function checkDirType(dirtype) {
  if(dirtype=='') {
    for(var i=0,m=3;i<m;i++) {
      if(document.myform.dirType[i].checked) {
        dirtype=document.myform.dirType[i].value;
        break;
      }
    }
  }
  if(dirtype=='1') {
    //password
    dirpassword.style.display="inline";
  }
  else {
    //private or public
    dirpassword.style.display="none";
  }
}
</script>
</head>
<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>
         </td>
        </tr>
       </table>
     </td>
    </tr>
    <tr>
     <td bgcolor="#F5F5FA">
       <table width=90% cellpadding=0 cellspacing=0 border=0 align=center>
        <form name="myform" action="blog_albumDirectory.do" method="post">
        <input type=hidden name="action" value="<logic:present name="albumDir" scope="request">edit</logic:present><logic:notPresent name="albumDir" scope="request">create</logic:notPresent>">
        <input type=hidden name="checkAction" value="yes">
        <input type=hidden name="albumDirID" value="<logic:present name="albumDir" scope="request"><bean:write name="albumDir" property="albumDirID"/></logic:present>">
        <tr>
         <td width=20%>目录名称</td>
         <td>
           <input type=text name="dirName" value="<logic:present name="albumDir" scope="request"><bean:write name="albumDir" property="dirName"/></logic:present>" size=40 maxlength=14>
         </td>
        </tr>
        <tr>
         <td valign=top>目录描述</td>
         <td>
           <textarea name="dirDescription" rows=6 cols=60><logic:present name="albumDir" scope="request"><bean:write name="albumDir" property="dirDescription"/></logic:present></textarea>
         </td>
        </tr>
        <tr>
         <td valign=top>目录属性</td>
         <td>
           <input type=radio name="dirType" value="0" onclick="checkDirType('0')">完全私有<br>
           <input type=radio name="dirType" value="1" onclick="checkDirType('1')">需要密码验证<span id="dirpassword" style="display:none;">&nbsp;&nbsp;&nbsp;&nbsp;密码:<input type=text name="dirPass" value="<logic:present name="albumDir" scope="request"><bean:write name="albumDir" property="dirPass"/></logic:present>" size=10 maxlength=10></span><br>
           <input type=radio name="dirType" value="2" onclick="checkDirType('2')">完全公开<br>
         </td>
        </tr>
        <tr>
         <td colspan=2 align=center>
           <input type=submit name=submit value="<bean:message key="common.lybbs.submit"/>">
         </td>
        </tr>
        <script language=JavaScript>setCurrentRadio(document.myform.dirType,"<logic:present name="albumDir" scope="request"><bean:write name="albumDir" property="dirType"/></logic:present><logic:notPresent name="albumDir" scope="request">2</logic:notPresent>");checkDirType('');</script>
        </form>
       </table>
     </td>
    </tr>
</table>
<lybbs:web key="foot"/>
</body>
</html:html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -