<?php
/**
 * BuddyPress - Users Header
 *
 * @package BuddyPress
 * @subpackage bp-default
 */
?>
<?php global $bp; ?>

<div class="columns twothirds first text-left">
    <div id="item-header-avatar" class="columns onefourth first text-left">
        <a href="<?php echo bp_displayed_user_link(); ?>"><?php bp_displayed_user_avatar( 'type=full' ); ?></a>    
    </div>    

    <div class="columns threefourths last text-left">
        <span class="user-nicename"><a href="<?php echo bp_displayed_user_link(); ?>" title="<?php bp_displayed_user_fullname(); ?>"><?php bp_displayed_user_fullname(); ?> (<a title="<?php echo (bp_displayed_user_id() == bp_loggedin_user_id()) ? 'My profile' : bp_displayed_user_fullname() . '\'s profile'; ?>" href="<?php echo bp_displayed_user_link().BP_XPROFILE_SLUG; ?>"><?php _e('Profile'); ?></a>)</a></span>
        <div id="item-meta">
            <?php if (bp_is_active(BP_DEDICATION_SLUG)) : ?>
                <div class="my-dedications"><?php _e('My dedications:'); ?>&nbsp;<?php echo $bp->dedications->get_count_dedications_from_user(bp_displayed_user_id()); ?></div>
                <div class="dedicated-to-me"><?php _e('Dedicated to me:'); ?>&nbsp;<?php echo $bp->dedications->get_count_dedications_to_user(bp_displayed_user_id()); ?></div>
            <?php endif; ?>
                <div class="friend-requests"><?php _e('Friend requests:'); ?>&nbsp;<?php echo bp_friend_get_total_requests_count(); ?></div>
                <div class="edit-profile"></div>
        </div><!-- #item-meta -->    
    </div>   
</div>
