<?php global $bp; ?>

<div id="iron-encabezado-container" style="clear:both;">
    <ul class="iron-encabezado-ul">
        <li class="iron-encabezado-li">
            <a <?php if (!$_GET['sec'] && $bp->current_action=='just-me' ) echo 'class="selected"'; ?> href="<?php echo bp_displayed_user_domain() . 'activity/' ?>">
                <?php _e( 'Actividad', 'buddypress' ) ?>
            </a>
        </li>
        <li class="iron-encabezado-li">&middot;&nbsp;
            <a <?php if ($bp->current_action == 'mentions' or $_GET['sec'] == 'mentions') echo 'class="selected"'; ?> href="<?php echo bp_displayed_user_domain() . 'activity/mentions' ?>">
                <?php _e( 'Menciones', 'buddypress' ) ?>
            </a>
        </li>
        <li class="iron-encabezado-li">&middot;&nbsp;
            <a <?php if ($bp->current_action == 'favorites') echo 'class="selected"'; ?> href="<?php echo bp_displayed_user_domain() . 'activity/favorites' ?>">
                <?php _e( 'Le gusta', 'buddypress' ) ?>
            </a>
        </li>
        <li class="iron-encabezado-li">&middot;&nbsp;
            <a <?php if ($_GET['sec'] == 'groups') echo 'class="selected"'; ?> href="<?php echo bp_displayed_user_domain() . 'activity/?sec=groups' ?>">
                <?php _e( 'Grupos', 'buddypress' ) ?>
            </a>
        </li>
        <li class="iron-encabezado-li">&middot;&nbsp;
            <a <?php if ($_GET['sec'] == 'questions') echo 'class="selected"'; ?> href="<?php echo bp_displayed_user_domain() . 'activity/?sec=questions' ?>">
                <?php _e( 'Preguntas', 'buddypress' ) ?>
            </a>
        </li>
        <li class="iron-encabezado-li">&middot;&nbsp;
            <a <?php if ($_GET['sec'] == 'testimonies') echo 'class="selected"'; ?> href="<?php echo bp_displayed_user_domain() . 'activity/?sec=testimonies' ?>">
                <?php _e( 'Testimonios', 'buddypress' ) ?>
            </a>
        </li>
    </ul>
</div>

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

	<?php do_action( 'bp_before_member_activity_content' ) ?>

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

	<?php do_action( 'bp_after_member_activity_content' ) ?>