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

📄 allianceforum.jsp

📁 BBS系统
💻 JSP
字号:
<%
/*##################################################################**
**#  LyBBS ver 1.2.b2 (1.2.beta-2版) / 凌云论坛 ver 1.2.b2         #**
**#                                                                #**
**#  版权所有: 凌云工作室 (原流星电脑工作室)                       #**
**#                                                                #**
**#  制作人  : 星语凌 『teddy (Yongshan Ye)』                      #**
**#                                                                #**
**#  主页地址: http://www.unix-now.com/lybbs   凌云论坛主页        #**
**#            http://www.ierp.info/lybbs      凌云论坛镜像站      #**
**#            http://horseye@sina.com/        凌云论坛支持信箱    #**
**#                                                                #**
**##################################################################*/
%>
<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>-=> 联盟论坛 (共有 <%=number%> 个联盟论坛)</b></font>  [<a href=index.jsp?action=union><font color=<%=fontcolormisc%>>关闭联盟列表</font></a>]  [<a href="javascript:openScript('lycode.jsp',480,240)"><font color=<%=fontcolormisc%>>论坛联盟代码</font></a>]
     </td>
    </tr>
<%
int alliancei=0;
rs=connect.executeQuery("select forumname,forumurl,weblogo,forumdescription from allianceforum order by id");
while(rs.next()) {
  allianceforumname=rs.getString(1);
  allianceforumurl=rs.getString(2);
  allianceforumweblogo=rs.getString(3);
  if(allianceforumweblogo.equals("http://"))
    allianceforumweblogo="";
  allianceforumdescription=rs.getString(4);
  alliancei++;
  if(alliancei%2==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=100%>
         <img src="" width=500 height=1><BR>
<%
  }
  else {
    out.print("&nbsp;");
  }
  if(!allianceforumweblogo.equals("")) {
    out.print("<a href='"+allianceforumurl+"' target=_blank>");
    out.print("<img src='"+allianceforumweblogo+"' border=0 title='"+allianceforumname+"\n"+allianceforumdescription+"' width=88 height=31>");
    out.println("</a>");
  }
  else
    out.print("<a href='"+allianceforumurl+"' title='"+allianceforumdescription+"' target=_blank>"+allianceforumname+"</a>");
  if(alliancei%2==0) {
%>
        </td>
       </tr>
      </table>
     </td>
    </tr>
<%
  }
}
if(alliancei%2==1) {
%>
        </td>
       </tr>
      </table>
     </td>
    </tr>
<%
}
%>
   </table>
  </td>
 </tr>
</table>

⌨️ 快捷键说明

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