first commit

This commit is contained in:
2025-01-06 20:47:25 +01:00
commit 3bdbd78c2f
25591 changed files with 3586440 additions and 0 deletions

View File

@@ -0,0 +1,29 @@
<?php
/**
* 2012-2020 Patryk Marek PrestaDev.pl
*
* Patryk Marek PrestaDev.pl - PD Ceneo Zaufane Opinie Pro PrestaShop 1.6.x and 1.7.x Module © All rights reserved.
*
* DISCLAIMER
*
* Do not edit, modify or copy this file.
* If you wish to customize it, contact us at info@prestadev.pl.
*
* @author Patryk Marek PrestaDev.pl <info@prestadev.pl>
* @copyright 2012-2020 Patryk Marek - PrestaDev.pl
* @license License is for use in domain / or one multistore enviroment (do not modify or reuse this code or part of it)
* @link http://prestadev.pl
* @package PD Ceneo Zaufane Opinie Pro PrestaShop 1.6.x and 1.7.x Module
* @version 2.0.0
* @date 24-12-2020
*/
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,3 @@
.bootstrap form#module_form .fixed-width-xxxl {
width: 380px !important;
}

View File

@@ -0,0 +1,6 @@
#pdceneozaufaneopiniepro {margin-bottom: 20px;}
#pdceneozaufaneopiniepro label b {font-weight: normal;}
#pdceneozaufaneopiniepro p.checkbox {margin-bottom: 10px}
#cart #pdceneozaufaneopiniepro {margin-top:20px;}
#left_column #ceneo_widget_embed * {text-align: center;}

View File

@@ -0,0 +1,17 @@
#pdceneozaufaneopiniepro {padding-top: 1rem;padding-bottom: 1rem;}
#pdceneozaufaneopiniepro label {
text-align: left;
display: unset;
}
#pdceneozaufaneopiniepro .cart-overview-new {
padding: 1rem;
}
#pdceneozaufaneopiniepro #pd_czo_response {color:red;padding:0 2px;}
#pdceneozaufaneopiniepro label b {font-weight: normal;}
/*#pdceneozaufaneopiniepro p.checkbox {margin-bottom: 20px}*/
#left_column #ceneo_widget_embed * {text-align: center;}
#cart #pdceneozaufaneopiniepro {margin-top:20px;}

Binary file not shown.

After

Width:  |  Height:  |  Size: 950 B

View File

