HEX
Server:
System: Linux aac286ea486c 5.14.0-687.15.1.el9_8.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Jun 11 08:51:45 EDT 2026 x86_64
User: root (0)
PHP: 8.2.30
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,disk_free_space,diskfreespace
Upload Files
File: /dom877180/wp-content/themes/splash/vc_templates/stm_trophy.php
<?php
$atts = vc_map_get_attributes( $this->getShortcode(), $atts );
extract( $atts );

$post_thumbnail = wpb_getImageBySize( array(
	'attach_id' => $image,
	'thumb_size' => $image_size
) );

$height = '';
$height_new = explode('x', $image_size);

if(!empty($height_new[1])) {
	$height = 'style="min-height:' . $height_new[1] . 'px;"';
}

?>

<div class="stm-single-trophy">
	<?php if(!empty($post_thumbnail['thumbnail'])): ?>
		<div class="image" <?php echo sanitize_text_field($height); ?>>
			<?php echo wp_kses_post($post_thumbnail['thumbnail']); ?>
		</div>
	<?php endif; ?>

	<?php if(!empty($year)): ?>
		<div class="stm-year h6">
			<?php echo esc_attr($year); ?>
		</div>
	<?php endif; ?>

	<?php if(splash_is_layout("sccr") || splash_is_layout('hockey')) : ?>
		<div class="stm-border stm-animated"></div>
	<?php endif; ?>

	<?php if(!empty($title)): ?>
		<div class="stm-title <?php echo !splash_is_layout('soccer_two') ? 'heading-font' : ''; ?>">
			<?php echo esc_attr($title); ?>
		</div>
	<?php endif; ?>
	<?php if(!splash_is_layout("sccr") && !splash_is_layout('soccer_two') && !splash_is_layout('hockey')) : ?>
		<div class="stm-border stm-animated"></div>
	<?php endif; ?>

</div>