<% response.Write "Sayfalar"%><% onceki = cint(pes) - 1 sonraki = cint(pes) + 1 %> <% if onceki < 1 then response.write "" else response.write " <a href=?pes=" & onceki & "><font face=Arial style=font-size: 8pt>◄</font>" & pes-1& "</a>" end if %> <% for pes_no = 1 to pes_sayisi if pes_no = cint(pes ) then %><a href=?pes=<%=pes%>><font "8pt" color="#ff6600"> <%=pes%></font></a></font><a href=?pes=<%=pes%>><font face="Verdana" color="#333333" size="1"></b> <% else response.Write "" end if next %> <% if sonraki > pes_sayisi then response.write "" else response.write "<a href=?pes=" & sonraki & "> " & pes+1& " <font face=Arial style=font-size: 8pt>►</a>" end if %>
burada sayfalarım 1- 2 2-3 3-4 4-5 diye cıkıyor ama ben eklenen tüm sayfalarımın yayınlanmasını istiyorum yani 1 2 3 4 5 .... bunun için bu kodlamada ne gibi bir değişiklik yapmam gerekiyor?
DH forumlarında vakit geçirmekten keyif alıyor gibisin ancak giriş yapmadığını görüyoruz.
Üye olduğunda özel mesaj gönderebilir, beğendiğin konuları favorilerine ekleyip takibe alabilir ve daha önce gezdiğin konulara hızlıca erişebilirsin.
<% git = TRIM(Request("git")) if git="" then git = 1 end if Rs.PageSize = 10 Rs.AbsolutePage = git WHILE NOT rs.eof and rowcount < rs.pagesize rowcount = rowcount + 1 %>
DÖNDÜRÜLECEK DEĞERLER
<% rs.MoveNext WEND %>
SAYFALAMA
<% if rs.pagecount > 1 then for i = 1 to rs.pagecount if i <> cINT (git) Then %>
<a href="gidecekadres.asp?git=<%=i%>">
<% =i%></a> <% ELSE%><%=i%> <% End if next %> <% end if %>
<% response.Write "Sayfalar"%><%
onceki = cint(pes) - 1
sonraki = cint(pes) + 1
%>
<%
if onceki < 1 then
response.write ""
else
response.write " <a href=?pes=" & onceki & "><font face=Arial style=font-size: 8pt>◄</font>" & pes-1& "</a>"
end if
%>
<%
for pes_no = 1 to pes_sayisi
if pes_no = cint(pes ) then
%><a href=?pes=<%=pes%>><font "8pt" color="#ff6600"> <%=pes%></font></a></font><a href=?pes=<%=pes%>><font face="Verdana" color="#333333" size="1"></b>
<% else
response.Write ""
end if
next %>
<%
if sonraki > pes_sayisi then
response.write ""
else
response.write "<a href=?pes=" & sonraki & "> " & pes+1& " <font face=Arial style=font-size: 8pt>►</a>"
end if
%>
burada sayfalarım 1- 2 2-3 3-4 4-5 diye cıkıyor ama ben eklenen tüm sayfalarımın yayınlanmasını istiyorum
yani 1 2 3 4 5 .... bunun için bu kodlamada ne gibi bir değişiklik yapmam gerekiyor?
DH forumlarında vakit geçirmekten keyif alıyor gibisin ancak giriş yapmadığını görüyoruz.
Üye Ol Şimdi DeğilÜye olduğunda özel mesaj gönderebilir, beğendiğin konuları favorilerine ekleyip takibe alabilir ve daha önce gezdiğin konulara hızlıca erişebilirsin.