<?php get_header() ?>

    <?php locate_template( array( 'leftsidebar.php' ), true ) ?>

    <div id="content">

        <div id="iron-encabezado-container">
            <h2 class="iron-encabezado-seccion"><?php echo __('Mis Hitos','buddypress'); ?></h2>
            <ul class="iron-encabezado-ul">
                <li class="iron-encabezado-li">
                <a href="<?php dpa_achievements_permalink() ?>/<?php echo DPA_SLUG_CREATE ?>"><?php _e( 'Crear un Hito', 'buddypress' ) ?></a>
                &middot;&nbsp;<a href="<?php dpa_achievements_permalink() ?>"><?php _e( 'Todos', 'buddypress' ) ?></a>
                &middot;&nbsp;<a class="selected" href="<?php echo bp_loggedin_user_domain() ?>achievements"><?php _e( 'Mis Hitos', 'buddypress' ) ?></a>
                </li>
            </ul>
        </div>

        <div class="padder">
        
                <div id="content-top"></div>
                
                    <div id="content-middle">

                    <?php do_action( 'bp_before_member_home_content' ) ?>
        
                    <div id="item-body">
                        <?php do_action( 'bp_before_member_body' ) ?>
        
                        <?php if ( dpa_is_member_my_achievements_page() ) : ?>
                            <?php dpa_load_template( array( 'members/single/achievements/unlocked.php' ) ) ?>
                        <?php endif; ?>
        
                        <?php do_action( 'bp_after_member_body' ) ?>
        
                    </div><!-- #item-body -->
        
                    <?php do_action( 'bp_after_member_home_content' ) ?>
                    
                    </div><!-- #content-middle -->
                    
                <div id="content-bottom"></div>
                
        </div><!-- .padder -->
    </div><!-- #content -->

    <?php get_sidebar( 'buddypress' ) ?>

<?php get_footer( 'buddypress' ) ?>