📄 bbs.jsp
字号:
<%@ page language="java" pageEncoding="gbk"%>
<%@page import="java.net.InetAddress"%>
<%@include file="../islogin.jsp"%>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean"%>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html"%>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic"%>
<%@ taglib uri="http://struts.apache.org/tags-tiles" prefix="tiles"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html:html lang="true">
<head>
<html:base />
<title>BBS</title>
<style type="text/css">
<!--
body,td,th {
font-size: 12px;
}
body {
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
}
.STYLE1 {color: #FF00FF}
.STYLE2 {color: #00CC00}
.STYLE8 {
font-size: 36px;
font-weight: bold;
color: #FFFFFF;
}
.STYLE9 {color: #FFFFFF}
.STYLE11 {
font-size: 14px;
color: #FFFFFF;
font-weight: bold;
}
.STYLE12 {font-size: 24px}
.STYLE13 {color: #4d4dff}
.STYLE14 {color: #FF3300}
-->
</style>
</head>
<body>
<table width="960" height="61" border="0" align="center"
cellpadding="0" cellspacing="0" bgcolor="#D5DDF2" style="filter:progid:DXImageTransform.Microsoft.Shadow(Color=#333333,Direction=120,strength=5)">
<tr>
<td height="36" bgcolor="#8080ff">
<div align="right">
<span class="STYLE8"><span class="STYLE12">联合征信</span>BBS</span>
</div>
</td>
<td bgcolor="#8080ff">
</td>
</tr>
<tr>
<td height="10" colspan="2" bgcolor="#4d4dff">
</td>
</tr>
</table>
<table width="100" height="3" border="0" cellpadding="0"
cellspacing="0">
<tr>
<td height="3"></td>
</tr>
</table>
<table width="960" border="0" align="center" cellpadding="0"
cellspacing="1" bgcolor="#CCCCCC" style="padding-top:4px;">
<tr>
<td height="24" colspan="2" bgcolor="#FFFFFF">
<marquee direction=right>
<font color="blue">欢迎您访问论坛:${sessionScope.username } </font>
</marquee>
</td>
</tr>
</table>
<table width="100" height="3" border="0" cellpadding="0"
cellspacing="0">
<tr>
<td height="3">
</td>
</tr>
</table>
<table width="960" height="159" border="0" align="center"
cellpadding="0" cellspacing="2" bgcolor="#D5DDF2">
<tr>
<td width="217" height="26" valign="top" bgcolor="#FFFFFF"
style="padding-top:5px; padding-bottom:5px;">
<table width="200" border="0" align="center" cellpadding="0"
cellspacing="0" bgcolor="#FFFFFF">
<tr>
<td height="26">
<div align="center" style="border-bottom:#D5DDF2 1px solid;">
<span class="STYLE1">最新发表图片</span>
</div>
</td>
</tr>
<tr>
<td height="120">
</td>
</tr>
</table>
</td>
<td width="249" valign="top" bgcolor="#FFFFFF"
style="padding-top:5px; padding-bottom:5px;">
<table width="217" border="0" align="center" cellpadding="0"
cellspacing="0" bgcolor="#FFFFFF">
<tr>
<td width="217" height="26">
<div align="center" style="border-bottom:#D5DDF2 1px solid;">
<span class="STYLE2">最新发表主题</span>
</div>
</td>
</tr>
<logic:notEmpty name="newinfolist">
<logic:iterate id="newinfo" name="newinfolist">
<tr>
<td height="20"
style="padding-left:2px; padding-rignt:2px; padding-bottom:2px; padding-top:2px;">
<a href="<%=request.getContextPath() %>/lookTie.do?id=${newinfo.id }"><bean:write name="newinfo" property="theme" /></a>
</td>
</tr>
</logic:iterate>
</logic:notEmpty>
</table>
</td>
<td width="257" valign="top" bgcolor="#FFFFFF"
style="padding-top:5px; padding-bottom:5px;">
<table width="217" border="0" align="center" cellpadding="0"
cellspacing="0" bgcolor="#FFFFFF">
<tr>
<td width="217" height="26">
<div align="center" style="border-bottom:#D5DDF2 1px solid;">
<span class="STYLE13">最新回复主题</span>
</div>
</td>
</tr>
<logic:notEmpty name="lastrevertinfolist">
<logic:iterate id="last" name="lastrevertinfolist">
<tr>
<td height="20"
style="padding-left:2px; padding-rignt:2px; padding-bottom:2px; padding-top:2px;">
<a href="<%=request.getContextPath() %>/lookTie.do?id=${last.revertid }"><bean:write name="last" property="reverttheme" /></a>
</td>
</tr>
</logic:iterate>
</logic:notEmpty>
</table>
</td>
<td width="239" valign="top" bgcolor="#FFFFFF"
style="padding-top:5px; padding-bottom:5px;">
<table width="217" border="0" align="center" cellpadding="0"
cellspacing="0" bgcolor="#FFFFFF">
<tr>
<td width="217" height="26">
<div align="center" style="border-bottom:#D5DDF2 1px solid;">
<span class="STYLE14">最新积分排行</span>
</div>
</td>
</tr>
<logic:notEmpty name="toplist">
<logic:iterate id="top" name="toplist">
<tr>
<td height="20"
style="padding-left:2px; padding-rignt:2px; padding-bottom:2px; padding-top:2px;">
<bean:write name="top" property="username" />
:
<bean:write name="top" property="integrals" />
分
</td>
</tr>
</logic:iterate>
</logic:notEmpty>
</table>
</td>
</tr>
</table>
<table width="100" height="3" border="0" cellpadding="0"
cellspacing="0">
<tr>
<td>
</td>
</tr>
</table>
<c:forEach items="${modulelist}" var="module">
<table width="960" border="0" align="center" cellpadding="0"
cellspacing="1" bgcolor="#CCCCCC">
<tr>
<td width="960" height="26" bgcolor="#8080ff" class="STYLE11">
${module.modulename }
</td>
</tr>
<tr>
<td width="960" height="1" bgcolor="#4d4dff">
</td>
</tr>
<tr>
<td width="960" height="1"
style="padding-top:2px; padding-bottom:2px;" bgcolor="#FFFFFF">
<table width="100%" border="0" align="center" cellpadding="0"
cellspacing="0">
<tr>
<td width="527" height="24" bgcolor="#D5DDF2">
<div align="center">
论坛版块
</div>
</td>
<td width="329" bgcolor="#D5DDF2">
<div align="center">
最后发表
</div>
</td>
</tr>
<c:forEach items="${submodulelist}" var="submodule">
<c:if test="${submodule.modulelist.id==module.id}">
<tr>
<td height="21" bgcolor="#FFFFFF"
style="border-left:#D5DDF2 1px solid;">
<a href="<%=request.getContextPath()%>/info.do?id=${submodule.id }">『${submodule.submodulename
}』</a>
</td>
<td rowspan="2" bgcolor="#FFFFFF"
style="border-bottom:#D5DDF2 1px solid; border-left:#D5DDF2 1px solid;">
<table width="313" border="0">
<c:forEach items="${lastTie}" var="last">
<c:if test="${last.submodulelistid==submodule.id}">
<tr>
<td width="307">
主 题:${last.theme }
</td>
</tr>
<tr>
<td>
发贴人: ${last.issuename }
</td>
</tr>
<tr>
<td>
日 期: ${last.infodate }
</td>
</tr>
</c:if>
</c:forEach>
</table>
</td>
</tr>
<tr>
<td height="20" bgcolor="#FFFFFF"
style="padding-bottom:2px; padding-left:3px; padding-right:2px; padding-top:4px; border-bottom:#D5DDF2 1px solid; border-left:#D5DDF2 1px solid;">
${submodule.submoduleexplain }
</td>
</tr>
</c:if>
</c:forEach>
</table>
</td>
</tr>
</table>
</c:forEach>
<table width="100" height="3" border="0" cellpadding="0"
cellspacing="0">
<tr>
<td>
</td>
</tr>
</table>
<table width="960" border="0" align="center" cellpadding="0"
cellspacing="1">
<tr>
<td width="961" height="15" bgcolor="#8080ff">
<span class="STYLE9"> ≡ 今天过生日的用户(共 人)≡</span>
</td>
</tr>
<tr>
<td height="1" bgcolor="#4d4dff">
</td>
</tr>
<tr>
<logic:notEmpty name="birthdaylist">
<logic:iterate id="birthdayname" name="birthdaylist">
<td height="22" bgcolor="#F0F0FF">
<bean:write name="birthdayname" property="realname" />
</td>
</logic:iterate>
</logic:notEmpty>
</tr>
</table>
<table width="100" height="3" border="0" cellpadding="0"
cellspacing="0">
<tr>
<td></td>
</tr>
</table>
<table width="960" height="44" border="0" align="center"
cellpadding="0" cellspacing="0" bgcolor="#F0F0FF">
<tr>
<td height="15" colspan="4" bgcolor="#8080ff">
<span class="STYLE9"> 论坛在线情况 </span>
</td>
</tr>
<tr>
<td height="1" colspan="4" bgcolor="#4d4dff">
</td>
</tr>
<tr>
<td width="338" height="28">
<div align="center">
建站时间:2007-08-28
</div>
</td>
<td width="217">
<div align="center">
<%
InetAddress myIp = InetAddress.getLocalHost();
%>
您的IP是:
<%=myIp.getHostAddress()%>
</div>
</td>
<td width="218">
</td>
</tr>
</table>
<table width="960" border="0" align="center" cellpadding="0"
cellspacing="1">
<logic:notEmpty name="allintegrallist">
<c:if test="${size<=15}">
<tr>
<logic:iterate id="allintegral" name="allintegrallist">
<td width="30" height="22">
<bean:write name="allintegral" property="username" />
:
<bean:write name="allintegral" property="integrals" />
</td>
</logic:iterate>
</tr>
</c:if>
<c:if test="${size>15||size<=30}">
<tr>
<c:forEach var="allintegral" items="${allintegrallist}" begin="0"
end="14">
<td width="30" height="22">
${allintegral.username}:${allintegral.integrals}
</td>
</c:forEach>
</tr>
<tr>
<c:forEach var="allintegral" items="${allintegrallist}" begin="15"
end="${size+1}">
<td width="30" height="22">
${allintegral.username}:${allintegral.integrals}
</td>
</c:forEach>
</tr>
</c:if>
</logic:notEmpty>
</table>
</body>
</html:html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -