- <%@ page language="java" contentType="text/html;charset=UTF-8"
- session="true" errorPage="err.jsp" %><%@
- include file="./GVinc/gvImport.jsp" %><%
- if(gvUserID<=0){
- out.print(prtCenter("您尚未登陆,无权进行此项操作!","userLogin.jsp",1));
- out.close();
- if(true)return;
- }
- int iPage = TypeChange.stringToInt(request.getParameter("iPage"));
- if(iPage<1){iPage = 1;}
- byte businessType = ParamUtils.getByteParameter(request,"type");
- %>
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <title><%=clubTitle%>__交易记录</title>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <link href="./GVimgs/favicon.ico" rel="Bookmark">
- <link rel="icon" href="./GVimgs/favicon.ico" type="image/x-icon" />
- <link rel="shortcut icon" href="./GVimgs/favicon.ico" type="image/x-icon" />
- <STYLE type=text/css media=screen>
- @import url(./GVinc/main.css);
- </STYLE>
- </head>
- <body><DIV id="waitDiv" style="LEFT: 40%; VISIBILITY: hidden; POSITION: absolute; TOP: 30%; TEXT-ALIGN: center">
- <TABLE cellPadding=6 border=0>
- <TBODY><TR><TD align=middle>
- <IMG src="GVimgs/loading.gif" alt="请稍候..." width="30" height="30">
- <BR>
- <FONT color="red">数据载入中,请稍候...</FONT></TD></TR></TBODY></TABLE></DIV>
- <IFRAME id=hiddenframe style="DISPLAY: none" src="about:blank" width=0 height=0></IFRAME>
- <script type="text/javascript" src="GVscript/GVjumpPage.js"></script>
- <script language="javascript" type="text/javascript" src="GVscript/GVtopCode.js"></script>
- <script language="javascript" type="text/javascript" src="GVscript/GVshowMenu.js"></script>
- <script language="javascript" type="text/javascript" src="GVscriptInc/topBar.js"></script>
- <SCRIPT language="javascript">gv_showWait('waitDiv', 1); </SCRIPT>
- <script language="javascript" type="text/javascript">
- prtie2('<%=clubTitle%>__社区交易记录');
- </script>
- <%@ include file="./GVinc/userMenu.jsp" %>
- <table width="99%" height="25" border="0" align="center" cellpadding="2" cellspacing="1" class="tab">
- <tr class="tab1">
- <td valign="middle">
- <%=com.gamvan.club.ClubHtmlConst.gamvan_menu("<a href="businessList.jsp">社区交易记录</a>>>")%>
- </td></tr></table>
- <table width="99%" border="0" align="center" cellpadding="2" cellspacing="1" class="tab">
- <tr align="center" class="tr">
- <td width="128" height="24"><strong>交易对象</strong></td>
- <td width="60" height="24"><strong>信誉</strong></td>
- <td width="60"><strong>积分</strong></td>
- <td width="60"><strong>金币</strong></td>
- <td width="120"><strong>交易类型</strong></td>
- <td width="60"><strong>当时兑率</strong></td>
- <td width="90"><strong>发生时刻</strong></td>
- <td width="#"><strong>备注</strong></td>
- </tr>
- <%
- com.gamvan.club.user.ClubBusinessCollection cbu = new com.gamvan.club.user.ClubBusinessCollection();
- int totalPage = 0; // 总页数
- cbu.setUserID(gvUserID);
- totalPage = cbu.businessCount();
- List list = cbu.businessList(iPage, 30);
- if(list==null){
- %>
- <tr class="tab2">
- <td height="25" colspan="14" align="center">您目前没有交易记录。。。</td>
- </tr>
- <%}%>
- <c:forEach var="b" items="<%=list%>">
- <tr align="center" class="tab2">
- <td width="128" height="25">
- <club:users type="userName" idIs="${b.userID}" value="${b.userName}" bea="<%=false%>"/>
- </td>
- <td width="57">
- <club:users type="userCredit" value="${b.userCredit}"/>
- </td>
- <td>
- <club:users type="userMark" value="${b.userMark}"/>
- </td>
- <td>
- <club:users type="userMoney" value="${b.userMoney}"/>
- <td>
- <club:users type="businessType" idIs="${b.businessType}"/>
- </td>
- <td>
- <club:users type="businessRate" value="${b.businessRate}"/>
- </td>
- <td>
- <club:users type="dateTime" value="${b.businessDateTime}"/>
- </td>
- <td>
- <club:users type="businessLog" value="${b.businessLog}"/>
- </td>
- </tr>
- </c:forEach>
- </table>
- <table width="99%" border="0" align="center" cellpadding="0" cellspacing="0">
- <tr><td>
- <%=OutPrint.pageJump(totalPage,30, iPage, "businessList.jsp?")%></td>
- </tr>
- </table>
- <%=Gfoot()%>
- </body>
- </html>