This commit is contained in:
2025-04-01 00:38:54 +02:00
parent d4d4c0c09d
commit 87da06293a
22351 changed files with 5168854 additions and 7538 deletions

View File

@@ -0,0 +1,35 @@
<?php
/*
* 2007-2016 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/afl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
* @author PrestaShop SA <contact@prestashop.com>
* @copyright 2007-2016 PrestaShop SA
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*/
header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
header('Last-Modified: '.gmdate('D, d M Y H:i:s').' GMT');
header('Cache-Control: no-store, no-cache, must-revalidate');
header('Cache-Control: post-check=0, pre-check=0', false);
header('Pragma: no-cache');
header('Location: ../');
exit;

View File

@@ -0,0 +1,37 @@
$(document).ready(function() {
var iew = $('#image-block').width();
var ieh = $('#image-block').height()-10;
var ih = 50;
if (ieh > 0) {
$('.stickers-box').css('height', ieh);
var left2 = (iew/2)-(parseFloat($('.position-2').css('width'))/2);
$('.stickers-box .position-2').css('left', left2);
$('.stickers-box .position-4').css('top', ((ieh / 2) - ih));
var left5 = (iew/2)-(parseFloat($('.position-5').css('width'))/2);
$('.stickers-box .position-5').css({
'top': ((ieh / 2) - ih),
'left': left5
});
$('.stickers-box .position-6').css('top', (ieh / 2));
var left8 = (iew/2)-(parseFloat($('.position-8').css('width'))/2);
$('.stickers-box .position-8').css('left', left8);
}
// product list
setTimeout(function() {
var picw = $('.product-container .product-image-container').width();
var pich = parseFloat($('.product-container .product-image-container').css('height'))-20;
var ihl = 35;
$('.stickers-box-list').css('height', pich);
$('.stickers-box-list .position-2').css('left', ((picw / 2) - ($('.position-2').width() / 2)));
$('.stickers-box-list .position-4').css('top', ((pich / 2) - ihl));
$('.stickers-box-list .position-5').css({
'top': ((pich / 2) - ihl),
'left': ((picw / 2) - ($('.position-5').width() / 2))
});
$('.stickers-box-list .position-6').css('top', (pich / 2));
$('.stickers-box-list .position-8').css('left', ((picw / 2) - ($('.position-8').width() / 2)));
}, 250);
});

View File

@@ -0,0 +1,40 @@
$(document).ready(function() {
// product
setTimeout(function() {
var iew = $('.product-cover').width();
var ieh = parseFloat($('.product-cover').css('height'))-10;
var ih = 50;
if (ieh > 0) {
$('.stickers-box').css('height', ieh);
var left2 = (iew/2)-(parseFloat($('.position-2').css('width'))/2);
$('.stickers-box .position-2').css('left', left2);
$('.stickers-box .position-4').css('top', ((ieh / 2) - ih));
var left5 = (iew/2)-(parseFloat($('.position-5').css('width'))/2);
$('.stickers-box .position-5').css({
'top': ((ieh / 2) - ih),
'left': left5
});
$('.stickers-box .position-6').css('top', (ieh / 2)-ih);
var left8 = (iew/2)-(parseFloat($('.position-8').css('width'))/2);
$('.stickers-box .position-8').css('left', left8);
}
}, 500);
// product list
setTimeout(function() {
var picw = $('.thumbnail.product-thumbnail').width();
var pich = parseFloat($('.thumbnail.product-thumbnail').css('height'))-10;
var ihl = 35;
$('.stickers-box-list').css('height', pich);
$('.stickers-box-list .position-2').css('left', ((picw / 2) - ($('.position-2').width() / 2)));
$('.stickers-box-list .position-4').css('top', ((pich / 2) - ihl));
$('.stickers-box-list .position-5').css({
'top': ((pich / 2) - ihl),
'left': ((picw / 2) - ($('.position-5').width() / 2))
});
$('.stickers-box-list .position-6').css('top', (pich / 2)-ihl);
$('.stickers-box-list .position-8').css('left', ((picw / 2) - ($('.position-8').width() / 2)));
}, 500);
});