| Server IP : 146.59.209.152 / Your IP : 216.73.216.46 Web Server : Apache System : Linux webm005.cluster131.gra.hosting.ovh.net 5.15.167-ovh-vps-grsec-zfs-classid #1 SMP Tue Sep 17 08:14:20 UTC 2024 x86_64 User : infrafs ( 43850) PHP Version : 8.2.29 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/i/n/f/infrafs/INFRABIKEIT/wp-content/plugins/ |
Upload File : |
PK `x1\�]�۰ �
uninstall.phpnu �[��� <?php
/**
* Uninstall plugin
*
* @author YITH
* @package YITH\Wishlist
* @version 2.0.16
*/
// If uninstall not called from WordPress exit.
if ( ! defined( 'WP_UNINSTALL_PLUGIN' ) ) {
exit;
}
/**
* Uninstall completely wishlist from the site
*
* @return void
* @since 3.0.0
*/
function yith_wcwl_uninstall() {
global $wpdb;
if ( defined( 'YITH_WCWL_REMOVE_ALL_DATA' ) && true === YITH_WCWL_REMOVE_ALL_DATA && ! defined( 'YITH_WCWL_PREMIUM' ) ) {
// define local private attribute.
$wpdb->yith_wcwl_items = $wpdb->prefix . 'yith_wcwl';
$wpdb->yith_wcwl_wishlists = $wpdb->prefix . 'yith_wcwl_lists';
// Delete option from options table.
delete_option( 'yith_wcwl_version' );
delete_option( 'yith_wcwl_db_version' );
$wpdb->query( $wpdb->prepare( "DELETE FROM {$wpdb->options} WHERE option_name LIKE %s", 'yith_wcwl_%' ) );
// delete pages created for this plugin.
wp_delete_post( get_option( 'yith-wcwl-pageid' ), true );
// remove any additional options and custom table.
// phpcs:disable WordPress.DB.DirectDatabaseQuery, WordPress.DB.PreparedSQL.NotPrepared
$sql = "DROP TABLE IF EXISTS `{$wpdb->yith_wcwl_items}`";
$wpdb->query( $sql );
$sql = "DROP TABLE IF EXISTS `{$wpdb->yith_wcwl_wishlists}`";
$wpdb->query( $sql );
// phpcs:enable WordPress.DB.DirectDatabaseQuery, WordPress.DB.PreparedSQL.NotPrepared
}
}
if ( ! is_multisite() ) {
yith_wcwl_uninstall();
} else {
global $wpdb;
$blog_ids = $wpdb->get_col( "SELECT blog_id FROM {$wpdb->blogs}" );
$original_blog_id = get_current_blog_id();
foreach ( $blog_ids as $blog_to_process ) {
switch_to_blog( $blog_to_process );
yith_wcwl_uninstall();
}
switch_to_blog( $original_blog_id );
}PK `x1\�W ) templates/wishlist-view-footer-mobile.phpnu �[��� <?php
/**
* Wishlist footer
*
* @author YITH
* @package YITH\Wishlist\Templates\Wishlist\View
* @version 3.0.0
*/
/**
* Template variables:
*
* @var $wishlist \YITH_WCWL_Wishlist
* @var $wishlist_token string Current wishlist token
* @var $show_cb bool Whether to show checkbox column
* @var $show_update bool Whether to show update button or not
* @var $is_user_owner bool Whether current user is wishlist owner
* @var $is_private bool Whether current wishlist is private
* @var $share_enabled bool Whether share buttons should appear
* @var $share_atts array Array of options; shows which share links should be shown
* @var $show_ask_estimate_button bool Whether to show Ask an Estimate form
* @var $ask_estimate_url string Ask an estimate destination url
* @var $ask_an_estimate_icon string Ask an estimate button icon
* @var $ask_an_estimate_text string Ask an estimate button text
* @var $ask_an_estimate_classes string Classes to use for Ask for an estimate button
* @var $additional_info bool Whether to show Additional info textarea in Ask an estimate form
* @var $enable_add_all_to_cart bool Whether to show "Add all to Cart" button
* @var $move_to_another_wishlist bool Whether to show Move to another wishlist select
* @var $move_to_another_wishlist_type string Whether to show a select or a popup for wishlist change
* @var $available_multi_wishlist bool Whether multi wishlist is enabled and available
* @var $users_wishlists array Array of current user wishlists
* @var $count int Count of items in wishlist
* @var $var array Array of variable passed to the template
*/
if ( ! defined( 'YITH_WCWL' ) ) {
exit;
} // Exit if accessed directly
?>
<div class="yith_wcwl_wishlist_footer">
<?php if ( $count && $show_cb ) : ?>
<!-- Bulk actions form -->
<div class="yith_wcwl_wishlist_bulk_action">
<label for="bulk_actions"><?php echo esc_html( apply_filters( 'yith_wcwl_wishlist_bulk_actions_label', __( 'Apply this action to all the selected items:', 'yith-woocommerce-wishlist' ) ) ); ?></label>
<select name="bulk_actions" id="bulk_actions">
<option value="add_to_cart"><?php esc_html_e( 'Add to cart', 'yith-woocommerce-wishlist' ); ?></option>
<?php if ( $wishlist->current_user_can( 'remove_from_wishlist' ) ) : ?>
<option value="delete"><?php esc_html_e( 'Remove from wishlist', 'yith-woocommerce-wishlist' ); ?></option>
<?php endif; ?>
<?php if ( $available_multi_wishlist && count( $users_wishlists ) > 1 && $is_user_owner ) : ?>
<?php
foreach ( $users_wishlists as $wl ) :
/**
* Each of the wishlists owned by current user.
*
* @var $wl \YITH_WCWL_Wishlist
*/
if ( $wl->get_token() === $wishlist_token ) {
continue;
}
?>
<option value="<?php echo esc_attr( $wl->get_token() ); ?>">
<?php
// translators: 1. Wishlist formatted name.
echo esc_html( sprintf( __( 'Move to %s', 'yith-woocommerce-wishlist' ), $wl->get_formatted_name() ) );
?>
</option>
<?php endforeach; ?>
<?php endif; ?>
</select>
<input type="submit" name="apply_bulk_actions" value="<?php esc_html_e( 'Apply', 'yith-woocommerce-wishlist' ); ?>"/>
</div>
<?php endif; ?>
<div class="wishlist-actions">
<?php if ( $count && $show_update ) : ?>
<!-- Update wishlist button -->
<div class="yith_wcwl_wishlist_update">
<input type="submit" name="update_wishlist" value="<?php esc_html_e( 'Update', 'yith-woocommerce-wishlist' ); ?>"/>
</div>
<?php endif; ?>
<?php if ( $count && $enable_add_all_to_cart ) : ?>
<!-- Add all to cart button -->
<input type="submit" name="add_all_to_cart" value="<?php esc_html_e( 'Add all to cart', 'yith-woocommerce-wishlist' ); ?>"/>
<?php endif; ?>
</div>
<?php if ( $count && ( $show_ask_estimate_button || $enable_add_all_to_cart ) ) : ?>
<div class="yith_wcwl_footer_additional_action">
<?php if ( $count && $show_ask_estimate_button ) : ?>
<!-- Ask an estimate button -->
<a
href="<?php echo esc_url( ( $additional_info || ! is_user_logged_in() ) ? '#ask_an_estimate_popup' : $ask_estimate_url ); ?>"
class="<?php echo esc_attr( $ask_an_estimate_classes ); ?> ask-an-estimate-button"
<?php echo ( $additional_info || ! is_user_logged_in() ) ? 'data-rel="prettyPhoto[ask_an_estimate]"' : ''; ?>
>
<?php echo yith_wcwl_kses_icon( apply_filters( 'yith_wcwl_ask_an_estimate_icon', $ask_an_estimate_icon ) ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>
<?php echo esc_html( apply_filters( 'yith_wcwl_ask_an_estimate_text', $ask_an_estimate_text ) ); ?>
</a>
<?php endif; ?>
</div>
<?php endif; ?>
<?php if ( $count && $share_enabled ) : ?>
<!-- Sharing section -->
<?php yith_wcwl_get_template( 'share.php', array_merge( $share_atts, array( 'wishlist' => $wishlist ) ) ); ?>
<?php endif; ?>
</div>
<?php wp_nonce_field( 'yith_wcwl_edit_wishlist_action', 'yith_wcwl_edit_wishlist' ); ?>
<input type="hidden" value="<?php echo esc_attr( $wishlist_token ); ?>" name="wishlist_id" id="wishlist_id">
<?php do_action( 'yith_wcwl_after_wishlist', $wishlist ); ?>
</form>
<?php do_action( 'yith_wcwl_after_wishlist_form', $wishlist ); ?>
<?php
if ( apply_filters( 'yith_wcwl_ask_an_estimate_conditions', $wishlist && $show_ask_estimate_button && ( ! is_user_logged_in() || $additional_info ) ) ) {
yith_wcwl_get_template( 'wishlist-popup-ask-an-estimate.php', $var );
}
?>
<?php
if ( apply_filters( 'yith_wcwl_move_to_another_wishlist_popup_conditions', $wishlist && $move_to_another_wishlist && 'popup' === $move_to_another_wishlist_type && $available_multi_wishlist && count( $users_wishlists ) > 1, $wishlist ) ) {
yith_wcwl_get_template( 'wishlist-popup-move.php', $var );
}
?>
PK `x1\�� � templates/wishlist.phpnu �[��� <?php
/**
* Wishlist pages template; load template parts basing on the url
*
* @author YITH
* @package YITH\Wishlist\Templates\Wishlist
* @version 3.0.0
*/
/**
* Template Variables:
*
* @var $template_part string Sub-template to load
* @var $var array Array of attributes that needs to be sent to sub-template
*/
if ( ! defined( 'YITH_WCWL' ) ) {
exit;
} // Exit if accessed directly
?>
<?php
/**
* Hook: yith_wcwl_wishlist_before_wishlist_content.
*
* @hooked \YITH_WCWL_Frontend::wishlist_header - 10
*/
do_action( 'yith_wcwl_wishlist_before_wishlist_content', $var );
?>
<?php
/**
* Hook: yith_wcwl_wishlist_main_wishlist_content.
*
* @hooked \YITH_WCWL_Frontend::main_wishlist_content - 10
*/
do_action( 'yith_wcwl_wishlist_main_wishlist_content', $var );
?>
<?php
/**
* Hook: yith_wcwl_wishlist_after_wishlist_content.
*
* @hooked \YITH_WCWL_Frontend::wishlist_footer - 10
*/
do_action( 'yith_wcwl_wishlist_after_wishlist_content', $var );
PK `x1\���2 �2 * templates/admin/wishlist-panel-premium.phpnu �[��� <style>
.landing{
margin-right: 15px;
border: 1px solid #d8d8d8;
border-top: 0;
}
.section{
font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";
background: #fafafa;
}
.section h1{
text-align: center;
text-transform: uppercase;
color: #445674;
font-size: 35px;
font-weight: 700;
line-height: normal;
display: inline-block;
width: 100%;
margin: 50px 0 0;
}
.section .section-title h2{
vertical-align: middle;
padding: 0;
line-height: normal;
font-size: 24px;
font-weight: 700;
color: #445674;
text-transform: uppercase;
background: none;
border: none;
text-align: center;
}
.section p{
margin: 15px 0;
font-size: 19px;
line-height: 32px;
font-weight: 300;
text-align: center;
}
.section ul li{
margin-bottom: 4px;
}
.section.section-cta{
background: #fff;
}
.cta-container,
.landing-container{
display: flex;
max-width: 1200px;
margin-left: auto;
margin-right: auto;
padding: 30px 0;
align-items: center;
}
.landing-container-wide{
flex-direction: column;
}
.cta-container{
display: block;
max-width: 860px;
}
.landing-container:after{
display: block;
clear: both;
content: '';
}
.landing-container .col-1,
.landing-container .col-2{
float: left;
box-sizing: border-box;
padding: 0 15px;
}
.landing-container .col-1{
width: 58.33333333%;
}
.landing-container .col-2{
width: 41.66666667%;
}
.landing-container .col-1 img,
.landing-container .col-2 img,
.landing-container .col-wide img{
max-width: 100%;
}
.wishlist-cta{
color: #4b4b4b;
border-radius: 10px;
padding: 30px 25px;
display: flex;
align-items: center;
justify-content: space-between;
width: 100%;
box-sizing: border-box;
}
.wishlist-cta:after{
content: '';
display: block;
clear: both;
}
.wishlist-cta p{
margin: 10px 0;
line-height: 1.5em;
display: inline-block;
text-align: left;
}
.wishlist-cta a.button{
border-radius: 25px;
float: right;
background: #e09004;
box-shadow: none;
outline: none;
color: #fff;
position: relative;
padding: 10px 50px 8px;
text-align: center;
text-transform: uppercase;
font-weight: 600;
font-size: 20px;
line-height: normal;
border: none;
}
.wishlist-cta a.button:hover,
.wishlist-cta a.button:active,
.wp-core-ui .yith-plugin-ui .wishlist-cta a.button:focus{
color: #fff;
background: #d28704;
box-shadow: none;
outline: none;
}
.wishlist-cta .highlight{
text-transform: uppercase;
background: none;
font-weight: 500;
}
@media (max-width: 991px){
.landing-container{
display: block;
padding: 50px 0 30px;
}
.landing-container .col-1,
.landing-container .col-2{
float: none;
width: 100%;
}
.wishlist-cta{
display: block;
text-align: center;
}
.wishlist-cta p{
text-align: center;
display: block;
margin-bottom: 30px;
}
.wishlist-cta a.button{
float: none;
display: inline-block;
}
}
</style>
<div class="landing">
<div class="section section-cta section-odd">
<div class="cta-container">
<div class="wishlist-cta">
<p><?php echo sprintf (__('Upgrade to the %1$spremium version%2$s%3$sof %1$sYITH WooCommerce Wishlist%2$s to benefit from all features!','yith-woocommerce-wishlist'),'<span class="highlight">','</span>','<br/>');?></p>
<a href="<?php echo YITH_WCWL_Admin()->get_premium_landing_uri(); ?>" target="_blank" class="wishlist-cta-button button btn">
<?php _e('Upgrade','yith-woocommerce-wishlist');?>
</a>
</div>
</div>
</div>
<div class="section section-even clear">
<h1><?php _e('Premium Features', 'yith-woocommerce-wishlist');?></h1>
<div class="landing-container">
<div class="col-2">
<div class="section-title">
<h2><?php _e('Allow your customers to create multiple wishlists', 'yith-woocommerce-wishlist');?></h2>
</div>
<p><?php _e( 'Christmas, Birthday... users will be able to create and manage multiple wishlists, in case they prefer to keep the products sorted by category or other parameters.', 'yith-woocommerce-wishlist' ) ?></p>
</div>
<div class="col-1">
<img src="<?php echo YITH_WCWL_URL ?>assets/images/landing/01.png" alt="<?php _e('Multiple Wishlist', 'yith-woocommerce-wishlist');?>" />
</div>
</div>
</div>
<div class="section section-odd clear">
<div class="landing-container">
<div class="col-1">
<img src="<?php echo YITH_WCWL_URL ?>assets/images/landing/02.png" alt="<?php _e('Wishlist Private', 'yith-woocommerce-wishlist');?>" />
</div>
<div class="col-2">
<div class="section-title">
<h2><?php _e('A transparent privacy management', 'yith-woocommerce-wishlist');?></h2>
</div>
<p><?php _e( 'Your customers can set a privacy option for each wishlist and choose whether sharing the wishlist or making it private.', 'yith-woocommerce-wishlist' ) ?></p>
</div>
</div>
</div>
<div class="section section-even clear">
<div class="landing-container">
<div class="col-2">
<div class="section-title">
<h2><?php _e('Allow your customers to ask for an estimate, directly from their wishlist page', 'yith-woocommerce-wishlist');?></h2>
</div>
<p><?php _e( 'And give only registered users the privilege to use the wishlist functionalities.', 'yith-woocommerce-wishlist' ) ?></p>
</div>
<div class="col-1">
<img src="<?php echo YITH_WCWL_URL ?>assets/images/landing/03.png" alt="<?php _e('Estimate Cost', 'yith-woocommerce-wishlist');?>" />
</div>
</div>
</div>
<div class="section section-odd clear">
<div class="landing-container">
<div class="col-1">
<img src="<?php echo YITH_WCWL_URL ?>assets/images/landing/04.png" alt="<?php _e('Admin Panel', 'yith-woocommerce-wishlist');?>" />
</div>
<div class="col-2">
<div class="section-title">
<h2><?php _e('An advanced and more versatile management of the wishlist', 'yith-woocommerce-wishlist');?></h2>
</div>
<p><?php _e( 'Your customers can sort the products in the wishlist thanks to the drag&drop option, move products from one wishlist to another, manage product quantity, download the wishlist content to a .pdf file, share the wishlist on their social networks, and much more!', 'yith-woocommerce-wishlist' ) ?></p>
</div>
</div>
</div>
<div class="section section-even clear">
<div class="landing-container">
<div class="col-2">
<div class="section-title">
<h2><?php _e('Monitor your customers’ wishlists and the popular products', 'yith-woocommerce-wishlist');?></h2>
</div>
<p><?php _e( 'You can see your customers’ wishlists, gain insight into the products they are more interested in and plan targeted marketing strategies.', 'yith-woocommerce-wishlist' ) ?></p>
</div>
<div class="col-1">
<img src="<?php echo YITH_WCWL_URL ?>assets/images/landing/05.png" alt="<?php _e('Search Wishlists', 'yith-woocommerce-wishlist');?>" />
</div>
</div>
</div>
<div class="section section-odd clear">
<div class="landing-container">
<div class="col-1">
<img src="<?php echo YITH_WCWL_URL ?>assets/images/landing/06.png" alt="<?php _e('\'ADD TO CART\'', 'yith-woocommerce-wishlist');?>" />
</div>
<div class="col-2">
<div class="section-title">
<h2><?php _e('Send promotional emails for products in wishlists to push customers to buy', 'yith-woocommerce-wishlist');?></h2>
</div>
<p><?php _e( 'Just three clicks to send promotional emails with discount coupons to customers who have added specific products to their wishlist and push them to buy.', 'yith-woocommerce-wishlist' ) ?></p>
</div>
</div>
</div>
<div class="section section-even clear">
<div class="landing-container">
<div class="col-2">
<div class="section-title">
<h2><?php _e('Let users buy the product right from the wishlist page', 'yith-woocommerce-wishlist');?></h2>
</div>
<p><?php _e( 'Let them move products from one wishlist to the cart in one click, keeping also the information about the size, colour or quantity selected when added to the wishlist.', 'yith-woocommerce-wishlist' ) ?></p>
</div>
<div class="col-1">
<img src="<?php echo YITH_WCWL_URL ?>assets/images/landing/07.png" alt="<?php _e('DISABLE WISHLIST', 'yith-woocommerce-wishlist');?>" />
</div>
</div>
</div>
<div class="section section-odd clear">
<div class="landing-container landing-container-wide">
<div class="col-wide">
<div class="section-title">
<h2><?php _e('Choose a charming layout for your wishlist page', 'yith-woocommerce-wishlist');?></h2>
</div>
<p><?php _e( 'The wishlist is one of the most used functionalities in an ecommerce store but often the page layout is not enhanced enough and looks unattractive to the user. With our plugin, you can choose among some alternative layouts and offer an even more interesting experience to users who creates a wishlist on your website.', 'yith-woocommerce-wishlist' ) ?></p>
</div>
<div class="col-wide">
<img src="<?php echo YITH_WCWL_URL ?>assets/images/landing/08.png" alt="<?php _e('UNLOGGED USERS', 'yith-woocommerce-wishlist');?>" />
</div>
</div>
</div>
<div class="section section-even clear">
<div class="landing-container">
<div class="col-2">
<div class="section-title">
<h2><?php _e('Wishlist widgets for the header and sidebars', 'yith-woocommerce-wishlist');?></h2>
</div>
<p><?php _e( 'Increase the wishlist visibility through our modern widgets that you can use in the header, in the sidebars, wherever you want.', 'yith-woocommerce-wishlist' ) ?></p>
</div>
<div class="col-1">
<img src="<?php echo YITH_WCWL_URL ?>assets/images/landing/09.png" alt="<?php _e('POPULAR TABLE', 'yith-woocommerce-wishlist');?>" />
</div>
</div>
</div>
<div class="section section-odd clear">
<div class="landing-container">
<div class="col-1">
<img src="<?php echo YITH_WCWL_URL ?>assets/images/landing/10.png" alt="<?php _e('FUNCTIONALITIES', 'yith-woocommerce-wishlist');?>" />
</div>
<div class="col-2">
<div class="section-title">
<h2><?php _e('Allow users to monitor the price of the products in their wishlist', 'yith-woocommerce-wishlist');?></h2>
</div>
<p><?php _e( 'We took inspiration from one of the most interesting features of Amazon product pages: from now on, users can realise what’s the best time to buy a product and how much they can save when there’s a promotion running or a discount on the product they’ve added to the wishlist.', 'yith-woocommerce-wishlist' ) ?></p>
</div>
</div>
</div>
<div class="section section-cta section-odd">
<div class="cta-container">
<div class="wishlist-cta">
<p><?php echo sprintf (__('Upgrade to the %1$spremium version%2$s%3$sof %1$sYITH WooCommerce Wishlist%2$s to benefit from all features!','yith-woocommerce-wishlist'),'<span class="highlight">','</span>','<br/>');?></p>
<a href="<?php echo YITH_WCWL_Admin()->get_premium_landing_uri();?>" target="_blank" class="wishlist-cta-button button btn">
<?php _e( 'Upgrade', 'yith-woocommerce-wishlist' ); ?>
</a>
</div>
</div>
</div>
</div>
PK `x1\۰I%
%
"