<div class="inner-tube"> <?php bp_get_profile_header(); ?> <?php if (function_exists('xprofile_get_profile')) { ?> <?php xprofile_get_profile(); ?> <?php } else { ?> <?php bp_core_get_wp_profile(); ?> <?php } ?> <?php if (function_exists('bp_activity_install')) { ?> <div class="info-group"> <h4><?php echo bp_word_or_name(__("My Activity", 'buddypress'), __("%s's Activity", 'buddypress'), true, false); ?> </h4> <?php
</td> </tr> <?php endif; ?> <?php do_action( 'bp_profile_field_item' ) ?> <?php endwhile; ?> </table> </div> <?php do_action( 'bp_after_profile_field_content' ) ?> <?php endif; ?> <?php endwhile; ?> <?php do_action( 'bp_profile_field_buttons' ) ?> <?php endif; ?> <?php else : ?> <?php /* Just load the standard WP profile information, if BP extended profiles are not loaded. */ ?> <?php bp_core_get_wp_profile() ?> <?php endif; ?> <?php do_action( 'bp_after_profile_loop_content' ) ?>