@@ -0,0 +1,29 @@
<?php
/**
* 2012-2020 Patryk Marek PrestaDev.pl
*
* Patryk Marek PrestaDev.pl - PD Ceneo Zaufane Opinie Pro PrestaShop 1.6.x and 1.7.x Module © All rights reserved.
*
* DISCLAIMER
*
* Do not edit, modify or copy this file.
* If you wish to customize it, contact us at info@prestadev.pl.
*
* @author Patryk Marek PrestaDev.pl <info@prestadev.pl>
* @copyright 2012-2020 Patryk Marek - PrestaDev.pl
* @license License is for use in domain / or one multistore enviroment (do not modify or reuse this code or part of it)
* @link http://prestadev.pl
* @package PD Ceneo Zaufane Opinie Pro PrestaShop 1.6.x and 1.7.x Module
* @version 2.0.0
* @date 24-12-2020
*/
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,29 @@
<?php
/**
* 2012-2015 Patryk Marek PrestaDev.pl
*
* Patryk Marek PrestaDev.pl - PD Ceneo Zaufane Opinie Pro PrestaShop 1.5.x and 1.6.x Module © All rights reserved.
*
* DISCLAIMER
*
* Do not edit, modify or copy this file.
* If you wish to customize it, contact us at info@prestadev.pl.
*
* @author Patryk Marek <info@prestadev.pl>
* @copyright 2012-2015 Patryk Marek @ PrestaDev.pl
* @link http://prestadev.pl
* @package PD Ceneo Zaufane Opinie Pro PrestaShop 1.5.x and 1.6.x Module
* @version 1.4.1
* @license Do not edit, modify or copy this file, if you wish to customize it, contact us at info@prestadev.pl.
* @date 01-09-2014
*/
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,29 @@
<?php
/**
* 2012-2020 Patryk Marek PrestaDev.pl
*
* Patryk Marek PrestaDev.pl - PD Ceneo Zaufane Opinie Pro PrestaShop 1.6.x and 1.7.x Module © All rights reserved.
*
* DISCLAIMER
*
* Do not edit, modify or copy this file.
* If you wish to customize it, contact us at info@prestadev.pl.
*
* @author Patryk Marek PrestaDev.pl <info@prestadev.pl>
* @copyright 2012-2020 Patryk Marek - PrestaDev.pl
* @license License is for use in domain / or one multistore enviroment (do not modify or reuse this code or part of it)
* @link http://prestadev.pl
* @package PD Ceneo Zaufane Opinie Pro PrestaShop 1.6.x and 1.7.x Module
* @version 2.0.0
* @date 24-12-2020
*/
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,100 @@
/**
* 2012-2020 Patryk Marek PrestaDev.pl
*
* Patryk Marek PrestaDev.pl - PD Ceneo Zaufane Opinie Pro PrestaShop 1.6.x and 1.7.x Module © All rights reserved.
*
* DISCLAIMER
*
* Do not edit, modify or copy this file.
* If you wish to customize it, contact us at info@prestadev.pl.
*
* @author Patryk Marek PrestaDev.pl <info@prestadev.pl>
* @copyright 2012-2020 Patryk Marek - PrestaDev.pl
* @license License is for use in domain / or one multistore enviroment (do not modify or reuse this code or part of it)
* @link http://prestadev.pl
* @package PD Ceneo Zaufane Opinie Pro PrestaShop 1.6.x and 1.7.x Module
* @version 2.0.0
* @date 24-12-2020
*/
$(document).ready(function() {
PdCeneoZaufaneOpiniePro.init();
});
let PdCeneoZaufaneOpiniePro = {
init() {
if (pdceneozaufaneopiniepro_ps17 && pdceneozaufaneopiniepro_work_mode == 1) {
PdCeneoZaufaneOpiniePro.initPrestaShopEmiter();
}
$('input#pdceneozaufaneopiniepro_accept').prop('checked', pdceneozaufaneopiniepro_default_accepted);
$('input#pdceneozaufaneopiniepro_accept').on('change', function() {
this.value = this.checked ? 1 : 0;
let accepted = $("input#pdceneozaufaneopiniepro_accept").val(),
checkbox_icon = $(this).next('span').find('i.material-icons');
if (typeof(accepted) == 'undefined') {
accepted = pdceneozaufaneopiniepro_default_accepted;
}
$.ajax({
type: "POST",
url: pdceneozaufaneopiniepro_ajax_link,
data: {
action: 'saveCeneoAcceptedStatus',
accepted: parseInt(accepted),
secure_key: pdceneozaufaneopiniepro_secure_key
},
dataType: "json",
success: function(data) {
if (data) {
$('input#pdceneozaufaneopiniepro_accept').prop('checked', true);
if (typeof(checkbox_icon) !== 'undefined') {
$(checkbox_icon).show();
}
if (pdceneozaufaneopiniepro_work_mode == 3) {
PdCeneoZaufaneOpiniePro.returnCeneoJsCode();
}
} else {
$('input#pdceneozaufaneopiniepro_accept').prop('checked', false);
if (typeof(checkbox_icon) !== 'undefined') {
$(checkbox_icon).hide();
}
}
}
});
});
},
returnCeneoJsCode() {
let accepted = $("input#pdceneozaufaneopiniepro_accept").val();
if (typeof(accepted) == 'undefined') {
accepted = pdceneozaufaneopiniepro_default_accepted;
}
$.ajax({
type: "POST",
url: pdceneozaufaneopiniepro_ajax_link,
data: {
action: 'returnCeneoJs',
accepted: parseInt(accepted),
secure_key: pdceneozaufaneopiniepro_secure_key
},
dataType: "json",
success: function(data) {
if (data) {
$("#pdceneozaufaneopiniepro_ajax_js_response").append(data);
}
}
});
},
initPrestaShopEmiter() {
if (typeof(prestashop) !== 'undefined') {
prestashop.on('changedCheckoutStep', function(params) {
if (typeof(params.event.currentTarget.id) !== 'undefined') {
var step = params.event.currentTarget.id;
if (step == 'checkout-payment-step') {
PdCeneoZaufaneOpiniePro.returnCeneoJsCode();
}
}
});
}
}
}

View File

