default.jsp
上传用户:yatiankong
上传日期:2014-05-16
资源大小:5604k
文件大小:30k
源码类别:

Applet

开发平台:

Java

  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
  2. <%@ page contentType="text/html; charset=gb2312" language="java" import="java.sql.*,java.net.*,java.lang.*" errorPage="" %>
  3. <jsp:useBean id="newBeans" class="MyFly.Bean.newBeans" scope="request"/>
  4. <jsp:useBean id="noticeBeans" class="MyFly.Bean.noticeBeans" scope="request"/>
  5. <jsp:useBean id="useclassBeans" class="MyFly.Bean.useclassBeans" scope="request"/>
  6. <jsp:useBean id="characterclassBeans" class="MyFly.Bean.characterclassBeans" scope="request"/>
  7. <jsp:useBean id="productinfoBeans" class="MyFly.Bean.productinfoBeans" scope="request"/>
  8. <jsp:useBean id="succeedcasePageBean" class="MyFly.Bean.succeedcasePageBean" scope="request"/>
  9. <jsp:useBean id="productinfoBean" class="MyFly.Bean.productinfoBean" scope="request"/>
  10. <jsp:useBean id="light_productBeans" class="MyFly.Bean.light_productBeans" scope="request"/>
  11. <jsp:useBean id="Selltop"  class="MyFly.Bean.Selltop" scope="request"/>
  12. <jsp:useBean id="productisnew"  class="MyFly.Bean.productisnew" scope="request"/>
  13. <%@ include file ="top.jsp" %>
  14. <%
  15.  productinfoBeans.getQueryTuijian("8"); //精品推荐
  16.  int num=productinfoBeans.getItems();
  17.   //System.out.print(num);
  18.  productisnew.getQueryIsnew("8");//新品上架
  19.  int num_i=productisnew.getItems();
  20. // int goods_num1=(Integer)session.getAttribute("goods_num");
  21. //System.out.print(goods_num1);
  22. %>
  23. <HTML>
  24. <HEAD><TITLE>星海购书中心</TITLE><LINK 
  25. href="image/main.css" type=text/css rel=stylesheet><LINK 
  26. href="image/table.css" type=text/css rel=stylesheet>
  27.             <SCRIPT language=JavaScript>
  28. function checkform(){
  29. if (document.loginbox.name.value.length ==0){
  30. alert("出错了,您没有填写用户名。");
  31. document.loginbox.name.focus();
  32. return false;
  33. }
  34. if (document.loginbox.password.value.length==0){
  35. alert("出错了,您没有填写密码。");
  36. document.loginbox.password.focus();
  37. return false;
  38. }
  39. if (document.loginbox.yzm.value.length==0){
  40. alert("出错了,您没有填写验证码。");
  41. document.loginbox.yzm.focus();
  42. return false;
  43. }
  44. return true;
  45. }
  46. </SCRIPT>
  47. <%!
  48.  StringBuffer convert(StringBuffer sour){
  49. for(int i=0;i<sour.length();i++){
  50. if(sour.substring(i,i+1).equals("n")){
  51. sour.delete(i,i+1);
  52. sour.insert(i,"</p><p>");
  53. }
  54. }
  55. return sour;
  56. }
  57. %>
  58. <META http-equiv=Content-Type content="text/html; charset=gb2312">
  59. <META content="MSHTML 6.00.2900.3086" name=GENERATOR></HEAD>
  60. <BODY><LINK href="image/buyok_shop.css" type=text/css 
  61. rel=stylesheet>
  62. <STYLE type=text/css>BODY {
  63. FONT-SIZE: 12px
  64. }
  65. TD {
  66. FONT-SIZE: 12px
  67. }
  68. TH {
  69. FONT-SIZE: 12px
  70. }
  71. BODY {
  72. MARGIN: 0px
  73. }
  74. </STYLE>
  75. <LINK href="image/buyok_shop.css" type=text/css rel=stylesheet>
  76. <TABLE class=grayline cellSpacing=0 cellPadding=0 width=760 align=center 
  77. bgColor=#fdfdfd border=0>
  78.   <TR>
  79.     <TD vAlign=top align="center" width=206 bgColor=#f5f5f5>
  80.       <TABLE cellSpacing=3 cellPadding=0 width="100%" align=center border=0>
  81.    
  82.         <TR>
  83.           <TD vAlign=top align="center">
  84.             <TABLE cellSpacing=0 cellPadding=0 width=200 align=center 
  85.               border=0><TBODY>
  86.               <TR>
  87.                 <TD vAlign="middle" align="center"></TD></TR></TBODY></TABLE></TD></TR>
  88.         <TR>
  89.           <TD vAlign=top align="center">
  90.             <TABLE cellSpacing=0 cellPadding=0 width=200 border=0>
  91.               
  92.               <TR>
  93.                 <TD vAlign=center align=middle>
  94.                   <TABLE cellSpacing=0 cellPadding=0 width=190 align=center 
  95.                   border=0>
  96.                     <TBODY>
  97.                     <TR>
  98.                       <TD vAlign=top align=left width=190 height=52><IMG 
  99.                         height=51 alt=登陆 
  100.                         src="image/login_top.gif" 
  101.                     width=190></TD></TR>
  102.                     <TR>
  103.                       <TD height=11><IMG height=14 alt=1 
  104.                         src="image/login_1.gif" 
  105. width=190></TD></TR>
  106.                     <TR>
  107.                       <TD vAlign=top align=left 
  108.                       background=image/login_bg.gif height=7>
  109.                         <TABLE height=87 cellSpacing=0 cellPadding=0 
  110.                         width="100%" border=0>
  111.                           <FORM name=loginbox onsubmit="return checkform();" 
  112.                           action=check_login.jsp method=post>
  113.                           <TBODY>
  114.                           <TR>
  115.                             <TD vAlign=top align=left height=16>
  116. <%
  117.  String userid=(String)session.getAttribute("userid");
  118.  String goods_num=String.valueOf((Integer)session.getAttribute("goods_num"));
  119.      String goods_price=String.valueOf((Float)session.getAttribute("goods_price"));
  120.  if(userid==null)
  121. {
  122. %>
  123.                               <TABLE height=72 cellSpacing=2 cellPadding=0 
  124.                               width="100%" border=0>
  125.                                 <TBODY>
  126.                                 <TR>
  127.                                 <TD align=right width="31%">用户名:</TD>
  128.                                 <TD width="45%" height=22><INPUT 
  129.                                 style="BORDER-RIGHT: #ece2d2 1px solid; BORDER-TOP: #ece2d2 1px solid; FONT-SIZE: 8pt; BORDER-LEFT: #ece2d2 1px solid; COLOR: #666666; BORDER-BOTTOM: #ece2d2 1px solid; FONT-FAMILY: verdana" 
  130.                                 alt=请填写要登陆的用户名 maxLength=16 size=10 
  131.                                 name=name></TD>
  132.                                 <TD vAlign=top align=left width="24%" 
  133.                                 rowSpan=3><INPUT type=image 
  134.                                 src="image/login.gif" 
  135.                                 name=imageField></TD></TR>
  136.                                 <TR>
  137.                                 <TD align=right>密 &nbsp;码:</TD>
  138.                                 <TD height=22><input 
  139.                                 style="BORDER-RIGHT: #ece2d2 1px solid; BORDER-TOP: #ece2d2 1px solid; FONT-SIZE: 8pt; BORDER-LEFT: #ece2d2 1px solid; COLOR: #666666; BORDER-BOTTOM: #ece2d2 1px solid; FONT-FAMILY: verdana" 
  140.                                 type=password alt=请填写正确的密码 maxlength=16 size=10 
  141.                                 name=password> 
  142.                                   <INPUT type=hidden value=ok 
  143.                                 name=login></TD></TR>
  144.                                 <TR>
  145.                                 <TD align=right>验证码:</TD>
  146.                                 <TD vAlign=center height=22><div align="right">
  147.                                       <input 
  148.                                 style="BORDER-RIGHT: #ece2d2 1px solid; BORDER-TOP: #ece2d2 1px solid; FONT-SIZE: 8pt; BORDER-LEFT: #ece2d2 1px solid; COLOR: #666666; BORDER-BOTTOM: #ece2d2 1px solid; FONT-FAMILY: verdana" 
  149.                                 alt=请根据右边的图片填写验证码 maxlength=4 size=4 name=yzm> 
  150.                                       <img src="checkCode/image.jsp" width="38" height="21" border=0></div></td>                        
  151.                                
  152.    <TR>
  153.                             <TD align=middle width=95><IMG height=5 alt=4 
  154.                               src="image/login_bt.gif" width=5> 
  155.                               <A href="reginfo.jsp">注 
  156.                             册</A></TD>
  157.                             <TD align=middle width=95 colspan="2"><IMG height=5 alt=3 
  158.                               src="image/login_bt.gif" width=5> 
  159.                               <A 
  160.                               href="UserCenter/findstep1.jsp">找回密码</A></TD></TR>
  161.   
  162.   </TBODY></TABLE>
  163. </TD></TR>
  164. <TD height=13><IMG height=13 alt=2 
  165.                         src="image/login_2.gif" 
  166.                     width=190></TD></TR>
  167. </FORM></TABLE>
  168.  <TR>
  169.                       
  170.   <%
  171. }
  172. else
  173. {
  174.    String name=(String)session.getAttribute("name");
  175.    
  176.   // System.out.print(goods_num);
  177.    if(goods_price=="null")
  178.    {
  179.    goods_price="0";
  180.   
  181.    } 
  182.     if(goods_num=="null")
  183.    {
  184.    goods_num="0";
  185.   
  186.    }
  187.  /// if(goods_price==0)
  188.  //{
  189.     // goods_price=0;
  190. // }
  191. %>
  192. <TABLE height=16 cellSpacing=0 cellPadding=0 
  193.                         width="100%" border=0>
  194.                           <TBODY>
  195.                           <TR>
  196.                             <TD vAlign="middle" align="center"
  197.                             background="image/login_bg.gif" 
  198.                             height=25><%=name%>,您的购物车中有 <FONT color=red>
  199. <%=goods_num%></FONT> 
  200.                           件图书</TD></TR>
  201.                           <TR>
  202.                             <TD vAlign=center align=middle 
  203.                             background=image/login_bg.gif 
  204.                             height=25>总计货款: <FONT color=red><%=goods_price%></FONT> 元</TD></TR>
  205.                           <TR>
  206.                             <TD vAlign=center align=middle 
  207.                             background=image/login_bg.gif 
  208.                             height=25><A 
  209.                               href="UserCenter/usermanage.jsp"><FONT 
  210.                               color=red><U 
  211.                               title=进入会员中心>会员中心</U></FONT></A>&nbsp;&nbsp;<SPAN 
  212.                               style="CURSOR: hand" 
  213.                               onclick="window.open('shopcar/cartlist.jsp','blank_','scrollbars=yes,resizable=no,width=650,height=450')"><FONT 
  214.                               color=red><U title=查看购物车>购 物 
  215.                           车</U></FONT></SPAN></TD></TR>
  216.                           <TR>
  217.                             <TD height=13><IMG height=13 alt=2 
  218.                               src="image/login_2.gif" 
  219.                             width=190></TD></TR></TBODY></TABLE>
  220. <%}%>
  221. </TBODY></TABLE></TD></TR></TBODY></TABLE>
  222.             <TABLE height=85 cellSpacing=0 cellPadding=0 width=200 border=0>
  223.               <TBODY>
  224.               <TR>
  225.                 <TD width=200 height=31><IMG height=50 
  226.                   src="image/top10.gif" width=200></TD></TR>
  227.               <TR>
  228.                 <TD vAlign=top align=middle height=25>
  229.                   <TABLE cellSpacing=0 cellPadding=0 width=190 border=0>
  230.                     <TBODY>
  231.                     <TR>
  232.                       <TD background=image/leftlist_bg.jpg 
  233.                       height=26>
  234.                         <TABLE cellSpacing=0 cellPadding=0 width=190 border=0>
  235.                           <TBODY>
  236.                           <TR>
  237.                             <TD height=9></TD></TR></TBODY></TABLE>
  238.                         <TABLE class=font height=29 cellSpacing=2 cellPadding=0 
  239.                         width="91%" align=center bgColor=#fafafa border=0>
  240.                           <TBODY>
  241.   <% 
  242.       
  243.  
  244.       Selltop.gettopID();
  245.  // Selltop.getItems();
  246.  // Selltop.initBean(top); 
  247.   //System.out.println(top);
  248.    for(int i_t=0;i_t<Selltop.getItems();i_t++)
  249.    {
  250.       long g_t=Selltop.getNo(i_t);
  251.  // System.out.print(g_t);
  252.   %>
  253.   
  254.                           <TR>
  255.                             <TD vAlign=bottom align="center" width=15 
  256.                               height=20><FONT color=red><%=i_t+1%></FONT></TD>
  257.                             <TD vAlign=bottom align=left height=20><A 
  258.                               class=a12 
  259.                               href="listbook.jsp?proNum=<%=g_t%>" 
  260.                               target=_blank><%=Selltop.findbook(g_t)%></A></TD></TR>
  261.   <TR>
  262.                             <TD vAlign="middle" align=right width=15 height=1></TD>
  263.                             <TD vAlign=top 
  264.                             background="image/bgline.gif"
  265.                             height=1></TD></TR>
  266.   <%}%>
  267.                          </TBODY></TABLE></TD></TR></TBODY></TABLE></TD></TR>
  268.               <TR>
  269.                 <TD vAlign=top align=middle height=9><IMG height=9 
  270.                   src="image/leftlist_bottom.gif" 
  271.               width=190></TD></TR></TBODY></TABLE>
  272.             <TABLE cellSpacing=0 cellPadding=0 width=200 border=0>
  273.               <TBODY>
  274.               <TR>
  275.                 <TD height="295">
  276.                   <TABLE height="100%" cellSpacing=0 cellPadding=0 width=200 
  277.                   align=left border=0>
  278.                     <TBODY>
  279.                     <TR>
  280.                       <TD width=206 height=31><IMG height=50 
  281.                         src="image/lei.gif" width=200></TD></TR>
  282.                     <TR>
  283.                       <TD vAlign=top align=middle height=247>
  284.                         <TABLE height=226 cellSpacing=0 cellPadding=0 width=190 
  285.                         align=center 
  286.                         background=image/leftlist_bg.jpg 
  287.                         border=0>
  288.                           <TBODY>
  289.                           <TR>
  290.                             <TD vAlign=top align="center"
  291.                             background=image/leftlist_bg.jpg 
  292.                             bgColor=#ebebeb height=189>
  293.                               <TABLE cellSpacing=0 cellPadding=0 width="90%" 
  294.                               border=0>
  295.                                 <TBODY>
  296. <%
  297.  characterclassBeans.getQuery("-1");
  298.   for(int i_c=0; i_c<characterclassBeans.getItems(); i_c++)//第一层循环读出大类
  299.      {
  300. %>
  301.                                 <TR>
  302.                                 <TD>
  303.                                 <TABLE height=61 cellSpacing=0 cellPadding=0 width="100%" border=0>
  304.                                 <TBODY>
  305.                                 <TR>
  306.                                 <TD height=30>
  307.                                 <DIV align=left><IMG height=9 
  308.                                 src="image/bit05.gif" width=8> 
  309.                                 <SPAN class="lei1  STYLE4"><%=characterclassBeans.getCharacterName(i_c)%></SPAN></DIV></TD></TR>                  
  310.                                 <TR>
  311.                                 <TD height="31">
  312.                                 <TABLE cellSpacing=0 cellPadding=0 width="90%" 
  313.                                 align=center border=0>
  314.                                 <TBODY>
  315. <%
  316. int j_u=characterclassBeans.getCharacterID(i_c);
  317. int num1=useclassBeans.getQuerycha(j_u);
  318. int x = (num1%3 == 0)? num1/3 : num1/3+1; //计算显示的行数
  319. if(x!=0) 
  320. {
  321.            for(int i_q=0; i_q<x; i_q++)
  322.            {   %>
  323.   <TR> 
  324. <%  for(int j_q=0; j_q<3; j_q++)  //没一行显示3条记录
  325.                   {
  326.                       if(3*i_q+j_q == num1)//显示完全
  327.                        {
  328.                                break;
  329.                                         }
  330.  String s=java.net.URLEncoder.encode(useclassBeans.getUseclassName(3*i_q+j_q),"utf-8");
  331. %>
  332.                                 <TD height=20>
  333.                                 <DIV align="center">
  334.                                <A  href="prosort.jsp?proType=<%=s%>
  335. &pageNum=1&proNum=<%=useclassBeans.getUseclassID(3*i_q+j_q)%>"  target=_blank>
  336.                                <%=useclassBeans.getUseclassName(3*i_q+j_q)%></A>|</DIV></TD><%}%></TR>
  337. <%
  338. }
  339. }
  340. %>
  341.                                 </TBODY></TABLE></TD></TR></TBODY></TABLE></TD></TR>
  342.                            
  343.                                <%
  344.    }
  345.    %></TBODY></TABLE></TD></TR></TBODY></TABLE>
  346.                         <img 
  347.                         height=9 
  348.                         src="image/leftlist_bottom.gif" 
  349.                         width=190></TD>
  350.                     </TR></TBODY></TABLE></TD></TR>
  351.               <TR>
  352.                 <TD>
  353.                   <TABLE cellSpacing=0 cellPadding=0 width=200 align=left 
  354.                   border=0>
  355.                     <TBODY>
  356.                     <TR>
  357.                       <TD><IMG height=73 src="image/help.gif" 
  358.                         width=200></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></TD>
  359.         
  360.         <TR>
  361.           <TD></TD></TR></TBODY></TABLE>
  362.     <TD width=6 bgColor=#cccccc></TD>
  363.     <TD vAlign=top align=right width=550 bgColor=#fdfdfd>
  364.       <TABLE cellSpacing=0 cellPadding=0 width=550 border=0>
  365.         <TBODY>
  366.         <TR>
  367.           <TD vAlign=top align=left></TD>
  368.           <TD vAlign=top align=left></TD></TR></TBODY></TABLE>
  369.       <TABLE height=220 cellSpacing=0 cellPadding=0 width=530 align=center 
  370.       border=0>
  371.         <TBODY>
  372.         <TR>
  373.           <TD vAlign=center align=left 
  374.           background=image/pop_bg.jpg>
  375.             <TABLE height=220 cellSpacing=0 cellPadding=0 width=530 align=center 
  376.             border=0>
  377.               <TBODY>
  378.               <TR>
  379.                 <TD vAlign=center align=right width=259>
  380.                   <TABLE class=4l height=190 cellSpacing=0 cellPadding=0 
  381.                   width=245 align=right border=0>
  382.                     <TBODY>
  383.                     <TR>
  384.                       <TD width=258>
  385.   <IFRAME src="1.jsp" frameBorder=0 width=248 scrolling=no  height=205></IFRAME>
  386. </TD></TR></TBODY></TABLE></TD>
  387.                 <TD vAlign="center" align="center" width=260 height=150>
  388.                   <TABLE height=193 cellSpacing=0 cellPadding=0 width=250 
  389.                   align=center border=0>
  390.                     <TBODY>
  391.                     <TR>
  392.                       <TD vAlign=top align=left height=55><IMG height=55 
  393.                         src="image/yzdt.gif" width=250></TD></TR>
  394.                     <TR>
  395.                       <TD vAlign=top align="center"
  396.                       background="image/yzdt_lin.gif" 
  397.                         height=117>
  398.                             
  399.                             <MARQUEE id=info onmouseover=info.stop() 
  400.                         onmouseout=info.start() scrollAmount=1 scrollDelay=100 
  401.                         direction=up height=110>
  402.  <TABLE class=font height=20 cellSpacing=2 cellPadding=0 
  403.                         width=230 align=center border=0>
  404.     <%
  405.     newBeans.getQuery("7");
  406.    for(int i=0; i<newBeans.getItems(); i++)
  407.    {
  408.     
  409.    %>
  410.                        <tr> <td width="15" align=left><img src="image/icon2.gif" width="8" height="8"></td>
  411.                           <td vAlign=bottom width="92%" height=15><a href="news.jsp?index=<%=newBeans.getNewID(i)%>" target="_blank"><%=newBeans.getTopic(i)%></a>&nbsp;&nbsp;<%=newBeans.getappendTime(i)%></td>
  412.      </tr>
  413.  <tr>
  414.   <TD vAlign=top align=middle width="8%"></TD>
  415. <TD vAlign=center background=image/line.gif height=1></TD>
  416.                             </tr>
  417.                             
  418.                             <%
  419. }
  420. %>  </table> 
  421.                             </MARQUEE> 
  422.                           </TD>
  423.                     </TR>
  424.                     <TR>
  425.                       <TD vAlign=top align=left height=20><IMG height=20 
  426.                         src="image/yzdt_bt.gif" 
  427.                     width=250></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE>
  428.       <TABLE cellSpacing=0 cellPadding=0 width=550 border=0>
  429.         <TBODY>
  430.         <TR>
  431.           <TD vAlign=top align=middle width=550 height=114>
  432.             <TABLE cellSpacing=0 cellPadding=0 width=544 align=center 
  433.             bgColor=#ffffff border=0>
  434.               <TBODY>
  435.               <TR>
  436.                 <TD width="544" align=middle><IMG height=40 
  437.                   src="image/rddd.jpg" width=544></TD></TR>
  438.               <TR>
  439.                 <TD vAlign=top align=left height=184>
  440.                   <TABLE cellSpacing=0 cellPadding=0 width="95%" align=center 
  441.                   border=0>
  442.                     <TBODY>
  443.      
  444. <%   
  445.  int x = (num%4 == 0)? num/4 : num/4+1;
  446. for(int i=0;i<x;i++)
  447. {
  448. %>  
  449. <TR vAlign=top align="center">
  450. <%
  451.         for(int j=0;j<4;j++)     
  452.   {
  453.    if(4*i+j == num)
  454.      {
  455.           break;
  456.      }
  457.       %>
  458.                       <TD width="24%" height=200>
  459.                         <TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
  460.                           <TBODY>
  461.                           <TR>
  462.                             <TD>&nbsp;</TD></TR>
  463.                           <TR>
  464.                             <TD vAlign=center align=middle height=140><a href="listbook.jsp?proType=<%=productinfoBeans.getUseclassID(4*i+j)%>&proNum=<%=productinfoBeans.getProductID(4*i+j).replace('#', ',')%>"><img src="product_image/<%=productinfoBeans.getMinPicture(4*i+j)%>" width="100" height="130" border="0"></a></TD>
  465.                           </TR>
  466.                           <TR>
  467.                             <TD vAlign=center align=middle height=47>
  468.                               <TABLE height=47 cellSpacing=0 cellPadding=0 
  469.                               width="100%" border=0>
  470.                                 <TBODY>
  471.                                 <TR>
  472.                                 <TD align=middle width=53 height=32><a href="listbook.jsp?proType=<%=productinfoBeans.getUseclassID(4*i+j)%>&proNum=<%=productinfoBeans.getProductID(4*i+j).replace('#', ',')%>"><IMG height=17 
  473.                                 src="image/xx.gif" width=40 
  474.                                 border=0></A></TD>
  475.                                 <TD width=10><IMG height=28 
  476.                                 src="image/line3.gif" 
  477.                                 width=1></TD>
  478.                                 <TD width=70>
  479.                                 <TABLE cellSpacing=0 cellPadding=0 width="100%" 
  480.                                 border=0>
  481.                                 <TBODY>
  482.                                 <TR>
  483.                                 <TD height=20>¥<%=productinfoBeans.getMarketPrice(4*i+j)%>元</TD></TR>
  484.                                 <TR>
  485.                                 <TD height=20><FONT 
  486.                                 color=red>¥<%=productinfoBeans.getPreferPrice(4*i+j)%>元</FONT></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></TD>
  487.  <TD vAlign=center width="2%" height=200><IMG height=175 
  488.                         src="image/line2.gif" width=1></TD>  
  489.  <%}%>
  490.                      </TR>
  491.                     <%
  492.  }
  493.  %></TBODY></TABLE></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE>
  494.       <TABLE cellSpacing=0 cellPadding=0 width=544 align=center border=0>
  495.         <TBODY>
  496.         <TR>
  497.           <TD align=middle><IMG height=40 
  498.             src="image/yskd.jpg" width=544></TD></TR>
  499.         <TR>
  500.           <TD>            <TABLE cellSpacing=0 cellPadding=0 width="95%" align=center 
  501.                   border=0>
  502.             <TBODY>
  503.               <%   
  504.  int t = (num_i%4 == 0)? num_i/4 : num_i/4+1;
  505. for(int i=0;i<t;i++)
  506. {
  507. %>
  508.               <TR vAlign=top align="center">
  509.                 <%
  510.         for(int j=0;j<4;j++)     
  511.   {
  512.    if(4*i+j == num_i)
  513.      {
  514.           break;
  515.      }
  516.       %>
  517.                 <TD width="24%" height=200>
  518.                   <TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
  519.                     <TBODY>
  520.                       <TR>
  521.                         <TD>&nbsp;</TD>
  522.                       </TR>
  523.                       <TR>
  524.                         <TD vAlign=center align=middle height=140><a href="listbook.jsp?proType=<%=productisnew.getUseclassID(4*i+j)%>&proNum=<%=productisnew.getProductID(4*i+j).replace('#', ',')%>"><img src="product_image/<%=productisnew.getMinPicture(4*i+j)%>" width="100" height="130" border="0"></a></TD>
  525.                       </TR>
  526.                       <TR>
  527.                         <TD vAlign=center align=middle height=47>
  528.                           <TABLE height=47 cellSpacing=0 cellPadding=0 
  529.                               width="100%" border=0>
  530.                             <TBODY>
  531.                               <TR>
  532.                                 <TD align=middle width=53 height=32><a href="listbook.jsp?proType=<%=productisnew.getUseclassID(4*i+j)%>&proNum=<%=productisnew.getProductID(4*i+j).replace('#', ',')%>"><IMG height=17 
  533.                                 src="image/xx.gif" width=40 
  534.                                 border=0></A></TD>
  535.                                 <TD width=10><IMG height=28 
  536.                                 src="image/line3.gif" 
  537.                                 width=1></TD>
  538.                                 <TD width=70>
  539.                                   <TABLE cellSpacing=0 cellPadding=0 width="100%" 
  540.                                 border=0>
  541.                                     <TBODY>
  542.                                       <TR>
  543.                                         <TD height=20>¥<%=productisnew.getMarketPrice(4*i+j)%>元</TD>
  544.                                       </TR>
  545.                                       <TR>
  546.                                         <TD height=20><FONT 
  547.                                 color=red>¥<%=productisnew.getPreferPrice(4*i+j)%>元</FONT></TD>
  548.                                       </TR>
  549.                                     </TBODY>
  550.                                 </TABLE></TD>
  551.                               </TR>
  552.                             </TBODY>
  553.                         </TABLE></TD>
  554.                       </TR>
  555.                     </TBODY>
  556.                 </TABLE></TD>
  557.                 <TD vAlign=center width="2%" height=200><IMG height=175 
  558.                         src="image/line2.gif" width=1></TD>
  559.                 <%}%>
  560.               </TR>
  561.               <%
  562.  }
  563.  %>
  564.             </TBODY>
  565.           </TABLE></TD>
  566.         </TR></TBODY></TABLE>
  567.       <TABLE cellSpacing=0 cellPadding=0 width=550 align=center border=0>
  568.         <TBODY>
  569.         <TR>
  570.           <TD align=middle width="100%">&nbsp;</TD>
  571.         </TR>
  572.         <TR>
  573.           <TD>&nbsp;            </TD>
  574.         </TR></TBODY></TABLE>
  575.       <TABLE cellSpacing=5 cellPadding=0 width=520 align=center border=0>
  576.         <TBODY>
  577.         <TR align=middle>
  578.           <TD width=260>
  579.             <TABLE cellSpacing=0 cellPadding=0 width=256 align=center 
  580.               border=0><TBODY>
  581.               <TR>
  582.                 <TD width=237><IMG height=24 
  583.                   src="image/jcsp_bg.jpg" width=256></TD></TR>
  584.               <TR>
  585.                 <TD background=image/jcsp_lin.jpg>
  586.                   <DIV align=center><img height=42 
  587.                   src="image/jcsp.gif" width=235> </DIV></TD></TR>
  588.               <TR>
  589.                 <TD background=image/jcsp_lin.jpg>
  590.                   <TABLE cellSpacing=2 cellPadding=0 width="85%" align=center 
  591.                   border=0>
  592.                     <TBODY>
  593.                                   <%
  594.                   succeedcasePageBean.init(8);
  595.   succeedcasePageBean.get_pageRow(1);  
  596.   for(int i=0; i<succeedcasePageBean.getItems(); i++)
  597.   {
  598.   %>
  599.   <TR>
  600.                       <TD vAlign=center align=middle width="7%" height=3><IMG 
  601.                         height=11 src="image/jt_2.gif" 
  602.                       width=11></TD>
  603.                       <TD vAlign="middle" align=left width="97%" height="3">
  604.   <a href="disBook.jsp?index=<%=succeedcasePageBean.getSucceedID(i)%>">
  605.   <%=succeedcasePageBean.getTopic(i)%></a> </TD></TR>
  606.                     <TR>
  607.                       <TD vAlign=top align=middle width="7%" height=7></TD>
  608.                       <TD vAlign="middle" align=left><IMG height=1 src="image/line.gif" width=201>
  609.                         </TD></TR>
  610.          
  611.               <%
  612. }
  613. %>
  614.                    
  615.                    
  616.                 
  617.                    
  618.                    </TBODY></TABLE></TD></TR>
  619.               <TR>
  620.                 <TD vAlign=top align=left height=23><IMG height=23 
  621.                   src="image/jcsp_bt.jpg" 
  622.               width=256></TD></TR></TBODY></TABLE></TD>
  623.           <TD align=right width=260>
  624.             <TABLE cellSpacing=0 cellPadding=0 width=256 align=right border=0>
  625.               <TBODY>
  626.               <TR>
  627.                 <TD width=237><IMG height=24 
  628.                   src="image/jcsp_bg.jpg" width=256></TD></TR>
  629.               <TR>
  630.                 <TD background=image/jcsp_lin.jpg height=46>
  631.                   <DIV align=center><IMG height=42 
  632.                   src="image/whsd.gif" width=235> </DIV></TD></TR>
  633.               <TR>
  634.                 <TD background=image/jcsp_lin.jpg>
  635.                   <TABLE cellSpacing=2 cellPadding=0 width="85%" align=center 
  636.                   border=0>
  637.                     <TBODY><%
  638.                   
  639.     int numw=1;
  640.     light_productBeans.getQuery("8");
  641. for(int i=0; i<light_productBeans.getItems(); i++)//文化
  642. {
  643.                          %>
  644.   <TR>
  645.                       <TD vAlign=center align=middle width="7%" height=7><IMG 
  646.                         height=11 src="image/jt_2.gif" 
  647.                       width=11></TD>
  648.                       <TD vAlign=center align=left width="97%">
  649.  <a href="know_View.jsp?index=<%=light_productBeans.getLightID(i)%>" target="_blank"><%=light_productBeans.getTitle(i)%></a></TD></TR>
  650.                     <TR>
  651.                       <TD vAlign=top align=middle width="7%" height=7></TD>
  652.                       <TD vAlign=center align=left><IMG height=1 src="image/line.gif" width=201>
  653.                         </TD></TR>
  654.          
  655.               <%
  656. }
  657. %>
  658.                    
  659.                     </TBODY></TABLE></TD></TR>
  660.               <TR>
  661.                 <TD vAlign=top align=left height=23><IMG height=23 
  662.                   src="image/jcsp_bt.jpg" 
  663.               width=256></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE>
  664.   <%@ include file ="foot.jsp"%>
  665. </BODY></HTML>