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

📄 index_jsp.java

📁 TurboCWCShop v1.6.7 is make in the Utility-LAYer Framework.
💻 JAVA
📖 第 1 页 / 共 4 页
字号:
      out.write("                        </tr>\r\n");
      out.write("                        <tr> \r\n");
      out.write("                          <td width=\"80\" height=\"111\" align=\"left\" valign=\"top\"><a target=\"_blank\" href=\"product/detail-");
      out.print(newPro[i].getString("pid"));
      out.write(".html\"><img src=\"");
      out.print(ConfigBean.getStringValue("systenFolder"));
      out.write('.');
      out.print(ConfigBean.getStringValue("upload_pro_img")+newPro[i].getString("img_s"));
      out.write("\" width=\"80\" height=\"80\" border=\"0\"></a></td>\r\n");
      out.write("                          <td width=\"190\" align=\"left\" valign=\"top\" style=\"padding-left:7px;line-height:17px;\"><font color=\"#006666\">市场价</font>:<span class=\"market-price\"><font color=\"#999999\"> \r\n");
      out.write("                            ¥ \r\n");
      out.write("                            ");
      out.print(newPro[i].getString("market_price"));
      out.write("\r\n");
      out.write("                            元 </font></span><br> <font color=\"#006666\">商城价</font>:<font color=\"#990000\"> \r\n");
      out.write("                            ¥ \r\n");
      out.write("                            ");
      out.print(newPro[i].getString("shop_price"));
      out.write("\r\n");
      out.write("                            元 </font><br>\r\n");
      out.write("                              <font color=\"#006666\">评 价</font>: <img src=\"");
      out.print(star.get( Math.round(newPro[i].get("star",0f)/newPro[i].get("star_p",0f)) ));
      out.write("\"><br>\r\n");
      out.write("                              <br> <font color=\"#666666\">\r\n");
      out.write("                            ");
      out.print(StringUtil.cutString(newPro[i].getString("short_desc"),30,"..."));
      out.write("\r\n");
      out.write("                            </font> </td>\r\n");
      out.write("                        </tr>\r\n");
      out.write("                      </table>\r\n");
      out.write("                      <br> </td>\r\n");
      out.write("                    ");

	if ( jenTrTab++ == jcol )
	{
		out.println("</tr>");
	}
}

      out.write("\r\n");
      out.write("                  </table></td>\r\n");
      out.write("              </tr>\r\n");
      out.write("            </table></td>\r\n");
      out.write("        </tr>\r\n");
      out.write("      </table> <br>\r\n");
      out.write("      <table width=\"572\" border=\"0\" cellpadding=\"0\" cellspacing=\"1\" bgcolor=\"#828282\">\r\n");
      out.write("        <tr> \r\n");
      out.write("          <td width=\"285\"><font style=\"padding-left:3px;font-size:7px;font-family: 'Geneva', 'Arial', 'Helvetica', 'sans-serif';color: #FFFFFF;\">HAVE \r\n");
      out.write("            YOUR ...</font></td>\r\n");
      out.write("          <td width=\"286\"><img src=\"imgs/blank.gif\" width=\"3\" height=\"6\"></td>\r\n");
      out.write("        </tr>\r\n");
      out.write("        <tr> \r\n");
      out.write("          <td colspan=\"2\" bgcolor=\"#FFFFFF\"><table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\r\n");
      out.write("              <tr> \r\n");
      out.write("                <td width=\"88%\" valign=\"middle\" bgcolor=\"#F1F1F1\" style=\"letter-spacing: 6pt;padding-left:5px;padding-top:3px;height:25;border-top-width: 0px;\tborder-right-width: 0px;\tborder-bottom-width: 1px;\tborder-left-width: 0px;\tborder-top-style: solid;\tborder-right-style: solid;\tborder-bottom-style: solid;\tborder-left-style: solid;\tborder-top-color: dcdcdc;\tborder-right-color: dcdcdc;\tborder-bottom-color: dcdcdc;\tborder-left-color: dcdcdc;\"><font color=\"#990099\">推荐</font></td>\r\n");
      out.write("                <td width=\"2%\" align=\"center\" valign=\"middle\" bgcolor=\"#F1F1F1\"><img src=\"imgs/i2.gif\" width=\"3\" height=\"5\"></td>\r\n");
      out.write("                <td width=\"10%\" valign=\"middle\" bgcolor=\"#F1F1F1\"><font color=\"#717171\">更 \r\n");
      out.write("                  多...</font></td>\r\n");
      out.write("              </tr>\r\n");
      out.write("              <tr> \r\n");
      out.write("                <td colspan=\"3\"><table width=\"100%\" height=\"135\" border=\"0\" cellpadding=\"4\" cellspacing=\"0\">\r\n");
      out.write("                    ");