@@ -0,0 +1,75 @@
{*
* 2012-2020 Patryk Marek PrestaDev.pl
*
* Patryk Marek PrestaDev.pl - PD Ceneo Zaufane Opinie Pro PrestaShop 1.6.x and 1.7.x Module © All rights reserved.
*
* DISCLAIMER
*
* Do not edit, modify or copy this file.
* If you wish to customize it, contact us at info@prestadev.pl.
*
* @author Patryk Marek PrestaDev.pl <info@prestadev.pl>
* @copyright 2012-2020 Patryk Marek - PrestaDev.pl
* @license License is for use in domain / or one multistore enviroment (do not modify or reuse this code or part of it)
* @link http://prestadev.pl
* @package PD Ceneo Zaufane Opinie Pro PrestaShop 1.6.x and 1.7.x Module
* @version 2.0.0
* @date 24-12-2020
*}
{if !$only_checkbox}
<div id="pdceneozaufaneopiniepro" class="{if $ps_version_17}row{/if} clearfix">
{if $ps_version_16}
<fieldset>
<h3 class="page-subheading">{l s='Acceptance of participation in the Ceneo Trusted Reviews' mod='pdceneozaufaneopiniepro'}</h3>
<p class="checkbox">
<input type="checkbox" value="1" id="pdceneozaufaneopiniepro_accept" name="pdceneozaufaneopiniepro_accept" autocomplete="off" {if $pd_accepted}checked{/if} />
<label for="pdceneozaufaneopiniepro_accept">
{l s='In order to send electronically examining customer satisfaction surveys with their purchases in the store under the "Trusted Reviews" I consent to the transfer of my personal data to Ceneo Sp.z.o.o' mod='pdceneozaufaneopiniepro'}
</label>
</p>
</fieldset>
{else}
<h3 class="h3">{l s='Acceptance of participation in the Ceneo Trusted Reviews' mod='pdceneozaufaneopiniepro'}</h3>
<div class="float-xs-left">
<span class="custom-checkbox">
<input type="checkbox" value="1" id="pdceneozaufaneopiniepro_accept" name="pdceneozaufaneopiniepro_accept" autocomplete="off" {if $pd_accepted}checked{/if} />
<span><i {if !$pd_accepted}style="display:none"{else}style="display:block"{/if} class="material-icons rtl-no-flip checkbox-checked">&#xE5CA;</i></span>
</span>
</div>
<div class="condition-label">
<label class="js-terms" for="pdceneozaufaneopiniepro_accept">
{l s='In order to send electronically examining customer satisfaction surveys with their purchases in the store under the "Trusted Reviews" I consent to the transfer of my personal data to Ceneo Sp.z.o.o' mod='pdceneozaufaneopiniepro'}
</label>
</div>
{/if}
</div>
{else}
{if $ps_version_16}
<p class="checkbox">
<input type="checkbox" value="1" id="pdceneozaufaneopiniepro_accept" name="pdceneozaufaneopiniepro_accept" autocomplete="off" {if $pd_accepted}checked{/if} />
<label for="pdceneozaufaneopiniepro_accept">
{l s='In order to send electronically examining customer satisfaction surveys with their purchases in the store under the "Trusted Reviews" I consent to the transfer of my personal data to Ceneo Sp.z.o.o' mod='pdceneozaufaneopiniepro'}
</label>
</p>
{else}
<div class="{if $ps_version_17}row{/if} clearfix">
<div class="float-xs-left">
<span class="custom-checkbox">
<input type="checkbox" value="1" id="pdceneozaufaneopiniepro_accept" name="pdceneozaufaneopiniepro_accept" autocomplete="off" {if $pd_accepted}checked{/if} />
<span><i {if !$pd_accepted}style="display:none"{else}style="display:block"{/if} class="material-icons rtl-no-flip checkbox-checked">&#xE5CA;</i></span>
</span>
</div>
<div class="condition-label">
<label class="js-terms" for="pdceneozaufaneopiniepro_accept">
{l s='In order to send electronically examining customer satisfaction surveys with their purchases in the store under the "Trusted Reviews" I consent to the transfer of my personal data to Ceneo Sp.z.o.o' mod='pdceneozaufaneopiniepro'}
</label>
</div>
</div>
{/if}
{/if}
{if $pd_word_mode == 3}
<div id="pdceneozaufaneopiniepro_ajax_js_response"></div>
{/if}

View File

@@ -0,0 +1,75 @@
{*
* 2012-2020 Patryk Marek PrestaDev.pl
*
* Patryk Marek PrestaDev.pl - PD Ceneo Zaufane Opinie Pro PrestaShop 1.6.x and 1.7.x Module © All rights reserved.
*
* DISCLAIMER
*
* Do not edit, modify or copy this file.
* If you wish to customize it, contact us at info@prestadev.pl.
*
* @author Patryk Marek PrestaDev.pl <info@prestadev.pl>
* @copyright 2012-2020 Patryk Marek - PrestaDev.pl
* @license License is for use in domain / or one multistore enviroment (do not modify or reuse this code or part of it)
* @link http://prestadev.pl
* @package PD Ceneo Zaufane Opinie Pro PrestaShop 1.6.x and 1.7.x Module
* @version 2.0.0
* @date 24-12-2020
*}
{if !$only_checkbox}
<div id="pdceneozaufaneopiniepro" class="{if $ps_version_17}row{/if} clearfix">
{if $ps_version_16}
<fieldset>
<h3 class="page-subheading">{l s='Acceptance of participation in the Ceneo Trusted Reviews' mod='pdceneozaufaneopiniepro'}</h3>
<p class="checkbox">
<input type="checkbox" value="1" id="pdceneozaufaneopiniepro_accept" name="pdceneozaufaneopiniepro_accept" autocomplete="off" {if $pd_accepted}checked{/if} />
<label for="pdceneozaufaneopiniepro_accept">
{l s='In order to send electronically examining customer satisfaction surveys with their purchases in the store under the "Trusted Reviews" I consent to the transfer of my personal data to Ceneo Sp.z.o.o' mod='pdceneozaufaneopiniepro'}
</label>
</p>
</fieldset>
{else}
<h3 class="h3">{l s='Acceptance of participation in the Ceneo Trusted Reviews' mod='pdceneozaufaneopiniepro'}</h3>
<div class="float-xs-left">
<span class="custom-checkbox">
<input type="checkbox" value="1" id="pdceneozaufaneopiniepro_accept" name="pdceneozaufaneopiniepro_accept" autocomplete="off" {if $pd_accepted}checked{/if} />
<span><i {if !$pd_accepted}style="display:none"{else}style="display:block"{/if} class="material-icons rtl-no-flip checkbox-checked">&#xE5CA;</i></span>
</span>
</div>
<div class="condition-label">
<label class="js-terms" for="pdceneozaufaneopiniepro_accept">
{l s='In order to send electronically examining customer satisfaction surveys with their purchases in the store under the "Trusted Reviews" I consent to the transfer of my personal data to Ceneo Sp.z.o.o' mod='pdceneozaufaneopiniepro'}
</label>
</div>
{/if}
</div>
{else}
{if $ps_version_16}
<p class="checkbox">
<input type="checkbox" value="1" id="pdceneozaufaneopiniepro_accept" name="pdceneozaufaneopiniepro_accept" autocomplete="off" {if $pd_accepted}checked{/if} />
<label for="pdceneozaufaneopiniepro_accept">
{l s='In order to send electronically examining customer satisfaction surveys with their purchases in the store under the "Trusted Reviews" I consent to the transfer of my personal data to Ceneo Sp.z.o.o' mod='pdceneozaufaneopiniepro'}
</label>
</p>
{else}
<div class="{if $ps_version_17}row{/if} clearfix">
<div class="float-xs-left">
<span class="custom-checkbox">
<input type="checkbox" value="1" id="pdceneozaufaneopiniepro_accept" name="pdceneozaufaneopiniepro_accept" autocomplete="off" {if $pd_accepted}checked{/if} />
<span><i {if !$pd_accepted}style="display:none"{else}style="display:block"{/if} class="material-icons rtl-no-flip checkbox-checked">&#xE5CA;</i></span>
</span>
</div>
<div class="condition-label">
<label class="js-terms" for="pdceneozaufaneopiniepro_accept">
{l s='In order to send electronically examining customer satisfaction surveys with their purchases in the store under the "Trusted Reviews" I consent to the transfer of my personal data to Ceneo Sp.z.o.o' mod='pdceneozaufaneopiniepro'}
</label>
</div>
</div>
{/if}
{/if}
{if $pd_word_mode == 3}
<div id="pdceneozaufaneopiniepro_ajax_js_response"></div>
{/if}

