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

📄 head_005fleft_jsp.java

📁 一、数据库登录名:blog 密码:blog 二、首页应该运行log.jsp页面。其用户名:aa 密码:aaaa
💻 JAVA
📖 第 1 页 / 共 2 页
字号:
      out.write("      </table>\r\n");
      out.write("      <table width=\"184\"  border=\"0\" cellpadding=\"0\" cellspacing=\"0\" background=\"myimagehead_18.jpg\" >\r\n");
      out.write("        <tr>\r\n");
      out.write("          <td>\r\n");
      out.write("            <table width=\"180\"  border=\"0\" align=\"center\" cellpadding=\"1\" cellspacing=\"1\"  bordercolor=\"#FFFFFF\" bgcolor=\"#747CC7\">\r\n");
      out.write("              <tr bgcolor=\"FFFCF1\">\r\n");
      out.write("                <td height=\"15\" colspan=\"7\" align=\"center\">");
      out.print(year);
      out.write('年');
      out.print(month+1);
      out.write("月</td>\r\n");
      out.write("              </tr>\r\n");
      out.write("              <tr bgcolor=\"#747CC7\">\r\n");
      out.write("                <td width=\"25\" height=\"15\" ><font color=\"red\">日</font> </td>\r\n");
      out.write("                <td width=\"25\" height=\"16\" bgcolor=\"#747CC7\"><strong><font color=\"#FFFFFF\">一</font></strong></td>\r\n");
      out.write("                <td width=\"25\" height=\"16\" bgcolor=\"#747CC7\"><strong><font color=\"#FFFFFF\">二</font></strong></td>\r\n");
      out.write("                <td width=\"25\" height=\"16\" bgcolor=\"#747CC7\"><strong><font color=\"#FFFFFF\">三</font></strong></td>\r\n");
      out.write("                <td width=\"25\" height=\"16\" bgcolor=\"#747CC7\"><strong><font color=\"#FFFFFF\">四</font></strong></td>\r\n");
      out.write("                <td width=\"25\" height=\"16\" bgcolor=\"#747CC7\"><strong><font color=\"#FFFFFF\">五</font></strong></td>\r\n");
      out.write("                <td width=\"25\" height=\"16\" bgcolor=\"#747CC7\"><font color=\"red\">六</font></td>\r\n");
      out.write("              </tr>\r\n");
      out.write("            ");
 for(int j=0;j<6;j++) { 
      out.write("\r\n");
      out.write("              <tr bgcolor=\"FFFCF1\">\r\n");
      out.write("                ");
 for(int i=j*7;i<(j+1)*7;i++) { 
      out.write("\r\n");
      out.write("                <td width=\"25\" height=\"15\" align=\"center\" valign=\"middle\">\r\n");
      out.write("                  ");
if((i-firstIndex+1)==today){
      out.write("\r\n");
      out.write("                  <b> <font color=\"red\">");
      out.print(days[i]);
      out.write("</font></b>\r\n");
      out.write("                  ");
} else {
      out.write("\r\n");
      out.write("                  ");
      out.print(days[i]);
      out.write("\r\n");
      out.write("                  ");
}
      out.write("</td>\r\n");
      out.write("                ");
 } 
      out.write("\r\n");
      out.write("              </tr>\r\n");
      out.write("              ");
 } 
      out.write("\r\n");
      out.write("          </table></td>\r\n");
      out.write("        </tr>\r\n");
      out.write("</table>\r\n");
      out.write("        <table width=\"184\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\r\n");
      out.write("        <tr>\r\n");
      out.write("          <td><img src=\"myimage/head_19.jpg\" width=\"184\" height=\"27\" alt=\"\"></td>\r\n");
      out.write("        </tr>\r\n");
      out.write("      </table>\r\n");
      out.write("      <table width=\"184\"  border=\"0\" cellpadding=\"0\" cellspacing=\"0\" bgcolor=\"#FAFAFA\">\r\n");
      out.write("        <tr>\r\n");
      out.write("          <td valign=\"top\">\r\n");
      out.write("\t\t  <br>\r\n");
      out.write("          <table width=\"93%\"  border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\">\r\n");
