HEX
Server: LiteSpeed
System: Linux eko108.isimtescil.net 4.18.0-477.21.1.lve.1.el8.x86_64 #1 SMP Tue Sep 5 23:08:35 UTC 2023 x86_64
User: uyarreklamcomtr (11202)
PHP: 7.4.33
Disabled: opcache_get_status
Upload Files
File: /var/www/vhosts/uyarreklam.com.tr/httpdocs/woocommerce.php.tar
var/www/vhosts/uyarreklam.com.tr/httpdocs/wp-content/plugins/woocommerce/woocommerce.php000064400000003467151534255340026062 0ustar00<?php
/**
 * Plugin Name: WooCommerce
 * Plugin URI: https://woocommerce.com/
 * Description: An eCommerce toolkit that helps you sell anything. Beautifully.
 * Version: 118.2.0
 * Author: Automattic
 * Author URI: https://woocommerce.com
 * Text Domain: woocommerce
 * Domain Path: /i18n/languages/
 * Requires at least: 6.2
 * Requires PHP: 7.4
 *
 * @package WooCommerce
 */

defined( 'ABSPATH' ) || exit;

if ( ! defined( 'WC_PLUGIN_FILE' ) ) {
	define( 'WC_PLUGIN_FILE', __FILE__ );
}

// Load core packages and the autoloader.
require __DIR__ . '/src/Autoloader.php';
require __DIR__ . '/src/Packages.php';

if ( ! \Automattic\WooCommerce\Autoloader::init() ) {
	return;
}
\Automattic\WooCommerce\Packages::init();

// Include the main WooCommerce class.
if ( ! class_exists( 'WooCommerce', false ) ) {
	include_once dirname( WC_PLUGIN_FILE ) . '/includes/class-woocommerce.php';
}

// Initialize dependency injection.
$GLOBALS['wc_container'] = new Automattic\WooCommerce\Container();

/**
 * Returns the main instance of WC.
 *
 * @since  2.1
 * @return WooCommerce
 */
function WC() { // phpcs:ignore WordPress.NamingConventions.ValidFunctionName.FunctionNameInvalid
	return WooCommerce::instance();
}

/**
 * Returns the WooCommerce object container.
 * Code in the `includes` directory should use the container to get instances of classes in the `src` directory.
 *
 * @since  4.4.0
 * @return \Automattic\WooCommerce\Container The WooCommerce object container.
 */
function wc_get_container() {
	return $GLOBALS['wc_container'];
}

// Global for backwards compatibility.
$GLOBALS['woocommerce'] = WC();

// Jetpack's Rest_Authentication needs to be initialized even before plugins_loaded.
if ( class_exists( \Automattic\Jetpack\Connection\Rest_Authentication::class ) ) {
	\Automattic\Jetpack\Connection\Rest_Authentication::init();
}
var/www/vhosts/uyarreklam.com.tr/httpdocs/wp-content/themes/vadimarketv4/woocommerce.php000064400000004063151535677340025752 0ustar00<?php 
	get_header();
	if(is_product_category() ) {
		$bg = ' class="bg2"';
	} else {
		$bg = '';
	}
?>
<div id="woopage"<?php echo $bg; ?>>
<?php 
if(is_singular('product')) {
	$bitis_zamani = get_post_meta( wc_get_product()->id, '_sale_price_dates_to', true );
	if($bitis_zamani != '') {
	$suanki_tarih = current_time( 'Y-m-d H:i:s', false );
	$suanki_zaman = strtotime( $suanki_tarih );
	$zaman_farki = ( $bitis_zamani - $suanki_zaman );
?>
<div class="indirim-geri-sayim-single py-3 py-sm-3 mb-0 mb-md-3 mb-lg-0">
	<div class="container h-100">
		<div class="row h-100 align-items-center justify-content-between">
			<div class="col-sm-3 col-md-3 col-lg-3 col-xl-3 col-12">
				<div class="sh2"><?php echo __('Bu Fırsat Kaçmaz','temavadisi'); ?></div>
			</div>
			<div class="indirim-wrap d-flex justify-content-end">
				<div class="sh2 align-items-center"><?php echo __('Kalan Süre','temavadisi'); ?></div>
				<div class="geri-sayim-single pr-0 col-sm-9 col-md-9 col-lg-9 col-xl-9 col-12">
			<?php if( $zaman_farki > 0 ) : ?>
					<span class="indirim-zaman-farki" style="display:none;"><?php echo apply_filters( 'tv_indirim_gerisayim_zaman_farki', $zaman_farki ); ?></span>
					<div class="geri-sayim gerisay"></div>
			<?php else: ?>
					<div class="geri-sayim-bitti">
						<?php echo __('Süre Sona Erdi', 'temavadisi'); ?>
					</div>
			<?php endif; ?>
				</div>
			</div>
		</div>
	</div>
</div>
<?php } } ?>
	<div class="woo_navi">
		<div class="container">
			<?php woocommerce_breadcrumb(); ?>
		</div>
	</div>
	<div class="woo_content mt30">
		<div class="container">
			<div class="row">
<?php 
	if ( is_shop() || is_product_tag() || is_product_category() ) {
		get_sidebar('wc'); 
	}
?>
<?php if(is_shop() || is_product_tag() || is_product_category()) { ?>
				<div class="wcpage col-lg-9">
<?php } else { ?>
				<div class="wcpage col-lg-12">
<?php 
	}
	if(have_posts()):
		woocommerce_content();
	endif;
?>
				</div>
			</div>
		</div>
	</div>
</div>
<div class="clear"></div>
<?php get_footer(); ?>plugins/google-analytics-for-wordpress/lite/includes/admin/user-journey/providers/woocommerce.php000064400000002606151554733440042054 0ustar00var/www/vhosts/uyarreklam.com.tr/httpdocs/wp-content<?php
/**
 * This file contains the code to display metabox for WooCommerce Admin Orders Page.
 *
 * @since 8.5.0
 *
 * @package MonsterInsights
 * @subpackage MonsterInsights_User_Journey
 */

/**
 * Class to add metabox to woocommerce admin order page.
 *
 * @since 8.5.0
 */
class MonsterInsights_Lite_User_Journey_WooCommerce_Metabox extends MonsterInsights_User_Journey_Lite_Metabox {

	/**
	 * Class constructor.
	 *
	 * @since 8.5.0
	 */
	public function __construct() {
		add_action( 'add_meta_boxes', array( $this, 'add_user_journey_metabox' ) );
	}

	/**
	 * Current Provider Name.
	 *
	 * @return string
	 * @since 8.7.0
	 *
	 */
	protected function get_provider() {
		return 'woocommerce';
	}

	/**
	 * Add metabox
	 *
	 * @return void
	 * @since 8.5.0
	 *
	 * @uses add_meta_boxes WP Hook
	 *
	 */
	public function add_user_journey_metabox() {
		add_meta_box(
			'woocommerce-monsterinsights-lite-user-journey-metabox',
			esc_html__( 'User Journey by MonsterInsights', 'monsterinsights' ),
			array( $this, 'display_meta_box' ),
			'shop_order',
			'normal',
			'core'
		);
	}

	/**
	 * Display metabox HTML.
	 *
	 * @param object $post WooCommerce Order custom post
	 *
	 * @return void
	 * @since 8.5.0
	 *
	 */
	public function display_meta_box( $post ) {
		$this->metabox_html( $post );
	}
}

if ( class_exists( 'WooCommerce' ) ) {
	new MonsterInsights_Lite_User_Journey_WooCommerce_Metabox();
}