View File

@@ -0,0 +1,30 @@
{*
* 2012-2015 Patryk Marek PrestaDev.pl
*
* Patryk Marek PrestaDev.pl - PD Ceneo Zaufane Opinie Pro PrestaShop 1.5.x and 1.6.x Module © All rights reserved.
*
* DISCLAIMER
*
* Do not edit, modify or copy this file.
* If you wish to customize it, contact us at info@prestadev.pl.
*
* @author Patryk Marek PrestaDev.pl <info@prestadev.pl>
* @copyright 2012-2015 Patryk Marek PrestaDev.pl
* @version Release: 1.4.1
*}
<span id="__ceneo-reviews-{$ceneo_account_guid|escape:'htmlall':'UTF-8'}"></span><br />
<small>
<a href="{$ceneo_widget_embed_url|escape:'htmlall':'UTF-8'}" rel="nofollow" target="_blank">&raquo; {l s='read all opinions' mod='pdceneozaufaneopiniepro'}</a>
</small>
<script type="text/javascript" data-keepinline="true">
{literal}
(function (d,t){
var g=d.createElement(t),s=d.getElementsByTagName(t)[0];
g.src=('https:'==document.location.protocol?'https://':'http://')+'ssl.ceneo.pl/shops/rw.js?accountGuid={/literal}{$ceneo_account_guid|escape:'htmlall':'UTF-8'}{literal}';
s.async=true;
s.parentNode.insertBefore(g, s);
}(document,'script'));
{/literal}
</script>

View File

@@ -0,0 +1,44 @@
{*
* 2012-2020 Patryk Marek PrestaDev.pl
*
* Patryk Marek PrestaDev.pl - PD Ceneo Zaufane Opinie Pro PrestaShop 1.6.x and 1.7.x Module © All rights reserved.
*
* DISCLAIMER
*
* Do not edit, modify or copy this file.
* If you wish to customize it, contact us at info@prestadev.pl.
*
* @author Patryk Marek PrestaDev.pl <info@prestadev.pl>
* @copyright 2012-2020 Patryk Marek - PrestaDev.pl
* @license License is for use in domain / or one multistore enviroment (do not modify or reuse this code or part of it)
* @link http://prestadev.pl
* @package PD Ceneo Zaufane Opinie Pro PrestaShop 1.6.x and 1.7.x Module
* @version 2.0.0
* @date 24-12-2020
*}
<div class="row">
<div class="col-lg-7">
<div class="panel">
<div class="panel-heading">
<i class="icon-user"></i>
{l s='Ceneo Trusted Reviews' mod='pdceneozaufaneopiniepro'}
</div>
<div class="well hidden-print">
<label>{l s='Customer agreed to send survey:' mod='pdceneozaufaneopiniepro'}</label>
{if isset($data->accepted) && $data->accepted}
{l s='Yes' mod='pdceneozaufaneopiniepro'}
{else}
{l s='No' mod='pdceneozaufaneopiniepro'}
{/if}
{if isset($data->send) && $data->send}
<br /><label>{l s='Datetime order send:' mod='pdceneozaufaneopiniepro'}</label>
{if isset($data->date_upd)}{$data->date_upd}{/if}
{/if}
<br /><label>{l s='Days to send questionaire:' mod='pdceneozaufaneopiniepro'}</label>
{if isset($data->days_to_send)}{$data->days_to_send} {l s='Days' mod='pdceneozaufaneopiniepro'}{/if}
</div>
</div>
</div>
</div>

