페이지
<% if totpage > 0 then %>
<% if Cint(nowblock) >0 then %>
<% curpage=(int(nowblock*mychoice) - (mychoice-1)) %>
[이전
<%=mychoice%>개]
<% end if %>
<% if Cint(total_block) <> Cint(nowblock) then %>
|
<% for Gopage = 1 to mychoice %>
<% if CurPage <> Gopage then %>
<% end if %>
<%=(int(nowblock*mychoice) + Gopage)%> |
<% next %>
<% else %>
|
<% for Gopage = 1 to (totpage mod mychoice) %>
<% if CurPage <> Gopage then %>
<% end if %>
<%=(int(nowblock*mychoice) + Gopage)%> |
<% next %>
<% end if %>
<% curpage=(int(nowblock*mychoice) + Gopage) %>
<% if (Cint(total_block) > 0) and (Cint(nowblock) < Cint(total_block)) then %>
[다음
<%=mychoice%>개]
<% end if %>
<% end if %>
|
<%
if Cint(curpage) < Cint(totpage) then
nextpage = curpage+1
else
nextpage = totpage
end if
if curpage > 1 then
prevpage = Cint(curpage)-1
else
prevpage = 1
end if
%>
<% if Cint(curpage) <> 1 then %>
<% end if %>
<% if Cint(curpage) <> Cint(totpage) then %>
<% end if %>
<% if Cint(curpage) <> Cint(totpage) then %>
<% end if %>
|