newPro = productMgr.getNewProductByPgTitle("推荐",newProPc);
for ( int i=0; i<newPro.length; i++ )
{
	if ( i%jcol == 0 )
	{
		out.println("<tr>");
		jenTrTab = 1;
	}

      out.write("\r\n");
      out.write("                    <td align=\"center\"> <table width=\"270\" height=\"136\" border=\"0\" cellpadding=\"2\" cellspacing=\"0\">\r\n");
      out.write("                        <tr align=\"left\"> \r\n");
      out.write("                          <td height=\"22\" colspan=\"2\" valign=\"middle\"> <img src=\"imgs/item.gif\" width=\"11\" height=\"11\"> \r\n");
      out.write("                            <font color=\"#003366\"> \r\n");
      out.write("                            ");
      out.print(newPro[i].getString("name"));
      out.write("\r\n");
      out.write("                            </font> </td>\r\n");
      out.write("                        </tr>\r\n");
      out.write("                        <tr> \r\n");
      out.write("                          <td width=\"80\" height=\"111\" align=\"left\" valign=\"top\"><a target=\"_blank\" href=\"product/detail-");
      out.print(newPro[i].getString("pid"));
      out.write(".html\"><img src=\"");
      out.print(ConfigBean.getStringValue("systenFolder"));
      out.write('.');
      out.print(ConfigBean.getStringValue("upload_pro_img")+newPro[i].getString("img_s"));
      out.write("\" width=\"80\" height=\"80\" border=\"0\"></a></td>\r\n");
      out.write("                          <td width=\"190\" align=\"left\" valign=\"top\" style=\"padding-left:7px;line-height:17px;\"><font color=\"#006666\">市场价</font>:<span class=\"market-price\"><font color=\"#999999\"> \r\n");
      out.write("                            ¥ \r\n");
      out.write("                            ");
      out.print(newPro[i].getString("market_price"));
      out.write("\r\n");
      out.write("                            元 </font></span><br> <font color=\"#006666\">商城价</font>:<font color=\"#990000\"> \r\n");
      out.write("                            ¥ \r\n");
      out.write("                            ");
      out.print(newPro[i].getString("shop_price"));
      out.write("\r\n");
      out.write("                            元 </font><br>\r\n");
      out.write("                              <font color=\"#006666\">评 价</font>: <img src=\"");
      out.print(star.get( Math.round(newPro[i].get("star",0f)/newPro[i].get("star_p",0f)) ));
      out.write("\"><br>\r\n");
      out.write("                              <br> <font color=\"#666666\"> \r\n");
      out.write("                            ");
      out.print(StringUtil.cutString(newPro[i].getString("short_desc"),30,"..."));
      out.write("\r\n");
      out.write("                            </font> </td>\r\n");
      out.write("                        </tr>\r\n");
      out.write("                      </table>\r\n");
      out.write("                      <br> </td>\r\n");
      out.write("                    ");

	if ( jenTrTab++ == jcol )
	{
		out.println("</tr>");
	}
}

      out.write("\r\n");
      out.write("                  </table></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("      <br>\r\n");
      out.write("      <table width=\"572\" border=\"0\" cellpadding=\"0\" cellspacing=\"1\" bgcolor=\"#828282\">\r\n");
      out.write("        <tr> \r\n");
      out.write("          <td width=\"285\"><font style=\"padding-left:3px;font-size:7px;font-family: 'Geneva', 'Arial', 'Helvetica', 'sans-serif';color: #FFFFFF;\">HAVE \r\n");
      out.write("            YOUR ...</font></td>\r\n");
      out.write("          <td width=\"286\"><img src=\"imgs/blank.gif\" width=\"3\" height=\"6\"></td>\r\n");
      out.write("        </tr>\r\n");
      out.write("        <tr> \r\n");
      out.write("          <td colspan=\"2\" bgcolor=\"#FFFFFF\"><table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\r\n");
      out.write("              <tr> \r\n");
      out.write("                <td width=\"88%\" valign=\"middle\" bgcolor=\"#F1F1F1\" style=\"letter-spacing: 6pt;padding-left:5px;padding-top:3px;height:25;border-top-width: 0px;\tborder-right-width: 0px;\tborder-bottom-width: 1px;\tborder-left-width: 0px;\tborder-top-style: solid;\tborder-right-style: solid;\tborder-bottom-style: solid;\tborder-left-style: solid;\tborder-top-color: dcdcdc;\tborder-right-color: dcdcdc;\tborder-bottom-color: dcdcdc;\tborder-left-color: dcdcdc;\"><font color=\"#990099\">QQ点卡</font></td>\r\n");
      out.write("                <td width=\"2%\" align=\"center\" valign=\"middle\" bgcolor=\"#F1F1F1\"><img src=\"imgs/i2.gif\" width=\"3\" height=\"5\"></td>\r\n");
      out.write("                <td width=\"10%\" valign=\"middle\" bgcolor=\"#F1F1F1\"><font color=\"#717171\">更 \r\n");
      out.write("                  多...</font></td>\r\n");
      out.write("              </tr>\r\n");
      out.write("              <tr> \r\n");
      out.write("                <td colspan=\"3\"><table width=\"100%\" height=\"135\" border=\"0\" cellpadding=\"4\" cellspacing=\"0\">\r\n");
      out.write("                    ");

newPro = productMgr.getNewProductByCTitle("QQ 点卡",newProPc);
for ( int i=0; i<newPro.length; i++ )
{
	if ( i%jcol == 0 )
	{
		out.println("<tr>");
		jenTrTab = 1;
	}

      out.write("\r\n");
      out.write("                    <td align=\"center\"> <table width=\"270\" height=\"136\" border=\"0\" cellpadding=\"2\" cellspacing=\"0\">\r\n");
      out.write("                        <tr align=\"left\"> \r\n");
      out.write("                          <td height=\"22\" colspan=\"2\" valign=\"middle\"> <img src=\"imgs/item.gif\" width=\"11\" height=\"11\"> \r\n");
      out.write("                            <font color=\"#003366\"> \r\n");
      out.write("                            ");
      out.print(newPro[i].getString("name"));
      out.write("\r\n");
      out.write("                            </font> </td>\r\n");
      out.write("                        </tr>\r\n");
      out.write("                        <tr> \r\n");
      out.write("                          <td width=\"80\" height=\"111\" align=\"left\" valign=\"top\"><a target=\"_blank\" href=\"product/detail-");
      out.print(newPro[i].getString("pid"));
      out.write(".html\"><img src=\"");
      out.print(ConfigBean.getStringValue("systenFolder"));
      out.write('.');
      out.print(ConfigBean.getStringValue("upload_pro_img")+newPro[i].getString("img_s"));
      out.write("\" width=\"80\" height=\"80\" border=\"0\"></a></td>\r\n");
      out.write("                          <td width=\"190\" align=\"left\" valign=\"top\" style=\"padding-left:7px;line-height:17px;\"><font color=\"#006666\">市场价</font>:<span class=\"market-price\"><font color=\"#999999\"> \r\n");
      out.write("                            ¥ \r\n");
      out.write("                            ");
      out.print(newPro[i].getString("market_price"));
      out.write("\r\n");
      out.write("                            元 </font></span><br> <font color=\"#006666\">商城价</font>:<font color=\"#990000\"> \r\n");
      out.write("                            ¥ \r\n");
      out.write("                            ");
      out.print(newPro[i].getString("shop_price"));
      out.write("\r\n");
      out.write("                            元 </font><br>\r\n");
      out.write("                              <font color=\"#006666\">评 价</font>: <img src=\"");
      out.print(star.get( Math.round(newPro[i].get("star",0f)/newPro[i].get("star_p",0f)) ));
      out.write("\"><br>\r\n");
      out.write("                              <br> <font color=\"#666666\"> \r\n");
      out.write("                            ");
      out.print(StringUtil.cutString(newPro[i].getString("short_desc"),30,"..."));
      out.write("\r\n");
      out.write("                            </font> </td>\r\n");
      out.write("                        </tr>\r\n");
      out.write("                      </table>\r\n");
      out.write("                      <br> </td>\r\n");
      out.write("                    ");

	if ( jenTrTab++ == jcol )
	{
		out.println("</tr>");
	}
}

      out.write("\r\n");
      out.write("                  </table></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("      <br>\r\n");
      out.write("    </td>\r\n");
      out.write("  </tr>\r\n");
      out.write("</table>\r\n");
      out.write("\r\n");
      out.write("<html>\r\n");
      out.write("<head>\r\n");
      out.write("<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\">\r\n");
      out.write("<title>Turbo CWCShop</title>\r\n");
      out.write("<link href=\"style.css\" rel=\"stylesheet\" type=\"text/css\">\r\n");
      out.write("</head>\r\n");
      out.write("<body leftmargin=\"0\" topmargin=\"0\" marginwidth=\"0\" marginheight=\"0\">\r\n");
      out.write("<table width=\"778\" height=\"65\" border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\">\r\n");
      out.write("  <tr> \r\n");
      out.write("    <td width=\"1042\" align=\"center\" valign=\"middle\"><hr size=\"1\" noshade> <br>\r\n");
      out.write("      <font face=\"Geneva, Arial, Helvetica, sans-serif\">TurboCWCShop&nbsp;&nbsp;&nbsp;&nbsp; \r\n");
      out.write("      Power By <font color=\"#FF0000\">城市</font><em>WebClub</em></font></td>\r\n");
      out.write("  </tr>\r\n");
      out.write("</table>\r\n");
      out.write("</body>\r\n");
      out.write("</html>");
      out.write("\r\n");
      out.write("</body>\r\n");
      out.write("</html>");
    } 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 + -