<%
nAddButtonStyle = 1;
nPageSize = 20;
szPageBarURL="SaleOpenListMain.jsp?PageNo=";
String YH="17";
%>
<%
nRecordCount=0;
nStartLine = nPageSize * (nPageNo - 1);
nEndLine = nPageSize * nPageNo - 1;
nRecordCount=AA.length;
x=0;
while((nStartLine+x++)<=nEndLine){
n=(int)nStartLine+x-1;
if(n<AA.length){
%>
<tr class="ListTableRow" id="Row" onClick="javascript:setRowFocus(this,false,<%=(n - 1)%>);">
<td nowrap> </td>
<td nowrap><%=AA[n][0]%></td>
<td nowrap><%=AA[n][1]%></td>
<td nowrap><%=AA[n][4]%></td>
<td nowrap><%=AA[n][2]%></td>
</tr>
<% }}%>
</table>
<%@ include file="..//System//MainPageBar.jsp"%>
MainPageBar.jsp
<%
if (nRecordCount!=0){
if(nRecordCount % nPageSize!=0)
nPageCount = (long)(nRecordCount/nPageSize+1);
else
nPageCount = nRecordCount/nPageSize;
nPageRange = PAGE_RANGE;
}%>
<table style="border-collapse: collapse; border-top-width: 0" border="1" width="100%" cellspacing="0" cellpadding="0" bgcolor="#000000" bordercolor="#87A482">
<tr>
<td align="right" style="border-top-style: none; border-top-width: medium">
<table border="0" width="100%" cellspacing="0" cellpadding="0" >
<tr class="ListTableSum">
<td style="PADDING-TOP: 3px" valign="middle" height="22" align="right">
<%=codeToString("第"+nPageNo+"页 每页"+nPageSize+"条记录 共"+nPageCount+"页"+nRecordCount+"条记录") %>
</td>
<td width="165" valign="middle" align="center" style="PADDING-TOP: 3px" nowrap>