📄 untitled_002d1_jsp.java
字号:
out.write("\r\n");
out.write(" <td>");
out.print(s_hyoudian);
out.write("</td>\r\n");
out.write(" <td>");
out.print(s_hprice);
out.write("</td>\r\n");
out.write(" </tr>");
}
try{
if(!rs_shenghuoyongpin.next()){break;}
}
catch(Exception e){}
}
out.write("\r\n");
out.write(" <tr>\r\n");
out.write(" <td height=\"30\" colspan=\"11\"><table width=\"100%\" >\r\n");
out.write(" <tr>\r\n");
out.write(" <td align=\"right\"><span class=\"style7\">当前页数:</span>[");
out.print(Page3);
out.write('/');
out.print(maxPage3);
out.write("] \r\n");
out.write("\t");
if(Page3>1){
out.write("\r\n");
out.write("\t<a href=\"index.jsp?Page3=1\" class=\"style7\">第一页</a> <a href=\"index.jsp?Page3=");
out.print(Page3-1);
out.write("\" class=\"style7\">上一页</a>\r\n");
out.write("\t");
}
if(Page3<maxPage3){
out.write("\r\n");
out.write("\t <a href=\"index.jsp?Page3=");
out.print(Page3+1);
out.write("\" class=\"style7\">下一页</a> <a href=\"index.jsp?Page3=");
out.print(maxPage3);
out.write("\"><span class=\"style7\">最后一页</span> </a>\r\n");
out.write("\t");
}
out.write("\t</td>\r\n");
out.write(" </tr>\r\n");
out.write(" </table></td>\r\n");
out.write(" </tr>\r\n");
out.write("\r\n");
out.write(" </table>\r\n");
out.write(" <table width=\"100%\" height=\"130\" border=\"1\" cellpadding=\"0\" cellspacing=\"0\" bordercolor=\"#cccccc\" bgcolor=\"#f1f5ff\">\r\n");
out.write(" <tr>\r\n");
out.write(" <td height=\"34\" colspan=\"11\" background=\"images/zuihou.png\"> 其他</td>\r\n");
out.write(" </tr>\r\n");
out.write("\r\n");
out.write(" <tr><td width=\"9%\"><div align=\"center\">物品名</div></td>\r\n");
out.write(" <td width=\"10%\"><div align=\"center\">物品名</div></td>\r\n");
out.write(" <td width=\"7%\"><div align=\"center\">颜色</div></td>\r\n");
out.write(" <td width=\"9%\"><div align=\"center\">厂家</div></td>\r\n");
out.write(" <td width=\"9%\"><div align=\"center\">材料</div></td>\r\n");
out.write(" <td width=\"10%\"><div align=\"center\">使用年限</div></td>\r\n");
out.write(" <td width=\"10%\"><div align=\"center\">生产日期</div></td>\r\n");
out.write(" <td width=\"11%\"><div align=\"center\">购买次数</div></td>\r\n");
out.write(" <td width=\"10%\">推荐指数</td>\r\n");
out.write(" <td width=\"7%\"><div align=\"center\">优点</div></td>\r\n");
out.write(" <td width=\"8%\"><div align=\"center\">价格</div></td>\r\n");
out.write(" </tr>\r\n");
out.write(" ");
String str4=(String)request.getParameter("Page4");
if(str4==null){
str4="0";
}
int pagesize4=2;
rs_qita.last();
int RecordCount4=rs_qita.getRow();
int maxPage4=0;
maxPage4=(RecordCount4%pagesize4==0)?(RecordCount4/pagesize4):(RecordCount4/pagesize4+1);
int Page4=Integer.parseInt(str4);
if(Page4<1){
Page4=1;}
else{
if(Page4>maxPage4){
Page4=maxPage4;
}
}
rs_qita.absolute((Page4-1)*pagesize4+1);
for(int i=1;i<=pagesize4;i++){
s_qitaid=rs_qita.getInt(1);
s_qwupinming = rs_qita.getString(2);
s_qyanse = rs_qita.getString(3);
s_qchangjia = rs_qita.getString(4);
s_qcailiao = rs_qita.getString(5);
s_qshiyongnianxian = rs_qita.getString(6);
s_qshengchanriqi = rs_qita.getString(7);
s_qgoumaichishu= rs_qita.getString(8);
s_qtuijianzhishu= rs_qita.getString(9);
s_qyoudian= rs_qita.getString(10);
s_qprice= rs_qita.getString(14);
if (username==null || username==""){
out.write("\r\n");
out.write(" <tr><td height=\"33\"><a href=\"qita_detail.jsp?ID=");
out.print(s_qitaid);
out.write('"');
out.write('>');
out.print(s_qitaid);
out.write("</a></td>\r\n");
out.write(" <td height=\"33\">");
out.print(s_qwupinming);
out.write("</td>\r\n");
out.write(" <td>");
out.print(s_qyanse);
out.write("</td>\r\n");
out.write(" <td>");
out.print(s_qchangjia);
out.write("</td>\r\n");
out.write(" <td>");
out.print(s_qcailiao);
out.write("</td>\r\n");
out.write(" <td>");
out.print(s_qshiyongnianxian);
out.write("</td>\r\n");
out.write(" <td>");
out.print(s_qshengchanriqi);
out.write("</td>\r\n");
out.write(" <td>");
out.print(s_qgoumaichishu);
out.write("</td>\r\n");
out.write(" <td>");
out.print(s_qtuijianzhishu);
out.write("</td>\r\n");
out.write(" <td>");
out.print(s_qyoudian);
out.write("</td>\r\n");
out.write(" <td><div align=\"center\" class=\"style2\"><strong>请先登陆</strong></div></td>\r\n");
out.write(" </tr>\r\n");
out.write(" ");
}else{
out.write("\r\n");
out.write(" <tr><td height=\"33\"><a href=\"qita_detail.jsp?ID=");
out.print(s_qitaid);
out.write('"');
out.write('>');
out.print(s_qitaid);
out.write("</a></td>\r\n");
out.write(" <td height=\"33\">");
out.print(s_qwupinming);
out.write("</td>\r\n");
out.write(" <td>");
out.print(s_qyanse);
out.write("</td>\r\n");
out.write(" <td>");
out.print(s_qchangjia);
out.write("</td>\r\n");
out.write(" <td>");
out.print(s_qcailiao);
out.write("</td>\r\n");
out.write(" <td>");
out.print(s_qshiyongnianxian);
out.write("</td>\r\n");
out.write(" <td>");
out.print(s_qshengchanriqi);
out.write("</td>\r\n");
out.write(" <td>");
out.print(s_qgoumaichishu);
out.write("</td>\r\n");
out.write(" <td>");
out.print(s_qtuijianzhishu);
out.write("</td>\r\n");
out.write(" <td>");
out.print(s_qyoudian);
out.write("</td>\r\n");
out.write(" <td>");
out.print(s_qprice);
out.write("</td>\r\n");
out.write(" </tr> ");
}
try{
if(!rs_qita.next()){break;}
}
catch(Exception e){}
}
out.write("\r\n");
out.write(" <tr>\r\n");
out.write(" <td height=\"33\" colspan=\"11\"><table width=\"100%\" >\r\n");
out.write(" <tr>\r\n");
out.write(" <td align=\"right\"><span class=\"style7\">当前页数:</span>[");
out.print(Page4);
out.write('/');
out.print(maxPage4);
out.write("] \r\n");
out.write("\t");
if(Page4>1){
out.write("\r\n");
out.write("\t<a href=\"index.jsp?Page4=1\" class=\"style7\">第一页</a> <a href=\"index.jsp?Page4=");
out.print(Page4-1);
out.write("\" class=\"style7\">上一页</a>\r\n");
out.write("\t");
}
if(Page4<maxPage4){
out.write("\r\n");
out.write("\t <a href=\"index.jsp?Page4=");
out.print(Page4+1);
out.write("\" class=\"style7\">下一页</a> <a href=\"index.jsp?Page4=");
out.print(maxPage4);
out.write("\"><span class=\"style7\">最后一页</span> </a>\r\n");
out.write("\t");
}
out.write("\t</td>\r\n");
out.write(" </tr>\r\n");
out.write(" </table></td>\r\n");
out.write(" </tr>\r\n");
out.write("\r\n");
out.write(" </table>\r\n");
out.write(" </td>\r\n");
out.write(" </tr>\r\n");
out.write(" </table>\r\n");
out.write(" </td>\r\n");
out.write(" <td width=\"145\" valign=\"top\"><table height=\"553\" border=\"1\" cellpadding=\"0\" cellspacing=\"0\" bordercolor=\"#cccccc\" bgcolor=\"#f1f5ff\">\r\n");
out.write(" <tr>\r\n");
out.write(" <td width=\"151\" height=\"92\" valign=\"top\"><table width=\"100%\" height=\"130\" >\r\n");
out.write(" <tr>\r\n");
out.write(" <td height=\"21\"><div align=\"center\">公告拦</div></td>\r\n");
out.write(" </tr>\r\n");
out.write(" <tr>\r\n");
out.write(" <td height=\"23\"><div align=\"center\"><a href=\"#\">我泼洒佛手平静法圣诞节</a></div></td>\r\n");
out.write(" </tr>\r\n");
out.write(" <tr>\r\n");
out.write(" <td height=\"19\"><div align=\"center\"><a href=\"#\">副教授打开飞机第十六</a></div></td>\r\n");
out.write(" </tr>\r\n");
out.write(" <tr>\r\n");
out.write(" <td height=\"17\"> <a href=\"#\">反对许诺,zvn,</a></td>\r\n");
out.write(" </tr>\r\n");
out.write(" <tr>\r\n");
out.write(" <td height=\"17\"> <div align=\"center\"><a href=\"#\">说得来副教授地方了解</a></div></td>\r\n");
out.write(" </tr>\r\n");
out.write(" <tr>\r\n");
out.write(" <td height=\"17\"><div align=\"center\"><a href=\"#\">长啊迪斯科了士大夫</a></div></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 height=\"238\" valign=\"top\"><table width=\"100%\" height=\"264\" >\r\n");
out.write(" <tr>\r\n");
out.write(" <td height=\"102\"><div align=\"center\"><a href=\"sale.jsp\"><img src=\"images/gaihou10.png\" width=\"101\" height=\"75\"></a></div></td>\r\n");
out.write(" </tr>\r\n");
out.write(" <tr>\r\n");
out.write(" <td height=\"23\"><div align=\"center\"><a href=\"sale.jsp\">点击进入特价区</a></div></td>\r\n");
out.write(" </tr>\r\n");
out.write(" <tr>\r\n");
out.write(" <td height=\"100\"><div align=\"center\"><a href=\"newgoods.jsp\"><img src=\"images/gaihou10.png\" width=\"104\" height=\"74\"></a></div></td>\r\n");
out.write(" </tr>\r\n");
out.write(" <tr>\r\n");
out.write(" <td height=\"27\"><div align=\"center\"><a href=\"newgoods.jsp\">点击进入精品区</a></div></td>\r\n");
out.write(" </tr>\r\n");
out.write(" </table></td>\r\n");
out.write(" </tr>\r\n");
out.write(" <tr><td height=\"148\" valign=\"top\"><table width=\"100%\" height=\"130\" >\r\n");
out.write(" <tr>\r\n");
out.write(" <td height=\"21\"><div align=\"center\">购物导航</div></td>\r\n");
out.write(" </tr>\r\n");
out.write(" <tr>\r\n");
out.write(" <td height=\"23\"><div align=\"center\"><a href=\"#\">我泼洒佛手平静法圣诞节</a></div></td>\r\n");
out.write(" </tr>\r\n");
out.write(" <tr>\r\n");
out.write(" <td height=\"19\"><div align=\"center\"><a href=\"#\">副教授打开飞机第十六</a></div></td>\r\n");
out.write(" </tr>\r\n");
out.write(" <tr>\r\n");
out.write(" <td height=\"17\"> <a href=\"#\">反对许诺,zvn,</a></td>\r\n");
out.write(" </tr>\r\n");
out.write(" <tr>\r\n");
out.write(" <td height=\"17\"><div align=\"center\"><a href=\"#\">说得来发射点龙卷风上</a></div></td>\r\n");
out.write(" </tr>\r\n");
out.write(" <tr>\r\n");
out.write(" <td height=\"17\"><div align=\"center\"><a href=\"#\">士大夫地方但是</a> </div></td>\r\n");
out.write(" </tr>\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(" <div align=\"center\"></div> </tr>\r\n");
out.write("</table>\r\n");
out.write("</body>\r\n");
out.write("</html>\r\n");
conn.close();
out.write('\r');
out.write('\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 + -