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

📄 showdoc.jsp

📁 BBS-CS 天乙社区 是采用JSP+JavaBean+Servlet、Struts的MVC框架开发的一套网络虚拟社区系统。文件解压缩后有详细文件说明。
💻 JSP
📖 第 1 页 / 共 2 页
字号:
  }

  if (myUserSessionCheck.isSuperAdmin() || myUserSessionCheck.isBMaster() || myUserSessionCheck.isMainMaster() || myUserSessionCheck.isAssiMaster() || myUserSessionCheck.isHideMaster()) {
    out.print("[<a href='"+Sys.getURL()+"doPostAction.do?sid="+sid+"&action=setelite&recid="+ myForumInfo.getID() +"&mainid="+ myForumInfo.getID2() +"&bid="+ bid +"&pages="+ pages +"&UID="+ myForumInfo.getUserID() +"&inpages="+inpages+"' target=mainFrame>");%><bean:message key="showdoc.jrjh"/><%out.print("</a>] ");
  }
  if ((myUserSessionCheck.isSuperAdmin() || myUserSessionCheck.isBMaster() || myUserSessionCheck.isMainMaster() || myUserSessionCheck.isAssiMaster() || myUserSessionCheck.isHideMaster()) && myForumInfo.getHavePic() ==1) {
    out.print("[<a href='"+Sys.getURL()+"doPostAction.do?sid="+sid+"&action=delpic&recid="+ myForumInfo.getID() +"&mainid="+ myForumInfo.getID2()+"&bid="+ bid +"&pages="+ pages +"&inpages="+inpages+"' target=mainFrame>");%><bean:message key="showdoc.delpic"/><%out.print("</a>] ");
  }
  if (myUserSessionCheck.isSuperAdmin() || myUserSessionCheck.isBMaster() || myUserSessionCheck.isMainMaster() || myUserSessionCheck.isAssiMaster() || myUserSessionCheck.isHideMaster() || (myForumInfo.getUserName().equals(myUserSessionCheck.getUserName()) && myForumInfo.getCanNotRe() ==0)) {
    out.print("[<a href='doPostAction.do?sid="+sid+"&action=delapost&recid="+ myForumInfo.getID() +"&bid="+ bid +"&pages="+ pages +"' target=mainFrame>");%><bean:message key="bbscs.del"/><%out.print("</a>] ");
  }
  if (myUserSessionCheck.isSuperAdmin() || myUserSessionCheck.isBMaster() || myUserSessionCheck.isMainMaster() || myUserSessionCheck.isAssiMaster() || myUserSessionCheck.isHideMaster() || (myForumInfo.getUserName().equals(myUserSessionCheck.getUserName()) && myForumInfo.getCanNotRe() ==0)) {
    out.print("[<a href='"+Sys.getURL()+"changeAction.do?sid="+sid+"&bid="+ bid +"&recid="+ myForumInfo.getID() +"&mainid="+ myForumInfo.getID2() +"&pages="+ pages +"&inpages="+inpages+"' target=mainFrame>");%><bean:message key="bbscs.change"/><%out.print("</a>] ");
  }
  if (!myUserSessionCheck.isGuest()) {
    if (myUserSessionCheck.getiAttribs()[0] && (myUserSessionCheck.isSuperAdmin() || myUserSessionCheck.isBulletinManager())) {
      out.print("[<a href='"+Sys.getURL()+"postAction.do?sid="+sid+"&bid="+bid+"&action=re&recid="+myForumInfo.getID()+"&mainid="+myForumInfo.getID2()+"&pages="+pages+"&totalnum="+totalnum+"&useedit=no' target=mainFrame>");%><bean:message key="bbscs.re"/><%out.print("</a>] ");
    }
    else {
      if (myUserSessionCheck.getiAttribs()[5] && (myForumInfo.getIsLock() == 0 || myUserSessionCheck.isSuperAdmin() || myUserSessionCheck.isBulletinManager())) {
        out.print("[<a href='"+Sys.getURL()+"postAction.do?sid="+sid+"&bid="+bid+"&action=re&recid="+myForumInfo.getID()+"&mainid="+myForumInfo.getID2()+"&pages="+pages+"&totalnum="+totalnum+"&useedit=no' target=mainFrame>");%><bean:message key="bbscs.re"/><%out.print("</a>] ");
      }
    }
    out.print("[<a href='movePostAction.do?sid="+sid+"&bid="+bid+"&recid="+myForumInfo.getID()+"&mainid="+myForumInfo.getID2()+"&pages="+pages+"&action=show' target=mainFrame>");%><bean:message key="showdoc.zhuantie"/></a>] <%
  }
  if (!myUserSessionCheck.isGuest()) {
    out.print("[<a href='doPostAction.do?sid="+sid+"&action=mailsend&recid="+ myForumInfo.getID() +"&bid="+ bid +"&pages="+ pages +"' target=mainFrame>");%><bean:message key="showdoc.mailsend"/></a>]
