Products |
page:
<%if int(page)>1 then%>
Prev
<%end if
if int(total)<=5 then
startj=1
endj=total
else
if int(page)<=5 then
startj=1
if total<10 then
endj=total
else
endj=10
end if
else
if int(page)+5<=total then
startj=int(page)-5
endj=int(page)+5
else
startj=int(page)-5
endj=total
End If
End If
end if
ssstr=""
eeestr=""
%>
<%for i=startj to endj
if int(page)=i then
response.write i
else%>
<%=i%>
<%end if%>
<%next%>
<%if int(page)
Next
<%end if%>
|
<%if not(rs.eof and rs.bof) then
rs.move (int(page)-1)*perpage
%>
.html"><%=rs("content")%> |
page:
<%if int(page)>1 then%>
Prev
<%end if
if int(total)<=5 then
startj=1
endj=total
else
if int(page)<=5 then
startj=1
if total<10 then
endj=total
else
endj=10
end if
else
if int(page)+5<=total then
startj=int(page)-5
endj=int(page)+5
else
startj=int(page)-5
endj=total
End If
End If
end if
ssstr=""
eeestr=""
%>
<%for i=startj to endj
if int(page)=i then
response.write i
else%>
<%=i%>
<%end if%>
<%next%>
<%if int(page)
Next
<%end if%>
|
<%
else
response.write "No information"
end if%>