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

Applet

开发平台:

Java

  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
  2. <jsp:useBean id="dilBook" class="MyFly.Bean.dilBook" scope="request"/>
  3. <jsp:useBean id="useclassBeans" class="MyFly.Bean.useclassBeans" scope="request"/>
  4. <jsp:useBean id="characterclassBeans" class="MyFly.Bean.characterclassBeans" scope="request"/>
  5. <jsp:useBean id="characterclassBean" class="MyFly.Bean.characterclassBean" scope="request"/>
  6. <script language="javascript" src="js/showimg.js"></script>
  7. <%@ include file="top.jsp" %>
  8. <%@ page contentType="text/html; charset=gb2312" language="java" import="java.sql.*,java.net.*" errorPage="" %>
  9. <%
  10. int d_count=characterclassBean.getcount();
  11. %>
  12.  <SCRIPT language=javascript id=clientEventHandlersJS>
  13. <!--
  14. var number=<%=d_count%>;
  15. function LMYC() {
  16. var lbmc;
  17. //var treePic;
  18.     for (i=1;i<=number;i++) {
  19.         lbmc = eval('LM' + i);
  20.         //treePic = eval('treePic'+i);
  21.         //treePic.src = 'images/file.gif';
  22.         lbmc.style.display = 'none';
  23.     }
  24. }
  25.  
  26. function ShowFLT(i) {
  27.     lbmc = eval('LM' + i);
  28.     //treePic = eval('treePic' + i)
  29.     if (lbmc.style.display == 'none') {
  30.         LMYC();
  31.         //treePic.src = 'images/nofile.gif';
  32.         lbmc.style.display = '';
  33.     }
  34.     else {
  35.         //treePic.src = 'images/file.gif';
  36.         lbmc.style.display = 'none';
  37.     }
  38. }
  39. //-->
  40.       </SCRIPT>
  41. <HTML><HEAD><TITLE>-精品推荐-</TITLE>
  42. <META http-equiv=Content-Type content="text/html; charset=gb2312"><LINK 
  43. href="image/buyok_shop.css" type=text/css rel=stylesheet>
  44. <STYLE type=text/css>
  45. .pic1 {
  46. MARGIN-TOP: -135px; MARGIN-LEFT: 0px
  47. }
  48. .pic2 {
  49. PADDING-TOP: 6px
  50. }
  51. .red1 {
  52. COLOR: #ff0000
  53. }
  54. </STYLE>
  55. <LINK href="image/table.css" type=text/css rel=stylesheet><LINK 
  56. href="image/buyok_shop.css" type=text/css rel=stylesheet>
  57. <STYLE type=text/css>
  58. BODY {
  59. MARGIN: 0px
  60. }
  61. .STYLE1 {
  62. COLOR: #ff3300
  63. }
  64. .STYLE2 {
  65. COLOR: #ff0000
  66. }
  67. .lei1 { FONT-SIZE: 13px
  68. }
  69. </STYLE>
  70. </HEAD>
  71. <BODY>
  72. <CENTER>
  73. <STYLE type=text/css>BODY {
  74. FONT-SIZE: 12px
  75. }
  76. TD {
  77. FONT-SIZE: 12px
  78. }
  79. TH {
  80. FONT-SIZE: 12px
  81. }
  82. BODY {
  83. MARGIN: 0px
  84. }
  85. </STYLE>
  86. <LINK href="image/buyok_shop.css" type=text/css rel=stylesheet>
  87. <TABLE class=grayline cellSpacing=0 cellPadding=0 width=760 align=center 
  88. bgColor=#ffffff border=0>
  89.   <TBODY>
  90.   <TR>
  91.     <TD width=210 height="741" vAlign=top bgColor=#fafafa>
  92.       <SCRIPT language=JavaScript>
  93. function checkform(){
  94. if (document.loginbox.name.value.length ==0){
  95. alert("出错了,您没有填写用户名。");
  96. document.loginbox.userid.focus();
  97. return false;
  98. }
  99. if (document.loginbox.password.value.length==0){
  100. alert("出错了,您没有填写密码。");
  101. document.loginbox.password.focus();
  102. return false;
  103. }
  104. if (document.loginbox.yzm.value.length==0){
  105. alert("出错了,您没有填写验证码。");
  106. document.loginbox.yzm.focus();
  107. return false;
  108. }
  109. if (document.loginbox.yzm.value!=5672){
  110. alert("出错了,您填写的验证码不正确。");
  111. document.loginbox.yzm.focus();
  112. return false;
  113. }
  114. return true;
  115. }
  116. </SCRIPT>
  117.       <TABLE cellSpacing=0 cellPadding=0 width=200 border=0>
  118.         <TBODY>
  119.         <TR>
  120.           <TD vAlign=center align=middle><TABLE cellSpacing=0 cellPadding=0 width=171 align=center border=0>
  121.             <TBODY>
  122.               <TR>
  123.                 <TD height=61><IMG height=61 src="image/help_center.jpg" 
  124.             width=171></TD>
  125.               </TR>
  126.               <TR>
  127.                 <TD background=image/usermenu2.gif>
  128.                   <TABLE cellSpacing=3 cellPadding=0 width="100%" border=0>
  129.                     <TBODY>
  130.                       <TR>
  131.                         <TD vAlign=center align=middle height=20><A 
  132.                   href="comm_pro.jsp">常见问题</A></TD>
  133.                       </TR>
  134.                       <TR>
  135.                         <TD vAlign=center align=middle height=20><A 
  136.                   href="purchase_know.jsp">购书须知</A></TD>
  137.                       </TR>
  138.                       <TR>
  139.                         <TD vAlign=center align=middle height=20><A 
  140.                   href="guidebook.jsp">新手指南</A></TD>
  141.                       </TR>
  142.                       <TR>
  143.                         <TD vAlign=center align=middle height=20><A 
  144.                   href="dil_way.jsp">配送方式</A></TD>
  145.                       </TR>
  146.                       <TR>
  147.                         <TD vAlign=center align=middle height=20><A 
  148.                   href="paybook.jsp">如何付款</A></TD>
  149.                       </TR>
  150.                       <TR>
  151.                         <TD vAlign=center align=middle height=20><A 
  152.                   href="contactus.jsp">联系我们</A></TD>
  153.                       </TR>
  154.                       <TR>
  155.                         <TD vAlign=center align=middle height=20><A 
  156.                   href="big_pur.jsp">大宗团购</A></TD>
  157.                       </TR>
  158.                     </TBODY>
  159.                   </TABLE></TD>
  160.               </TR>
  161.               <TR>
  162.                 <TD height=11><IMG height=11 src="image/usermenu3.gif" 
  163.             width=171></TD>
  164.               </TR>
  165.             </TBODY>
  166.           </TABLE></TD>
  167.         </TR></TABLE>
  168.       <TABLE cellSpacing=0 cellPadding=0 width=200 border=0>
  169.         <TBODY>
  170.         <TR>
  171.           <TD><img 
  172.                   height=9 src="image/leftlist_bottom.gif" 
  173.               width=190>
  174.             <TABLE height="100%" cellSpacing=0 cellPadding=0 width=200 
  175.             align=left border=0>
  176.               <TBODY>
  177.               <TR>
  178.                 <TD width=206 height=31><IMG height=50 
  179.                   src="image/lei.gif" width=200></TD></TR>
  180.               <TR>
  181.                 <TD vAlign=top align=middle height=249>
  182.                   <TABLE height=226 cellSpacing=0 cellPadding=0 width=190 
  183.                   align=center background=image/leftlist_bg.jpg 
  184.                     border=0><TBODY>
  185.                     <TR>
  186.                       <TD vAlign=top align=middle 
  187.                       background=image/leftlist_bg.jpg bgColor=#ebebeb 
  188.                       height=189><TABLE cellSpacing=0 cellPadding=0 width="88%" 
  189.                         bgColor=#fafafa border=0>
  190.                         <TBODY>
  191.                           <TR>
  192.                             <TD background=image/erbook.com.htm 
  193.                             height=11>
  194.                               <TABLE height=9 cellSpacing=0 cellPadding=0 
  195.                               width="100%" align=center border=0>
  196.                                 <TBODY>
  197.                                   <TR>
  198.                                     <TD   bgColor=#ffffff></TD>
  199.                                   </TR>
  200.                                 </TBODY>
  201.                             </TABLE></TD>
  202.                           </TR>
  203.                           <%
  204.  characterclassBeans.getQuery("-1");
  205. for(int i_c=0; i_c<characterclassBeans.getItems(); i_c++)//第一层循环读出大类
  206.     {
  207.   
  208. %>
  209.                           <TR>
  210.                             <TD style="PADDING-LEFT: 20px" 
  211.                             background=image/erbook.com.htm 
  212.                               height=23><IMG height=9 
  213.                               src="image/bit05.gif" width=8 
  214.                               align=absMiddle> <A class=lei1 
  215.                               onclick=javascript:ShowFLT(<%=(i_c+1)%>) 
  216.                               href="javascript:void(null)"><%=characterclassBeans.getCharacterName(i_c)%></A> </TD>
  217.                           </TR>
  218.                           <TR id=LM<%=(i_c+1)%> style="DISPLAY: none">
  219.                             <TD>
  220.                               <TABLE cellSpacing=2 cellPadding=0 width="100%" 
  221.                               border=0>
  222.                                 <TBODY>
  223.                                   <%
  224. int j_u=characterclassBeans.getCharacterID(i_c);
  225. int num1=useclassBeans.getQuerycha(j_u);
  226.  for(int i_q=0; i_q<num1; i_q++)
  227.  {
  228. %>
  229.                                   <TR>
  230.                                     <TD style="PADDING-LEFT: 40px" height=23> <IMG height=7 src="image/bit06.gif" width=8 align=absMiddle> <A  href="prosort.jsp?proType=<%=java.net.URLEncoder.encode(useclassBeans.getUseclassName(i_q),"utf-8")%>
  231. &pageNum=1&proNum=<%=useclassBeans.getUseclassID(i_q)%>"  target=_blank><%=useclassBeans.getUseclassName(i_q)%></A> </TD>
  232.                                   </TR>
  233.                                   <%}
  234. %>
  235.                                 </TBODY>
  236.                             </TABLE></TD>
  237.                           </TR>
  238.                           <%}
  239. %>
  240.                           <TR id=LM18 style="DISPLAY: none">
  241.                             <TD>&nbsp; </TD>
  242.                           </TR>
  243.                         </TBODY>
  244.                       </TABLE></TD>
  245.                     </TR></TBODY></TABLE>                  
  246.                   <img 
  247.                   height=9 src="image/leftlist_bottom.gif" 
  248.               width=190>                  </TD>
  249.               </TR></TBODY></TABLE></TD></TR>
  250.         <TR>
  251.           <TD>
  252.             <TABLE cellSpacing=0 cellPadding=0 width=200 align=left border=0>
  253.               <TBODY>
  254.               <TR>
  255.       <TD><IMG height=73 src="image/help.gif" 
  256.               width=200></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></TD>
  257.     <TD width=1 bgColor=#cccccc></TD>
  258.     <TD class=left vAlign=top align=left width=550 bgColor=#ffffff>
  259.       <TABLE cellSpacing=0 cellPadding=0 width=550 bgColor=#fefefe border=0>
  260.         <TBODY>
  261.         <TR>
  262.           <TD><IMG height=201 src="image/help_center.gif" 
  263.         width=550></TD>
  264.         </TR>
  265.         <TR>
  266.           <TD>
  267.             <TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
  268.               <TBODY>
  269.               <TR>
  270.                 <TD vAlign=center align=middle width=20 height=18><IMG 
  271.                   height=11 src="image/jt_2.gif" width=11></TD>
  272.                 <TD height=18>当前位置:<A 
  273.                   href="default.jsp">首页</A> &gt; 
  274.               配送方式</TD>
  275.               </TR></TBODY></TABLE></TD></TR>
  276.         <TR>
  277.           <TD background="image/bgline.gif" height=1></TD></TR>
  278.         <TR>
  279.           <TD vAlign=top align=left width=400>
  280.             <DIV align=center>
  281.             <TABLE cellSpacing=1 cellPadding=2 width="100%" align=center 
  282.             bgColor=#ffffff border=0></TABLE></DIV></TD></TR></TBODY></TABLE>
  283.       <%
  284.      if(dilBook.getNew(1))
  285.  {
  286.          //out.println("<p align=center>"+dilBook.getTitle()+"</p>");
  287.      out.println(new StringBuffer(dilBook.getContent()));
  288.      }
  289.  else
  290.  {
  291.      out.println("暂时没有内容");
  292.      }
  293.  %></TD>
  294.   </TR></TBODY></TABLE>
  295.    
  296.   <%@ include file ="foot.jsp"%>
  297. </CENTER>
  298. </BODY></HTML>