HEX
Server: Apache/2.4.41 (Ubuntu)
System: Linux vmi1674223.contaboserver.net 5.4.0-182-generic #202-Ubuntu SMP Fri Apr 26 12:29:36 UTC 2024 x86_64
User: root (0)
PHP: 7.4.3-4ubuntu2.22
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/onlineshop/wp-content/themes/nautica/vc_templates/engo_counter.php
<?php

	$atts = vc_map_get_attributes( $this->getShortcode(), $atts );
	extract( $atts );

	$text_color = $text_color?'style="color:'. $text_color .';"' : "";
	wp_enqueue_script( 'counter_js', NAUTICA_THEME_URI.'/js/jquery.counterup.min.js', array( 'jquery' ) );
	wp_enqueue_script( 'waypoints_js', NAUTICA_THEME_URI.'/js/waypoints.min.js', array( 'jquery' ) );

?>
<?php $img = wp_get_attachment_image_src($image,'full'); ?>
 <div class="counters <?php  echo esc_attr($el_class); ?>">
   <div class="counter-wrap" >
		<?php if( isset($img[0]) ) { ?>
			<img src="<?php echo esc_url_raw($img[0]);?>" title="<?php echo trim(esc_attr($title)); ?>" class="image-icon" <?php  echo trim(esc_attr($title)); ?>>
		<?php }else if( $icon ) { ?>
		 	<i class="fa <?php echo esc_attr($icon); ?>" <?php echo trim($text_color); ?>></i>
		<?php } ?>
		<span class="clearfix"></span>
	   <span class="counter counterUp" <?php echo trim($text_color); ?>><?php echo esc_attr((int)$number); ?></span>
   </div> 
    <h5><?php echo trim(esc_attr($title)); ?></h5>
</div>