businessList.jsp
上传用户:u_thks
上传日期:2022-07-31
资源大小:1910k
文件大小:4k
源码类别:

WEB源码(ASP,PHP,...)

开发平台:

Java

  1. <%@ page language="java" contentType="text/html;charset=UTF-8"
  2.  session="true" errorPage="err.jsp" %><%@ 
  3.  include file="./GVinc/gvImport.jsp" %><%
  4. if(gvUserID<=0){
  5. out.print(prtCenter("您尚未登陆,无权进行此项操作!","userLogin.jsp",1));
  6. out.close();
  7. if(true)return;
  8. }
  9. int iPage = TypeChange.stringToInt(request.getParameter("iPage"));
  10. if(iPage<1){iPage = 1;}
  11. byte businessType = ParamUtils.getByteParameter(request,"type");
  12. %>
  13. <html xmlns="http://www.w3.org/1999/xhtml">
  14. <head>
  15. <title><%=clubTitle%>__交易记录</title>
  16. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  17. <link href="./GVimgs/favicon.ico" rel="Bookmark"> 
  18. <link rel="icon" href="./GVimgs/favicon.ico" type="image/x-icon" />
  19. <link rel="shortcut icon" href="./GVimgs/favicon.ico" type="image/x-icon" />
  20. <STYLE type=text/css media=screen>
  21. @import url(./GVinc/main.css);
  22. </STYLE>
  23. </head>
  24. <body><DIV id="waitDiv" style="LEFT: 40%; VISIBILITY: hidden; POSITION: absolute; TOP: 30%; TEXT-ALIGN: center">
  25. <TABLE cellPadding=6 border=0>
  26. <TBODY><TR><TD align=middle>
  27. <IMG  src="GVimgs/loading.gif" alt="请稍候..." width="30" height="30">
  28. <BR>
  29. <FONT color="red">数据载入中,请稍候...</FONT></TD></TR></TBODY></TABLE></DIV>
  30. <IFRAME id=hiddenframe style="DISPLAY: none" src="about:blank" width=0  height=0></IFRAME>
  31. <script type="text/javascript" src="GVscript/GVjumpPage.js"></script>
  32. <script language="javascript" type="text/javascript" src="GVscript/GVtopCode.js"></script>
  33. <script language="javascript" type="text/javascript" src="GVscript/GVshowMenu.js"></script>
  34. <script language="javascript" type="text/javascript" src="GVscriptInc/topBar.js"></script>
  35. <SCRIPT language="javascript">gv_showWait('waitDiv', 1); </SCRIPT>
  36. <script language="javascript" type="text/javascript">
  37. prtie2('<%=clubTitle%>__社区交易记录');
  38. </script>
  39. <%@ include file="./GVinc/userMenu.jsp" %>
  40. <table width="99%" height="25" border="0" align="center" cellpadding="2" cellspacing="1" class="tab">
  41. <tr class="tab1">
  42. <td valign="middle">
  43. <%=com.gamvan.club.ClubHtmlConst.gamvan_menu("<a href="businessList.jsp">社区交易记录</a>&gt;&gt;")%>
  44. </td></tr></table>
  45. <table width="99%" border="0" align="center" cellpadding="2" cellspacing="1" class="tab">
  46. <tr align="center" class="tr">
  47. <td width="128" height="24"><strong>交易对象</strong></td>
  48. <td width="60" height="24"><strong>信誉</strong></td>
  49. <td width="60"><strong>积分</strong></td>
  50. <td width="60"><strong>金币</strong></td>
  51. <td width="120"><strong>交易类型</strong></td>
  52. <td width="60"><strong>当时兑率</strong></td>
  53. <td width="90"><strong>发生时刻</strong></td>
  54. <td width="#"><strong>备注</strong></td>
  55. </tr>
  56. <%
  57. com.gamvan.club.user.ClubBusinessCollection cbu = new com.gamvan.club.user.ClubBusinessCollection();
  58. int totalPage = 0; // 总页数
  59. cbu.setUserID(gvUserID);
  60. totalPage = cbu.businessCount();
  61. List list = cbu.businessList(iPage, 30);
  62. if(list==null){
  63. %>
  64. <tr class="tab2">
  65. <td height="25" colspan="14" align="center">您目前没有交易记录。。。</td>
  66. </tr>
  67. <%}%>
  68. <c:forEach var="b" items="<%=list%>">
  69. <tr align="center" class="tab2">
  70. <td width="128" height="25">
  71. <club:users type="userName"  idIs="${b.userID}" value="${b.userName}" bea="<%=false%>"/>
  72. </td>
  73. <td width="57">
  74. <club:users type="userCredit"  value="${b.userCredit}"/>
  75. </td>
  76. <td>
  77. <club:users type="userMark"  value="${b.userMark}"/>
  78. </td>
  79. <td>
  80. <club:users type="userMoney"  value="${b.userMoney}"/>
  81. <td>
  82. <club:users type="businessType"  idIs="${b.businessType}"/>
  83. </td>
  84. <td>
  85. <club:users type="businessRate"  value="${b.businessRate}"/>
  86. </td>
  87. <td>
  88. <club:users type="dateTime"  value="${b.businessDateTime}"/>
  89. </td>
  90. <td>
  91. <club:users type="businessLog"  value="${b.businessLog}"/>
  92. </td>
  93. </tr>
  94. </c:forEach>
  95. </table>
  96. <table width="99%"  border="0" align="center" cellpadding="0" cellspacing="0">
  97. <tr><td>
  98. <%=OutPrint.pageJump(totalPage,30, iPage, "businessList.jsp?")%></td>
  99. </tr>
  100. </table>
  101. <%=Gfoot()%>
  102. </body>
  103. </html>