HEX
Server: Apache
System: Linux nc-ph-0707-26.instaforreviews.com 3.10.0-1160.119.1.el7.tuxcare.els13.x86_64 #1 SMP Fri Nov 22 06:29:45 UTC 2024 x86_64
User: qirgxuo4hkuv (1004)
PHP: 8.3.27
Disabled: NONE
Upload Files
File: /home/qirgxuo4hkuv/public_html/koracheap.com/wp-content/themes/rehub-theme/rtmedia/mediaindex.php
<?php if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly ?>
<?php get_header(); ?>
<?php 
	$author_ID = bp_displayed_user_id();
	$membertype = ($author_ID) ?  bp_get_member_type($author_ID) : '';		
?>
<div id="buddypress" class="register_wrap_type<?php echo ''.$membertype;?>">
	<?php if($author_ID):?>
		<?php include(rh_locate_template('buddypress/members/single/cover-image-header.php'));?> 
	<?php elseif (bp_is_group()):?>
		<?php if ( bp_has_groups() ) : while ( bp_groups() ) : bp_the_group(); ?>
			<?php include(rh_locate_template('buddypress/groups/single/cover-image-header.php'));?>
	    <?php endwhile; endif;?>
	<?php endif;?>
	<!-- CONTENT -->
	<div class="rh-container clearfix mb30">
		<?php if($author_ID):?>
			<?php
				do_action( 'bp_after_member_header' );
				do_action( 'template_notices' ); 
			?>									
		<?php elseif (bp_is_group()):?>
			<?php
				do_action( 'bp_after_group_header' );
				do_action( 'template_notices' ); 
			?>
		<?php endif;?>	
		<div>
			<article> 
				<?php include(rh_locate_template('rtmedia/main.php'));?>
            </article>
		</div>
	</div>
	<!-- /CONTENT --> 
</div><!-- #buddypress -->    
<!-- FOOTER -->
<?php get_footer(); ?>