Forum Home \ #forum.ForumName#  [This forum has been locked by a moderator.] Add New Topic 
if (variables.threadcount GT 20) { pageoutput = 'There are multiple pages of topics:  '; variables.pages = ceiling(variables.threadcount/20); if (variables.pages GT 5) variables.maxpages = 5; else variables.maxpages = variables.pages; if (url.page GT 1) pageoutput = pageoutput & 'Previous Page'; else pageoutput = pageoutput & 'No Previous Page'; pageoutput = pageoutput & ' '; for (i=1;i LTE #variables.maxPages#;i=i+1) { if (i NEQ url.page) pageoutput = pageoutput & '#i#'; else pageoutput = pageoutput & '#i#'; pageoutput = pageoutput & ' '; } if (variables.pages GT 5) pageoutput = pageoutput & '... #variables.pages#'; writeoutput (' '); if (url.page LT variables.pages) pageoutput = pageoutput & ' Next Page'; else pageoutput = pageoutput & 'No Next Page'; writeoutput(#pageoutput#); } else { writeoutput (' '); }
maxPages = 0; i = threads.CurrentRow mod 2; if (announcement EQ 1) i=2;
  Topic Replies Last Post
Thread Locked Thread Locked Hot Topic Hot Topic New Posts Thread #ThreadTitle# if (posts GT 20) { writeoutput('Page: '); maxPages = ceiling(posts/20); maxPages2 = 0; if (maxPages GT 5) {maxpages2 = maxPages;maxpages = 5;} for (c=1;c LTE maxPages; c=c+1) { writeoutput (' #c#'); } if (maxPages2 GT 0) writeoutput('...#maxPages2#'); } #Posts-1# Never#dateformat(lastPostDT,"dd-mmm")# #Timeformat(lastPostDT,"HH:mm")# by #lastPosterName#
There are currently no active topics in this forum.