3
newbb_viewtopic_flat.htmlle="color: #000000"><?php <{foreach item=topic_post from=$topic_posts}> <{include file="db:newbb_thread.html" topic_post=$topic_post}> <{/foreach}> <tr class="foot" align="left"> <td colspan="2" align="center"><{$forum_page_nav}> </td> </tr>
i've edited the above file, and pasted the above code into the top of the table, but it didn't work. actually, i'm not familiar with smarty template.
viewtopic.phple="color: #000000"><?php if ( $total_posts > $forumdata['posts_per_page'] ) { include XOOPS_ROOT_PATH.'/class/pagenav.php'; $nav = new XoopsPageNav($total_posts, $forumdata['posts_per_page'], $start, "start", 'topic_id='.$topic_id.'&forum='.$forum.'&viewmode='.$viewmode.'&order='.$order); $xoopsTpl->assign('forum_page_nav', $nav->renderNav(4)); } else { $xoopsTpl->assign('forum_page_nav', ''); }
do they also involving the above code to make the page nav works? help me please. thanx you.