
<div class="item-list-tabs no-ajax" id="subnav" role="navigation">
	<ul>
		<?php bp_get_options_nav() ?>

		<li id="forums-order-select" class="last filter">

			<label for="forums-order-by"><?php _e( '&nbsp;', 'MCL' ); ?></label>
			<select id="forums-order-by">
				<option value="active"><?php _e( 'اجدد تحديث', 'MCL' ); ?></option>
				<option value="popular"><?php _e( 'الاكثر تعليقا', 'MCL' ); ?></option>
				<option value="unreplied"><?php _e( 'الغير مجاب', 'MCL' ); ?></option>

				<?php do_action( 'bp_forums_directory_order_options' ); ?>

			</select>
		</li>
	</ul>
</div><!-- .item-list-tabs -->

<?php

if ( bp_is_current_action( 'favorites' ) ) :
	locate_template( array( 'members/single/forums/topics.php' ), true );

else :
	do_action( 'bp_before_member_forums_content' ); ?>

	<div class="forums myforums">

		<?php locate_template( array( 'forums/group-forums-loop.php' ), true ); ?>

	</div>

	<?php do_action( 'bp_after_member_forums_content' ); ?>

<?php endif; ?>