ArrayList list=dis.finddiscuss();
  int discussNumber=list.size();
  if(discussNumber>6){
   discussNumber=5;
  }
  for(int i=0;i<discussNumber;i++){
    ActionForm.discussActionForm daf=(ActionForm.discussActionForm)list.get(i);
    String title=daf.getDiscussTitle();
    if(title.length()>9){
    title=title.substring(0,9)+"...";
    }


      out.write("\r\n");
      out.write("            <tr>\r\n");
      out.write("              <td width=\"9%\" height=\"22\"><img src=\"myimage/front_17.jpg\" width=\"7\" height=\"7\" alt=\"\"></td>\r\n");
      out.write("              <td width=\"91%\"><a href=\"head_discussForm.jsp?id=");
      out.print(daf.getId());
      out.write("\" target=\"main\">");
      out.print(title);
      out.write("</a></td>\r\n");
      out.write("            </tr>\r\n");
      out.write("            ");
}
      out.write("\r\n");
      out.write("           </table>\r\n");
      out.write("           <table width=\"174\" border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\">\r\n");
      out.write("            <tr>\r\n");
      out.write("              <td><div align=\"right\"><a href=\"head_discusslist.jsp\" target=\"main\">更多...</a></div></td>\r\n");
      out.write("            </tr>\r\n");
      out.write("          </table>\t\t  </td>\r\n");
      out.write("        </tr>\r\n");
      out.write("</table>\r\n");
      out.write("      <table width=\"184\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\r\n");
      out.write("        <tr>\r\n");
      out.write("          <td><img src=\"myimage/head_21.jpg\" width=\"184\" height=\"33\" alt=\"\"></td>\r\n");
      out.write("        </tr>\r\n");
      out.write("      </table>\r\n");
      out.write("      <table width=\"184\"  border=\"0\" cellpadding=\"0\" cellspacing=\"0\" style=\"background=myimage/head_22.jpg;\" >\r\n");
      out.write("        <tr>\r\n");
      out.write("          <td><table width=\"147\"  border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\">\r\n");
      out.write("            <tr>\r\n");
      out.write("              <td width=\"10\">&nbsp;</td>\r\n");
      out.write("              <td width=\"125\"><div align=\"left\"><object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0\" width=\"120\" height=\"36\"><param name=\"movie\" value=\"");
      out.print(src);
      out.write("\">\r\n");
      out.write("                <param name=\"quality\" value=\"high\">\r\n");
      out.write("\r\n");
      out.write("                <embed src=\"");
      out.print(src);
      out.write("\" quality=\"high\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\" type=\"application/x-shockwave-flash\" width=\"120\" height=\"36\"></embed>\r\n");
      out.write("\r\n");
      out.write("              </object>\r\n");
      out.write("\r\n");
      out.write("              </div>\r\n");
      out.write("              </td>\r\n");
      out.write("             </tr>\r\n");
      out.write("          </table></td>\r\n");
      out.write("        </tr>\r\n");
      out.write("      </table>\r\n");
      out.write("      <table width=\"184\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\r\n");
      out.write("        <tr>\r\n");
      out.write("          <td><img src=\"myimage/head_23.jpg\" width=\"184\" height=\"34\" alt=\"\" ></td>\r\n");
      out.write("        </tr>\r\n");
      out.write("      </table>\r\n");
      out.write("      <table width=\"184\"  border=\"0\" cellpadding=\"0\" cellspacing=\"0\"  style=\"background=myimage/head_24.jpg;\" >\r\n");
      out.write("        <tr>\r\n");
      out.write("          <td><table width=\"68%\"   border=\"0\" align=\"center\" cellpadding=\"1\" cellspacing=\"1\">\r\n");
      out.write("\r\n");
      out.write("           <tr>\r\n");
      out.write("\r\n");
      out.write("              <td width=\"58%\"><a href=\"http://www.126.com\" title=\"请单击\">* 126邮箱</a></td>\r\n");
      out.write("            </tr>\r\n");
      out.write("            <tr> <td width=\"28%\"><a href=\"http://www.51.com\" title=\"请单击\">* 51博客</a></td>\r\n");
      out.write("            </tr>\r\n");
      out.write("\r\n");
      out.write("              <tr>\r\n");
      out.write("              <td width=\"28%\"><a href=\"http://www.baidu.com\" title=\"请单击\">* 百度</a></td>\r\n");
      out.write("              </tr>\r\n");
      out.write("              <tr>\r\n");
      out.write("              <td width=\"28%\"><a href=\"http://www.tudou.com\" title=\"请单击\">* 土豆视频网</a></td>\r\n");
      out.write("            </tr>\r\n");
      out.write("\r\n");
      out.write("          </table></td>\r\n");
      out.write("        </tr>\r\n");
      out.write("      </table>\r\n");
      out.write("</td>\r\n");
      out.write("</tr>\r\n");
      out.write("</table>\r\n");
      out.write("\r\n");
      out.write("</body>\r\n");
      out.write("</html>\r\n");
    } catch (Throwable t) {
      if (!(t instanceof SkipPageException)){
        out = _jspx_out;
        if (out != null && out.getBufferSize() != 0)
          out.clearBuffer();
        if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);
      }
    } finally {
      if (_jspxFactory != null) _jspxFactory.releasePageContext(_jspx_page_context);
    }
  }
}

⌨️ 快捷键说明

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