Usunięcie zbędnych plików tymczasowych oraz .DS_Store w module empikmarketplace
40
.vscode/ftp-kr.sync.cache.json
vendored
@@ -34,6 +34,18 @@
|
||||
"modified": false
|
||||
},
|
||||
"app": {
|
||||
"AppCache.php": {
|
||||
"type": "-",
|
||||
"size": 1245,
|
||||
"lmtime": 0,
|
||||
"modified": false
|
||||
},
|
||||
"AppKernel.php": {
|
||||
"type": "-",
|
||||
"size": 7527,
|
||||
"lmtime": 1743172708395,
|
||||
"modified": false
|
||||
},
|
||||
"config": {
|
||||
"addons": {},
|
||||
"config_dev.yml": {
|
||||
@@ -114,7 +126,15 @@
|
||||
"lmtime": 0,
|
||||
"modified": false
|
||||
}
|
||||
}
|
||||
},
|
||||
".htaccess": {
|
||||
"type": "-",
|
||||
"size": 180,
|
||||
"lmtime": 0,
|
||||
"modified": false
|
||||
},
|
||||
"Resources": {},
|
||||
"test": {}
|
||||
},
|
||||
"autoload.php": {
|
||||
"type": "-",
|
||||
@@ -333,7 +353,7 @@
|
||||
"ModuleAdminController.php": {
|
||||
"type": "-",
|
||||
"size": 2886,
|
||||
"lmtime": 0,
|
||||
"lmtime": 1742912910804,
|
||||
"modified": false
|
||||
},
|
||||
"ModuleFrontController.php": {
|
||||
@@ -924,7 +944,7 @@
|
||||
"defines.inc.php": {
|
||||
"type": "-",
|
||||
"size": 8108,
|
||||
"lmtime": 1742910197697,
|
||||
"lmtime": 1742912102633,
|
||||
"modified": false
|
||||
},
|
||||
"defines_uri.inc.php": {
|
||||
@@ -961,7 +981,7 @@
|
||||
"smarty.config.inc.php": {
|
||||
"type": "-",
|
||||
"size": 6750,
|
||||
"lmtime": 0,
|
||||
"lmtime": 1743172963590,
|
||||
"modified": true
|
||||
},
|
||||
"smartyfront.config.inc.php": {
|
||||
@@ -1063,7 +1083,7 @@
|
||||
".htaccess": {
|
||||
"type": "-",
|
||||
"size": 7168,
|
||||
"lmtime": 1742570256502,
|
||||
"lmtime": 1743169569305,
|
||||
"modified": false
|
||||
},
|
||||
".htaccess.2025-01-27-1738009656": {
|
||||
@@ -2955,7 +2975,7 @@
|
||||
"AdminApPageBuilderProfiles.php": {
|
||||
"type": "-",
|
||||
"size": 32527,
|
||||
"lmtime": 1742908441656,
|
||||
"lmtime": 1742913418806,
|
||||
"modified": false
|
||||
},
|
||||
"AdminApPageBuilderShortcode.php": {
|
||||
@@ -8238,13 +8258,13 @@
|
||||
"logs": {
|
||||
"20250325_exception.log": {
|
||||
"type": "-",
|
||||
"size": 430,
|
||||
"lmtime": 1742910642272,
|
||||
"size": 531,
|
||||
"lmtime": 1742912111318,
|
||||
"modified": false
|
||||
},
|
||||
"dev.log": {
|
||||
"type": "-",
|
||||
"size": 4862633,
|
||||
"size": 5324876,
|
||||
"lmtime": 1742563555515,
|
||||
"modified": true
|
||||
},
|
||||
@@ -8270,7 +8290,7 @@
|
||||
},
|
||||
"ps_accounts-2025-03-25": {
|
||||
"type": "-",
|
||||
"size": 850970,
|
||||
"size": 855436,
|
||||
"lmtime": 1742910399394,
|
||||
"modified": true
|
||||
}
|
||||
|
||||
BIN
modules/empikmarketplace/.DS_Store
vendored
@@ -1,46 +0,0 @@
|
||||
<?php
|
||||
|
||||
namespace Empik\Marketplace\Repository;
|
||||
|
||||
use Db;
|
||||
use DbQuery;
|
||||
use Empik\Marketplace\Utils\Utils;
|
||||
|
||||
class AttributeRepository
|
||||
{
|
||||
/** @var Db */
|
||||
protected $db;
|
||||
|
||||
/** @var int */
|
||||
protected $langId;
|
||||
|
||||
public function __construct()
|
||||
{
|
||||
$this->db = Db::getInstance();
|
||||
$this->langId = Utils::getLangId();
|
||||
}
|
||||
|
||||
public function getAttributes($productId, $productAttributeId)
|
||||
{
|
||||
$sql = new DbQuery();
|
||||
$sql->select('al.name AS value, agl.public_name AS name');
|
||||
$sql->from('attribute_group', 'ag');
|
||||
$sql->leftJoin('attribute_group_lang', 'agl', 'agl.id_attribute_group = ag.id_attribute_group AND agl.id_lang = ' . (int)$this->langId);
|
||||
$sql->leftJoin('product_attribute', 'pa', 'pa.id_product = ' . (int)$productId . ' AND pa.id_product_attribute = ' . (int)$productAttributeId);
|
||||
$sql->leftJoin('product_attribute_combination', 'pac', 'pac.id_product_attribute = pa.id_product_attribute');
|
||||
$sql->leftJoin('attribute', 'a', 'a.id_attribute = pac.id_attribute AND ag.id_attribute_group = a.id_attribute_group');
|
||||
$sql->leftJoin('attribute_lang', 'al', 'al.id_attribute = a.id_attribute AND al.id_lang = ' . (int)$this->langId);
|
||||
$sql->orderBy('ag.id_attribute_group');
|
||||
|
||||
$result = $this->db->executeS($sql);
|
||||
|
||||
$resultGrouped = [];
|
||||
foreach ($result as $item) {
|
||||
if (!isset($resultGrouped[$item['name']]) || $item['value']) {
|
||||
$resultGrouped[$item['name']] = $item;
|
||||
}
|
||||
}
|
||||
|
||||
return (array)$resultGrouped;
|
||||
}
|
||||
}
|
||||
@@ -1 +0,0 @@
|
||||
c:\visual studio code\projekty\drmaterac.pl\modules\empikmarketplace\vendor\composer\installers\src\Composer\Installers\~syncthing~CakePHPInstaller.php.tmp
|
||||
@@ -1 +0,0 @@
|
||||
c:\visual studio code\projekty\drmaterac.pl\modules\empikmarketplace\vendor\symfony\config\Tests\Definition\~syncthing~MergeTest.php.tmp
|
||||
@@ -1 +0,0 @@
|
||||
c:\visual studio code\projekty\drmaterac.pl\modules\empikmarketplace\vendor\symfony\dependency-injection\Tests\Compiler\~syncthing~CheckDefinitionValidityPassTest.php.tmp
|
||||
@@ -1,7 +0,0 @@
|
||||
<?php
|
||||
|
||||
namespace Symfony\Component\DependencyInjection\Tests\Fixtures\Prototype\OtherDir\Component2\Dir1;
|
||||
|
||||
class Service4
|
||||
{
|
||||
}
|
||||
@@ -1,22 +0,0 @@
|
||||
<?php
|
||||
|
||||
namespace Symfony\Component\DependencyInjection\Loader\Configurator;
|
||||
|
||||
use App\BarService;
|
||||
|
||||
return function (ContainerConfigurator $c) {
|
||||
$c->services()
|
||||
->set('bar', 'Class1')
|
||||
->set(BarService::class)
|
||||
->abstract(true)
|
||||
->lazy()
|
||||
->set('foo')
|
||||
->parent(BarService::class)
|
||||
->decorate('bar', 'b', 1)
|
||||
->args([ref('b')])
|
||||
->class('Class2')
|
||||
->file('file.php')
|
||||
->parent('bar')
|
||||
->parent(BarService::class)
|
||||
;
|
||||
};
|
||||
@@ -1 +0,0 @@
|
||||
c:\visual studio code\projekty\drmaterac.pl\modules\empikmarketplace\vendor\symfony\dependency-injection\Tests\Fixtures\xml\~syncthing~services_deprecated.xml.tmp
|
||||
BIN
modules/empikmarketplace/views/.DS_Store
vendored
BIN
modules/empikmarketplace/views/templates/.DS_Store
vendored
|
Before Width: | Height: | Size: 242 KiB |
|
Before Width: | Height: | Size: 62 KiB |
|
Before Width: | Height: | Size: 244 KiB |
|
Before Width: | Height: | Size: 80 KiB |
|
Before Width: | Height: | Size: 71 KiB After Width: | Height: | Size: 80 KiB |
|
Before Width: | Height: | Size: 505 KiB |
|
Before Width: | Height: | Size: 75 KiB |
|
Before Width: | Height: | Size: 190 KiB |
|
Before Width: | Height: | Size: 52 KiB |
@@ -498,8 +498,7 @@
|
||||
{* {/if} *}
|
||||
{/if}
|
||||
</div>
|
||||
|
||||
<div class="widget-stars" onclick="document.getElementsByClassName('leo-product-show-review-title')[0].scrollIntoView();">
|
||||
<div class="widget-stars" onclick="const target = document.querySelector('#tabs > .tabs-nav > li[data-tab="tabs-4"]'); if (target) { target.click(); setTimeout(() => { const rect = target.getBoundingClientRect(); const offsetTop = window.pageYOffset + rect.top - 100; window.scrollTo({ top: offsetTop, behavior: 'smooth' }); }, 300); }">
|
||||
<span>Ocena:</span>
|
||||
<div id="widget-container" class="data-ekomi-emp ekomi-widget-container ekomi-widget-sf14797663a5a947df4ad"></div>
|
||||
<div id="ekomi-product-widget-identifier" class="prod-data-emp" style="visibility: hidden">{$product.id}</div>
|
||||
|
||||
|
Before Width: | Height: | Size: 242 KiB |
|
Before Width: | Height: | Size: 57 KiB |
|
Before Width: | Height: | Size: 244 KiB |
|
Before Width: | Height: | Size: 61 KiB |
|
Before Width: | Height: | Size: 505 KiB |
|
Before Width: | Height: | Size: 69 KiB |
|
Before Width: | Height: | Size: 190 KiB |
|
Before Width: | Height: | Size: 47 KiB |