</ul> </div> </div><!-- #item-nav --> <div style="clear:left;"></div> <div id="item-body"> <?php do_action('template_notices'); ?> <?php do_action('bp_before_event_body'); ?> <?php if (bp_is_gallery_home()) { locate_template(array('gallery/jes_events/home.php'), true); } else { if (bp_is_gallery_create()) { locate_template(array('gallery/jes_events/create.php'), true); } else { if (bp_is_gallery_edit()) { locate_template(array('gallery/jes_events/edit.php'), true); } else { if (bp_is_gallery_upload()) { locate_template(array('gallery/jes_events/upload.php'), true); } else { if (bp_is_single_media()) { locate_template(array('gallery/jes_events/single-media.php'), true); } else { if (bp_is_single_gallery()) {
<div id="item-nav"> <div class="item-list-tabs no-ajax" id="sub-nav"> <ul> <?php bp_get_options_nav() ?> <?php do_action( 'bp_group_options_nav' ) ?> </ul> </div> </div> <div id="item-body"> <?php do_action( 'template_notices' ) ?> <?php do_action( 'bp_before_group_body' ) ?> <?php if(bp_is_gallery_home()) locate_template( array( 'gallery/groups/home.php' ), true ) ; else if(bp_is_gallery_create()) locate_template( array( 'gallery/groups/create.php' ), true ) ; else if(bp_is_gallery_edit()) locate_template( array( 'gallery/groups/edit.php' ), true ) ; else if(bp_is_gallery_upload()) locate_template( array( 'gallery/groups/upload.php' ), true ) ; else if(bp_is_single_media()) locate_template( array( 'gallery/groups/single-media.php' ), true ) ; else if(bp_is_single_gallery())