View File

@@ -0,0 +1,52 @@
{*
* 2012-2020 Patryk Marek PrestaDev.pl
*
* Patryk Marek PrestaDev.pl - PD Ceneo Zaufane Opinie Pro PrestaShop 1.6.x and 1.7.x Module © All rights reserved.
*
* DISCLAIMER
*
* Do not edit, modify or copy this file.
* If you wish to customize it, contact us at info@prestadev.pl.
*
* @author Patryk Marek PrestaDev.pl <info@prestadev.pl>
* @copyright 2012-2020 Patryk Marek - PrestaDev.pl
* @license License is for use in domain / or one multistore enviroment (do not modify or reuse this code or part of it)
* @link http://prestadev.pl
* @package PD Ceneo Zaufane Opinie Pro PrestaShop 1.6.x and 1.7.x Module
* @version 2.0.0
* @date 24-12-2020
*}
<div class="card mt-2 d-print-none">
<div class="card-header">
<div class="row">
<div class="col-md-12">
<h3 class="card-header-title">
{l s='Ceneo Trusted Reviews' mod='pdceneozaufaneopiniepro'}
</h3>
</div>
</div>
</div>
<div class="card-body">
<p class="mb-1">
<strong>{l s='Customer agreed to send survey:' mod='pdceneozaufaneopiniepro'}</strong>
<span>
{if isset($data->accepted) && $data->accepted}
{l s='Yes' mod='pdceneozaufaneopiniepro'}
{else}
{l s='No' mod='pdceneozaufaneopiniepro'}
{/if}
</span>
</p>
{if isset($data->send) && $data->send}
<p class="mb-1">
<strong>{l s='Datetime order send:' mod='pdceneozaufaneopiniepro'}</strong>
{if isset($data->date_upd)} <span>{$data->date_upd}</span>{/if}
</p>
{/if}
<p class="mb-1">
<strong>{l s='Days to send questionaire:' mod='pdceneozaufaneopiniepro'}</strong>
{if isset($data->days_to_send)} <span>{$data->days_to_send} {l s='Days' mod='pdceneozaufaneopiniepro'}</span>{/if}
</p>
</div>
</div>

View File

@@ -0,0 +1,34 @@
{*
* 2012-2015 Patryk Marek PrestaDev.pl
*
* Patryk Marek PrestaDev.pl - PD Ceneo Zaufane Opinie Pro PrestaShop 1.5.x and 1.6.x Module © All rights reserved.
*
* DISCLAIMER
*
* Do not edit, modify or copy this file.
* If you wish to customize it, contact us at info@prestadev.pl.
*
* @author Patryk Marek PrestaDev.pl <info@prestadev.pl>
* @copyright 2012-2015 Patryk Marek PrestaDev.pl
* @version Release: 1.4.1
*}
<div class="block">
<div id="ceneo-content-injected" style="text-align:center">
{l s='Recommendations provide' mod='pdceneozaufaneopiniepro'}
<a href="http://www.ceneo.pl/;7669-0v" rel="nofollow" title="{l s='Ceneo' mod='pdceneozaufaneopiniepro'}" target="_blank">{l s='Ceneo' mod='pdceneozaufaneopiniepro'}</a>
</div>
<script type="text/javascript" data-keepinline="true">
{literal}
(function(w,d,t,a,c){literal}{{/literal}{literal}w[a]=w[a]||[];
w[a].push({{/literal}
id:'{/literal}{$pd_ceneo_widget_id}{literal}',
container:'ceneo-content-injected'}{/literal});
if(!w[c]){literal}{w[c]=true;
var s=d.createElement(t),g=d.getElementsByTagName(t)[0];
s.src="https://ssl.ceneo.pl/shops/rc.js?accountGuid={/literal}{$ceneo_account_guid|escape:'htmlall':'UTF-8'}&{literal}"+parseInt(new Date().getTime()/86400,10);
s.async=true;
g.parentNode.insertBefore(s,g);}}{/literal}(window,document,'script','CeneoRecommendationWidgetOptions','CeneoRecommendationScriptLoaded'));
</script>
</div>

View File

