📄 _addtopictodb__jsp.java
字号:
out.println(SkinUtil.waitJump(request, "<a href='showtopic.jsp?rootid="+id+"'>" + SkinUtil.LoadString(request, "res.label.forum.addtopic", "jump_to_topic") + "</a>",3,privurl));
out.println("<ol><a href='"+privurl+"'>" + SkinUtil.LoadString(request, "info_back") + "</a></ol>");
MsgDb md = Topic.getMsgDb(Topic.getId());
if (md.getCheckStatus()==MsgDb.CHECK_STATUS_NOT) {
out.println("<ol>" + SkinUtil.LoadString(request, "res.label.forum.addtopic", "need_check") + "</ol>");
}
}
out.write(_jsp_string1, 0, _jsp_string1.length);
if (addFlag.equals("")) {
out.write(_jsp_string29, 0, _jsp_string29.length);
String fCode = com.redmoon.forum.UserSession.getBoardCode(request);
out.write(_jsp_string30, 0, _jsp_string30.length);
if (_jsp_AdTag_1 == null) {
_jsp_AdTag_1 = new com.redmoon.forum.ad.AdTag();
_jsp_AdTag_1.setPageContext(pageContext);
_jsp_AdTag_1.setParent((javax.servlet.jsp.tagext.Tag) null);
}
_jsp_AdTag_1.setType(AdDb.TYPE_FOOTER);
_jsp_AdTag_1.setBoardCode(fCode);
_jsp_AdTag_1.doEndTag();
out.write(_jsp_string31, 0, _jsp_string31.length);
out.print((Global.getVersion()));
out.write(_jsp_string32, 0, _jsp_string32.length);
out.print((Global.isGZIPEnabled?"Gzip enabled":""));
out.write(_jsp_string33, 0, _jsp_string33.length);
out.print((request.getContextPath()));
out.write(_jsp_string34, 0, _jsp_string34.length);
out.print((Global.contact));
out.write(_jsp_string35, 0, _jsp_string35.length);
out.print((Global.email));
out.write(_jsp_string36, 0, _jsp_string36.length);
out.print((Global.email));
out.write(_jsp_string37, 0, _jsp_string37.length);
out.print((Global.icp));
out.write(_jsp_string38, 0, _jsp_string38.length);
out.print((Global.getRootPath()));
out.write(_jsp_string39, 0, _jsp_string39.length);
out.print((Global.getRootPath()));
out.write(_jsp_string40, 0, _jsp_string40.length);
boolean isFooMusic = false;
com.redmoon.forum.Config foocfg = com.redmoon.forum.Config.getInstance();
if (foocfg.getBooleanProperty("forum.isBkMusic")) {
// \u5224\u522b\u7528\u6237\u7b49\u7ea7
int fooMusicLevel = foocfg.getIntProperty("forum.bkMusicUserLevel");
if (fooMusicLevel>0) {
com.redmoon.forum.Privilege fpvg = new com.redmoon.forum.Privilege();
if (fpvg.isUserLogin(request)) {
UserDb fooUser = new UserDb();
fooUser = fooUser.getUser(fpvg.getUser(request));
if (fooUser.getUserLevelDb().getLevel()>=fooMusicLevel) {
isFooMusic = true; ;
}
}
}
else
isFooMusic = true;
}
if (isFooMusic) {
out.write(_jsp_string2, 0, _jsp_string2.length);
String exobudRootRath = request.getContextPath();
out.write(_jsp_string41, 0, _jsp_string41.length);
out.print((exobudRootRath));
out.write(_jsp_string42, 0, _jsp_string42.length);
out.print((exobudRootRath));
out.write(_jsp_string43, 0, _jsp_string43.length);
out.print((exobudRootRath));
out.write(_jsp_string44, 0, _jsp_string44.length);
out.print((exobudRootRath));
out.write(_jsp_string45, 0, _jsp_string45.length);
out.print((exobudRootRath));
out.write(_jsp_string46, 0, _jsp_string46.length);
out.print((exobudRootRath));
out.write(_jsp_string47, 0, _jsp_string47.length);
out.print((exobudRootRath));
out.write(_jsp_string48, 0, _jsp_string48.length);
out.print((exobudRootRath));
out.write(_jsp_string49, 0, _jsp_string49.length);
out.print((exobudRootRath));
out.write(_jsp_string50, 0, _jsp_string50.length);
out.print((exobudRootRath));
out.write(_jsp_string51, 0, _jsp_string51.length);
out.print((exobudRootRath));
out.write(_jsp_string52, 0, _jsp_string52.length);
out.print((exobudRootRath));
out.write(_jsp_string53, 0, _jsp_string53.length);
out.print((exobudRootRath));
out.write(_jsp_string54, 0, _jsp_string54.length);
out.print((exobudRootRath));
out.write(_jsp_string55, 0, _jsp_string55.length);
out.print((exobudRootRath));
out.write(_jsp_string56, 0, _jsp_string56.length);
out.print((exobudRootRath));
out.write(_jsp_string57, 0, _jsp_string57.length);
out.print((exobudRootRath));
out.write(_jsp_string58, 0, _jsp_string58.length);
out.print((exobudRootRath));
out.write(_jsp_string59, 0, _jsp_string59.length);
out.print((exobudRootRath));
out.write(_jsp_string60, 0, _jsp_string60.length);
out.print((exobudRootRath));
out.write(_jsp_string61, 0, _jsp_string61.length);
out.print((exobudRootRath));
out.write(_jsp_string62, 0, _jsp_string62.length);
out.print((exobudRootRath));
out.write(_jsp_string63, 0, _jsp_string63.length);
out.print((exobudRootRath));
out.write(_jsp_string64, 0, _jsp_string64.length);
MusicFileDb fmfd = new MusicFileDb();
String fsql = "select id from " + fmfd.getTableName() + " order by upload_date desc";
long count = fmfd.getObjectCount(fsql);
com.cloudwebsoft.framework.base.ObjectBlockIterator fobi = fmfd.getObjects(fsql, 0, (int)count);
while (fobi.hasNext()) {
fmfd = (MusicFileDb)fobi.next();
out.write(_jsp_string65, 0, _jsp_string65.length);
out.print((fmfd.getMusicUrl(request)));
out.write(_jsp_string66, 0, _jsp_string66.length);
out.print((cn.js.fan.util.StrUtil.toHtml(fmfd.getName())));
out.write(_jsp_string67, 0, _jsp_string67.length);
}
out.write(_jsp_string68, 0, _jsp_string68.length);
}
out.write(_jsp_string2, 0, _jsp_string2.length);
}
out.write(_jsp_string69, 0, _jsp_string69.length);
} catch (java.lang.Throwable _jsp_e) {
pageContext.handlePageException(_jsp_e);
} finally {
if (_jsp_LabelTag_0 != null)
_jsp_LabelTag_0.release();
if (_jsp_AdTag_1 != null)
_jsp_AdTag_1.release();
if (_jsp_LabelTag_2 != null)
_jsp_LabelTag_2.release();
com.caucho.jsp.QJspFactory.freePageContext(pageContext);
}
}
private java.util.ArrayList _caucho_depends = new java.util.ArrayList();
public java.util.ArrayList _caucho_getDependList()
{
return _caucho_depends;
}
public void _caucho_addDepend(com.caucho.vfs.PersistentDependency depend)
{
super._caucho_addDepend(depend);
com.caucho.jsp.JavaPage.addDepend(_caucho_depends, depend);
}
public boolean _caucho_isModified()
{
if (_caucho_isDead)
return true;
if (com.caucho.server.util.CauchoSystem.getVersionId() != 5022137076587403036L)
return true;
for (int i = _caucho_depends.size() - 1; i >= 0; i--) {
com.caucho.vfs.Dependency depend;
depend = (com.caucho.vfs.Dependency) _caucho_depends.get(i);
if (depend.isModified())
return true;
}
return false;
}
public long _caucho_lastModified()
{
return 0;
}
public java.util.HashMap<String,java.lang.reflect.Method> _caucho_getFunctionMap()
{
return _jsp_functionMap;
}
public void init(ServletConfig config)
throws ServletException
{
super.init(config);
com.caucho.server.webapp.WebApp webApp
= (com.caucho.server.webapp.WebApp) config.getServletContext();
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -