403Webshell
Server IP : 172.67.75.225  /  Your IP : 216.73.216.185
Web Server : nginx/1.27.1
System : Linux us-1 5.15.0-131-generic #141-Ubuntu SMP Fri Jan 10 21:18:28 UTC 2025 x86_64
User : vinodai ( 3134)
PHP Version : 7.4.33
Disable Function : exec,passthru,shell_exec,system,proc_open,popen,parse_ini_file,show_source
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /storage/v1396/wwwindicidolscom/public_html/wp-content/themes/shakti/front-page/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /storage/v1396/wwwindicidolscom/public_html/wp-content/themes/shakti/front-page/section-title.php
<?php
$shakti_slider_sc = shakti_get_theme_option( 'front_page_title_shortcode' );
if ( ! empty( $shakti_slider_sc ) && strpos( $shakti_slider_sc, '[' ) !== false && strpos( $shakti_slider_sc, ']' ) !== false ) {

	?><div class="front_page_section front_page_section_title front_page_section_slider front_page_section_title_slider
		<?php
		if ( shakti_get_theme_option( 'front_page_title_stack' ) ) {
			echo ' sc_stack_section_on';
		}
		?>
	">
	<?php
		// Add anchor
		$shakti_anchor_icon = shakti_get_theme_option( 'front_page_title_anchor_icon' );
		$shakti_anchor_text = shakti_get_theme_option( 'front_page_title_anchor_text' );
	if ( ( ! empty( $shakti_anchor_icon ) || ! empty( $shakti_anchor_text ) ) && shortcode_exists( 'trx_sc_anchor' ) ) {
		echo do_shortcode(
			'[trx_sc_anchor id="front_page_section_title"'
									. ( ! empty( $shakti_anchor_icon ) ? ' icon="' . esc_attr( $shakti_anchor_icon ) . '"' : '' )
									. ( ! empty( $shakti_anchor_text ) ? ' title="' . esc_attr( $shakti_anchor_text ) . '"' : '' )
									. ']'
		);
	}
		// Show slider (or any other content, generated by shortcode)
		echo do_shortcode( $shakti_slider_sc );
	?>
	</div>
	<?php

} else {

	?>
	<div class="front_page_section front_page_section_title
		<?php
		$shakti_scheme = shakti_get_theme_option( 'front_page_title_scheme' );
		if ( ! empty( $shakti_scheme ) && ! shakti_is_inherit( $shakti_scheme ) ) {
			echo ' scheme_' . esc_attr( $shakti_scheme );
		}
		echo ' front_page_section_paddings_' . esc_attr( shakti_get_theme_option( 'front_page_title_paddings' ) );
		if ( shakti_get_theme_option( 'front_page_title_stack' ) ) {
			echo ' sc_stack_section_on';
		}
		?>
		"
		<?php
		$shakti_css      = '';
		$shakti_bg_image = shakti_get_theme_option( 'front_page_title_bg_image' );
		if ( ! empty( $shakti_bg_image ) ) {
			$shakti_css .= 'background-image: url(' . esc_url( shakti_get_attachment_url( $shakti_bg_image ) ) . ');';
		}
		if ( ! empty( $shakti_css ) ) {
			echo ' style="' . esc_attr( $shakti_css ) . '"';
		}
		?>
	>
	<?php
		// Add anchor
		$shakti_anchor_icon = shakti_get_theme_option( 'front_page_title_anchor_icon' );
		$shakti_anchor_text = shakti_get_theme_option( 'front_page_title_anchor_text' );
	if ( ( ! empty( $shakti_anchor_icon ) || ! empty( $shakti_anchor_text ) ) && shortcode_exists( 'trx_sc_anchor' ) ) {
		echo do_shortcode(
			'[trx_sc_anchor id="front_page_section_title"'
									. ( ! empty( $shakti_anchor_icon ) ? ' icon="' . esc_attr( $shakti_anchor_icon ) . '"' : '' )
									. ( ! empty( $shakti_anchor_text ) ? ' title="' . esc_attr( $shakti_anchor_text ) . '"' : '' )
									. ']'
		);
	}
	?>
		<div class="front_page_section_inner front_page_section_title_inner
		<?php
		if ( shakti_get_theme_option( 'front_page_title_fullheight' ) ) {
			echo ' shakti-full-height sc_layouts_flex sc_layouts_columns_middle';
		}
		?>
			"
			<?php
			$shakti_css      = '';
			$shakti_bg_mask  = shakti_get_theme_option( 'front_page_title_bg_mask' );
			$shakti_bg_color_type = shakti_get_theme_option( 'front_page_title_bg_color_type' );
			if ( 'custom' == $shakti_bg_color_type ) {
				$shakti_bg_color = shakti_get_theme_option( 'front_page_title_bg_color' );
			} elseif ( 'scheme_bg_color' == $shakti_bg_color_type ) {
				$shakti_bg_color = shakti_get_scheme_color( 'bg_color', $shakti_scheme );
			} else {
				$shakti_bg_color = '';
			}
			if ( ! empty( $shakti_bg_color ) && $shakti_bg_mask > 0 ) {
				$shakti_css .= 'background-color: ' . esc_attr(
					1 == $shakti_bg_mask ? $shakti_bg_color : shakti_hex2rgba( $shakti_bg_color, $shakti_bg_mask )
				) . ';';
			}
			if ( ! empty( $shakti_css ) ) {
				echo ' style="' . esc_attr( $shakti_css ) . '"';
			}
			?>
		>
			<div class="front_page_section_content_wrap front_page_section_title_content_wrap content_wrap">
				<?php
				// Caption
				$shakti_caption = shakti_get_theme_option( 'front_page_title_caption' );
				if ( ! empty( $shakti_caption ) || ( current_user_can( 'edit_theme_options' ) && is_customize_preview() ) ) {
					?>
					<h1 class="front_page_section_caption front_page_section_title_caption front_page_block_<?php echo ! empty( $shakti_caption ) ? 'filled' : 'empty'; ?>"><?php echo wp_kses( $shakti_caption, 'shakti_kses_content' ); ?></h1>
					<?php
				}

				// Description (text)
				$shakti_description = shakti_get_theme_option( 'front_page_title_description' );
				if ( ! empty( $shakti_description ) || ( current_user_can( 'edit_theme_options' ) && is_customize_preview() ) ) {
					?>
					<div class="front_page_section_description front_page_section_title_description front_page_block_<?php echo ! empty( $shakti_description ) ? 'filled' : 'empty'; ?>"><?php echo wp_kses( wpautop( $shakti_description ), 'shakti_kses_content' ); ?></div>
					<?php
				}

				// Buttons
				if ( shakti_get_theme_option( 'front_page_title_button1_link' ) != '' || shakti_get_theme_option( 'front_page_title_button2_link' ) != '' ) {
					?>
					<div class="front_page_section_buttons front_page_section_title_buttons">
					<?php
						shakti_show_layout( shakti_customizer_partial_refresh_front_page_title_button1_link() );
						shakti_show_layout( shakti_customizer_partial_refresh_front_page_title_button2_link() );
					?>
					</div>
					<?php
				}
				?>
			</div>
		</div>
	</div>
	<?php
}

Youez - 2016 - github.com/yon3zu
LinuXploit