@@ -0,0 +1,39 @@
{*
* 2012-2015 Patryk Marek PrestaDev.pl
*
* Patryk Marek PrestaDev.pl - PD Ceneo Zaufane Opinie Pro PrestaShop 1.5.x and 1.6.x Module © All rights reserved.
*
* DISCLAIMER
*
* Do not edit, modify or copy this file.
* If you wish to customize it, contact us at info@prestadev.pl.
*
* @author Patryk Marek PrestaDev.pl <info@prestadev.pl>
* @copyright 2012-2015 Patryk Marek PrestaDev.pl
* @version Release: 1.4.1
*}
<div class="block">
<div id="ceneo-content-injected-block" style="text-align:center">
{l s='Recommendations provide' mod='pdceneozaufaneopiniepro'}
<a href="{$ceneo_widget_url|escape:'htmlall':'UTF-8'}" rel="nofollow" title="{l s='Ceneo' mod='pdceneozaufaneopiniepro'}" target="_blank">{l s='Ceneo' mod='pdceneozaufaneopiniepro'}</a>
</div>
<script type="text/javascript" data-keepinline="true">
(function(w,d,t,a,c){
w[a]=w[a]||[];
w[a].push({
id:'{$ceneo_widget_id|escape:'htmlall':'UTF-8'}',
container:'ceneo-content-injected-block'
});
if(!w[c]) {
w[c]=true;
var s=d.createElement(t),g=d.getElementsByTagName(t)[0];
s.src="https://ssl.ceneo.pl/shops/rc.js?accountGuid={$ceneo_account_guid|escape:'htmlall':'UTF-8'}&"+parseInt(new Date().getTime()/86400,10);
s.async=true;
g.parentNode.insertBefore(s,g);
}
}(window,document,'script','CeneoRecommendationWidgetOptions','CeneoRecommendationScriptLoaded'));
</script>
</div>

View File

@@ -0,0 +1,29 @@
{*
* 2012-2015 Patryk Marek PrestaDev.pl
*
* Patryk Marek PrestaDev.pl - PD Ceneo Zaufane Opinie Pro PrestaShop 1.5.x and 1.6.x Module © All rights reserved.
*
* DISCLAIMER
*
* Do not edit, modify or copy this file.
* If you wish to customize it, contact us at info@prestadev.pl.
*
* @author Patryk Marek PrestaDev.pl <info@prestadev.pl>
* @copyright 2012-2015 Patryk Marek PrestaDev.pl
* @version Release: 1.4.1
*}
<div id="ceneo_widget_embed" class="block clearfix">
<span id="__ceneo-reviews-{$ceneo_account_guid|escape:'htmlall':'UTF-8'}"></span>
</div>
<script type="text/javascript" data-keepinline="true">
{literal}
(function (d,t){
var g=d.createElement(t),s=d.getElementsByTagName(t)[0];
g.src=('https:'==document.location.protocol?'https://':'http://')+'ssl.ceneo.pl/shops/rw.js?accountGuid={/literal}{$ceneo_account_guid|escape:'htmlall':'UTF-8'}{literal}';
s.async=true;
s.parentNode.insertBefore(g, s);
}(document,'script'));
{/literal}
</script>

View File

@@ -0,0 +1,16 @@
{*
* 2012-2015 Patryk Marek PrestaDev.pl
*
* Patryk Marek PrestaDev.pl - PD Ceneo Zaufane Opinie Pro PrestaShop 1.5.x and 1.6.x Module © All rights reserved.
*
* DISCLAIMER
*
* Do not edit, modify or copy this file.
* If you wish to customize it, contact us at info@prestadev.pl.
*
* @author Patryk Marek PrestaDev.pl <info@prestadev.pl>
* @copyright 2012-2015 Patryk Marek PrestaDev.pl
* @version Release: 1.4.1
*}
<div id="pdceneozaufaneopiniepro_ajax_js_response"></div>

View File

@@ -0,0 +1,34 @@
{*
* 2012-2015 Patryk Marek PrestaDev.pl
*
* Patryk Marek PrestaDev.pl - PD Ceneo Zaufane Opinie Pro PrestaShop 1.5.x and 1.6.x Module © All rights reserved.
*
* DISCLAIMER
*
* Do not edit, modify or copy this file.
* If you wish to customize it, contact us at info@prestadev.pl.
*
* @author Patryk Marek PrestaDev.pl <info@prestadev.pl>
* @copyright 2012-2015 Patryk Marek PrestaDev.pl
* @version Release: 1.4.1
*}
<div class="block">
<div id="ceneo-content-injected" style="text-align:center">
{l s='Recommendations provide' mod='pdceneozaufaneopiniepro'}
<a href="http://www.ceneo.pl/;7669-0v" rel="nofollow" title="{l s='Ceneo' mod='pdceneozaufaneopiniepro'}" target="_blank">{l s='Ceneo' mod='pdceneozaufaneopiniepro'}</a>
</div>
<script type="text/javascript" data-keepinline="true">
{literal}
(function(w,d,t,a,c){literal}{{/literal}{literal}w[a]=w[a]||[];
w[a].push({{/literal}
id:'{/literal}{$pd_ceneo_widget_id}{literal}',
container:'ceneo-content-injected'}{/literal});
if(!w[c]){literal}{w[c]=true;
var s=d.createElement(t),g=d.getElementsByTagName(t)[0];
s.src="https://ssl.ceneo.pl/shops/rc.js?accountGuid={/literal}{$ceneo_account_guid|escape:'htmlall':'UTF-8"}&{literal}"+parseInt(new Date().getTime()/86400,10);
s.async=true;
g.parentNode.insertBefore(s,g);}}{/literal}(window,document,'script','CeneoRecommendationWidgetOptions','CeneoRecommendationScriptLoaded'));
</script>
</div>

