Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Last Post on Forums

<tr<?php bb_forum_class(); ?>>
<td><?php forum_icon(); ?> <?php bb_forum_pad( '<div class="nest">' ); ?><a href="<?php forum_link(); ?>"><b><?php forum_name(); ?></b></a><br /><?php forum_description( array( 'before' => '<small>', 'after' => '</small>' ) ); ?><?php bb_forum_pad( '</div>' ); ?></td>
<td class="num"><?php forum_topics(); ?></td>
<td class="num"><?php forum_posts(); ?></td>
<td class="lastp"><?php $topic = $GLOBALS['topic'] = get_latest_topics( array( 'number' => 1, 'forum' => get_forum_id() ) ); ?><small>by <?php topic_last_poster(); ?><br />on <a href="<?php topic_last_post_link(); ?>"><?php echo date("D M j Y G:i:s", strtotime($topic->topic_time)); ?></small></a></td>
</tr>

results in

by

on Wed Dec 31 1969 19:00:00

Skip to toolbar