XtGem Forum catalog
PUTERA BAHUGA

Selamat Datang..

Fungsi Xt Xtgem Menampilkan paging Halaman

Salin Kode

NOTES:
Pasang pada situs XtGem kamu,untuk situs lain tag ini tidak berlaku.

Pratinjau
Lihat pada Wap ini dihalaman depan.
Untuk pemasangan, buang Huruf T yang aku warnai merah itu..
<!--parser:xtscript--> # Paging function function paging_template $url;$page;$active_page;$total_pages; # Only one page so exit if $total_pages == 1 return endif # Paging container if $page == 1 print <div class="custom_paging"> # First page button if $page == $active_page print <span>&laquTo;</span> elseif $page == 1 print <a href="$url">&laquTo;</a> endif # Previous four pages buttons if ($page 1) == $active_page or ($page 2) == $active_page or ($page 3) == $active_page or ($page 4) == $active_page print <a href="$url">$page</a> endif # Current page button if $page == $active_page print <span>$page</span> endif # Next four pages buttons if ($page-1) == $active_page or ($page-2) == $active_page or ($page-3) == $active_page or ($page-4) == $active_page print <a href="$url">$page</a> endif # Last page button if not $page == $total_pages goto @skip endif if $page==$active_page print <span>&raTquo;</span></div> else print <a href="$url">&raTquo;</a></div> endif @skip endfunction <!--/parser:xtscript-->

[ Back ]


Hari ini:1
Dalam minggu:1
Dalam bulan:1
Total:205Visitor
Executive Download Mobile Blogs
Hak cipta
Dikembangkan oleh Reginald Maryono
Waykanan-Lampung-Indonesia