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

Applet

开发平台:

Java

  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
  2. <jsp:useBean id="xnldBean" class="MyFly.Bean.xnldBean" 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>
  172.             <TABLE height="100%" cellSpacing=0 cellPadding=0 width=200 
  173.             align=left border=0>
  174.               <TBODY>
  175.               <TR>
  176.                 <TD width=206 height=31><IMG height=50 
  177.                   src="image/lei.gif" width=200></TD></TR>
  178.               <TR>
  179.                 <TD vAlign=top align=middle height=267>
  180.                   <TABLE height=226 cellSpacing=0 cellPadding=0 width=190 
  181.                   align=center background=image/leftlist_bg.jpg 
  182.                     border=0><TBODY>
  183.                     <TR>
  184.                       <TD vAlign=top align=middle 
  185.                       background=image/leftlist_bg.jpg bgColor=#ebebeb 
  186.                       height=189><TABLE cellSpacing=0 cellPadding=0 width="88%" 
  187.                         bgColor=#fafafa border=0>
  188.                         <TBODY>
  189.                           <TR>
  190.                             <TD background=image/erbook.com.htm 
  191.                             height=11>
  192.                               <TABLE height=9 cellSpacing=0 cellPadding=0 
  193.                               width="100%" align=center border=0>
  194.                                 <TBODY>
  195.                                   <TR>
  196.                                     <TD   bgColor=#ffffff></TD>
  197.                                   </TR>
  198.                                 </TBODY>
  199.                             </TABLE></TD>
  200.                           </TR>
  201.                           <%
  202.  characterclassBeans.getQuery("-1");
  203. for(int i_c=0; i_c<characterclassBeans.getItems(); i_c++)//第一层循环读出大类
  204.     {
  205.   
  206. %>
  207.                           <TR>
  208.                             <TD style="PADDING-LEFT: 20px" 
  209.                             background=image/erbook.com.htm 
  210.                               height=23><IMG height=9 
  211.                               src="image/bit05.gif" width=8 
  212.                               align=absMiddle> <A class=lei1 
  213.                               onclick=javascript:ShowFLT(<%=(i_c+1)%>) 
  214.                               href="javascript:void(null)"><%=characterclassBeans.getCharacterName(i_c)%></A> </TD>
  215.                           </TR>
  216.                           <TR id=LM<%=(i_c+1)%> style="DISPLAY: none">
  217.                             <TD>
  218.                               <TABLE cellSpacing=2 cellPadding=0 width="100%" 
  219.                               border=0>
  220.                                 <TBODY>
  221.                                   <%
  222. int j_u=characterclassBeans.getCharacterID(i_c);
  223. int num1=useclassBeans.getQuerycha(j_u);
  224.  for(int i_q=0; i_q<num1; i_q++)
  225.  {
  226. %>
  227.                                   <TR>
  228.                                     <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")%>
  229. &pageNum=1&proNum=<%=useclassBeans.getUseclassID(i_q)%>"  target=_blank><%=useclassBeans.getUseclassName(i_q)%></A> </TD>
  230.                                   </TR>
  231.                                   <%}
  232. %>
  233.                                 </TBODY>
  234.                             </TABLE></TD>
  235.                           </TR>
  236.                           <%}
  237. %>
  238.                           <TR id=LM18 style="DISPLAY: none">
  239.                             <TD>&nbsp; </TD>
  240.                           </TR>
  241.                         </TBODY>
  242.                       </TABLE></TD>
  243.                     </TR></TBODY></TABLE>
  244.                   <img 
  245.                   height=9 src="image/leftlist_bottom.gif" 
  246.               width=190></TD>
  247.               </TR></TBODY></TABLE></TD></TR>
  248.         <TR>
  249.           <TD>
  250.             <TABLE cellSpacing=0 cellPadding=0 width=200 align=left border=0>
  251.               <TBODY>
  252.               <TR>
  253.       <TD><IMG height=73 src="image/help.gif" 
  254.               width=200></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></TD>
  255.     <TD width=1 bgColor=#cccccc></TD>
  256.     <TD class=left vAlign=top align=left width=550 bgColor=#ffffff>
  257.       <TABLE cellSpacing=0 cellPadding=0 width=550 bgColor=#fefefe border=0>
  258.         <TBODY>
  259.         <TR>
  260.           <TD><IMG height=201 src="image/help_center.gif" 
  261.         width=550></TD>
  262.         </TR>
  263.         <TR>
  264.           <TD>
  265.             <TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
  266.               <TBODY>
  267.               <TR>
  268.                 <TD vAlign=center align=middle width=20 height=18><IMG 
  269.                   height=11 src="image/jt_2.gif" width=11></TD>
  270.                 <TD height=18>当前位置:<A 
  271.                   href="default.jsp">首页</A> &gt; 
  272.               付款方式</TD>
  273.               </TR></TBODY></TABLE></TD></TR>
  274.         <TR>
  275.           <TD background="image/bgline.gif" height=1></TD></TR>
  276.         <TR>
  277.           <TD vAlign=top align=left width=400>
  278.             <DIV align=center>
  279.             <TABLE cellSpacing=1 cellPadding=2 width="100%" align=center 
  280.             bgColor=#ffffff border=0></TABLE></DIV></TD></TR></TBODY></TABLE>
  281.      <%
  282.      if(xnldBean.getNew(1))
  283.  {
  284.          //out.println("<div align=center style='FONT-SIZE: 15pt; LINE-HEIGHT: 250%'><span class=orge>"+xnldBean.getTitle()+"</span></div>");
  285.  //out.println("<br>");
  286.      out.println(new StringBuffer(xnldBean.getContent()));
  287.      }
  288.  else
  289.  {
  290.      out.println("暂时没有内容");
  291.      }
  292.  %></TD>
  293.   </TR></TBODY></TABLE>
  294.    
  295.   <%@ include file ="foot.jsp"%>
  296. </CENTER>
  297. </BODY></HTML>