Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

need help w/ this simple script(counter)

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
i have a forum in my site, problem is that the design's width is expanding everytime there's a number of new topics posted. Meaning...the page link/numbering at the bottom of the topics page does not break, i need the numbers to break or to create a new line after link/page No. 13, it should look something like this:
(i need like a "Word wrap" function)

[1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13]

[14] [15] [16] [17] [18] [19] [20] [21] [22] [23] [24] [25]

[26] [27]

Here's the script:

//Start

if (!$pages) { $pages = 1; }
$pagelink = '';
$tmp = $pages;
$pagenumber = 0;

while ($tmp != 0) {
$pagenumber++;
$tmp--;
if ($pagenumber == $page) {
if ($page == 1) {
$prevlast = 1;
} else {
$previouspage = $page - 1;
}
eval("\$pagelink .= \"".addslashes($TI[136])."\";");
$getnext = 1;
} else {
if ($getnext) {
$getnext = 0;
$nextpage = $pagenumber;
}
eval("\$pagelink .= \"".addslashes($TI[135])."\";");
}
}

if ($prevlast) {
$prevlast = 0;
$previouspage = $pagenumber;
}

if ($getnext) {
$getnext = 0;
$nextpage = 1;
}

//end

Hope to hear from you Php Guru's out there, soon!!
Thanks so much:)

 
i don't know where you seek the value.

what you can do is

if (!($i%13)) echo &quot;<br>&quot;;


Anikin
Hugo Alexandre Dias
Web-Programmer
anikin_jedi@hotmail.com
 
Bah there was I just testing this snippet and Anikin beats me to it :)

<?php
$pagenumber=&quot;0&quot;;
while ($pagenumber < 30){
if ($pagenumber%13) {
echo &quot;[$pagenumber]&quot;;
} else {
echo &quot;<br>[$pagenumber]&quot;;

}
$pagenumber++;
}
?> ***************************************
Party on, dudes!
[cannon]
 
Thanks for the help guys, but i'm not really that good in programming. I tried to use your scripts, but nothing changed:( Could you just edit the existing code that I included so that I'll be able to run and test it.

Thanks for the swift reply!!
Nice support you got here!
 
we cannot help you more. The piece of code you show us don't echoes anything to the screen.

You must seek the echos and try to find for yourself. Anikin
Hugo Alexandre Dias
Web-Programmer
anikin_jedi@hotmail.com
 
ayt! thanks anyways man! Btw, this is an openbb script, that script can be found in board.php, hope this helps:)
 
If you post More of your script (i.e. the bit that follows what you posted already) we should be able to help more ;-) ***************************************
Party on, dudes!
[cannon]
 
OK, here's the complete script of board.php:

<?php
/*
*
* openbb, copyright (c)2001 iansoft
* public release beta 1.0.0
* *
* Niels Van der Wildt <niels@iansoft.net>
* Kelly Hamlin <kelly@iansoft.net>
*
*/


// ###############################
// START INIT
// ###############################


define('SCRIPTID','board/display');
$SI['settings'] = 'tlistperpage, plistperpage';
$SI['templates'] = '5|7|36|47|91|27|8|75|119|118|117|133|134|2|3|120|121|135|136|139';
$SI['ref'] = 'Loading Board <a href=&quot;board.php?FID='.$FID.'&quot;>'.$FID.'</a>';
require 'base.php';

