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

📄 allianceforum.jsp

📁 这是一个用JSP开发的论坛源 码。。。 按照上在的README可轻松的捅有下JSP论坛
💻 JSP
字号:
<table cellpadding=0 cellspacing=0 width=<%=tablewidth%> bgcolor=<%=tablebordercolor%> align=center>
 <tr>
  <td>
   <table cellpadding=6 cellspacing=1 width=100%>
    <tr>
     <td bgcolor=<%=titlecolor%> colspan=2>
      <font color=<%=titlefontcolor%>><b>-=> 联盟论坛 (共有 <%=forumAllianceNumber%> 个联盟论坛)</b></font>  [<a href="javascript:openScript('lycode.jsp',480,240)"><font color=<%=fontcolormisc%>>论坛联盟代码</font></a>]
     </td>
    </tr>
<%
ArrayList forumAllianceList=ForumAllianceFactory.getForumAllianceFactory();
int i=0;
while(i<forumAllianceList.size()) {
   forumAlliance=(ForumAlliance)forumAllianceList.get(i);
   String forumAllianceName=forumAlliance.getForumAllianceName(),
          forumAllianceUrl=forumAlliance.getForumAllianceUrl(),
          forumAllianceLogo=forumAlliance.getForumAllianceLogo(),
          forumAllianceDescription=forumAlliance.getForumAllianceDescription();
   i++;
   if(i%6==1) {
%>
    <tr>
     <td bgcolor=<%=forumcolorone%> width=26 align=center>
      <img src=images/<%=lm_Pic%> width=16 height=16>
     </td>
     <td bgcolor=<%=forumcolortwo%>>
      <table width=100% cellpadding=0 cellspacing=0>
       <tr>
        <td width=500>
         <table><tr height=1></tr></table><BR>
<%
  }
  else {
    out.print("&nbsp;");
  }
  if(!forumAllianceLogo.equals("")) {
    out.print("<a href='"+forumAllianceUrl+"' target=_blank>");
    out.print("<img src='"+forumAllianceLogo+"' border=0 title='"+forumAllianceName+"\n"+forumAllianceDescription+"' width=88 height=31>");
    out.println("</a>");
  }
  else
    out.print("<a href='"+forumAllianceUrl+"' title='"+forumAllianceDescription+"' target=_blank>"+forumAllianceName+"</a>");
  if(i%6==0) {
%>
        </td>
       </tr>
      </table>
     </td>
    </tr>
<%
  }
}
if(i%6!=0 && i==forumAllianceNumber) {
%>
        </td>
       </tr>
      </table>
     </td>
    </tr>
<%
}
%>
   </table>
  </td>
 </tr>
</table>

⌨️ 快捷键说明

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