HEX
Server: Microsoft-IIS/8.5
System: Windows NT YDAWBH120 6.3 build 9600 (Windows Server 2012 R2 Standard Edition) AMD64
User: tentjecom_web (0)
PHP: 7.4.14
Disabled: NONE
Upload Files
File: D:/HostingSpaces/ERijn/knijft.eu/wwwroot/wp-content/themes/diverso/slider-thumbnails.php
<?php 
/**
 * @package WordPress
 * @subpackage Sommerce
 * @since 1.0
 */
 
if ( yiw_is_empty() )
    return;
?>
 
 		<!-- START SLIDER -->
        <div id="slider" class="thumbnails group inner">
        	<div class="showcase group">  
                <?php while( yiw_have_slide() ) :  
					    $w = get_option( 'thumbnail_size_w', 150 );
					    $h = get_option( 'thumbnail_size_h', 150 );
                            
				        $thumbnail = explode( '.', basename( yiw_slide_get('image_url') ) );
				        $thumbnail = str_replace( basename( yiw_slide_get('image_url') ), $thumbnail[0] . "-{$w}x{$h}." . $thumbnail[1], yiw_slide_get('image_url') );
	             ?>
	             
	             <div class="showcase-slide">
		            <div class="showcase-content">
			            <!-- If the slide contains multiple elements you should wrap them in a div with the class
			            .showcase-content-wrapper. We usually wrap even if there is only one element,
			            because it looks better. -->
			            <div class="showcase-content-wrapper">
			                <?php yiw_slide_the( 'featured-content', array( 'container' => false ) ) ?>
			            </div>
			        </div>
			        <!-- Put the caption content in a div with the class .showcase-caption -->
			        <?php yiw_string_( '<div class="showcase-caption"><p>', yiw_slide_get( 'clean-content' ), '</p></div>' ) ?>
			        
			        <div class="showcase-thumbnail">
			            <img src="<?php echo $thumbnail ?>" width="64" height="64" />
			        </div>
			        
			        <!-- Put the tooltips in a div with the class .showcase-tooltips. -->
			        <?php if ( yiw_slide_get('extra_tooltip_x_pos') != '' && yiw_slide_get('extra_tooltip_y_pos') != '' && yiw_slide_get('extra_tooltip_content') != '' ) ?>
                    <div class="showcase-tooltips">
                        <!-- Each anchor in .showcase-tooltips represents a tooltip.
                        The coords attribute represents the position of the tooltip. -->
                        <a href="<?php yiw_slide_the('extra_tooltip_url') ?>" coords="<?php yiw_slide_the('extra_tooltip_x_pos') ?>,<?php yiw_slide_the('extra_tooltip_y_pos') ?>">
                            <?php if ( yiw_slide_get('extra_tooltip_image') != '' ) : ?>
                            <img src="<?php yiw_slide_the('extra_tooltip_image') ?>" />
                            <?php endif; ?>
                            <!-- The content of the anchor-tag is displayed in the tooltip. -->
                            <?php yiw_slide_the('extra_tooltip_content') ?>
                        </a>
                    </div>
			    </div>
		        
				<?php endwhile; ?>
			</div>
        </div> 
        <!-- END SLIDER -->