HEX
Server: LiteSpeed
System: Linux php-prod-1.spaceapp.ru 5.15.0-160-generic #170-Ubuntu SMP Wed Oct 1 10:06:56 UTC 2025 x86_64
User: xnsbb3110 (1041)
PHP: 8.1.33
Disabled: NONE
Upload Files
File: /home/shaping-sar.ru/public_html/wp-content/themes/beauty spa/builder/template/spa_service.php
<?php
	extract(shortcode_atts(
		array(
			'image' => '',
			'slider_title' => '',
			'span' => '',
			'description' => '',
			'price' => '',
			'item' => '',
			'active' => '',
	), $atts));

	$img = wpb_getImageBySize( array(
		'attach_id' => $image,
		'thumb_size' => '350x350',
		'class' => 'img-responsive'
	) );
	if($img == null)
	{
		$img['thumbnail'] = '<img src="'.get_template_directory_uri().'/img/slider/slider1.jpg" alt="'.__('Spa slider', IZ_LANG).'" class="img-responsive">';
	}
?>
<div class="item <?php echo $a = ($active == 'true') ? 'active' : ''; ?>">
	<div class="col-md-4 col-sm-5"><?php echo $img['thumbnail']; ?></div>
    <div class="col-md-7 col-md-offset-1 col-sm-7">
    	<h3><span><?php echo esc_attr($slider_title); ?></span> <?php echo esc_attr($span); ?><strong class="price"><small>$</small><?php echo esc_attr($price); ?></strong></h3>
        <p><?php echo $description; ?></p>
        <ul class="list-default">
        <?php 
        parse_str(urldecode($item), $time);
        if(is_array($time) && count($time) > 0) {
        	foreach ($time as $key => $value) {
        		echo '<li>'.$value['item'].'</li>';
        	}
        }
        ?>        
        </ul>	
    </div>
</div><!-- end item -->