View File

@@ -0,0 +1,38 @@
{*
* 2012-2015 Patryk Marek PrestaDev.pl
*
* Patryk Marek PrestaDev.pl - PD Ceneo Zaufane Opinie Pro PrestaShop 1.5.x and 1.6.x Module © All rights reserved.
*
* DISCLAIMER
*
* Do not edit, modify or copy this file.
* If you wish to customize it, contact us at info@prestadev.pl.
*
* @author Patryk Marek PrestaDev.pl <info@prestadev.pl>
* @copyright 2012-2015 Patryk Marek PrestaDev.pl
* @version Release: 1.4.1
*}
<div class="block">
<div id="ceneo-content-injected" style="text-align:center">
{l s='Recommendations provide' mod='pdceneozaufaneopiniepro'}
<a href="{$ceneo_widget_url|escape:'htmlall':'UTF-8'}" rel="nofollow" title="{l s='Ceneo' mod='pdceneozaufaneopiniepro'}" target="_blank">{l s='Ceneo' mod='pdceneozaufaneopiniepro'}</a>
</div>
<script type="text/javascript" data-keepinline="true">
(function(w,d,t,a,c){
w[a]=w[a]||[];
w[a].push({
id:'{$ceneo_widget_id|escape:'htmlall':'UTF-8'}',
container:'ceneo-content-injected'
});
if(!w[c]) {
w[c]=true;
var s=d.createElement(t),g=d.getElementsByTagName(t)[0];
s.src="https://ssl.ceneo.pl/shops/rc.js?accountGuid={$ceneo_account_guid|escape:'htmlall':'UTF-8'}&"+parseInt(new Date().getTime()/86400,10);
s.async=true;
g.parentNode.insertBefore(s,g);
}
}(window,document,'script','CeneoRecommendationWidgetOptions','CeneoRecommendationScriptLoaded'));
</script>
</div>

View File

@@ -0,0 +1,21 @@
{*
* 2012-2015 Patryk Marek PrestaDev.pl
*
* Patryk Marek PrestaDev.pl - PD Ceneo Zaufane Opinie Pro PrestaShop 1.5.x and 1.6.x Module © All rights reserved.
*
* DISCLAIMER
*
* Do not edit, modify or copy this file.
* If you wish to customize it, contact us at info@prestadev.pl.
*
* @author Patryk Marek PrestaDev.pl <info@prestadev.pl>
* @copyright 2012-2015 Patryk Marek PrestaDev.pl
* @version Release: 1.4.1
*}
<script type="text/javascript" data-keepinline="true">
var scr=document.createElement('script');
scr.src=('https:'==document.location.protocol?'https://':'http://')+'ssl.ceneo.pl/shops/sw.js?accountGuid={$ceneo_account_guid|escape:'htmlall':'UTF-8'}';
scr.type='text/javascript';
document.getElementsByTagName('head')[0].appendChild(scr);
</script>

View File

@@ -0,0 +1,22 @@
{*
* 2012-2015 Patryk Marek PrestaDev.pl
*
* Patryk Marek PrestaDev.pl - PD Ceneo Zaufane Opinie Pro PrestaShop 1.5.x and 1.6.x Module © All rights reserved.
*
* DISCLAIMER
*
* Do not edit, modify or copy this file.
* If you wish to customize it, contact us at info@prestadev.pl.
*
* @author Patryk Marek PrestaDev.pl <info@prestadev.pl>
* @copyright 2012-2015 Patryk Marek PrestaDev.pl
* @version Release: 1.4.1
*}
<script type="text/javascript" data-keepinline="true">
var scr=document.createElement('script');
scr.src=('https:'==document.location.protocol?'https://':'http://')+'ssl.ceneo.pl/shops/sw.js?accountGuid={$ceneo_account_guid|escape:'htmlall':'UTF-8'}';
scr.type='text/javascript';
document.getElementsByTagName('head')[0].appendChild(scr);
</script>

View File

