hey Copy
Xtgem Previous and Next or Back and Next Custom Pagination Code, if you created a new download site at xtgem... Its very important to have a custom paging code for your wapsite... Style your filelist pagination layout.. With xtgem custom pagination code.. All your pagination numbers will be spare .. And hidden.. You can now run your filelist pagination using "Next and and Previous", "See more... And Back" etc..
<!--parser:xtscript-->
# Paging function
function paging_template $url;$page;$active_page;$total_pages;
# Only one page so exit
if $total_pages == 1
goto @end
endif
# Paging container
if $page == 1
endif
# Previous
if ($page+1) == $active_page
print <a class="full" href="$url"><b>« Previous</b></a>
# Next
elseif ($page-1) == $active_page
print <a class="full" href="$url"><b>Next »</b></a>
endif
if $page == $total_pages
endif
@end
endfunction
<!--/parser:xtscript-->
Copy code