<!-- WELCOME TO FORUM -->
*Post reply · Invite friends · From end
Maximax
<!--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
print <div class="" style="margin:4px auto;text-align:center">
endif
# Previous 
if ($page+1) == $active_page
print <a class="xt_button" href="$url">prev</a>
# Next 
elseif ($page-1) == $active_page 
print <a class="xt_button" href="$url">next</a>
endif
if $page == $total_pages
print </div>
endif
@end
endfunction
<!--/parser:xtscript-->

Copy code
2016-11-10 01:11 · Reply · (0)

Online: Guests: 1
Traffic Exchange:
fake Taxi Videos

Duck hunt

Total Blog Posted: 012 Entries
Your Internet Service Provider:
Select Themes:

Categories

Blogroll