<?php while ( bp_forum_topics() ) : bp_the_forum_topic(); ?> <tr class="<?php bp_the_topic_css_class() ?>"> <td class="td-title"> <a class="topic-title" href="<?php bp_the_topic_permalink() ?>" title="<?php bp_the_topic_title() ?> - <?php _e( 'Permalink', 'buddypress' ) ?>"> <?php bp_the_topic_title() ?> </a> </td> <td class="td-poster"> <a href="<?php bp_the_topic_permalink() ?>"><?php bp_the_topic_last_poster_avatar( 'type=thumb&width=20&height=20' ) ?></a> <div class="poster-name"><?php bp_the_topic_last_poster_name() ?></div> </td> <?php if ( !bp_is_group_forum() ) : ?> <td class="td-group"> <a href="<?php bp_the_topic_object_permalink() ?>"><?php bp_the_topic_object_avatar( 'type=thumb&width=20&height=20' ) ?></a> <div class="object-name"><a href="<?php bp_the_topic_object_permalink() ?>" title="<?php bp_the_topic_object_name() ?>"><?php bp_the_topic_object_name() ?></a></div> </td> <?php endif; ?> <td class="td-postcount"> <?php bp_the_topic_total_posts() ?> </td> <td class="td-freshness"> <?php bp_the_topic_time_since_last_post() ?> </td> <?php do_action( 'bp_directory_forums_extra_cell' ) ?> </tr> <?php do_action( 'bp_directory_forums_extra_row' ) ?>
</span>, <span class="topic-on"><?php printf(__('On · %1$s', 'huddle'), date('m.d.Y', strtotime(bp_get_the_topic_time()))); ?> </span> </p> </td> <td class="td-group"> <?php if (!bp_is_group_forum()) { ?> <p class="topic-meta"> <?php bp_the_topic_object_avatar('width=35&height=35'); ?> <span><?php _e('Posted in Group', 'huddle'); ?> </span> </p> <p class="topic-meta"> <span> <?php $topic_in = '<a href="' . bp_get_the_topic_object_permalink() . '" title="' . bp_get_the_topic_object_name() . '">' . bp_get_the_topic_object_name() . '</a>'; printf(__('%1$s', 'huddle'), $topic_in); ?> </span>
</a> <div class="poster-name"><?php bp_the_topic_last_poster_name(); ?> </div> </td> <?php if (!bp_is_group_forum()) { ?> <td class="td-group"> <a href="<?php bp_the_topic_object_permalink(); ?> "><?php bp_the_topic_object_avatar('type=thumb&width=20&height=20'); ?> </a> <div class="object-name"><a href="<?php bp_the_topic_object_permalink(); ?> " title="<?php bp_the_topic_object_name(); ?> "><?php bp_the_topic_object_name(); ?> </a></div> </td> <?php }