HEX
Server: LiteSpeed
System: Linux s166.bitcommand.com 4.18.0-513.11.1.lve.el8.x86_64 #1 SMP Thu Jan 18 16:21:02 UTC 2024 x86_64
User: h340499 (1922)
PHP: 8.2.16
Disabled: exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname
Upload Files
File: /home/h340499/public_html/wp-content/themes/eduma/woocommerce/content-single-product-lightbox.php
<?php
if ( ! defined( 'ABSPATH' ) ) {
	exit;
} // Exit if accessed directly
global $product;
?>
<div id="content" class="quickview woocommerce">
	<div class="product-info">
		<?php if ( ! post_password_required() ) : ?>
			<script type="text/javascript">
				jQuery(document).ready(function () {
					if (jQuery().flexslider) {
						jQuery('#slider').flexslider({
							animation    : "slide",
							controlNav   : false,
							animationLoop: false,
							slideshow    : false,
							directionNav : true,
							prevText     : "",
							start        : function (slider) {
								jQuery('body').removeClass('loading');
							}
						});
					}
				});
			</script>
			<div class="left col-sm-6">
				<div id="slider" class="flexslider">
					<ul class="slides">
						<?php
						if ( has_post_thumbnail() ) {
							$image = get_the_post_thumbnail( $product->get_id(), apply_filters( 'single_product_large_thumbnail_size', 'shop_single' ) );
							echo apply_filters( 'woocommerce_single_product_image_html', sprintf( '<li>%s</li>', $image ), $product->get_id() );
						}
						$attachment_ids = $product->get_gallery_image_ids();
						foreach ( $attachment_ids as $attachment_id ) {
							$image = wp_get_attachment_image( $attachment_id, apply_filters( 'single_product_large_thumbnail_size', 'shop_single' ) );
							echo apply_filters( 'woocommerce_single_product_image_html', sprintf( '<li>%s</li>', $image ), $product->get_id() );
						}
						?>
					</ul>
				</div>
			</div>
			<div class="right col-sm-6">
				<?php
				/**
				 * woocommerce_single_product_summary hook
				 *
				 * @hooked woocommerce_template_single_title - 5
				 * @hooked woocommerce_template_single_price - 10
				 * @hooked woocommerce_template_single_excerpt - 20
				 * @hooked woocommerce_template_single_add_to_cart - 30
				 * @hooked woocommerce_template_single_meta - 40
				 * @hooked woocommerce_template_single_sharing - 50
				 */
				do_action( 'woocommerce_single_product_summary_quick' );
				?>

			</div>
			<div class="clear"></div>
			<?php echo '<a href="' . esc_url( get_the_permalink( $product->get_id() ) ) . '" target="_top" class="quick-view-detail">' . esc_html__( 'View Detail', 'eduma' ) . '</a>'; ?>
		<?php else :
			echo get_the_password_form();  // WPCS: XSS ok.
		endif; ?>
	</div>
</div>