📄 readwaste.jsp
字号:
<%@ page contentType="text/html; charset=UTF-8" %>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<%@ page import="com.laoer.bbscs.sysinfo.*"%>
<%@ page import="com.laoer.bbscs.bbs.business.*"%>
<%@ page import="com.laoer.bbscs.servlet.*"%>
<%@ page import="com.laoer.bbscs.db.*"%>
<%@ page import="com.laoer.bbscs.util.*"%>
<%@ page import="java.util.*"%>
<%
String sid = (String)request.getAttribute("sid");
UserSessionCheck myUserSessionCheck = (UserSessionCheck)request.getAttribute("myUserSessionCheck");
String headadv = (String)request.getAttribute("headadv");
String bid = (String)request.getAttribute("bid");
String pages = (String)request.getAttribute("pages");
String recid = (String)request.getAttribute("recid");
BoardsInfo theBoards = (BoardsInfo)request.getAttribute("theBoards");
List myList = (List)request.getAttribute("plistlist");
int plen = myList.size();
String boardID = "";
String boardsname = "";
String eboardsname = "";
String bsmaster = "";
String boardgg = "";
boardID = bid;
boardsname = theBoards.getBoardsName();
eboardsname = theBoards.getBoardsEName();
boardgg = theBoards.getBulletin();
bsmaster = theBoards.getHTMLMaster(sid);
%>
<html:html locale="true">
<HEAD><TITLE><bean:message key="showdoc.title"/></TITLE>
<link rel=stylesheet type="text/css" href="css/<%=myUserSessionCheck.getUser().getUserInfo().getStyle()%>/css2.css">
<%//=Sys.getCSS(myUserSessionCheck.getUser().getUserInfo().getStyle(),2)%>
</HEAD>
<BODY leftMargin=5 topMargin=0 MARGINHEIGHT="0" MARGINWIDTH="5">
<%//=headadv%>
<%
%>
<table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="73%"><bean:message key="showdoc.boards"/><font color=#ff0000><%=boardsname%>(<%=eboardsname%>)</font></td>
<td width="25%">
<div align="right"><font color=#ff0000>
[<a href="manageAction.do?sid=<%=sid%>&bid=<%=bid%>&action=w&pages=<%=pages%>" target="mainFrame"><font color=#ff0000><bean:message key="bbscs.back"/></font></a>]</font></div>
</td>
</tr>
</table>
<hr noshade width="98%" size="1">
<%
ForumInfo myForumInfo = null;
for (int i = 0;i < plen;i++) {
myForumInfo = (ForumInfo)myList.get(i);
%>
<table width=98% border=0 align=center cellpadding=0 cellspacing=0>
<td class='T1' height=23> <font color="#FFFFFF"><span class='bt'><bean:message key="showdoc.topic"/><%=Util.stripslashes(myForumInfo.getTitle())%></span></font></td></tr>
<tr>
<td height=84 class='T2'>
<table width=98% border=0 align=center>
<tr>
<td width=73%><img src='images/<%=myForumInfo.getFace()%>.gif' align='absmiddle'>
<%
if (myForumInfo.getCanNotDel() ==1) out.print("<font color=#8f0000> M</font>");
%>
<bean:message key="showdoc.author"/><%=myForumInfo.getUserName()%>(<%=myForumInfo.getNickName()%>) <%=Util.fotmatDate3(new Date(myForumInfo.getPostTime()))%></td>
<td width=25%>
<div align=right>
<a href='<%=Sys.getURL()%>userInfoAction.do?sid=<%=sid%>&showtype=userID&uid=<%=myForumInfo.getUserID()%>' target=mainFrame><img alt='<bean:message key="showdoc.userinfo"/>' border=0 height=16 src=images/per_info.gif width=16></a>
<a href='<%=Sys.getURL()%>noteAction.do?sid=<%=sid%>&action=show&fname=<%=myForumInfo.getUserName()%>'target=new><img alt='<bean:message key="showdoc.sendmsg"/>' border=0 height=16 src=images/sendmsg.gif width=16></a>
<img alt='<bean:message key="showdoc.userip"/><%=myForumInfo.getIPAddress()%>' border=0 height=16 src=images/ip.gif width=16></div>
</td>
</tr>
<tr>
<td colspan=2>
<div align=right>
</div>
</td>
</tr>
<tr bgcolor=#FFFFFF>
<td colspan=2 height=13>
<table width=98% border=0 align=center cellpadding=2 cellspacing=3>
<tr>
<td>
<span class='bt'>
<p style="line-height: 16pt">
<%
if (myForumInfo.getHavePic()==1) {
out.print("<img src='"+Util.getImgSrcPath(bid,myForumInfo.getPostTime(),myForumInfo.getPicName())+"'><br><br>");
}
out.print(myForumInfo.getDetailText());
%>
</p>
<br>
<%
String sign = myForumInfo.getSign();
if (sign!=null && sign.length()>0) {
out.print("<br><br>------<br>"+Util.addBr(sign));
}
%>
</span>
<%
if (myForumInfo.getAmend() != null && myForumInfo.getAmend().length() > 0) {
out.print("<br>------<br><font color=#0099CC>"+myForumInfo.getAmend()+"</font>");
}
%>
<br><font color="#0099CC"><bean:message key="readwaste.delinfo" arg0="<%=myForumInfo.getDelUserName()%>" arg1="<%=Util.fotmatDate3(new Date(myForumInfo.getDelTime()))%>" arg2="<%=myForumInfo.getDelIP()%>"/></font>
</td>
</tr>
<tr>
<td>
<%
if (myUserSessionCheck.isSuperAdmin() || myUserSessionCheck.isBMaster() || myUserSessionCheck.isMainMaster()) {
%>
<hr size=1>
<div align=right>
<a href='doPostAction.do?sid=<%=sid%>&action=undel&recid=<%=myForumInfo.getID()%>&bid=<%=bid%>&pages=<%=pages%>'><bean:message key="bbscs.reload"/></a>
</div>
<%}%>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td colspan=2>
<div align=center><b><font face=Tahoma size=1 color=#FF0000><%=Sys.WEBSITE[1]%></font></b></div>
</td>
</tr>
</table>
</td>
</tr>
</table>
<table width=615 border=0>
<tr>
<td height=2></td>
</tr>
</table>
<%
}
%>
<hr width="98%" size="1" noshade>
<table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="73%" class="bt"></td>
<td width="25%">
<div align="right"><font color=#ff0000>
[<a href="manageAction.do?sid=<%=sid%>&bid=<%=bid%>&action=w&pages=<%=pages%>" target="mainFrame"><font color="#ff0000"><bean:message key="bbscs.back"/></font></a>]</font></div>
</td>
</tr>
</table>
</BODY>
</html:html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -