<div id="members-dir-search" class="dir-search" style="float: right;">
<?php bp_directory_members_search_form() ?>
</div><!-- #members-dir-search -->

<div class="clear"></div>

<?php if ( 'requests' == bp_current_action() ) : ?>
	<?php locate_template( array( 'members/single/friends/requests.php' ), true ) ?>

<?php else : ?>

	<?php do_action( 'bp_before_member_friends_content' ) ?>

	<div class="members friends">
		<?php locate_template( array( 'members/members-loop.php' ), true ) ?>
	</div><!-- .members.friends -->

	<?php do_action( 'bp_after_member_friends_content' ) ?>

<?php endif; ?>