if (NUKE) {
if(!isset($mainfile)) { include(&quot;mainfile.php&quot;); }
if (!eregi(&quot;modules.php&quot;, $PHP_SELF)) {
die (&quot;You can't access this file directly...&quot;);
}
}

$privilege = check_perm('forum_canview,thread_canpost,thread_canreply',1);
$frms = explode(&quot;|&quot;, $HTTP_COOKIE_VARS['forums']);
$con = 1;
while (list($key,$val) = each($frms)) {
$prop = explode(&quot;=&quot;, $val);
$cookie_forums[$prop[0]] = $prop[1];
}
if ($cookie_forums['lastforum'] && $cookie_forums['lastforum'] != $FID) {
$ltime = $cookie_forums['lasttime'];
$cookie_forums[$cookie_forums['lastforum']] = $ltime;
$cookie_forums['lastforum'] = '';
}

// ###############################
// CHECK FOR ERRORS
// ###############################
if (!$FID) { gen_error('No Forum specified!','Go back to the index page and try again.'); }


$query_forum = new query($SQL, &quot;SELECT moderators, title, threadcount, type FROM &quot;.$prefix.&quot;forum_display WHERE forumid = $FID&quot;);
if (!$query_forum->getrow()) {
gen_error('Invalid Board!','Go back to the index page and try again.');
}
if ($query_forum->field('type') != 3 && $query_forum->field('type') != 6) { @header(&quot;Location: index.php?CID=&quot;.$FID); }



// ###############################
// GAIN INFO
// ###############################

$FNAME = $query_forum->field('title');
new query($SQL, &quot;UPDATE &quot;.$prefix.&quot;active SET location = 'Viewing Board <a href=\&quot;board.php?FID=$FID\&quot;>&quot;.addslashes($FNAME).&quot;</a>' WHERE record = '&quot;.RECORD.&quot;'&quot;);


$forum_lastvisit = $cookie_forums[$FID];
$nav = getnav('forum:'.$FID);
$mod_forum = $query_forum->field('moderators');
if (!empty($mod_forum)) {
$moderators = explode(&quot;,&quot; , trim($query_forum->field('moderators')));
$mod_num = count($moderators);
$mod_id = 0;
while ($mod_id < $mod_num) {
$get_id = new query($SQL, &quot;SELECT id FROM &quot;.$prefix.&quot;profiles WHERE username = '&quot;.$moderators[$mod_id].&quot;'&quot;);
$get_id->getrow();
$id = $get_id->field('id');
$moderator .= &quot;<a href=\&quot;member.php?action=profile&UID=$id\&quot;>$moderators[$mod_id]</a>, &quot;;
$mod_id++;
}
$moderators = $moderator;
} else {
$moderators = &quot;None&quot;;
}
if ($moderators) { eval(&quot;\$moderators = \&quot;&quot;.addslashes($TI[139]).&quot;\&quot;;&quot;); }

// ### Start Page System ###
$tlistperpage = $config->field('tlistperpage');
$count = ($query_forum->field('threadcount') / $tlistperpage);
$pages = ceil($count);
$query_forum->free();

if ($page == '') {
$page = 1;
}
$topics = 0;
$start = (($page - 1)*$tlistperpage);



// ###############################
// NESTED FORUMS
// ###############################
$fid = $FID;
$query_forums = new query($SQL, &quot;SELECT guest, forumid, lastpost, lastthread, lastposterid, lastposter, lastthreadid, title, description, type, postcount, threadcount, moderators FROM &quot;.$prefix.&quot;forum_display WHERE type = 6 AND parent = '&quot;.$FID.&quot;' ORDER BY displayorder&quot;);
while ($query_forums->getrow()) {

$nested = 1;
$FID = $query_forums->field('forumid');
$lg = $query_forums->field('guest');
$forumname = $query_forums->field('title');
$description = $query_forums->field('description');
if (!isset($moderators)) {
$moderators = explode(&quot;,&quot; , trim($query_forum->field('moderators')));
$mod_num = count($moderators);
$mod_id = 0;
while ($mod_id < $mod_num) {
$get_id = new query($SQL, &quot;SELECT id FROM &quot;.$prefix.&quot;profiles WHERE username = '&quot;.$moderators[$mod_id].&quot;'&quot;);
$get_id->getrow();
$id = $get_id->field('id');
$moderator .= &quot;<a href=\&quot;member.php?action=profile&UID=$id\&quot;>$moderators[$mod_id]</a>, &quot;;
$mod_id++;
}
$moderators = $moderator;
}
if ($cookie_forums[$FID] == '') { $cookie_forums[$FID] = time(); }

$posts = $query_forums->field('postcount');
$threads = $query_forums->field('threadcount');
$check[lastpost] = $query_forums->field('lastpost');
if (!($check[lastvisit] = $cookie_forums[$FID])) { $check[lastvisit] = 0; }
if ($check[lastpost] > $check[lastvisit] && $check[lastpost] != 0) { $icon = 'on.gif'; } else { $icon = 'off.gif'; }

if ($FID == $lastforum) { $check[lastvisit] = $ltime; }
unset ($lastpost);
$lastpost[poster] = $query_forums->field('lastposter');
$lastpost[date] = gmdate($timeformat[3], ($check[lastpost] + $offset));
$lastpost[TID] = $query_forums->field('lastthreadid'); // Lastpost threadid
$lastpost[UID] = $query_forums->field('lastposterid'); // Lastpost Postid
$lastpost[title] = $query_forums->field('lastthread'); // Lastpost Postid


if ($lg) {
eval(&quot;\$lastpost = \&quot;&quot;.addslashes($TI[121]).&quot;\&quot;;&quot;);
} else {
eval(&quot;\$lastpost = \&quot;&quot;.addslashes($TI[120]).&quot;\&quot;;&quot;);
}
eval(&quot;\$include .= \&quot;&quot;.addslashes($TI[134]).&quot;\&quot;;&quot;);
}

$query_forums->free();

if ($nested) {
eval(&quot;\$nested = \&quot;&quot;.addslashes($TI[133]).&quot;\&quot;;&quot;);
}
$include = '';
$FID = $fid;



// ###############################
// LIST TOPICS
// ###############################

$query_topics = new query($SQL, &quot;SELECT topics.description as description, topics.pollid as poll, topics.lastguest as wasguest, topics.guest as isguest, topics.dateline as dateline, topics.id as id, topicicons.image as topicicon, topics.title as title, topics.lpuser as lpuser, topics.lpdate as lpdate, topics.locked as locked, topics.poster as poster, topics.posterid as UID, topics.lastposterid as lastposterid, topics.replies as replies, topics.mode as mode, topics.smode as smode, topics.toforumid as toforumid, topics.totopic as totopic, topics.views as views FROM &quot;.$prefix.&quot;topics, &quot;.$prefix.&quot;topicicons WHERE forumid = $FID AND topics.icon = topicicons.id ORDER by smode DESC, lpdate DESC LIMIT $start,$tlistperpage&quot;);

while ($query_topics->getrow()) {
unset($lastpost);
$TID = $query_topics->field('id');
$replies = $query_topics->field('replies');
$views = $query_topics->field('views');
$topicicon = $query_topics->field('topicicon');
$starter = $query_topics->field('poster');
$description = $query_topics->field('description');
$gp = $query_topics->field('isguest');
$gp2 = $query_topics->field('wasguest');
$poll = $query_topics->field('poll');
$UID = $query_topics->field('UID');
$threadimage = 'images/blank.gif';
$posttime = gmdate($timeformat[3], ($query_topics->field('dateline') + $offset));

$lastpost[UID] = $query_topics->field('lastposterid');


$plistperpage = $config->field('plistperpage');
//print &quot;$replies >= $plistperpage&quot;;
if ($replies >= $plistperpage) {
$count = (($replies + 1) / $plistperpage);
//$tmp2 = explode(&quot;.&quot;, $count);
$pages2 = ceil($count);
//if (!$tmp2[1] || substr($tmp2[1],0,1) > 0) { $pages2++; }
$tmp = $pages2;
$i = 0;
$pagelink = '';
if ($pages2 > 5)
$tmp = 3;
while ($tmp != 0) {
$i++;
$tmp--;
if($s = $query_topics->field('toforumid') && $s2 = $query_topics->field('totopic')) {
$pagelink .= '<a href=&quot;read.php?TID='.$s2.'&page='.$i.'&quot;><font color=&quot;#000000&quot;>'.$i.'</font></a> ';
} else {
$pagelink .= '<a href=&quot;read.php?TID='.$TID.'&page='.$i.'&quot;><font color=&quot;#000000&quot;>'.$i.'</font></a> ';
}
}
if ($pages2 > 5)
$pagelink .= '... <a href=&quot;read.php?TID='.$TID.'&page='.$pages2.'&quot;>Last</a>';
$multipage = '( '.$pagelink.' )';
} else {
$multipage = '';
}


$check[lastpost] = $query_topics->field('lpdate');
if ($cookie_forums[$FID.','.$TID]) {
$check[lastvisit] = $cookie_forums[$FID.','.$TID];
} else {
$check[lastvisit] = $forum_lastvisit;
}

if ($check[lastpost] > $check[lastvisit] && $check[lastpost] != 0) { $icon = 'topic-on'; } else { $icon = 'topic-off'; }

if ($query_topics->field('lpuser') != '') {
$lastpost[poster] = $query_topics->field('lpuser');
$lastpost[date] = gmdate($timeformat[3], ($check[lastpost] + $offset));

if (!$gp2) {
eval(&quot;\$lastpost = \&quot;&quot;.addslashes($TI[47]).&quot;\&quot;;&quot;);
} else {
eval(&quot;\$lastpost = \&quot;&quot;.addslashes($TI[118]).&quot;\&quot;;&quot;); }
}

else {

if($gp2 == '1') {
$lastpost[date] = gmdate($timeformat[3], ($check[lastpost] + $offset));
eval(&quot;\$lastpost = \&quot;&quot;.addslashes($TI[118]).&quot;\&quot;;&quot;); }

else {
$lastpost[poster] = $query_topics->field('poster');
$lastpost[UID] = $UID;
$lastpost[date] = $posttime;
if (!$gp) {
eval(&quot;\$lastpost = \&quot;&quot;.addslashes($TI[91]).&quot;\&quot;;&quot;);
} else {
eval(&quot;\$lastpost = \&quot;&quot;.addslashes($TI[119]).&quot;\&quot;;&quot;);
}
}
}
if ($poll) { $icon .= '-poll'; }

$dostatus = 1;
$mode = $query_topics->field('smode');

if ($query_topics->field('locked') == '1') {
$icon .= '-lock';
} else { }

if ($mode == 0) {
$title = $query_topics->field('title');
if ($poll) {
$mode = 'Poll:';
} else {
$mode = '';
}
} else {
$title = $query_topics->field('title');
$mode = $query_topics->field('mode') . ': ';
}

$icon .= '.gif';
if ($s = $query_topics->field('toforumid')) {
$newforumid = $s;
$TID = $query_topics->field('totopic');
// TODO: template ID 27, remake the moved topic link
// leave only one step traceable
eval(&quot;\$include .= \&quot;&quot;.addslashes($TI[27]).&quot;\&quot;;&quot;);
} else {
if (!$gp) {
eval(&quot;\$include .= \&quot;&quot;.addslashes($TI[7]).&quot;\&quot;;&quot;);
} else {
eval(&quot;\$include .= \&quot;&quot;.addslashes($TI[117]).&quot;\&quot;;&quot;);
}
}
$topics++;
}



if ($topics == 0) {
eval(&quot;\$include .= \&quot;&quot;.addslashes($TI[8]).&quot;\&quot;;&quot;);
}


$query_topics->free();


if (!$pages) { $pages = 1; }
$pagelink = '';
$tmp = $pages;
$pagenumber = 0;

while ($tmp != 0) {
$pagenumber++;
$tmp--;
if ($pagenumber == $page) {
if ($page == 1) {
$prevlast = 1;
} else {
$previouspage = $page - 1;
}
eval(&quot;\$pagelink .= \&quot;&quot;.addslashes($TI[136]).&quot;\&quot;;&quot;);
$getnext = 1;
} else {
if ($getnext) {
$getnext = 0;
$nextpage = $pagenumber;
}
eval(&quot;\$pagelink .= \&quot;&quot;.addslashes($TI[135]).&quot;\&quot;;&quot;);
}
}

if ($prevlast) {
$prevlast = 0;
$previouspage = $pagenumber;
}

if ($getnext) {
$getnext = 0;
$nextpage = 1;
}

// ###############################
// FINALIZE
// ###############################

if ($privilege->field('thread_canpost') || ADMIN) { $priv[newtopic] = $true; } else { $priv[newtopic] = $false; }
if ($privilege->field('thread_canreply') || ADMIN) { $priv[reply] = $true; } else { $priv[reply] = $false; }

$cookie_forums['lasttime'] = time();
$cookie_forums['lastforum'] = $FID;
while (list($key,$val) = each($cookie_forums)) {
if ($key != '') {
$cookie .= $key . '='. $val . '|';
}
}
setcookie('forums',$cookie,$expire,$config->field('cookiepath'));

require 'lib/dropdown.php';
$fs[$FID] = 'selected';

eval(&quot;\$selectbox = \&quot;&quot;.addslashes(forum_dropdown('forumid')).&quot;\&quot;;&quot;);
eval(&quot;\$forumnav = \&quot;&quot;.addslashes($TI[36]).&quot;\&quot;;&quot;);

$title = 'Viewing Board: '.$FNAME;

eval(&quot;\$include = \&quot;&quot;.addslashes($TI[5]).&quot;\&quot;;&quot;);
eval(&quot;\$output = \&quot;&quot;.addslashes($TI[0]).&quot;\&quot;;&quot;);

lose($output);
?>


Btw, thanks for the support!
Hope to hear from you guys soon!!
 
nope, we still need the bit where it actually prints or printf( or echo to the page the data thats been processed. ***************************************
Party on, dudes!
[cannon]
 
there are too many files, but here's the template from the admin of board.php, hope this helps:

<table width=&quot;98%&quot; border=&quot;0&quot; cellspacing=&quot;2&quot; cellpadding=&quot;1&quot; align=&quot;center&quot;>
<tr>

<!--<td width=&quot;2%&quot; height=&quot;21&quot; align=&quot;left&quot;><img src=&quot;{imagepath}/icon.gif&quot; width=&quot;16&quot; height=&quot;15&quot;></td>-->



<td width=* height=&quot;21&quot; align=&quot;left&quot;><font face=&quot;$tempvars[fontface]&quot; size=&quot;2&quot; color=&quot;#000000&quot;><b>$nav</b></font></td>
<td width=&quot;25%&quot; height=&quot;21&quot; align=&quot;right&quot;><a href=&quot;post.php?action=post&FID=$FID&quot;><img src=&quot;{imagepath}/newtopic.gif&quot; width=&quot;112&quot; height=&quot;31&quot; border=&quot;0&quot;></a>
</td>

</tr>
<tr>
<td colspan=&quot;3&quot;><font face=&quot;$tempvars[fontface]&quot; size=&quot;1&quot; color=&quot;#000000&quot;>$moderators</font>

[<font face=&quot;$tempvars[fontface]&quot; size=&quot;2&quot; color=&quot;#000000&quot;><A HREF=&quot;]


</td>
</tr>
</table>
$nested
<br>
<table cellpadding=&quot;4&quot; cellspacing=&quot;1&quot; border=&quot;0&quot; width=&quot;98%&quot; align=&quot;center&quot; bgcolor=&quot;$tempvars[header2]&quot;>
<tr align=&quot;center&quot; bgcolor=&quot;$tempvars[header2]&quot;>
<td height=&quot;7&quot; width=&quot;4%&quot;></td>
<td height=&quot;7&quot; width=&quot;80%&quot; align=&quot;left&quot;><font face=&quot;$tempvars[fontface]&quot; size=&quot;1&quot; color=&quot;#FFFFFF&quot;>Topic</font></td>
<td height=&quot;7&quot; width=&quot;25%&quot; align=&quot;center&quot; nowrap><font face=&quot;$tempvars[fontface]&quot; size=&quot;1&quot; color=&quot;#FFFFFF&quot;>Author</font></td>
<td height=&quot;7&quot; colspan=&quot;2&quot;><font face=&quot;$tempvars[fontface]&quot; size=&quot;1&quot; color=&quot;#FFFFFF&quot;>Views</font></td>
<td height=&quot;7&quot; colspan=&quot;2&quot;><font face=&quot;$tempvars[fontface]&quot; size=&quot;1&quot; color=&quot;#FFFFFF&quot;>Replies</font></td>
<td height=&quot;7&quot; nowrap bgcolor=&quot;$tempvars[header2]&quot;><font face=&quot;$tempvars[fontface]&quot; size=&quot;1&quot; color=&quot;#FFFFFF&quot;>Last
Action</font></td>
</tr>
$include
</table>
<table width=&quot;98%&quot; border=&quot;0&quot; cellspacing=&quot;0&quot; cellpadding=&quot;8&quot; align=&quot;center&quot;>
<tr>
<td><a href=&quot;post.php?action=post&FID=$FID&quot;><img src=&quot;{imagepath}/newtopic.gif&quot; width=&quot;112&quot; height=&quot;31&quot; border=&quot;0&quot;></a></td>
<td valign=&quot;top&quot; align=&quot;right&quot;>
<table border=&quot;0&quot; cellspacing=&quot;0&quot; cellpadding=&quot;3&quot; width=&quot;50%&quot;>
<tr>




<td width=&quot;11&quot; align=&quot;center&quot; bgcolor=&quot;$tempvars[secondary]&quot;><b><font face=&quot;$tempvars[fontface]&quot; size=&quot;1&quot; color=&quot;#000000&quot;><a href=&quot;board.php?FID=$FID&page=$previouspage&quot;>&lt;</a></font></b></td>




<!--<td width = &quot;20%&quot; NOWRAP></td>-->

$pagelink


<td width=&quot;11&quot; align=&quot;center&quot; bgcolor=&quot;$tempvars[secondary]&quot;><b><font face=&quot;$tempvars[fontface]&quot; size=&quot;1&quot; color=&quot;#000000&quot;><a href=&quot;board.php?FID=$FID&page=$nextpage&quot;>&gt;</a></font></b></td>




</tr>
</table>
</td>
</tr>
</table>
<table width=&quot;98%&quot; border=&quot;0&quot; cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; align=&quot;center&quot;>
<tr>
<td align=&quot;right&quot;>$forumnav</td>
</tr>
</table>
<table width=&quot;98%&quot; border=&quot;0&quot; cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; align=&quot;center&quot;>
<tr>
<td width=&quot;25%&quot; valign=&quot;top&quot;><font face=&quot;$tempvars[fontface]&quot; size=&quot;1&quot;><b>Board Rules</b><br>
You <b>$priv[newtopic]</b> post new topics in this board.<br>
You <b>$priv[reply] </b>post replies in this board.<br>
You <b>can</b> edit your own posts.</font>
</td>
<td width=&quot;74%&quot;>
<table width=&quot;49%&quot; border=&quot;0&quot; cellspacing=&quot;1&quot; cellpadding=&quot;2&quot; align=&quot;right&quot;>
<tr>
<td>
<table width=&quot;100%&quot; border=&quot;0&quot; cellspacing=&quot;1&quot; cellpadding=&quot;0&quot;>
<tr>
<td width=&quot;50%&quot;>
<table width=&quot;100%&quot; border=&quot;0&quot; cellspacing=&quot;1&quot; cellpadding=&quot;0&quot; align=&quot;center&quot;>
<tr>
<td width=&quot;13%&quot;><img src=&quot;{imagepath}/topic-on.gif&quot;></td>
<td width=&quot;87%&quot;><font face=&quot;$tempvars[fontface]&quot; size=&quot;1&quot; color=&quot;#000000&quot;>Unread Topic</font></td>
</tr>
<tr>
<td width=&quot;13%&quot;><img src=&quot;{imagepath}/topic-off.gif&quot;></td>
<td width=&quot;87%&quot;><font face=&quot;$tempvars[fontface]&quot; size=&quot;1&quot; color=&quot;#000000&quot;>Read Topic</font></td>
</tr>
<tr>
<td width=&quot;13%&quot; height=&quot;16&quot;><img src=&quot;{imagepath}/topic-lock.gif&quot;></td>
<td width=&quot;87%&quot; height=&quot;16&quot;><font face=&quot;$tempvars[fontface]&quot; size=&quot;1&quot; color=&quot;#000000&quot;>Locked Topic</font></td>
</tr>
</table>
</td>
<td valign=&quot;top&quot; width=&quot;50%&quot;>
<table width=&quot;100%&quot; border=&quot;0&quot; cellspacing=&quot;1&quot; cellpadding=&quot;0&quot; align=&quot;center&quot;>
<tr>
<td width=&quot;13%&quot;><img src=&quot;{imagepath}/topic-poll.gif&quot;></td>
<td width=&quot;87%&quot;><font face=&quot;$tempvars[fontface]&quot; size=&quot;1&quot; color=&quot;#000000&quot;>Unread Topic with poll attached</font></td>
</tr>
<tr>
<td width=&quot;13%&quot;><img src=&quot;{imagepath}/topic-poll2.gif&quot;></td>
<td width=&quot;87%&quot;><font face=&quot;$tempvars[fontface]&quot; size=&quot;1&quot; color=&quot;#000000&quot;>Read Topic with poll attached</font></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>


/********** and here's the template of the page link*****/

<td width=&quot;10&quot; align=&quot;center&quot; bgcolor=&quot;$tempvars[primary]&quot;><b><font face=&quot;$tempvars[fontface]&quot; size=&quot;1&quot; color=&quot;#000000&quot;><a href=&quot;board.php?FID=$FID&page=$pagenumber&quot;>[$pagenumber]</font></a></font></b></td>

/**************************************/

or better yet, u can download the file here if the info above is not enough
thanks and pls continue the overwhelming support!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top