<?php
/**
 * Forums Loop
 *
 * @package bbPress
 * @subpackage Theme
 */
do_action('bbp_template_before_forums_loop');
?>

<ul id="forums-list-<?php bbp_forum_id(); ?>" class="bbp-forums">

    <li class="bbp-header">

        <ul class="forum-titles">
            <li class="bbp-forum-info"><?php _e('Forum', 'evolve'); ?></li>
            <li class="bbp-forum-topic-count"><?php _e('Topics', 'evolve'); ?></li>
            <li class="bbp-forum-reply-count"><?php bbp_show_lead_topic() ? _e('Replies', 'evolve') : _e('Posts', 'evolve'); ?></li>
            <li class="bbp-forum-freshness"><?php _e('Freshness', 'evolve'); ?></li>
        </ul>

    </li><!-- .bbp-header -->

    <li class="bbp-body">

        <?php
        while (bbp_forums()) : bbp_the_forum();

            bbp_get_template_part('loop', 'single-forum');

        endwhile;
        ?>

    </li><!-- .bbp-body -->

</ul><!-- .forums-directory -->

<?php
do_action('bbp_template_after_forums_loop');
