0xsec Shell
0xSec


Server : LiteSpeed
System : Linux webbox1.ncrdns.net 5.14.0-611.55.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue May 19 15:19:29 EDT 2026 x86_64
User : rahcos ( 1533)
PHP Version : 8.4.23
Disable Function : NONE
Directory :  /home/rahcos/.trash/wp-content/themes/hara/sbi/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //home/rahcos/.trash/wp-content/themes/hara/sbi/header.php
<?php
/**
 * Smash Balloon Instagram Feed Header Template
 * Adds account information and an avatar to the top of the feed
 *
 * @version 2.9 Instagram Feed by Smash Balloon
 *
 */

// Don't load directly
if ( ! defined( 'ABSPATH' ) ) {
	die( '-1' );
}
$header_padding = (int) $settings['imagepadding'] > 0 ? 'padding: ' . (int) $settings['imagepadding'] . $settings['imagepaddingunit'] . ';' : '';
$header_margin  = (int) $settings['imagepadding'] < 10 ? ' margin-bottom: 10px;' : '';

$username                = SB_Instagram_Parse::get_username( $header_data );
$avatar                  = SB_Instagram_Parse::get_avatar( $header_data, $settings );
$name                    = SB_Instagram_Parse::get_name( $header_data );
$header_text_color_style = SB_Instagram_Display_Elements::get_header_text_color_styles( $settings ); // style="color: #517fa4;" already escaped
$size_class              = SB_Instagram_Display_Elements::get_header_size_class( $settings );

$hara_atts = json_decode($shortcode_atts, true);

$title = $hara_atts['data-title'];
$subtitle = $hara_atts['data-subtitle'];

$bio             = SB_Instagram_Parse::get_bio( $header_data, $settings );
$should_show_bio = $settings['showbio'] && $bio !== '';
$bio_class       = ! $should_show_bio ? ' sbi_no_bio' : '';
$avatar_class    = $avatar !== '' ? '' : ' sbi_no_avatar';
?>
<div class="sb_instagram_header <?php echo esc_attr( $size_class ) . esc_attr( $avatar_class ); ?>" style="<?php echo esc_attr( $header_padding . $header_margin ); ?>padding-bottom: 0;">
	<a href="https://www.instagram.com/<?php echo urlencode( $username ); ?>/" target="_blank" rel="noopener nofollow" title="@<?php echo esc_attr( $username ); ?>" class="sbi_header_link">
		
	
		<?php if( !empty($title) ) : ?>
			<div class="heading-tbay-title">
				<div class="title">
					<?php echo trim($title); ?>
				</div>	
			</div>	
		<?php endif; ?>

		<div class="sbi_header_text<?php echo esc_attr( $bio_class ); ?>">
			<h3 <?php echo trim( $header_text_color_style ); ?>><?php echo esc_html( $username ); ?></h3>
			<?php if ( $should_show_bio ) : ?>
				<p class="sbi_bio" <?php echo  trim( $header_text_color_style ); ?>><?php echo str_replace( '&lt;br /&gt;', '<br>', esc_html( nl2br( $bio ) ) ); ?></p>
			<?php endif; ?>
		</div>
		<?php if ( $avatar === '' ) : ?>
		<div class="sbi_header_img">
			<div class="sbi_header_hashtag_icon"><?php echo SB_Instagram_Display_Elements::get_icon( 'newlogo', 'svg' ); ?></div>
		</div>
		<?php else : ?>
		<div class="sbi_header_img" data-avatar-url="<?php echo esc_attr( $avatar ); ?>">
			<div class="sbi_header_img_hover"><?php echo SB_Instagram_Display_Elements::get_icon( 'newlogo', 'svg' ); ?></div>
			<img src="<?php echo esc_url( $avatar ); ?>" alt="<?php echo esc_attr( $name ); ?>" width="50" height="50">
		</div>
		<?php endif; ?>

		<?php if( !empty($subtitle) ) : ?>
			<div class="heading-tbay-title">
				<div class="subtitle">
					<?php echo trim($subtitle); ?>
				</div>	
			</div>	
		<?php endif; ?>

	</a>
</div>

c0oded By c0rpz