LittleDemon WebShell


Linux webm007.cluster106.gra.hosting.ovh.net 5.15.167-ovh-vps-grsec-zfs-classid #1 SMP Tue Sep 17 08:14:20 UTC 2024 x86_64
Path : /home/eglisebaa/www/wp-content/themes/hallelujah/front-page/
File Upload :
Command :
Current File : /home/eglisebaa/www/wp-content/themes/hallelujah/front-page/section-about.php

<div class="front_page_section front_page_section_about<?php
	$hallelujah_scheme = hallelujah_get_theme_option( 'front_page_about_scheme' );
	if ( ! empty( $hallelujah_scheme ) && ! hallelujah_is_inherit( $hallelujah_scheme ) ) {
		echo ' scheme_' . esc_attr( $hallelujah_scheme );
	}
	echo ' front_page_section_paddings_' . esc_attr( hallelujah_get_theme_option( 'front_page_about_paddings' ) );
	if ( hallelujah_get_theme_option( 'front_page_about_stack' ) ) {
		echo ' sc_stack_section_on';
	}
?>"
		<?php
		$hallelujah_css      = '';
		$hallelujah_bg_image = hallelujah_get_theme_option( 'front_page_about_bg_image' );
		if ( ! empty( $hallelujah_bg_image ) ) {
			$hallelujah_css .= 'background-image: url(' . esc_url( hallelujah_get_attachment_url( $hallelujah_bg_image ) ) . ');';
		}
		if ( ! empty( $hallelujah_css ) ) {
			echo ' style="' . esc_attr( $hallelujah_css ) . '"';
		}
		?>
>
<?php
	// Add anchor
	$hallelujah_anchor_icon = hallelujah_get_theme_option( 'front_page_about_anchor_icon' );
	$hallelujah_anchor_text = hallelujah_get_theme_option( 'front_page_about_anchor_text' );
if ( ( ! empty( $hallelujah_anchor_icon ) || ! empty( $hallelujah_anchor_text ) ) && shortcode_exists( 'trx_sc_anchor' ) ) {
	echo do_shortcode(
		'[trx_sc_anchor id="front_page_section_about"'
									. ( ! empty( $hallelujah_anchor_icon ) ? ' icon="' . esc_attr( $hallelujah_anchor_icon ) . '"' : '' )
									. ( ! empty( $hallelujah_anchor_text ) ? ' title="' . esc_attr( $hallelujah_anchor_text ) . '"' : '' )
									. ']'
	);
}
?>
	<div class="front_page_section_inner front_page_section_about_inner
	<?php
	if ( hallelujah_get_theme_option( 'front_page_about_fullheight' ) ) {
		echo ' hallelujah-full-height sc_layouts_flex sc_layouts_columns_middle';
	}
	?>
			"
			<?php
			$hallelujah_css           = '';
			$hallelujah_bg_mask       = hallelujah_get_theme_option( 'front_page_about_bg_mask' );
			$hallelujah_bg_color_type = hallelujah_get_theme_option( 'front_page_about_bg_color_type' );
			if ( 'custom' == $hallelujah_bg_color_type ) {
				$hallelujah_bg_color = hallelujah_get_theme_option( 'front_page_about_bg_color' );
			} elseif ( 'scheme_bg_color' == $hallelujah_bg_color_type ) {
				$hallelujah_bg_color = hallelujah_get_scheme_color( 'bg_color', $hallelujah_scheme );
			} else {
				$hallelujah_bg_color = '';
			}
			if ( ! empty( $hallelujah_bg_color ) && $hallelujah_bg_mask > 0 ) {
				$hallelujah_css .= 'background-color: ' . esc_attr(
					1 == $hallelujah_bg_mask ? $hallelujah_bg_color : hallelujah_hex2rgba( $hallelujah_bg_color, $hallelujah_bg_mask )
				) . ';';
			}
			if ( ! empty( $hallelujah_css ) ) {
				echo ' style="' . esc_attr( $hallelujah_css ) . '"';
			}
			?>
	>
		<div class="front_page_section_content_wrap front_page_section_about_content_wrap content_wrap">
			<?php
			// Caption
			$hallelujah_caption = hallelujah_get_theme_option( 'front_page_about_caption' );
			if ( ! empty( $hallelujah_caption ) || ( current_user_can( 'edit_theme_options' ) && is_customize_preview() ) ) {
				?>
				<h2 class="front_page_section_caption front_page_section_about_caption front_page_block_<?php echo ! empty( $hallelujah_caption ) ? 'filled' : 'empty'; ?>"><?php echo wp_kses( $hallelujah_caption,'hallelujah_kses_content' ); ?></h2>
				<?php
			}

			// Description (text)
			$hallelujah_description = hallelujah_get_theme_option( 'front_page_about_description' );
			if ( ! empty( $hallelujah_description ) || ( current_user_can( 'edit_theme_options' ) && is_customize_preview() ) ) {
				?>
				<div class="front_page_section_description front_page_section_about_description front_page_block_<?php echo ! empty( $hallelujah_description ) ? 'filled' : 'empty'; ?>"><?php echo wp_kses( wpautop( $hallelujah_description ),'hallelujah_kses_content' ); ?></div>
				<?php
			}

			// Content
			$hallelujah_content = hallelujah_get_theme_option( 'front_page_about_content' );
			if ( ! empty( $hallelujah_content ) || ( current_user_can( 'edit_theme_options' ) && is_customize_preview() ) ) {
				?>
				<div class="front_page_section_content front_page_section_about_content front_page_block_<?php echo ! empty( $hallelujah_content ) ? 'filled' : 'empty'; ?>">
				<?php
					$hallelujah_page_content_mask = '%%CONTENT%%';
				if ( strpos( $hallelujah_content, $hallelujah_page_content_mask ) !== false ) {
					$hallelujah_content = preg_replace(
						'/(\<p\>\s*)?' . $hallelujah_page_content_mask . '(\s*\<\/p\>)/i',
						sprintf(
							'<div class="front_page_section_about_source">%s</div>',
							apply_filters( 'the_content', get_the_content() )
						),
						$hallelujah_content
					);
				}
					hallelujah_show_layout( $hallelujah_content );
				?>
				</div>
				<?php
			}
			?>
		</div>
	</div>
</div>

LittleDemon - FACEBOOK
[ KELUAR ]