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

📄 sendtopic_jsp.java

📁 功能描述 1) 后台:管理员负责对整个论坛进行管理
💻 JAVA
📖 第 1 页 / 共 5 页
字号:
      out.write("<script type=text/javascript>var IMGDIR = './images/Picnicker';var attackevasive = '0';var gid = 0;var fid = parseInt('21');var tid = parseInt('0');</SCRIPT>\r\n");
      out.write("\r\n");
      out.write("<script\r\n");
      out.write("src=\"image/common.js\"\r\n");
      out.write("type=text/javascript></SCRIPT>\r\n");
      out.write("\r\n");
      out.write("<script\r\n");
      out.write("src=\"image/menu.js\"\r\n");
      out.write("type=text/javascript></SCRIPT>\r\n");
      out.write("\r\n");
      out.write("<script type=\"text/javascript\">\r\n");
      out.write("var postminchars = parseInt('10');\r\n");
      out.write("var postmaxchars = parseInt('10000');\r\n");
      out.write("var disablepostctrl = parseInt('0');\r\n");
      out.write("var typerequired = parseInt('');\r\n");
      out.write("var bbinsert = parseInt('1');\r\n");
      out.write("var seccodecheck = parseInt('');\r\n");
      out.write("var secqaacheck = parseInt('');\r\n");
      out.write("var special = parseInt('0');\r\n");
      out.write("var isfirstpost = 1;\r\n");
      out.write("var allowposttrade = parseInt('1');\r\n");
      out.write("var allowpostreward = parseInt('');\r\n");
      out.write("var allowpostactivity = parseInt('');\r\n");
      out.write("lang['board_allowed'] = '系统限制';\r\n");
      out.write("lang['lento'] = '到';\r\n");
      out.write("lang['bytes'] = '字节';\r\n");
      out.write("lang['post_curlength'] = '当前长度';\r\n");
      out.write("lang['post_subject_and_message_isnull'] = '请完成标题或内容栏。';\r\n");
      out.write("lang['post_subject_toolong'] = '您的标题超过 80 个字符的限制。';\r\n");
      out.write("lang['post_message_length_invalid'] = '您的帖子长度不符合要求。';\r\n");
      out.write("lang['post_type_isnull'] = '请选择主题对应的分类。';\r\n");
      out.write("lang['post_reward_credits_null'] = '对不起,您输入悬赏积分。';\r\n");
      out.write("</SCRIPT>\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("</head>\r\n");
      out.write("<body bgcolor=\"#9999cc\">\r\n");
      out.write("<form method=\"post\" action=\"addtopic\" name=\"form1\" onsubmit=\"return check()\">\r\n");
      out.write("  <input name=\"sectionid\" type=\"hidden\" value=\"");
      out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${tid}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
      out.write("\" />\r\n");
      out.write("  <input name=\"usernmae\"  type=\"hidden\" value=\"");
      out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${username}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
      out.write("\" />\r\n");
      out.write("  <input name=\"uname\" type=\"hidden\" value=\"");
      out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${sname}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
      out.write("\" />\r\n");
      out.write("  <input name=\"kname\" type=\"hidden\" value=\"");
      out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${kname}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
      out.write("\" />\r\n");
      out.write("  <input name=\"topicuser\" type=\"hidden\" value=\"");
      out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${topicuser}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
      out.write("\" />\r\n");
      out.write("  <table border=\"0\" width=\"100%\">\r\n");
      out.write("    <tr>\r\n");
      out.write("      <td><h1>&nbsp;<a href=\"index.jsp\">IT论坛</a>&mdash;&gt;&gt;&nbsp;<a href=\"#\">");
      out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${kname}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
      out.write("</a>&mdash;&gt;&gt;&nbsp<a href=\"#\">");
      out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${sname}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
      out.write("</a></h1></td>\r\n");
      out.write("    </tr>\r\n");
      out.write("    <tr>\r\n");
      out.write("      <td>\r\n");
      out.write("        <DIV class=\"mainbox formbox\">\r\n");
      out.write("<H1>发新话题</H1>\r\n");
      out.write("<TABLE id=newpost cellSpacing=0 cellPadding=0 summary=post>\r\n");
      out.write("  <THEAD>\r\n");
      out.write("  <TR>\r\n");
      out.write("    <TH>用户名:</TH>\r\n");
      out.write("    <TD>");
      out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${username}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
      out.write(" [<A\r\n");
      out.write("      href=\"#\">退出登录</A>]\r\n");
      out.write("    </TD></TR></THEAD>\r\n");
      out.write("  <TBODY>\r\n");
      out.write("  <TR>\r\n");
      out.write("    <TH style=\"BORDER-BOTTOM-WIDTH: 0px\"><LABEL for=subject>标题</LABEL></TH>\r\n");
      out.write("    <TD style=\"BORDER-BOTTOM-WIDTH: 0px\"><INPUT id=subject tabIndex=3 size=45\r\n");
      out.write("      name=subject> </TD></TR>\r\n");
      out.write("  <TBODY id=threadtypes></TBODY>\r\n");
      out.write("  <TBODY>\r\n");
      out.write("  <TR>\r\n");
      out.write("    <script type=text/javascript>\r\n");
      out.write("lang['post_discuzcode_code'] = '请输入要插入的代码';\r\n");
      out.write("lang['post_discuzcode_quote'] = '请输入要插入的引用';\r\n");
      out.write("lang['post_discuzcode_free'] = '请输入要插入的免费信息';\r\n");
      out.write("lang['post_discuzcode_hide'] = '请输入要插入的隐藏内容';\r\n");
      out.write("var editorcss = 'forumdata/cache/style_5.css';\r\n");
      out.write("var editorcss_append = 'forumdata/cache/style_5_append.css';\r\n");
      out.write("var TABLEBG = '#FFF';\r\n");
      out.write("</SCRIPT>\r\n");
      out.write("\r\n");
      out.write("    <TH vAlign=top><LABEL for=posteditor_textarea>内容 </LABEL>\r\n");
      out.write("      </TH>\r\n");
      out.write("    <TD vAlign=top>\r\n");
      out.write("      <DIV id=posteditor>\r\n");
      out.write("      <TABLE id=editor cellSpacing=0 cellPadding=0 summary=editor>\r\n");
      out.write("        <TBODY>\r\n");
      out.write("        <TR>\r\n");
      out.write("          <TD class=editortoolbar id=posteditor_controls>\r\n");
      out.write("            <TABLE cellSpacing=0 cellPadding=0 summary=\"Editor ToolBar\">\r\n");
      out.write("              <TBODY>\r\n");
      out.write("              <TR>\r\n");
      out.write("                <TD><a id=posteditor_cmd_bold><IMG title=粗体 alt=B\r\n");
      out.write("                  src=\"image/bb_bold.gif\"></A></TD>\r\n");
      out.write("                <TD><a id=posteditor_cmd_italic><IMG title=斜体 alt=I\r\n");
      out.write("                  src=\"image/bb_italic.gif\"></A></TD>\r\n");
      out.write("                <TD><a id=posteditor_cmd_underline><IMG title=下划线 alt=U\r\n");
      out.write("                  src=\"image/bb_underline.gif\"></A></TD>\r\n");
      out.write("                <TD><IMG alt=|\r\n");
      out.write("                  src=\"image/bb_separator.gif\"></TD>\r\n");
      out.write("                <TD><a id=posteditor_popup_fontname title=字体><SPAN\r\n");
      out.write("                  class=dropmenu id=posteditor_font_out\r\n");
      out.write("                  style=\"DISPLAY: block; WIDTH: 110px; WHITE-SPACE: nowrap\">字体</SPAN>\r\n");
      out.write("                  </A></TD>\r\n");
      out.write("                <TD><a id=posteditor_popup_fontsize title=大小><SPAN\r\n");
      out.write("                  class=dropmenu id=posteditor_size_out\r\n");
      out.write("                  style=\"DISPLAY: block; WIDTH: 30px\">大小</SPAN> </A></TD>\r\n");
      out.write("                <TD><a id=posteditor_popup_forecolor title=颜色><SPAN\r\n");
      out.write("                  class=dropmenu style=\"DISPLAY: block; WIDTH: 30px\"><IMG\r\n");
      out.write("                  height=16 alt=\"\"\r\n");
      out.write("                  src=\"image/bb_color.gif\"\r\n");
      out.write("                  width=21><BR><IMG id=posteditor_color_bar\r\n");
      out.write("                  style=\"BACKGROUND-COLOR: black\" height=4 alt=\"\"\r\n");
      out.write("                  src=\"image/bb_clear.gif\"\r\n");
      out.write("                  width=21></SPAN> </A></TD>\r\n");
      out.write("                <TD><IMG alt=|\r\n");
      out.write("                  src=\"image/bb_separator.gif\"></TD>\r\n");
      out.write("                <TD><a id=posteditor_cmd_justifyleft><IMG title=居左\r\n");
      out.write("                  alt=\"Align Left\"\r\n");
      out.write("                  src=\"image/bb_left.gif\"></A></TD>\r\n");
      out.write("                <TD><a id=posteditor_cmd_justifycenter><IMG title=居中\r\n");
      out.write("                  alt=\"Align Center\"\r\n");
      out.write("                  src=\"image/bb_center.gif\"></A></TD>\r\n");
      out.write("                <TD><a id=posteditor_cmd_justifyright><IMG title=居右\r\n");
      out.write("                  alt=\"Align Right\"\r\n");
      out.write("                  src=\"image/bb_right.gif\"></A></TD>\r\n");
      out.write("                <TD><IMG alt=|\r\n");
      out.write("                  src=\"image/bb_separator.gif\"></TD>\r\n");
      out.write("                <TD><a id=posteditor_cmd_createlink><IMG title=插入链接 alt=Url\r\n");
      out.write("                  src=\"image/bb_url.gif\"></A></TD>\r\n");
      out.write("                <TD><a id=posteditor_cmd_email><IMG title=插入邮箱链接 alt=Email\r\n");
      out.write("                  src=\"image/bb_email.gif\"></A></TD>\r\n");
      out.write("                <TD><a id=posteditor_cmd_insertimage><IMG title=插入图片 alt=Image\r\n");
      out.write("                  src=\"image/bb_image.gif\"></A></TD>\r\n");
      out.write("                <TD><IMG alt=|\r\n");
      out.write("                  src=\"image/bb_separator.gif\"></TD>\r\n");
      out.write("                <TD><a id=posteditor_cmd_quote><IMG title=插入引用 alt=Quote\r\n");
      out.write("                  src=\"image/bb_quote.gif\"></A></TD>\r\n");
      out.write("                <TD><a id=posteditor_cmd_code><IMG title=插入代码 alt=Code\r\n");
      out.write("                  src=\"image/bb_code.gif\"></A></TD></TR></TBODY></TABLE>\r\n");
      out.write("            <TABLE id=posteditor_morebuttons0 cellSpacing=0 cellPadding=0\r\n");
      out.write("            summary=\"Editor ToolBar\">\r\n");
      out.write("              <TBODY>\r\n");
      out.write("              <TR>\r\n");
      out.write("                <TD><a id=posteditor_cmd_removeformat><IMG title=清除文本格式\r\n");
      out.write("                  alt=\"Rremove Format\"\r\n");
      out.write("                  src=\"image/bb_removeformat.gif\"></A></TD>\r\n");
      out.write("                <TD><a id=posteditor_cmd_unlink><IMG title=移除链接 alt=Unlink\r\n");
      out.write("                  src=\"image/bb_unlink.gif\"></A></TD>\r\n");
      out.write("                <TD><a id=posteditor_cmd_undo><IMG title=撤销 alt=Undo\r\n");
      out.write("                  src=\"image/bb_undo.gif\"></A></TD>\r\n");
      out.write("                <TD><a id=posteditor_cmd_redo><IMG title=重做 alt=Redo\r\n");
      out.write("                  src=\"image/bb_redo.gif\"></A></TD>\r\n");
      out.write("                <TD><IMG alt=|\r\n");
      out.write("                  src=\"image/bb_separator.gif\"></TD>\r\n");
      out.write("                <TD><a id=posteditor_cmd_insertorderedlist><IMG title=排序的列表\r\n");
      out.write("                  alt=\"Ordered List\"\r\n");
      out.write("                  src=\"image/bb_orderedlist.gif\"></A></TD>\r\n");

⌨️ 快捷键说明

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