📄 about_jsp.java
字号:
out.write("\t\t\t\t");
}else{
out.write("\r\n");
out.write(" <table width=\"100%\" height=\"\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">\r\n");
out.write(" <tr>\r\n");
out.write("\t\t<td height=\"20\"> 您好,欢迎<a href=\"uedit.jsp\">");
out.print( session.getAttribute("username") );
out.write("</a>光临!</td>\r\n");
out.write("\t\t</tr>\r\n");
out.write("\t\t<tr>\r\n");
out.write("\t\t<td height=\"20\"> ・<a href=\"user/logout.jsp\">安全退出!</a></td>\r\n");
out.write("\t\t</tr>\r\n");
out.write("\t\t<tr>\r\n");
out.write(" <td align=\"left\" valign=\"top\" background=\"\"><marquee direction=\"up\" height=\"60\" scrollamount=\"1\"><center>\r\n");
out.write(" ");
String temm="select * from tb_Affiche order by Dattime Desc";
ResultSet rrs=con.executeQuery(temm);
int nums=0;
String affiche="";
while(rrs.next()){
nums++;
if(nums==2){
break;
}
affiche=rrs.getString(1);
}
out.println(affiche);
out.write("</center></marquee>\r\n");
out.write(" </td>\r\n");
out.write("\t\t</tr>\r\n");
out.write(" </table>\r\n");
out.write("\t ");
}
out.write(" \r\n");
out.write("\t\t\t\t</td>\r\n");
out.write(" <td width=\"15\" background=\"image/productleft_04.gif\"> </td>\r\n");
out.write(" </tr>\r\n");
out.write(" </table></td>\r\n");
out.write(" </tr>\r\n");
out.write(" <tr>\r\n");
out.write(" <td><img name=\"productleft_05\" src=\"image/productleft_05.gif\" width=\"171\" height=\"19\" border=\"0\" alt=\"\"></td>\r\n");
out.write(" </tr>\r\n");
out.write(" </table>\r\n");
out.write("\t\r\n");
out.write("\t \r\n");
out.write("\t</td>\r\n");
out.write("\t</tr>\r\n");
out.write("\t<tr><td>\r\n");
out.write(" <table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"171\">\r\n");
out.write(" <tr>\r\n");
out.write(" <td height=\"55\" valign=\"bottom\"><img name=\"productleft_01\" src=\"image/clickleft_01.gif\" width=\"171\" height=\"45\" border=\"0\" alt=\"\"></td>\r\n");
out.write(" </tr>\r\n");
out.write(" <tr>\r\n");
out.write(" <td><table align=\"left\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"171\">\r\n");
out.write(" <tr>\r\n");
out.write(" <td width=\"14\" background=\"image/productleft_02.gif\"> </td>\r\n");
out.write(" <td width=\"149\">\r\n");
out.write("\t\t\t\t<table width=\"100%\">\r\n");
out.write("\t\t\t\t");
String sq="select Warename,sum(Wsum)as num from tb_Shop group by all Warename order by num desc";
ResultSet rst=con.executeQuery(sq);
int sum=0;
while(rst!=null && rst.next()){
String wn=rst.getString(1);
sum++;
if(sum==11){
break;
}
out.write("\r\n");
out.write(" <tr>\r\n");
out.write(" <td height=\"21\" align=\"left\" background=\"\"><font color=\"#0000CC\"><a href=\"user/look.jsp?buy1=");
out.print(wn);
out.write('"');
out.write('>');
out.write('・');
out.print(wn);
out.write("</a></font></td>\r\n");
out.write(" </tr>\r\n");
out.write(" ");
}
out.write("\r\n");
out.write("\t\t\t\t</table> </td>\r\n");
out.write(" <td width=\"15\" background=\"image/productleft_04.gif\"> </td>\r\n");
out.write(" </tr>\r\n");
out.write(" </table>\r\n");
out.write("\t\t </td>\r\n");
out.write(" </tr>\r\n");
out.write(" <tr>\r\n");
out.write(" <td><img name=\"productleft_05\" src=\"image/productleft_05.gif\" width=\"171\" height=\"19\" border=\"0\" alt=\"\"></td>\r\n");
out.write(" </tr>\r\n");
out.write(" </table>\r\n");
out.write(" </td>\r\n");
out.write("\t</tr>\r\n");
out.write("\t<tr>\r\n");
out.write("\t<td>\r\n");
out.write("\t<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"171\">\r\n");
out.write(" <tr>\r\n");
out.write(" <td height=\"55\" valign=\"bottom\"><img name=\"productleft_01\" src=\"image/left3_01.gif\" width=\"171\" height=\"45\" border=\"0\" alt=\"\"></td>\r\n");
out.write(" </tr>\r\n");
out.write(" <tr>\r\n");
out.write(" <td><table align=\"left\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"171\">\r\n");
out.write(" <tr>\r\n");
out.write(" <td width=\"14\" background=\"image/productleft_02.gif\"></td>\r\n");
out.write(" <td width=\"149\">\r\n");
out.write("\t\t\t\t <table width=\"100%\" > \r\n");
out.write(" \t\t\t\t ");
String str="select * from tb_link";
int coun=0;
ResultSet rss=con.executeQuery(str);
while(rss!=null && rss.next()){
coun++;
if(coun==8){
break;
}
String linkname=rss.getString(1);
String linkdress=rss.getString(2);
out.write("\r\n");
out.write(" <tr>\r\n");
out.write(" <td height=\"21\" align=\"left\" ><a href=\"");
out.print(linkdress);
out.write("\" target=\"_blank\">・");
out.print(linkname);
out.write("</a></td>\r\n");
out.write(" </tr>\r\n");
out.write(" ");
}con.close();
out.write("\r\n");
out.write(" \t\t\t</table> \r\n");
out.write("\t\t\t\t</td>\r\n");
out.write(" <td width=\"15\" background=\"image/productleft_04.gif\"> </td>\r\n");
out.write(" </tr>\r\n");
out.write(" </table></td>\r\n");
out.write(" </tr>\r\n");
out.write(" <tr>\r\n");
out.write(" <td><img name=\"productleft_05\" src=\"image/productleft_05.gif\" width=\"171\" height=\"19\" border=\"0\" alt=\"\"></td>\r\n");
out.write(" </tr>\r\n");
out.write(" </table>\r\n");
out.write("\t</td>\r\n");
out.write("\t</tr>\r\n");
out.write("\r\n");
out.write("</table>\r\n");
out.write("\r\n");
out.write("\t</td> \r\n");
out.write(" <td width=\"626\" valign=\"top\">\r\n");
out.write("\t");
out.write("\r\n");
out.write("<table width=\"100%\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" bordercolor=\"#FFFFFF\" bordercolorlight=\"#FCBE3F\" bordercolordark=\"#FFFFFF\" background=\"\"> \r\n");
out.write("\t\t<tr> \t\r\n");
out.write("\t\t<form name=\"form3\" method=\"post\" action=\"user/forward.jsp\"> \r\n");
out.write(" <td width=\"65%\" height=\"28\" align=\"center\" valign=\"middle\">商品搜索:\r\n");
out.write(" <select name=\"wtype\" class=\"wenbenkuang\">\r\n");
out.write(" <option>上衣</option>\r\n");
out.write(" <option>裤子</option>\r\n");
out.write(" <option>女裙</option>\r\n");
out.write(" <option>内衣</option>\r\n");
out.write(" <option>其它</option>\r\n");
out.write(" </select>\r\n");
out.write(" <input name=\"shop\" type=\"text\" class=\"txt_grey\">\r\n");
out.write(" <input name=\"Submit\" type=\"submit\" class=\"btn_grey\" value=\"搜索\" onClick=\"return check()\">\r\n");
out.write(" <input name=\"Submit2\" type=\"reset\" class=\"btn_grey\" value=\"重置\"></td> \r\n");
out.write("\t\t </form> \r\n");
out.write(" <td width=\"35%\" align=\"center\" valign=\"middle\" class=\"bgcolor\" id=\"time\"><script>ShowTime(time);</script></td>\r\n");
out.write(" </tr>\t\r\n");
out.write(" </table>");
out.write("\r\n");
out.write("\t\r\n");
out.write("\t <table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"625\" height=\"\" align=\"center\" >\r\n");
out.write(" <tr>\r\n");
out.write(" <td><img name=\"cplist_01_01\" src=\"image/about_01.jpg\" width=\"625\" height=\"69\" border=\"0\" alt=\"\" /></td>\r\n");
out.write(" </tr>\r\n");
out.write(" <tr>\r\n");
out.write(" <td width=\"625\" background=\"image/usercenter_02.gif\">\r\n");
out.write("\t\t<table width=\"600\" height=\"100\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" background=\"\"> \r\n");
out.write("\t\t<tr>\r\n");
out.write("\t\t<td> 我们是......\t\t</td>\r\n");
out.write("\t\t</tr>\r\n");
out.write("\t\t</table>\r\n");
out.write("\t\t</td>\r\n");
out.write(" </tr>\r\n");
out.write(" <tr>\r\n");
out.write(" <td><img name=\"usercenter_03\" src=\"image/usercenter_03.gif\" width=\"625\" height=\"4\" border=\"0\" alt=\"\"></td>\r\n");
out.write(" </tr>\r\n");
out.write("</table> \r\n");
out.write(" </td>\r\n");
out.write("\t</tr>\r\n");
out.write("</table>\r\n");
out.write("\r\n");
out.write("\r\n");
out.write("<br/>\r\n");
out.write("\r\n");
out.write("<style type=\"text/css\">\r\n");
out.write("<!--\r\n");
out.write(".tit {font-size: 14px;\r\n");
out.write("}\r\n");
out.write(".style1 {color: #000000}\r\n");
out.write(".style3 {font-size: 14px; font-weight: bold; }\r\n");
out.write("-->\r\n");
out.write("</style>\r\n");
out.write("<table width=\"800\" border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\">\r\n");
out.write(" <tr>\r\n");
out.write(" <td height=\"30\" align=\"center\" bgcolor=\"#f7f7f7\"><img src=\"image/pic3.gif\" align=\"absmiddle\" /> <a href=\"index.jsp\">站点首页</a> | <a href=\"about.jsp\">关于我们</a> | <a href=\"\">付款方式</a> | <a href=\"\">购物流程</a> | <a href=\"\">交易条款</a> | <a href=\"\">常见问题</a> | <a href=\"\">法律版权</a> | <a href=\"\">运输说明</a> | <a href=\"\">售后服务</a> | <a href=\"\">送货方式</a> | <a href=\"\">新闻中心</a> | <a href=\"\">用户留言</a>\r\n");
out.write(" </td>\r\n");
out.write(" </tr>\r\n");
out.write(" <tr>\r\n");
out.write(" <td align=\"right\">联系QQ:267027873 329876120<br/>\r\n");
out.write(" 客服信箱: 热线:<br />\r\n");
out.write(" 公司地址: 邮编:<br />\r\n");
out.write(" Copyright© <b></b><br/> \r\n");
out.write(" <span class=\"style3\"><a href=\"admin/login.htm\">后台管理登录入口</td>\r\n");
out.write(" </tr>\r\n");
out.write("</table>\r\n");
out.write("\r\n");
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 + -