HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux WebLive 5.15.0-79-generic #86-Ubuntu SMP Mon Jul 10 16:07:21 UTC 2023 x86_64
User: ubuntu (1000)
PHP: 7.4.33
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: /var/www/html/wptrinityconsulting/wp-content/themes/finbuzz/template-parts/footer/footer-2.php
<?php
$finbuzz_footer_column = FinbuzzTheme::$options['footer_column_2'];
switch ( $finbuzz_footer_column ) {
	case '1':
	$finbuzz_footer_class = 'col-sm-12 col-12';
	break;
	case '2':
	$finbuzz_footer_class = 'col-sm-6 col-12';
	break;
	case '3':
	$finbuzz_footer_class = 'col-lg-4 col-md-6 col-12';
	break;		
	default:
	$finbuzz_footer_class = 'col-lg-3 col-md-6 col-12';
	break;
}

if( !empty( FinbuzzTheme::$options['fbgimg'] ) ) {
	$f1_bg = wp_get_attachment_image_src( FinbuzzTheme::$options['fbgimg'], 'full', true );
	$footer_bg_img = $f1_bg[0];
}else {
	$footer_bg_img = FINBUZZ_IMG_URL . 'footer2-1_bg.jpg';
}

if ( FinbuzzTheme::$options['footer_bgtype'] == 'fbgcolor' ) {
	$finbuzz_bg = FinbuzzTheme::$options['fbgcolor'];
	$finbuzz_bg_class='no-footer-img';
} else {
	$finbuzz_bg = 'url(' . $footer_bg_img . ') no-repeat center bottom / cover';
	$finbuzz_bg_class='has-footer-img';
}

$finbuzz_footer_address_meta=(FinbuzzTheme::$options['address1_title'] || FinbuzzTheme::$options['footer_address1'] || FinbuzzTheme::$options['address2_title'] || FinbuzzTheme::$options['footer_address2'] || FinbuzzTheme::$options['address3_title'] || FinbuzzTheme::$options['footer_address3']) ? true:false;

$has_footer_address_class="";
if($finbuzz_footer_address_meta==true){
	$has_footer_address_class="has-footer-address";
}

?>
<?php if ( FinbuzzTheme::$footer_area == 1 || FinbuzzTheme::$footer_area == 'on') { ?>
		<?php if($finbuzz_footer_address_meta){ ?>
			<div class="footer-top-address">
				<div class="figure-img1">
					<img src="<?php echo FINBUZZ_ASSETS_URL . 'element/figure5.png'; ?>" alt="<?php echo esc_attr('figure5', 'finbuzz'); ?>" width="872" height="724">
				</div>
				<div class="figure-img2">
					<img src="<?php echo FINBUZZ_ASSETS_URL . 'element/figure6.png'; ?>" alt="<?php echo esc_attr('figure6', 'finbuzz'); ?>" width="487" height="269">
				</div>
				<div class="container">
					<div class="row">
						<?php if(FinbuzzTheme::$options['address1_title']|| FinbuzzTheme::$options['footer_address1']) { ?>
							<div class="col-md-4 col-sm-6">
								<div class="address-box">
									<?php if ( FinbuzzTheme::$options['address1_title'] ){ ?>
										<h3 class="address-title"><?php echo wp_kses( FinbuzzTheme::$options['address1_title'] , 'alltext_allow' );?>
										</h3>
									<?php } ?>
									<?php if ( FinbuzzTheme::$options['footer_address1'] ){ ?>
										<div class="address-info"><?php echo wp_kses( FinbuzzTheme::$options['footer_address1'] , 'alltext_allow' );?>
										</div>
									<?php } ?>	
								</div>
							</div>
						<?php } ?>
						<?php if(FinbuzzTheme::$options['address2_title'] || FinbuzzTheme::$options['footer_address2']){ ?>
							<div class="col-md-4 col-sm-6">
								<div class="address-box">
									<?php if ( FinbuzzTheme::$options['address2_title'] ){ ?>
										<h3 class="address-title"><?php echo wp_kses( FinbuzzTheme::$options['address2_title'] , 'alltext_allow' );?>
										</h3>
									<?php } ?>
									<?php if ( FinbuzzTheme::$options['footer_address2'] ){ ?>	
										<div class="address-info"><?php echo wp_kses( FinbuzzTheme::$options['footer_address2'] , 'alltext_allow' );?>
										</div>
									<?php } ?>		
								</div>
							</div>
						<?php } ?>
						<?php if(FinbuzzTheme::$options['address3_title'] || FinbuzzTheme::$options['footer_address3']){ ?>
							<div class="col-md-4 col-sm-6">
								<div class="address-box">
									<?php if ( FinbuzzTheme::$options['address3_title'] ){ ?>
										<h3 class="address-title"><?php echo wp_kses( FinbuzzTheme::$options['address3_title'] , 'alltext_allow' );?>
										</h3>
									<?php } ?>
									<?php if ( FinbuzzTheme::$options['footer_address3'] ){ ?>
										<div class="address-info"><?php echo wp_kses( FinbuzzTheme::$options['footer_address3'] , 'alltext_allow' );?>
										</div>
									<?php } ?>		
								</div>
							</div>
						<?php } ?>
					</div>
					<div class="color-overlay1">
						<img src="<?php echo FINBUZZ_ASSETS_URL . 'element/figure51.png'; ?>" alt="<?php echo esc_attr('figure51', 'finbuzz'); ?>" width="287" height="375">
					</div>
					<div class="color-overlay2">
						<img src="<?php echo FINBUZZ_ASSETS_URL . 'element/figure52.png'; ?>" alt="<?php echo esc_attr('figure52', 'finbuzz'); ?>" width="196" height="563">
					</div>
				</div>
			</div>
		<?php } ?>
		<div class="footer-bg-shape">
                <img src="<?php echo FINBUZZ_ASSETS_URL . 'element/figure68.png'; ?>" alt="<?php echo esc_attr('footer-bg', 'finbuzz'); ?>" width="1920" height="267">
        </div>
		<div class="footer-top-area <?php echo esc_attr( $has_footer_address_class ) ?>" style="background:<?php echo esc_html( $finbuzz_bg ); ?>">
			<div class="container">
				<div class="footer-top-widget"> 
					<div class="row">
						<?php 
						for ( $i = 1; $i <= $finbuzz_footer_column; $i++ ) {
							if(is_active_sidebar( 'footer-style-2-'. $i )){
								echo '<div class="' . $finbuzz_footer_class . '">';
								dynamic_sidebar( 'footer-style-2-'. $i );
								echo '</div>';
							}
						}
						?>
					</div>
				</div>
				<div class="footer-wrap">						
					<div class="copyright_wrap">
						<span class="left-line"></span>
						<div class="copyright-img1">
							<img src="<?php echo FINBUZZ_ASSETS_URL . 'element/figure4.png'; ?>" alt="<?php echo esc_attr('figure', 'finbuzz'); ?>" width="20" height="20">
						</div>
						<div class="copyright"><?php echo wp_kses( FinbuzzTheme::$options['copyright_text'] , 'allow_link' );?></div>
						<div class="copyright-img2">
							<img src="<?php echo FINBUZZ_ASSETS_URL . 'element/figure4.png'; ?>" alt="<?php echo esc_attr('figure', 'finbuzz'); ?>" width="20" height="20">
						</div>
						<span class="right-line"></span>
					</div>
				</div>
			</div>
		</div>
<?php } ?>