@@ -0,0 +1,29 @@
<?php
/**
* 2012-2020 Patryk Marek PrestaDev.pl
*
* Patryk Marek PrestaDev.pl - PD Ceneo Zaufane Opinie Pro PrestaShop 1.6.x and 1.7.x Module © All rights reserved.
*
* DISCLAIMER
*
* Do not edit, modify or copy this file.
* If you wish to customize it, contact us at info@prestadev.pl.
*
* @author Patryk Marek PrestaDev.pl <info@prestadev.pl>
* @copyright 2012-2020 Patryk Marek - PrestaDev.pl
* @license License is for use in domain / or one multistore enviroment (do not modify or reuse this code or part of it)
* @link http://prestadev.pl
* @package PD Ceneo Zaufane Opinie Pro PrestaShop 1.6.x and 1.7.x Module
* @version 2.0.0
* @date 24-12-2020
*/
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,80 @@
{*
* 2012-2020 Patryk Marek PrestaDev.pl
*
* Patryk Marek PrestaDev.pl - PD Ceneo Zaufane Opinie Pro PrestaShop 1.6.x and 1.7.x Module © All rights reserved.
*
* DISCLAIMER
*
* Do not edit, modify or copy this file.
* If you wish to customize it, contact us at info@prestadev.pl.
*
* @author Patryk Marek PrestaDev.pl <info@prestadev.pl>
* @copyright 2012-2020 Patryk Marek - PrestaDev.pl
* @license License is for use in domain / or one multistore enviroment (do not modify or reuse this code or part of it)
* @link http://prestadev.pl
* @package PD Ceneo Zaufane Opinie Pro PrestaShop 1.6.x and 1.7.x Module
* @version 2.0.0
* @date 24-12-2020
*}
{if !$only_checkbox}
<div id="pdceneozaufaneopiniepro" class="box card col-xs-12 col-sm-12 clearfix">
{if $ps_version_16}
<fieldset>
<h3 class="page-subheading">{l s='Acceptance of participation in the Ceneo Trusted Reviews' mod='pdceneozaufaneopiniepro'}</h3>
<p class="checkbox">
<input type="checkbox" value="1" id="pdceneozaufaneopiniepro_accept" name="pdceneozaufaneopiniepro_accept" autocomplete="off" {if $pd_accepted}checked{/if} />
<label for="pdceneozaufaneopiniepro_accept">
{l s='In order to send electronically examining customer satisfaction surveys with their purchases in the store under the "Trusted Reviews" I consent to the transfer of my personal data to Ceneo Sp.z.o.o' mod='pdceneozaufaneopiniepro'}
</label>
</p>
</fieldset>
{else}
<div class="card-block">
<h1 class="h1">{l s='Acceptance of participation in the Ceneo Trusted Reviews' mod='pdceneozaufaneopiniepro'}</h1>
</div>
<hr class="separator">
<div class="cart-overview-new">
<div class="float-xs-left">
<span class="custom-checkbox">
<input type="checkbox" value="1" id="pdceneozaufaneopiniepro_accept" name="pdceneozaufaneopiniepro_accept" autocomplete="off" {if $pd_accepted}checked{/if} />
<span><i {if !$pd_accepted}style="display:none"{else}style="display:block"{/if} class="material-icons rtl-no-flip checkbox-checked">&#xE5CA;</i></span>
</span>
</div>
<div class="condition-label">
<label class="js-terms" for="pdceneozaufaneopiniepro_accept">
{l s='In order to send electronically examining customer satisfaction surveys with their purchases in the store under the "Trusted Reviews" I consent to the transfer of my personal data to Ceneo Sp.z.o.o' mod='pdceneozaufaneopiniepro'}
</label>
</div>
</div>
{/if}
</div>
{else}
{if $ps_version_16}
<p class="checkbox">
<input type="checkbox" value="1" id="pdceneozaufaneopiniepro_accept" name="pdceneozaufaneopiniepro_accept" autocomplete="off" {if $pd_accepted}checked{/if} />
<label for="pdceneozaufaneopiniepro_accept">
{l s='In order to send electronically examining customer satisfaction surveys with their purchases in the store under the "Trusted Reviews" I consent to the transfer of my personal data to Ceneo Sp.z.o.o' mod='pdceneozaufaneopiniepro'}
</label>
</p>
{else}
<div class="{if $ps_version_17}row{/if} clearfix">
<div class="float-xs-left">
<span class="custom-checkbox">
<input type="checkbox" value="1" id="pdceneozaufaneopiniepro_accept" name="pdceneozaufaneopiniepro_accept" autocomplete="off" {if $pd_accepted}checked{/if} />
<span><i {if !$pd_accepted}style="display:none"{else}style="display:block"{/if} class="material-icons rtl-no-flip checkbox-checked">&#xE5CA;</i></span>
</span>
</div>
<div class="condition-label">
<label class="js-terms" for="pdceneozaufaneopiniepro_accept">
{l s='In order to send electronically examining customer satisfaction surveys with their purchases in the store under the "Trusted Reviews" I consent to the transfer of my personal data to Ceneo Sp.z.o.o' mod='pdceneozaufaneopiniepro'}
</label>
</div>
</div>
{/if}
{/if}
{if $pd_word_mode == 3}
<div id="pdceneozaufaneopiniepro_ajax_js_response"></div>
{/if}

View File

@@ -0,0 +1,29 @@
<?php
/**
* 2012-2020 Patryk Marek PrestaDev.pl
*
* Patryk Marek PrestaDev.pl - PD Ceneo Zaufane Opinie Pro PrestaShop 1.6.x and 1.7.x Module © All rights reserved.
*
* DISCLAIMER
*
* Do not edit, modify or copy this file.
* If you wish to customize it, contact us at info@prestadev.pl.
*
* @author Patryk Marek PrestaDev.pl <info@prestadev.pl>
* @copyright 2012-2020 Patryk Marek - PrestaDev.pl
* @license License is for use in domain / or one multistore enviroment (do not modify or reuse this code or part of it)
* @link http://prestadev.pl
* @package PD Ceneo Zaufane Opinie Pro PrestaShop 1.6.x and 1.7.x Module
* @version 2.0.0
* @date 24-12-2020
*/
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;