<%
  }
%>
</span>
      </div></td>
  </tr>
</table>

<!-- <table width=615 border=0>
<tr>
<td  height=1></td>
</tr>
</table> -->
<!--NEW-------------------------------------------------------------------------->
<%
    myForumInfo = null;
  }

if (!myUserSessionCheck.isGuest() && lock == 0) {
  if ((myUserSessionCheck.getiAttribs()[0] && (myUserSessionCheck.isSuperAdmin() || myUserSessionCheck.isBulletinManager())) || myUserSessionCheck.getiAttribs()[5]) {
%>
<form name="form2" method="post" action="<%=Sys.getURL()%>postAction.do" enctype="multipart/form-data" onreset="return br()" target='mainFrame'>
<INPUT TYPE="hidden" name="bid" value="<%=bid%>">
<input TYPE="hidden" NAME="mainid" VALUE="<%=recid%>">
<input TYPE="hidden" NAME="recid" VALUE="<%=recid%>">
<input TYPE="hidden" NAME="pages" VALUE="<%=pages%>">
<input TYPE="hidden" NAME="totalnum" VALUE="<%=myPages.getTotals()%>">
<input TYPE="hidden" NAME="action" VALUE="repost">
<input TYPE="hidden" NAME="useedit" VALUE="no">
<INPUT name="sid" type=hidden value="<%=sid%>">
<input TYPE="hidden" NAME="n" VALUE="y">
  <table width="98%" border="0" align="center" cellpadding="1" cellspacing="1">
    <tr>
      <td class='T1' height="23" colspan="2" align="center"><span class='bt'><b><font color=#ffffff><bean:message key="showdoc.quickre"/></font></b></span></td>
    </tr>
    <tr>
      <td width="20%" class='T2'><bean:message key="post.topic"/></td>
      <td width="78%" class='T2'>
        <input type="text" name="title" size="50" maxlength="60" value="<%if (title != null) {out.print(title);}%>">
      </td>
    </tr>
    <tr>
      <td width="20%" class='T2'><bean:message key="post.face"/></td>
      <td width="78%" class='T2'>
<TABLE cellSpacing=2 cellPadding=2 border=0>
        <TBODY>
        <TR>
          <TD><INPUT type=radio CHECKED value=1 name=bq></TD>
          <TD><IMG src="images/1.gif"></TD>
          <TD><INPUT type=radio value=2 name=bq></TD>
          <TD><IMG src="images/2.gif"></TD>
          <TD><INPUT type=radio value=3 name=bq></TD>
          <TD><IMG src="images/3.gif"></TD>
          <TD><INPUT type=radio value=4 name=bq></TD>
          <TD><IMG src="images/4.gif">&nbsp;</TD>
          <TD><INPUT type=radio value=5 name=bq></TD>
          <TD><IMG src="images/5.gif"></TD>
          <TD><INPUT type=radio value=6 name=bq></TD>
          <TD><IMG src="images/6.gif"></TD>
          <TD><INPUT type=radio value=13 name=bq></TD>
          <TD><IMG src="images/13.gif"></TD>
          <TD><INPUT type=radio value=14 name=bq></TD>
          <TD><IMG src="images/14.gif"></TD>
          <TD><INPUT type=radio value=15 name=bq></TD>
          <TD><IMG src="images/15.gif"></TD>
          <TD><INPUT type=radio value=16 name=bq></TD>
          <TD><IMG src="images/16.gif"></TD></TR>
        <TR>
          <TD><INPUT type=radio value=7 name=bq></TD>
          <TD><IMG src="images/7.gif"></TD>
          <TD><INPUT type=radio value=8 name=bq></TD>
          <TD><IMG src="images/8.gif"></TD>
          <TD><INPUT type=radio value=9 name=bq></TD>
          <TD><IMG src="images/9.gif"></TD>
          <TD><INPUT type=radio value=10 name=bq></TD>
          <TD><IMG src="images/10.gif"></TD>
          <TD><INPUT type=radio value=11 name=bq></TD>
          <TD><IMG src="images/11.gif"></TD>
          <TD><INPUT type=radio value=12 name=bq></TD>
          <TD><IMG src="images/12.gif"></TD>
          <TD><INPUT type=radio value=17 name=bq></TD>
          <TD><IMG src="images/17.gif"></TD>
          <TD><INPUT type=radio value=18 name=bq></TD>
          <TD><IMG src="images/18.gif"></TD>
          <TD><INPUT type=radio value=19 name=bq></TD>
          <TD><IMG src="images/19.gif"></TD>
          <TD><INPUT type=radio value=20 name=bq></TD>
          <TD><IMG src="images/20.gif"></TD></TR>
	 </TBODY>
</TABLE>
      </td>
    </tr>
    <tr>
      <td width="20%" class='T2'><bean:message key="post.detail"/></td>
      <td width="78%" class='T2'>
      <textarea name="detail" cols="70" rows="7"></textarea>
      </td>
    </tr>
    <tr>
      <td width="20%" class='T2'><bean:message key="post.sign"/></td>
      <td width="78%" class='T2'>
      <%=myUserSessionCheck.getUser().getUserInfo().getHtmlSign()%>
      <input type="radio" name="sign" value="0" checked>
        <bean:message key="post.nosign"/></td>
    </tr>
    <tr>
      <td width="20%" class='T2'><bean:message key="post.renotice"/></td>
      <td width="78%" class='T2'>
        <input type="checkbox" name="email_inform" value="1">
        <bean:message key="post.emilre"/>
        <input type="checkbox" name="msg_inform" value="1">
        <bean:message key="post.msgre"/></td>
    </tr>
    <%
    if (Sys.SYSINFO.UPIMG.equals("yes")) {
    %>
    <tr>
      <td width="20%" class='T2'><bean:message key="post.upimg"/></td>
      <td width="78%" class='T2'>
      <INPUT TYPE="hidden" name="MAX_FILE_SIZE" value="102400">
      <INPUT name="form_data" type=file> <bean:message key="post.upnotice" arg0="<%=String.valueOf(Sys.SYSINFO.UPIMGSIZE)%>" />
      </td>
    </tr>
    <%
    }
    %>
    <tr>
      <td width="20%" class='T1' height="22">&nbsp;</td>
      <td width="78%" class='T1' height="22"><font class=p9 color=#ffffff><bean:message key="post.postnotice"/></font></td>
    </tr>
    <tr>
      <td colspan="2">
        <div align="center">
        <input type="button" name="ok" value="<bean:message key="bbscs.botton.submit"/>" onclick="bs();">
        <input type="reset" name="Submit2" value="<bean:message key="bbscs.botton.reset"/>">
        <input type="button" name="back" value="<bean:message key="bbscs.goback"/>" onclick="javascript:history.back()">
        </div>
      </td>
    </tr>
  </table>
</form>
<%
  }
}
%>
<hr width="98%" size="1" noshade>
<table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td width="65%" class="bt"></td>
    <td width="33%">
      <div align="right"><font color=#ff0000>
      <%
        if (!myUserSessionCheck.isGuest()) {
      %>
      [<a href="javascript:view('<%=Sys.getURL()%>subscibeAction.do?sid=<%=sid%>&bid=<%=bid%>&rid=<%=recid%>&action=add');" target="mainFrame"><font color=#ff0000><bean:message key="right.subscibe"/></font></a>]
      <%
        }
      %>
      <%=pagebreakstr%> [<a href="rightAction.do?sid=<%=sid%>&bid=<%=bid%>&pages=<%=pages%>" target="mainFrame"><font color="#ff0000"><bean:message key="bbscs.back"/></font></a>]</font></div>
    </td>
  </tr>
</table>
<%
long endtime = Util.getaLongTime();
%>
<CENTER><font color='#ff0000'><bean:message key="bbscs.pageruntime" arg0="<%=String.valueOf(endtime-starttime)%>"/></font></CENTER>
<%
theBoards = null;
myList = null;
myPages = null;
sid = null;
myUserSessionCheck = null;
headadv = null;
bid = null;
pages = null;
inpages = null;
recid = null;
pagebreakstr = null;
boardID = null;
boardsname = null;
eboardsname = null;
bsmaster = null;
boardgg = null;
%>
</BODY>
</html:html>

⌨️ 快捷键说明

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