first commit

This commit is contained in:
2024-12-17 13:43:22 +01:00
commit 8e6cd8b410
21292 changed files with 3514826 additions and 0 deletions

View File

@@ -0,0 +1,38 @@
{**
* 2007-2017 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License 3.0 (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:
* https://opensource.org/licenses/AFL-3.0
* 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-2017 PrestaShop SA
* @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
{if $elements}
<div id="block-reassurance">
<ul>
{foreach from=$elements item=element}
<li>
<div class="block-reassurance-item">
<img src="{$element.image}" alt="{$element.text}">
<span class="h6">{$element.text}</span>
</div>
</li>
{/foreach}
</ul>
</div>
{/if}

View File

@@ -0,0 +1,115 @@
{**
* 2007-2018 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License 3.0 (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:
* https://opensource.org/licenses/AFL-3.0
* 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-2018 PrestaShop SA
* @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
<section class="contact-form inputs_col">
<form action="{$urls.pages.contact}" method="post" {if $contact.allow_file_upload}enctype="multipart/form-data"{/if}>
{if $notifications}
<div class="col-xs-12 alert {if $notifications.nw_error}alert-danger{else}alert-success{/if}">
<ul>
{foreach $notifications.messages as $notif}
<li>{$notif}</li>
{/foreach}
</ul>
</div>
{/if}
{if !$notifications || $notifications.nw_error}
<section class="form-fields">
<div class="form-group row">
<div class="col-lg-{if $contact.orders}6{else}4{/if} col-xs-12">
<label>{l s='Subject' d='Shop.Forms.Labels'}</label>
<select name="id_contact" class="form-control form-control-select">
{foreach from=$contact.contacts item=contact_elt}
<option value="{$contact_elt.id_contact}">{$contact_elt.name}</option>
{/foreach}
</select>
</div>
<div class="col-lg-{if $contact.orders}6{else}4{/if} col-xs-12">
<label>{l s='Email address' d='Shop.Forms.Labels'}</label>
<input
class="form-control"
name="from"
type="email"
value="{$contact.email}"
placeholder="{l s='your@email.com' d='Shop.Forms.Help'}"
>
</div>
{if $contact.orders}
<div class="col-lg-{if $contact.orders}6{else}4{/if} col-xs-12">
<label>{l s='Order reference' d='Shop.Forms.Labels'}</label>
<select name="id_order" class="form-control form-control-select">
<option value="">{l s='Select reference' d='Shop.Forms.Help'}</option>
{foreach from=$contact.orders item=order}
<option value="{$order.id_order}">{$order.reference}</option>
{/foreach}
</select>
</div>
{/if}
{if $contact.allow_file_upload}
<div class="col-lg-{if $contact.orders}6{else}4{/if} col-xs-12 tip_inside">
<label>{l s='Attachment' d='Shop.Forms.Labels'}</label>
<input type="file" name="fileUpload" class="filestyle" placeholder="{l s='Click on icon to attach file' d='Shop.Forms.Labels'}" data-buttonText='
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><g id="Layer_4" data-name="Layer 4"><path d="M12,21H7.6A1.71,1.71,0,0,1,6,19.2V4.8A1.71,1.71,0,0,1,7.6,3h8.8A1.71,1.71,0,0,1,18,4.8V17" style="fill:none;stroke:#000;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8px"/><path d="M10,17V8.81A1.72,1.72,0,0,1,11.6,7h.8A1.72,1.72,0,0,1,14,8.81V19.4c0,1-1.12,1.6-2,1.6" style="fill:none;stroke:#000;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8px"/></g></svg>
'>
<span class="tip">{l s='Click on icon to attach file' d='Shop.Forms.Labels'}</span>
</div>
{/if}
<div class="col-lg-12">
<textarea
class="form-control"
name="message"
placeholder="{l s='Your Message' d='Shop.Forms.Help'}"
rows="3"
>{if $contact.message}{$contact.message}{/if}</textarea>
</div>
</div>
{if isset($id_module)}
{hook h='displayGDPRConsent' id_module=$id_module}
{/if}
</section>
<footer class="form-footer text-sm-right">
<style>
input[name=url] {
display: none !important;
}
</style>
<input type="text" name="url" value=""/>
<input type="hidden" name="token" value="{$token}" />
<input class="btn btn-primary" type="submit" name="submitMessage" value="{l s='Send' d='Shop.Theme.Actions'}">
</footer>
{/if}
</form>
</section>

View File

@@ -0,0 +1 @@
{message_content}

View File

@@ -0,0 +1 @@
{message_content}

View File

@@ -0,0 +1 @@
{message_content}

View File

@@ -0,0 +1 @@
{message_content}

View File

@@ -0,0 +1 @@
{message_content}

View File

@@ -0,0 +1 @@
{message_content}

View File

@@ -0,0 +1 @@
{message_content}

View File

@@ -0,0 +1 @@
{message_content}

View File

@@ -0,0 +1,176 @@
/*Main background ------- color 1 */
/*background hover item ------- color 2 */
/*text color ------- color 3 */
/*text hover color ------- color 4*/
/*border color ------- color 5 */
.ets_mm_megamenu .mm_menus_li h4,
.ets_mm_megamenu .mm_menus_li h5,
.ets_mm_megamenu .mm_menus_li h6,
.ets_mm_megamenu .mm_menus_li h1,
.ets_mm_megamenu .mm_menus_li h2,
.ets_mm_megamenu .mm_menus_li h3,
.ets_mm_megamenu .mm_menus_li h4 *:not(i),
.ets_mm_megamenu .mm_menus_li h5 *:not(i),
.ets_mm_megamenu .mm_menus_li h6 *:not(i),
.ets_mm_megamenu .mm_menus_li h1 *:not(i),
.ets_mm_megamenu .mm_menus_li h2 *:not(i),
.ets_mm_megamenu .mm_menus_li h3 *:not(i),
.ets_mm_megamenu .mm_menus_li > a{
font-family: font1;
}
.ets_mm_megamenu *{
font-family: font2;
}
.layout_layout1 .mm_menus_li:hover > a,
.layout_layout1 .mm_menus_li.active > a,
#header .layout_layout1 .mm_menus_li:hover > a,
#header .layout_layout1 .mm_menus_li.active > a{color: color2;}
.layout_layout1 li:hover > a,
.layout_layout1 li > a:hover,
#header .layout_layout1 .mm_block_type_html .ets_mm_block_content a:hover,
#header .layout_layout1 li:hover > a,
#header .layout_layout1 .mm_columns_ul .mm_block_type_product .product-title > a:hover,
#header .layout_layout1 li > a:hover{color: color7;}
.layout_layout2 .mm_columns_ul li:hover > a,
.layout_layout2 .mm_columns_ul li > a:hover,
#header .layout_layout2 .mm_columns_ul .mm_block_type_product .product-title > a:hover,
#header .layout_layout2 .mm_columns_ul li:hover > a,
#header .layout_layout2 .mm_columns_ul li > a:hover{color: color7;}
.layout_layout3 .mm_columns_ul .ets_mm_categories .has-sub li:hover > a,
.layout_layout3 .mm_columns_ul .ets_mm_categories .has-sub li > a:hover,
#header .layout_layout3 .mm_columns_ul .ets_mm_categories .has-sub li:hover > a,
#header .layout_layout3 .mm_columns_ul .ets_mm_categories .has-sub li > a:hover{
color: color7;
}
.layout_layout3 .mm_columns_ul li:hover > a,
.layout_layout3 .mm_columns_ul li > a:hover,
#header .layout_layout3 .mm_columns_ul li:hover > a,
#header .layout_layout3 .mm_columns_ul li > a:hover{color: color7;}
.layout_layout4 .mm_columns_ul li:hover > a,
.layout_layout4 .mm_columns_ul li > a:hover,
#header .layout_layout4 .mm_columns_ul li:hover > a,
#header .layout_layout4 .mm_columns_ul .mm_block_type_product .product-title > a:hover,
#header .layout_layout4 .mm_columns_ul li > a:hover{color: color7;}
.layout_layout5 li:hover > a,
.layout_layout5 li > span.arrow:hover,
.layout_layout5 li > a:hover,
.layout_layout5 .mm_menus_li.active > a,
#header .layout_layout5 li:hover > a,
#header .layout_layout5 .mm_columns_ul .mm_block_type_product .product-title > a:hover,
#header .layout_layout5 li > span.arrow:hover
#header .layout_layout5 li > a:hover,
#header .layout_layout5 .mm_menus_li.active > a,
.layout_layout5 .ets_mm_block_content .has-sub:hover > a:after,
#header .layout_layout5 .ets_mm_block_content .has-sub:hover > a:after{
border-color: color7;
}
/*layout 5*/
.layout_layout5 li:hover > a,
.layout_layout5 li > span.arrow:hover,
.layout_layout5 li > a:hover,
.layout_layout5 .mm_menus_li.active > a,
#header .layout_layout5 li:hover > a,
#header .layout_layout5 .mm_columns_ul .mm_block_type_product .product-title > a:hover,
#header .layout_layout5 li > span.arrow:hover
#header .layout_layout5 li > a:hover,
#header .layout_layout5 .mm_menus_li.active > a{color: color7;}
@media (min-width: 768px){
/*layout 1*/
.layout_layout1 .mm_menus_li > a,
#header .layout_layout1 .mm_menus_li > a{color: color1;}
.layout_layout1 .mm_menus_li > a:before{background-color: color2;}
/*layout 2*/
.layout_layout2 .ets_mm_megamenu_content{background: color3;}
.layout_layout2 .mm_menus_li:hover > a,
.layout_layout2 .mm_menus_li.active > a,
#header .layout_layout2 .mm_menus_li:hover > a,
#header .layout_layout2 .mm_menus_li.active > a{background-color: color4;}
/*layout 3*/
.layout_layout3 .ets_mm_megamenu_content{background: color5;}
.layout_layout3 .mm_menus_li:hover > a,
.layout_layout3 .mm_menus_li.active > a{background-color: color6;}
.mm_columns_ul .ets_mm_categories .has-sub:hover > a:after{
border-color: color7;
}
.layout_layout3 .mm_menus_li > .mm_columns_ul{
background-color: color6;
border-color: color5;
}
.layout_layout3 .mm_menus_li > .mm_columns_ul h4,
.layout_layout3 .mm_menus_li > .mm_columns_ul h4 a,
#header .layout_layout3 .mm_menus_li > .mm_columns_ul h4 a{
color: #fff;
}
.layout_layout3.ets_mm_block_content .has-sub > a:after{
border-top-color: color5;
}
/*layout 4*/
.layout_layout4 .ets_mm_megamenu_content {
border-bottom-color: color2;
}
.layout_layout4 .mm_menus_li:hover > a,
.layout_layout4 .mm_menus_li.active > a,
.layout_layout4 .mm_menus_li:hover > span,
.layout_layout4 .mm_menus_li.active > span,
#header .layout_layout4 .mm_menus_li:hover > a,
#header .layout_layout4 .mm_menus_li.active > a,
#header .layout_layout4 .mm_menus_li:hover > span,
#header .layout_layout4 .mm_menus_li.active > span {
background-color: color2;
color: #fff;
}
}
@media only screen and (max-width: 767px){
.ybc-menu-toggle,
.transition_floating .close_menu,
.transition_full .close_menu {
background-color: color8;
color: color9;
}
.ets_mm_megamenu .ets_mm_megamenu_content .mm_menus_ul .close_menu *{
color: color9 !important;
}
.ets_mm_megamenu .ets_mm_megamenu_content .mm_menus_ul .close_menu .icon-bar{
background-color: color9 !important;
}
.ets_mm_megamenu .mm_menus_back_icon{
border-color: color9;
}
.ybc-menu-toggle .icon-bar {
background-color: color9;
}
.mm_menus_li:hover > a,
#header .mm_menus_li:hover > a{color: color7;}
.mm_menus_li:hover > .arrow:before{
border-color: color7;
}
}

View File

@@ -0,0 +1,278 @@
.ets_mm_megamenu .mm_menus_li h4,
.ets_mm_megamenu .mm_menus_li h5,
.ets_mm_megamenu .mm_menus_li h6,
.ets_mm_megamenu .mm_menus_li h1,
.ets_mm_megamenu .mm_menus_li h2,
.ets_mm_megamenu .mm_menus_li h3,
.ets_mm_megamenu .mm_menus_li h4 *:not(i),
.ets_mm_megamenu .mm_menus_li h5 *:not(i),
.ets_mm_megamenu .mm_menus_li h6 *:not(i),
.ets_mm_megamenu .mm_menus_li h1 *:not(i),
.ets_mm_megamenu .mm_menus_li h2 *:not(i),
.ets_mm_megamenu .mm_menus_li h3 *:not(i),
.ets_mm_megamenu .mm_menus_li > a{
font-family: font1;
}
.ets_mm_megamenu *{
font-family: font2;
}
@media (min-width: 768px){
/*layout 1*/
.ets_mm_megamenu.layout_layout1{
background-color: l1_color1;
}
#header .layout_layout1 .mm_menus_li > a{color: l1_color2}
.layout_layout1 .mm_menus_li:hover > a,
.layout_layout1 .mm_menus_li.active > a,
#header .layout_layout1 .mm_menus_li:hover > a,
#header .layout_layout1 .mm_menus_li.active > a{color: l1_color3;}
.layout_layout1 .mm_menus_li > a:before{background-color: l1_color3;}
.layout_layout1 .mm_menus_li:hover > a,
#header .layout_layout1 .mm_menus_li:hover > a{
background-color: l1_color4;
}
.layout_layout1.ets_mm_megamenu .mm_columns_ul{
background-color: l1_color5;
}
#header .layout_layout1 .ets_mm_block_content a,
#header .layout_layout1 .ets_mm_block_content p{
color: l1_color6;
}
.layout_layout1 .mm_columns_ul h1,
.layout_layout1 .mm_columns_ul h2,
.layout_layout1 .mm_columns_ul h3,
.layout_layout1 .mm_columns_ul h4,
.layout_layout1 .mm_columns_ul h5,
.layout_layout1 .mm_columns_ul h6,
.layout_layout1 .mm_columns_ul .h1,
.layout_layout1 .mm_columns_ul .h2,
.layout_layout1 .mm_columns_ul .h3,
.layout_layout1 .mm_columns_ul .h4,
.layout_layout1 .mm_columns_ul .h5,
.layout_layout1 .mm_columns_ul .h6{
color: l1_color8;
}
.layout_layout1 li:hover > a,
.layout_layout1 li > a:hover,
#header .layout_layout1 .mm_block_type_html .ets_mm_block_content a:hover,
#header .layout_layout1 li:hover > a,
#header .layout_layout1 .mm_columns_ul .mm_block_type_product .product-title > a:hover,
#header .layout_layout1 li > a:hover{color: l1_color7;}
/*end layout 1*/
/*layout 2*/
.ets_mm_megamenu.layout_layout2{
background-color: l2_color1;
}
#header .layout_layout2 .mm_menus_li > a{color: l2_color2}
.layout_layout2 .mm_menus_li:hover > a,
.layout_layout2 .mm_menus_li.active > a,
#header .layout_layout2 .mm_menus_li:hover > a,
#header .layout_layout2 .mm_menus_li.active > a{color: l2_color3;}
.layout_layout2 .mm_menus_li:hover > a,
#header .layout_layout2 .mm_menus_li:hover > a{
background-color: l2_color4;
}
.layout_layout2.ets_mm_megamenu .mm_columns_ul{
background-color: l2_color5;
}
#header .layout_layout2 .ets_mm_block_content a,
#header .layout_layout2 .ets_mm_block_content p{
color: l2_color6;
}
.layout_layout2 .mm_columns_ul h1,
.layout_layout2 .mm_columns_ul h2,
.layout_layout2 .mm_columns_ul h3,
.layout_layout2 .mm_columns_ul h4,
.layout_layout2 .mm_columns_ul h5,
.layout_layout2 .mm_columns_ul h6,
.layout_layout2 .mm_columns_ul .h1,
.layout_layout2 .mm_columns_ul .h2,
.layout_layout2 .mm_columns_ul .h3,
.layout_layout2 .mm_columns_ul .h4,
.layout_layout2 .mm_columns_ul .h5,
.layout_layout2 .mm_columns_ul .h6{
color: l2_color8;
}
.layout_layout2 li:hover > a,
.layout_layout2 li > a:hover,
#header .layout_layout2 li:hover > a,
#header .layout_layout2 .mm_columns_ul .mm_block_type_product .product-title > a:hover,
#header .layout_layout2 li > a:hover{color: l2_color7;}
/*layout 3*/
.ets_mm_megamenu.layout_layout3{
background-color: l3_color1;
}
#header .layout_layout3 .mm_menus_li > a{color: l3_color2}
.layout_layout3 .mm_menus_li:hover > a,
.layout_layout3 .mm_menus_li.active > a,
#header .layout_layout3 .mm_menus_li:hover > a,
#header .layout_layout3 .mm_menus_li.active > a{color: l3_color3;}
.layout_layout3 .mm_menus_li:hover > a,
#header .layout_layout3 .mm_menus_li:hover > a{
background-color: l3_color4;
}
.layout_layout3.ets_mm_megamenu .mm_columns_ul{
background-color: l3_color5;
border-color: l3_color5;
}
#header .layout_layout3 .ets_mm_block_content a,
#header .layout_layout3 .ets_mm_block_content p{
color: l3_color6;
}
.layout_layout3 .mm_columns_ul h1,
.layout_layout3 .mm_columns_ul h2,
.layout_layout3 .mm_columns_ul h3,
.layout_layout3 .mm_columns_ul h4,
.layout_layout3 .mm_columns_ul h5,
.layout_layout3 .mm_columns_ul h6,
.layout_layout3 .mm_columns_ul .h1,
.layout_layout3 .mm_columns_ul .h2,
.layout_layout3 .mm_columns_ul .h3,
.layout_layout3 .mm_columns_ul .h4,
.layout_layout3 .mm_columns_ul .h5,
.layout_layout3 .mm_columns_ul .h6{
color: l3_color8;
}
.layout_layout3 li:hover > a,
.layout_layout3 li > a:hover,
#header .layout_layout3 li:hover > a,
#header .layout_layout3 .mm_columns_ul .mm_block_type_product .product-title > a:hover,
#header .layout_layout3 li > a:hover,
.layout_layout3 .has-sub .ets_mm_categories li > a:hover,
#header .layout_layout3 .has-sub .ets_mm_categories li > a:hover{color: l3_color7;}
/*layout 4*/
.ets_mm_megamenu.layout_layout4{
background-color: l4_color1;
}
#header .layout_layout4 .mm_menus_li > a{color: l4_color2}
.layout_layout4 .mm_menus_li:hover > a,
.layout_layout4 .mm_menus_li.active > a,
#header .layout_layout4 .mm_menus_li:hover > a,
#header .layout_layout4 .mm_menus_li.active > a{color: l4_color3;}
.layout_layout4 .mm_menus_li:hover > a,
.layout_layout4 .mm_menus_li.active > a,
.layout_layout4 .mm_menus_li:hover > span,
.layout_layout4 .mm_menus_li.active > span,
#header .layout_layout4 .mm_menus_li:hover > a,
#header .layout_layout4 .mm_menus_li.active > a,
#header .layout_layout4 .mm_menus_li:hover > span,
#header .layout_layout4 .mm_menus_li.active > span{
background-color: l4_color4;
}
.layout_layout4 .ets_mm_megamenu_content {
border-bottom-color: l4_color4;
}
.layout_layout4.ets_mm_megamenu .mm_columns_ul{
background-color: l4_color5;
}
#header .layout_layout4 .ets_mm_block_content a,
#header .layout_layout4 .ets_mm_block_content p{
color: l4_color6;
}
.layout_layout4 .mm_columns_ul h1,
.layout_layout4 .mm_columns_ul h2,
.layout_layout4 .mm_columns_ul h3,
.layout_layout4 .mm_columns_ul h4,
.layout_layout4 .mm_columns_ul h5,
.layout_layout4 .mm_columns_ul h6,
.layout_layout4 .mm_columns_ul .h1,
.layout_layout4 .mm_columns_ul .h2,
.layout_layout4 .mm_columns_ul .h3,
.layout_layout4 .mm_columns_ul .h4,
.layout_layout4 .mm_columns_ul .h5,
.layout_layout4 .mm_columns_ul .h6{
color: l4_color8;
}
.layout_layout4 li:hover > a,
.layout_layout4 li > a:hover,
#header .layout_layout4 li:hover > a,
#header .layout_layout4 .mm_columns_ul .mm_block_type_product .product-title > a:hover,
#header .layout_layout4 li > a:hover{color: l4_color7;}
/* end layout 4*/
/* Layout 5*/
.ets_mm_megamenu.layout_layout5{
background-color: l5_color1;
}
#header .layout_layout5 .mm_menus_li > a{color: l5_color2}
.layout_layout5 .mm_menus_li:hover > a,
.layout_layout5 .mm_menus_li.active > a,
#header .layout_layout5 .mm_menus_li:hover > a,
#header .layout_layout5 .mm_menus_li.active > a{color: l5_color3;}
.layout_layout5 .mm_menus_li > a:before{background-color: l5_color3;}
.layout_layout5 .mm_menus_li:hover > a,
#header .layout_layout5 .mm_menus_li:hover > a{
background-color: l5_color4;
}
.layout_layout5.ets_mm_megamenu .mm_columns_ul{
background-color: l5_color5;
}
#header .layout_layout5 .ets_mm_block_content a,
#header .layout_layout5 .ets_mm_block_content p{
color: l5_color6;
}
.layout_layout5 .mm_columns_ul h1,
.layout_layout5 .mm_columns_ul h2,
.layout_layout5 .mm_columns_ul h3,
.layout_layout5 .mm_columns_ul h4,
.layout_layout5 .mm_columns_ul h5,
.layout_layout5 .mm_columns_ul h6,
.layout_layout5 .mm_columns_ul .h1,
.layout_layout5 .mm_columns_ul .h2,
.layout_layout5 .mm_columns_ul .h3,
.layout_layout5 .mm_columns_ul .h4,
.layout_layout5 .mm_columns_ul .h5,
.layout_layout5 .mm_columns_ul .h6{
color: l5_color8;
}
.layout_layout5 li:hover > a,
.layout_layout5 li > a:hover,
#header .layout_layout5 li:hover > a,
#header .layout_layout5 .mm_columns_ul .mm_block_type_product .product-title > a:hover,
#header .layout_layout5 li > a:hover{color: l5_color7;}
/*end layout 5*/
}

View File

@@ -0,0 +1,36 @@
<?php
/*
* 2007-2015 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 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/osl-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-2014 PrestaShop SA
* @version Release: $Revision$
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 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;

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><title>4</title><g id="Layer_4" data-name="Layer 4"><circle cx="12.02" cy="12" r="10" style="fill:none;stroke:#000;stroke-linecap:round;stroke-linejoin:round;stroke-width:2.5px"/><line x1="8.54" y1="12.08" x2="15.54" y2="12.08" style="fill:none;stroke:#000;stroke-linecap:round;stroke-linejoin:round;stroke-width:2.5px"/><line x1="12.04" y1="15.58" x2="12.04" y2="8.58" style="fill:none;stroke:#000;stroke-linecap:round;stroke-linejoin:round;stroke-width:2.5px"/></g></svg>

After

Width:  |  Height:  |  Size: 533 B

View File

@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><title>4</title><g id="Layer_4" data-name="Layer 4"><path d="M14,10v5a3,3,0,0,1-3,3H6a3,3,0,0,1-3-3V5A3,3,0,0,1,6,2h4.12A3.87,3.87,0,0,1,14,5.87" style="fill:none;stroke:#000;stroke-linecap:round;stroke-linejoin:round;stroke-width:2px"/><path d="M13,6h4.12A3.87,3.87,0,0,1,21,9.87V19a3,3,0,0,1-3,3H13a3,3,0,0,1-3-3V9A3,3,0,0,1,13,6Z" style="fill:none;stroke:#000;stroke-linecap:round;stroke-linejoin:round;stroke-width:2px"/></g></svg>

After

Width:  |  Height:  |  Size: 495 B

View File

@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><title>4</title><g id="Layer_4" data-name="Layer 4"><circle cx="6.5" cy="6.5" r="2.5" style="fill:none;stroke:#000;stroke-linecap:round;stroke-linejoin:round;stroke-width:2px"/><circle cx="17.5" cy="17.5" r="2.5" style="fill:none;stroke:#000;stroke-linecap:round;stroke-linejoin:round;stroke-width:2px"/><path d="M12.27,21.54A9.77,9.77,0,0,1,2.5,11.77" style="fill:none;stroke:#000;stroke-linecap:round;stroke-linejoin:round;stroke-width:2px"/><path d="M12.27,2A9.77,9.77,0,0,1,22,11.77" style="fill:none;stroke:#000;stroke-linecap:round;stroke-linejoin:round;stroke-width:2px"/></g></svg>

After

Width:  |  Height:  |  Size: 649 B

View File

@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><title>4</title><g id="Layer_4" data-name="Layer 4"><line x1="13.82" y1="11.36" x2="13.82" y2="17.64" style="fill:none;stroke:#000;stroke-linecap:round;stroke-linejoin:round;stroke-width:2px"/><line x1="10.45" y1="14.5" x2="10.45" y2="17.64" style="fill:none;stroke:#000;stroke-linecap:round;stroke-linejoin:round;stroke-width:2px"/><path d="M6,11.36v8.18A2.46,2.46,0,0,0,8.45,22h7.09A2.46,2.46,0,0,0,18,19.55V8" style="fill:none;stroke:#000;stroke-linecap:round;stroke-linejoin:round;stroke-width:2.200000047683716px"/><path d="M14.71,8H6.29A2.3,2.3,0,0,1,4,5.71V5.44A2.44,2.44,0,0,1,6.44,3H17.56A2.44,2.44,0,0,1,20,5.44v.27A2.3,2.3,0,0,1,17.71,8" style="fill:none;stroke:#000;stroke-linecap:round;stroke-linejoin:round;stroke-width:2px"/></g></svg>

After

Width:  |  Height:  |  Size: 810 B

View File

@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><title>4</title><g id="Layer_4" data-name="Layer 4"><path d="M22.08,10.56l-2.48-.34a6.68,6.68,0,0,0-.7-1.81l1.6-2q.43-.52.1-.92L19.12,4a.67.67,0,0,0-1,0l-2,1.52a6.65,6.65,0,0,0-1.78-.77l-.24-2.52q-.07-.66-.59-.73l-2.14,0c-.35,0-.56.26-.62.7l-.37,2.48A6,6,0,0,0,9.32,5a5.08,5.08,0,0,0-.75.38l-2-1.6q-.52-.43-.92-.1L4.14,5.16a.67.67,0,0,0,0,1l1.52,2a7.24,7.24,0,0,0-.8,1.81l-2.52.24q-.66.07-.73.59l0,2.14q0,.53.7.62l2.5.37a7.36,7.36,0,0,0,.73,1.81l-1.6,2q-.43.52-.1.92l1.48,1.54a.67.67,0,0,0,1,0l2-1.52A6.15,6.15,0,0,0,9,19a10.27,10.27,0,0,0,1,.39l.27,2.52c0,.44.24.68.59.73l2.14,0q.53,0,.62-.7l.34-2.5a8.06,8.06,0,0,0,1.81-.7l2,1.57c.35.29.65.32.92.1l1.54-1.48a.67.67,0,0,0,0-1l-1.52-2a7.11,7.11,0,0,0,.78-1.81L22,13.91c.44,0,.68-.24.72-.59l0-2.14Q22.74,10.65,22.08,10.56Zm-8.64,4.22a3,3,0,1,1,1.48-4A3,3,0,0,1,13.45,14.78Z" style="fill:none;stroke:#000;stroke-linecap:round;stroke-linejoin:round;stroke-width:2px"/></g></svg>

After

Width:  |  Height:  |  Size: 985 B

View File

@@ -0,0 +1,36 @@
<?php
/*
* 2007-2015 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 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/osl-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-2014 PrestaShop SA
* @version Release: $Revision$
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 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,36 @@
<?php
/*
* 2007-2015 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 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/osl-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-2014 PrestaShop SA
* @version Release: $Revision$
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 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,910 @@
/*
* 2007-2018 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-2018 PrestaShop SA
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*/
$(document).ready(function(){
$(document).on('click','.mm_add_menu',function(){
$('.mm_pop_up').addClass('hidden');
$('.mm_menu_form').removeClass('hidden');
$('.mm_forms').removeClass('hidden').parents('.mm_popup_overlay').removeClass('hidden');
if($('.mm_menu_form .mm_form form input[name="itemId"]').length <= 0 || $('.mm_menu_form .mm_form form input[name="mm_object"]')!='MM_Menu' || $('.mm_menu_form .mm_form form input[name="itemId"]').length > 0 && parseInt($('.mm_menu_form .mm_form form input[name="itemId"]').val())!=0)
$('.mm_menu_form .mm_form').html($('.mm_menu_form_new').html());
checkFormFields();
$('.mm-alert').remove();
return false;
});
$(document).on('click','.mm_import_button',function(){
$(this).parents('.mm_pop_up').addClass('hidden');
$(this).parents('.mm_forms').addClass('hidden');
$('.mm_export_form').removeClass('hidden');
$('.mm_export.mm_pop_up').removeClass('hidden');
});
$(document).on('click','.mm_menu_toggle',function(){
if(!$(this).parents('.mm_menus_li').eq(0).hasClass('open'))
{
$('.mm_menus_li').removeClass('open');
$(this).parents('.mm_menus_li').eq(0).addClass('open');
}
});
$(document).on('click','.mm_save',function(){
if(!$(this).parents('form').eq(0).hasClass('active') && $('.defaultForm.active').length <= 0)
{
$(this).parents('form').eq(0).addClass('active');
$(this).parents('.mm_save_wrapper').eq(0).addClass('loading');
$('.mm-alert').remove();
var formData = new FormData($(this).parents('form').get(0));
$.ajax({
url: $(this).parents('form').eq(0).attr('action'),
data: formData,
type: 'post',
dataType: 'json',
processData: false,
contentType: false,
success: function(json){
showSaveMessage(json.alert);
$('.mm_save_wrapper').removeClass('loading');
if(json.images && json.success)
{
$.each(json.images,function(i,item){
if($('.defaultForm.active input[name="'+item.name+'"]').length > 0)
{
updatePreviewImage(item.name,item.url,item.delete_url);
}
});
}
if(json.itemId && json.itemKey && json.success)
{
$('.defaultForm.active input[name="'+json.itemKey+'"]').val(json.itemId);
$('.defaultForm.active input[name="itemId"]').val(json.itemId);
}
if(json.mm_object=='MM_Menu' && json.success && json.title)
{
if($('.mm_menus ul').length <= 0)
{
$('.mm_menus').append('<ul class="mm_menus_ul"></ul>');
//Sortable
mmSort('.mm_menus_ul');
}
if($('.mm_menus > ul.mm_menus_ul > li.item'+json.itemId).length <=0 )
{
$('.mm_menus_li').removeClass('open');
$('.mm_menus > ul.mm_menus_ul').append('<li class="mm_menus_li '+(!json.vals.enabled ? ' mm_disabled ' : '')+' item'+json.itemId+' open" data-id-menu="'+json.itemId+'" data-obj="menu"><div class="mm_menus_li_content"><span class="mm_menu_name mm_menu_toggle">'+json.title+'</span><div class="mm_buttons"><span class="mm_menu_delete" title="'+mmDeleteTitleTxt+'">'+mmDeleteTxt+'</span><span class="mm_duplicate" title="'+mmDuplicateMenuTxt+'">'+mmDuplicateTxt+'</span><span class="mm_menu_edit">'+mmEditTxt+'</span><span class="mm_menu_toggle mm_menu_toggle_arrow">'+mmCloseTxt+'</span><div class="mm_add_column btn btn-default" data-id-menu="'+json.vals.id_menu+'">'+mmAddColumnTxt+'</div></div></div><ul class="mm_columns_ul"></ul></li>');
$('.mm_form form .panel-heading').html(mmEditMenuTxt);
mmSort('.mm_columns_ul');
}
else
{
$('.mm_menus > ul.mm_menus_ul > li.item'+json.itemId + ' .mm_menu_name').html(json.title);
if(json.vals.enabled)
$('.mm_menus > ul.mm_menus_ul > li.item'+json.itemId).removeClass('mm_disabled');
else
$('.mm_menus > ul.mm_menus_ul > li.item'+json.itemId).addClass('mm_disabled');
}
}
if(json.mm_object=='MM_Column' && json.success)
{
if($('.mm_menus_li.item'+json.vals.id_menu+' > ul.mm_columns_ul').length <= 0)
{
$('.mm_menus_li.item'+json.vals.id_menu).append('<ul class="mm_columns_ul"></ul>');
//Sortable
mmSort('.mm_columns_ul');
}
if($('.mm_menus_li.item'+json.vals.id_menu+' > ul.mm_columns_ul > li.item'+json.itemId).length <=0 )
{
$('.mm_menus_li.item'+json.vals.id_menu+' > ul.mm_columns_ul').append('<li class="mm_columns_li item'+json.itemId+' column_size_'+json.vals.column_size+' '+(json.vals.is_breaker ? 'mm_breaker' : '')+'" data-id-column="'+json.itemId+'" data-obj="column">'+'<div class="mm_buttons"><span class="mm_column_delete" title="'+mmDeleteColumnTxt+'">'+mmDeleteTxt+'</span><span class="mm_duplicate" title="'+mmDuplicateColumnTxt+'">'+mmDuplicateTxt+'</span><span class="mm_column_edit" title="'+mmEditColumnTxt+'">'+mmEditTxt+'</span><div class="mm_add_block btn btn-default" data-id-column="'+json.vals.id_column+'">'+mmAddBlockTxt+'</div></div><ul class="mm_blocks_ul"></ul></li>');
$('.mm_form form .panel-heading').html(mmEditColumnTxt);
mmSort('.mm_blocks_ul');
}
else
$('.mm_menus_li.item'+json.vals.id_menu+' > ul.mm_columns_ul > li.item'+json.itemId).attr('class','mm_columns_li item'+json.itemId+' column_size_'+json.vals.column_size+' '+(json.vals.is_breaker ? 'mm_breaker' : ''));
}
if(json.mm_object=='MM_Block' && json.success && json.vals.blockHtml)
{
if($('.mm_columns_li.item'+json.vals.id_column+' > ul.mm_blocks_ul').length <= 0)
{
$('.mm_columns_li.item'+json.vals.id_column).append('<ul class="mm_blocks_ul"></ul>');
//Sortable
mmSort('.mm_blocks_ul');
}
if($('.mm_columns_li.item'+json.vals.id_column+' > ul.mm_blocks_ul > li.item'+json.itemId).length <=0 )
{
$('.mm_columns_li.item'+json.vals.id_column+' > ul.mm_blocks_ul').append('<li class="mm_blocks_li '+(!json.vals.enabled ? ' mm_disabled ' : '')+' item'+json.itemId+'" data-id-block="'+json.itemId+'" data-obj="block">'+'<div class="mm_buttons"><span class="mm_block_delete" title="'+mmDeleteBlockTxt+'">'+mmDeleteTxt+'</span><span class="mm_duplicate" title="'+mmDuplicateBlockTxt+'">'+mmDuplicateTxt+'</span><span class="mm_block_edit" title="'+mmEditBlockTxt+'">'+mmEditTxt+'</span></div><div class="mm_block_wrapper">'+json.vals.blockHtml+'</div></li>');
$('.mm_form form .panel-heading').html(mmEditBlockTxt);
}
else
{
$('.mm_columns_li.item'+json.vals.id_column+' > ul.mm_blocks_ul > li.item'+json.itemId + ' .mm_block_wrapper').html(json.vals.blockHtml);
if(json.vals.enabled)
$('.mm_columns_li.item'+json.vals.id_column+' > ul.mm_blocks_ul > li.item'+json.itemId).removeClass('mm_disabled');
else
$('.mm_columns_li.item'+json.vals.id_column+' > ul.mm_blocks_ul > li.item'+json.itemId).addClass('mm_disabled');
}
}
$('.defaultForm.active').removeClass('active');
if(json.success)
{
mmAlertSucccess($('.mm_menu_form .alert-success').html());
$('.mm_pop_up').addClass('hidden').parents('.mm_forms').addClass('hidden').parents('.mm_popup_overlay').addClass('hidden');
}
},
error: function(xhr, status, error)
{
$('.defaultForm.active').removeClass('active');
$('.mm_save_wrapper').removeClass('loading');
var err = eval("(" + xhr.responseText + ")");
alert(err.Message);
}
});
}
return false;
});
$(document).on('click','.mm_close',function(){
$(this).parents('.mm_pop_up').addClass('hidden').parents('.mm_popup_overlay').addClass('hidden');
$(this).parents('.mm_forms').addClass('hidden');
$('.mm_export_form').addClass('hidden');
});
$(document).on('change','input[type="file"]',function(){
var fileExtension = ['jpeg', 'jpg', 'png', 'gif', 'bmp','zip'];
if ($.inArray($(this).val().split('.').pop().toLowerCase(), fileExtension) == -1) {
$(this).val('');
if($(this).next('.dummyfile').length > 0)
{
$(this).next('.dummyfile').eq(0).find('input[type="text"]').val('');
}
if($(this).parents('.col-lg-9').eq(0).find('.preview_img').length > 0)
$(this).parents('.col-lg-9').eq(0).find('.preview_img').eq(0).remove();
if($(this).parents('.col-lg-9').eq(0).next('.uploaded_image_label').length > 0)
{
$(this).parents('.col-lg-9').eq(0).next('.uploaded_image_label').removeClass('hidden');
$(this).parents('.col-lg-9').eq(0).next('.uploaded_image_label').next('.uploaded_img_wrapper').removeClass('hidden');
}
alert(ets_mm_invalid_file);
}
else
{
readURL(this);
}
});
$(document).on('click','.del_preview',function(){
if($(this).parents('.col-lg-9').eq(0).next('.uploaded_image_label').length > 0)
{
$(this).parents('.col-lg-9').eq(0).next('.uploaded_image_label').removeClass('hidden');
$(this).parents('.col-lg-9').eq(0).next('.uploaded_image_label').next('.uploaded_img_wrapper').removeClass('hidden');
}
$(this).parents('.col-lg-9').eq(0).find('.dummyfile input[type="text"]').val('');
if($(this).parents('.col-lg-9').eq(0).find('input[type="file"]').length > 0)
{
$(this).parents('.col-lg-9').eq(0).find('input[type="file"]').eq(0).val('');
}
$(this).parents('.preview_img').remove();
});
$(document).on('click','.delete_url',function(){
var delLink = $(this);
if(!$(this).parents('form').eq(0).hasClass('active') && $('.defaultForm.active').length <= 0)
{
$(this).parents('form').eq(0).addClass('active');
$.ajax({
url: $(this).attr('href'),
data: {},
type: 'post',
dataType: 'json',
success: function(json){
showSaveMessage(json.alert);
if(json.success)
{
delLink.parents('.uploaded_img_wrapper').eq(0).prev('.uploaded_image_label').eq(0).remove();
delLink.parents('.uploaded_img_wrapper').eq(0).remove();
}
$('.defaultForm.active').removeClass('active');
},
error: function(xhr, status, error)
{
var err = eval("(" + xhr.responseText + ")");
alert(err.Message);
$('.defaultForm.active').removeClass('active');
}
});
}
return false;
});
$(document).on('click','.mm_menu_edit',function(){
if(!$(this).hasClass('active'))
{
$(this).addClass('active');
$('.ets_megamenu').addClass('loading-form');
$('.mm-alert').remove();
$.ajax({
url: mmBaseAdminUrl,
dataType: 'json',
type: 'post',
data: {
itemId: $(this).parents('li').eq(0).data('id-menu'),
request_form: 1,
mm_object: 'MM_Menu',
},
success: function(json){
showSaveMessage(json.alert);
$('.mm_pop_up').addClass('hidden');
$('.mm_forms').removeClass('hidden');
$('.mm_menu_form').removeClass('hidden');
$('.mm_menu_form .mm_form').html(json.form);
checkFormFields();
$('.mm_menu_form .mm_form .mColorPickerInput').mColorPicker();
$('.mm_menus_li.item'+json.itemId+' .mm_menu_edit').removeClass('active');
$('.mm_menus_li').removeClass('open');
$('.mm_menus_li.item'+json.itemId).addClass('open');
$('.ets_megamenu').removeClass('loading-form');
},
error: function(xhr, status, error)
{
$('.mm_menu_edit').removeClass('active');
$('.ets_megamenu').removeClass('loading-form');
var err = eval("(" + xhr.responseText + ")");
alert(err.Message);
}
});
}
});
$(document).on('click','.mm_menu_delete',function(){
if(!$(this).hasClass('active'))
{
$(this).addClass('active');
$.ajax({
url: mmBaseAdminUrl,
dataType: 'json',
type: 'post',
data: {
itemId: $(this).parents('li').eq(0).data('id-menu'),
deleteobject: 1,
mm_object: 'MM_Menu',
},
success: function(json){
if(json.success)
{
if($('.mm_menus_li.item'+json.itemId).hasClass('open'))
{
if($('.mm_menus_li.item'+json.itemId).prev('li').length > 0)
$('.mm_menus_li.item'+json.itemId).prev('li').addClass('open');
else
if($('.mm_menus_li.item'+json.itemId).next('li').length > 0)
$('.mm_menus_li.item'+json.itemId).next('li').addClass('open');
}
$('.mm_menus_li.item'+json.itemId).remove();
mmAlertSucccess(json.successMsg);
}
else
$('.mm_menus_li.item'+json.itemId+' .mm_menu_delete').removeClass('active');
},
error: function(xhr, status, error)
{
$('.mm_menu_delete').removeClass('active');
var err = eval("(" + xhr.responseText + ")");
alert(err.Message);
}
});
}
return false;
});
//Column
$(document).on('click','.mm_add_column',function(){
$('.mm_pop_up').addClass('hidden');
$('.mm_forms').removeClass('hidden');
$('.mm_menu_form').removeClass('hidden');
if($('.mm_menu_form .mm_form form input[name="itemId"]').length <= 0 || $('.mm_menu_form .mm_form form input[name="mm_object"]')!='MM_Column' || $('.mm_menu_form .mm_form form input[name="itemId"]').length > 0 && (parseInt($('.mm_menu_form .mm_form form input[name="itemId"]').val())!=0 || parseInt($('.mm_menu_form .mm_form form input[name="itemId"]').val())==0 && parseInt($('.mm_menu_form .mm_form form input[name="id_menu"]').val()))!=parseInt($(this).attr('data-id-menu')))
{
$('.mm_menu_form .mm_form').html($('.mm_column_form_new').html());
$('.mm_menu_form .mm_form form input[name="id_menu"]').val($(this).attr('data-id-menu'));
}
$('.mm-alert').remove();
return false;
});
$(document).on('click','.mm_column_delete',function(){
if(!$(this).hasClass('active'))
{
$(this).addClass('active');
$.ajax({
url: mmBaseAdminUrl,
dataType: 'json',
type: 'post',
data: {
itemId: $(this).parents('li').eq(0).data('id-column'),
deleteobject: 1,
mm_object: 'MM_Column',
},
success: function(json){
if(json.success)
{
$('.mm_columns_li.item'+json.itemId).remove();
mmAlertSucccess(json.successMsg);
}
else
$('.mm_columns_li.item'+json.itemId+' .mm_column_delete').removeClass('active');
},
error: function(xhr, status, error)
{
$('.mm_column_delete').removeClass('active');
var err = eval("(" + xhr.responseText + ")");
alert(err.Message);
}
});
}
return false;
});
$(document).on('click','.mm_column_edit',function(){
if(!$(this).hasClass('active'))
{
$('.ets_megamenu').addClass('loading-form');
$(this).addClass('active');
$('.mm-alert').remove();
$.ajax({
url: mmBaseAdminUrl,
dataType: 'json',
type: 'post',
data: {
itemId: $(this).parents('li').eq(0).data('id-column'),
request_form: 1,
mm_object: 'MM_Column',
},
success: function(json){
$('.mm_pop_up').addClass('hidden');
$('.mm_forms').removeClass('hidden');
$('.mm_menu_form').removeClass('hidden');
$('.mm_menu_form .mm_form').html(json.form);
checkFormFields();
$('.mm_menu_form .mm_form .mColorPickerInput').mColorPicker();
$('.mm_columns_li.item'+json.itemId+' .mm_column_edit').removeClass('active');
$('.ets_megamenu').removeClass('loading-form');
},
error: function(xhr, status, error)
{
$('.mm_column_edit').removeClass('active');
$('.ets_megamenu').removeClass('loading-form');
var err = eval("(" + xhr.responseText + ")");
alert(err.Message);
}
});
}
});
//Block
$(document).on('click','.mm_add_block',function(){
$('.mm_pop_up').addClass('hidden');
$('.mm_menu_form').removeClass('hidden');
$('.mm_forms').removeClass('hidden');
if($('.mm_menu_form .mm_form form input[name="itemId"]').length <= 0 || $('.mm_menu_form .mm_form form input[name="mm_object"]')!='MM_Block' || $('.mm_menu_form .mm_form form input[name="itemId"]').length > 0 && (parseInt($('.mm_menu_form .mm_form form input[name="itemId"]').val())!=0 || parseInt($('.mm_menu_form .mm_form form input[name="itemId"]').val())==0 && parseInt($('.mm_menu_form .mm_form form input[name="id_column"]').val()))!=parseInt($(this).attr('data-id-column')))
{
$('.mm_menu_form .mm_form').html($('.mm_block_form_new').html());
$('.mm_menu_form .mm_form form input[name="id_column"]').val($(this).attr('data-id-column'));
checkFormFields();
}
$('.mm-alert').remove();
return false;
});
$(document).on('click','.mm_block_edit',function(){
if(!$(this).hasClass('active'))
{
$(this).addClass('active');
$('.ets_megamenu').addClass('loading-form');
$('.mm-alert').remove();
$.ajax({
url: mmBaseAdminUrl,
dataType: 'json',
type: 'post',
data: {
itemId: $(this).parents('li').eq(0).data('id-block'),
request_form: 1,
mm_object: 'MM_Block',
},
success: function(json){
$('.mm_pop_up').addClass('hidden');
$('.mm_forms').removeClass('hidden');
$('.mm_menu_form').removeClass('hidden');
$('.mm_menu_form .mm_form').html(json.form);
checkFormFields();
$('.mm_menu_form .mm_form .mColorPickerInput').mColorPicker();
$('.mm_blocks_li.item'+json.itemId+' .mm_block_edit').removeClass('active');
$('.ets_megamenu').removeClass('loading-form');
},
error: function(xhr, status, error)
{
$('.mm_block_edit').removeClass('active');
$('.ets_megamenu').removeClass('loading-form');
var err = eval("(" + xhr.responseText + ")");
alert(err.Message);
}
});
}
});
$(document).on('click','.mm_block_delete',function(){
if(!$(this).hasClass('active'))
{
$(this).addClass('active');
$.ajax({
url: mmBaseAdminUrl,
dataType: 'json',
type: 'post',
data: {
itemId: $(this).parents('li').eq(0).data('id-block'),
deleteobject: 1,
mm_object: 'MM_Block',
},
success: function(json){
if(json.success)
{
$('.mm_blocks_li.item'+json.itemId).remove();
mmAlertSucccess(json.successMsg);
}
else
$('.mm_blocks_li.item'+json.itemId+' .mm_block_delete').removeClass('active');
},
error: function(xhr, status, error)
{
$('.mm_block_delete').removeClass('active');
var err = eval("(" + xhr.responseText + ")");
alert(err.Message);
}
});
}
return false;
});
//Duplicate
$(document).on('click','.mm_duplicate',function(){
if(!$(this).hasClass('active'))
{
$(this).addClass('active');
var mm_object = $(this).parents('li').eq(0).data('obj');
var itemId = 0;
if(mm_object=='menu')
itemId = $(this).parents('li').eq(0).data('id-menu');
else if(mm_object=='column')
itemId = $(this).parents('li').eq(0).data('id-column');
else
itemId = $(this).parents('li').eq(0).data('id-block');
$.ajax({
url: mmBaseAdminUrl,
dataType: 'json',
type: 'post',
data: {
itemId: itemId,
duplicateItem: 1,
mm_object: mm_object,
},
success: function(json){
if(json.mm_object!='menu')
{
if($('li[data-id-'+json.mm_object+'="'+json.itemId+'"] > .mm_buttons .mm_duplicate').length > 0)
$('li[data-id-'+json.mm_object+'="'+json.itemId+'"] > .mm_buttons .mm_duplicate').removeClass('active');
}
else
{
if($('li[data-id-'+json.mm_object+'="'+json.itemId+'"] > .mm_menus_li_content .mm_buttons > .mm_duplicate').length > 0)
$('li[data-id-'+json.mm_object+'="'+json.itemId+'"] > .mm_menus_li_content .mm_buttons > .mm_duplicate').removeClass('active');
}
if(json.html)
{
if($('li[data-id-'+json.mm_object+'="'+json.itemId+'"]').length > 0)
$('li[data-id-'+json.mm_object+'="'+json.itemId+'"]').after(json.html);
else
if($('ul.mm_'+json.mm_object+'s_ul').length > 0)
$('ul.mm_'+json.mm_object+'s_ul').append(json.html);
}
if(json.mm_object=='menu')
{
$('.mm_menus_li').removeClass('open');
$('li[data-id-'+json.mm_object+'="'+json.newItemId+'"]').addClass('open');
}
mmSort('.mm_blocks_ul');
mmSort('.mm_columns_ul');
mmSort('.mm_menus_ul');
if(json.alerts.success)
mmAlertSucccess(json.alerts.success);
else
alert(json.alerts.errors);
},
error: function(xhr, status, error)
{
$('.mm_duplicate').removeClass('active');
var err = eval("(" + xhr.responseText + ")");
alert(err.Message);
}
});
}
return false;
});
$(document).on('change','.mm_form select[name="link_type"],.mm_form select[name="block_type"]',function(){
checkFormFields();
});
//Config
$(document).on('click','.mm_config_save',function(){
if(!$('.mm_config_form_content').hasClass('active'))
{
$('.mm_config_form_content').addClass('active');
$(this).parents('.mm_save_wrapper').eq(0).addClass('loading');
$('.mm-alert').remove();
var formData = new FormData($(this).parents('form').get(0));
$.ajax({
url: $(this).parents('form').eq(0).attr('action'),
data: formData,
type: 'post',
dataType: 'json',
processData: false,
contentType: false,
success: function(json){
$('.mm-alert').remove();
//$('.ets_megamenu').attr('class','ets_megamenu '+json.layout_direction);
$('.mm_config_form_content').removeClass('active');
$('.mm_config_form_content').append(json.alert);
if(json.success)
{
mmAlertSucccess($('.mm_config_form_content .alert-success').html());
$('.mm_pop_up').addClass('hidden').parents('.mm_popup_overlay').addClass('hidden');
}
$('.mm_save_wrapper').removeClass('loading');
},
error: function(xhr, status, error)
{
$('.mm-alert').remove();
$('.mm_save_wrapper').removeClass('loading');
$('.mm_config_form_content').removeClass('active');
var err = eval("(" + xhr.responseText + ")");
alert(err.Message);
}
});
}
return false;
});
$(document).on('click','.mm_config_button',function(){
$('.mm_pop_up').addClass('hidden');
$('.mm_config_form').removeClass('hidden').parents('.mm_popup_overlay').removeClass('hidden');
$('.mm-alert.alert-success').remove();
});
$(document).on('click','.mm_import_menu',function(){
if(!$('.mm_import_option_form').hasClass('active'))
{
$('.mm_import_option_form').addClass('active');
var formData = new FormData($(this).parents('form').get(0));
$('.mm_import_option_form .alert').remove();
$.ajax({
url: $('.mm_import_option_form').attr('action'),
data: formData,
type: 'post',
dataType: 'json',
processData: false,
contentType: false,
success: function(json){
$('.mm_import_option_form').removeClass('active');
if(json.success)
{
$('.mm_pop_up').addClass('hidden');
$('.mm_forms').addClass('hidden');
$('.mm_export_form').addClass('hidden');
$('.mm_export.mm_pop_up').addClass('hidden');
mmAlertSucccess(json.success);
setTimeout(function(){
location.reload();
},3000);
}
else
{
$('.mm_import_option_form').append('<div class="alert alert-danger">'+json.error+'</div>');
}
},
error: function(xhr, status, error)
{
$('.mm_import_option_form').removeClass('active');
var err = eval("(" + xhr.responseText + ")");
alert(err.Message);
}
});
}
return false;
});
//Reset
$(document).on('click','.mm_reset_default',function(){
if(!$(this).hasClass('active'))
{
$(this).addClass('active');
$.ajax({
url: mmBaseAdminUrl,
dataType: 'json',
type: 'post',
data: {
reset_config: 1,
},
success: function(json){
$('.mm_reset_default').removeClass('active');
if(json.success)
{
mmAlertSucccess(json.success);
setTimeout(function(){
location.reload();
},3000);
}
},
error: function(xhr, status, error)
{
$('.mm_reset_default').removeClass('active');
var err = eval("(" + xhr.responseText + ")");
alert(err.Message);
}
});
}
return false;
});
//Sortable
mmSort('.mm_blocks_ul');
mmSort('.mm_columns_ul');
mmSort('.mm_menus_ul');
//Color
$('.custom_color').hide();
$('.custom_color.'+$('#ETS_MM_LAYOUT').val()).show();
$(document).on('change','#ETS_MM_LAYOUT',function(){
$('.custom_color').hide();
$('.custom_color.'+$('#ETS_MM_LAYOUT').val()).show();
});
//Cache
if(parseInt($('input[name="ETS_MM_CACHE_ENABLED"]:checked').val())==1)
$('.row_ets_mm_cache_life_time').show();
else
$('.row_ets_mm_cache_life_time').hide();
$(document).on('change','input[name="ETS_MM_CACHE_ENABLED"]',function(){
if(parseInt($('input[name="ETS_MM_CACHE_ENABLED"]:checked').val())==1)
$('.row_ets_mm_cache_life_time').show();
else
$('.row_ets_mm_cache_life_time').hide();
});
$(document).on('click','.mm_clear_cache',function(){
if(!$(this).hasClass('active'))
{
$(this).addClass('active');
$.ajax({
url: $(this).attr('href'),
data: {
clearMenuCache: 1,
},
type: 'post',
dataType: 'json',
success: function(json){
$('.mm_clear_cache').removeClass('active');
if(json.success)
mmAlertSucccess(json.success);
},
error: function(xhr, status, error)
{
$('.mm_clear_cache').removeClass('active');
var err = eval("(" + xhr.responseText + ")");
alert(err.Message);
}
});
}
return false;
});
//Initial events
$('.ets_mm_fancy').fancybox();
if($('.mm_menus_ul > li').length > 0)
$('.mm_menus_ul > li:first-child').addClass('open');
$(document).mouseup(function (e)
{
var container = $(".mm_pop_up");
var colorpanel = $('#mColorPicker');
if (!container.is(e.target)
&& container.has(e.target).length === 0 && !colorpanel.is(e.target) && colorpanel.has(e.target).length === 0
&& ($('#mColorPicker').length <=0 || ($('#mColorPicker').length > 0 && $('#mColorPicker').css('display')=='none'))
&& $('.mm_export.mm_pop_up').hasClass('hidden'))
{
$('.mm_pop_up').addClass('hidden').parents('.mm_popup_overlay').addClass('hidden');
$('.mm_forms').addClass('hidden');
$('.mm_export_form').addClass('hidden');
}
});
$(document).keyup(function(e) {
if (e.keyCode === 27)
{
$('.mm_pop_up').addClass('hidden').parents('.mm_popup_overlay').addClass('hidden');
$('.mm_forms').addClass('hidden');
$('.mm_export_form').addClass('hidden');
}
});
$(document).on('click','.mm_change_mode',function(){
$('.mm_change_mode').removeClass('active');
$(this).addClass('active');
if($(this).hasClass('mm_layout_rlt'))
$('.ets_megamenu').removeClass('ets-dir-ltr').addClass('ets-dir-rtl');
else
$('.ets_megamenu').removeClass('ets-dir-rtl').addClass('ets-dir-ltr');
});
$(document).on('click','.mm_view_mode',function(){
if(!$(this).hasClass('active'))
{
$('.mm_view_mode').removeClass('active');
$(this).addClass('active');
if($(this).hasClass('mm_view_mode_tab_select'))
$('.ets_megamenu').removeClass('mm_view_mode_list').addClass('mm_view_mode_tab');
else
$('.ets_megamenu').removeClass('mm_view_mode_tab').addClass('mm_view_mode_list');
}
});
if($('select[name="ETS_MM_HOOK_TO"]').val()=='customhook' && $('select[name="ETS_MM_HOOK_TO"]').next('.help-block').length > 0)
$('select[name="ETS_MM_HOOK_TO"]').next('.help-block').addClass('active');
$(document).on('change','select[name="ETS_MM_HOOK_TO"]',function(){
if($(this).val()=='customhook' && $(this).next('.help-block').length > 0)
$(this).next('.help-block').addClass('active');
else
$(this).next('.help-block').removeClass('active');
});
$(document).on('click','.mm_config_form_tab > li',function(){
$('.mm_config_form_tab > li,.mm_config_forms > div').removeClass('active');
$(this).addClass('active');
$('.mm_config_forms div.mm_config_'+$(this).attr('data-tab')).addClass('active');
});
if($('.mm_block_wrapper a').length > 0)
$('.mm_block_wrapper a').attr('target','_blank');
});
function mmSort(selector)
{
$(selector).sortable({
connectWith: selector,
update: function(e,ui)
{
if (this === ui.item.parent()[0]) {
var obj = ui.item.attr('data-obj');
var itemId = ui.item.attr('data-id-'+obj);
var parentObj = ui.item.parents('li').length > 0 ? ui.item.parents('li').eq(0).attr('data-obj') : false;
var parentId = parentObj && ui.item.parents('li').length > 0 ? ui.item.parents('li').eq(0).attr('data-id-'+parentObj) : 0;
var previousId = ui.item.prev('li').length > 0 ? ui.item.prev('li').attr('data-id-'+obj) : 0;
$.ajax({
url: mmBaseAdminUrl,
type: 'post',
dataType: 'json',
data: {
itemId: itemId,
obj: obj,
parentId: parentId,
parentObj: parentObj ? parentObj : '',
previousId: previousId,
updateOrder: 1,
},
success: function(json)
{
if(!json.success)
$(selector).sortable('cancel');
},
error: function()
{
$(selector).sortable('cancel');
}
});
}
}
}).disableSelection();
}
function readURL(input) {
if (input.files && input.files[0]) {
var reader = new FileReader();
reader.onload = function (e) {
if($(input).parents('.col-lg-9').eq(0).find('.preview_img').length <= 0)
{
$(input).parents('.col-lg-9').eq(0).append('<div class="preview_img"><img src="'+e.target.result+'"/> <i style="font-size: 20px;" class="process-icon-delete del_preview"></i></div>');
}
else
{
$(input).parents('.col-lg-9').eq(0).find('.preview_img img').eq(0).attr('src',e.target.result);
}
if($(input).parents('.col-lg-9').eq(0).next('.uploaded_image_label').length > 0)
{
$(input).parents('.col-lg-9').eq(0).next('.uploaded_image_label').addClass('hidden');
$(input).parents('.col-lg-9').eq(0).next('.uploaded_image_label').next('.uploaded_img_wrapper').addClass('hidden');
}
}
reader.readAsDataURL(input.files[0]);
}
}
function updatePreviewImage(name,url,delete_url)
{
if($('.defaultForm.active input[name="'+name+'"]').length > 0 && $('.defaultForm.active input[name="'+name+'"]').parents('.col-lg-9').length > 0)
{
if($('.defaultForm.active input[name="'+name+'"]').parents('.col-lg-9').eq(0).find('.preview_img').length > 0)
$('.defaultForm.active input[name="'+name+'"]').parents('.col-lg-9').eq(0).find('.preview_img').eq(0).remove();
if($('.defaultForm.active input[name="'+name+'"]').parents('.col-lg-9').eq(0).next('.uploaded_image_label').length<=0)
{
$('.defaultForm.active input[name="'+name+'"]').parents('.col-lg-9').eq(0).after('<label class="control-label col-lg-3 uploaded_image_label" style="font-style: italic;">Uploaded image: </label><div class="col-lg-9 uploaded_img_wrapper"><a class="ybc_fancy" href="'+url+'"><img title="Click to see full size image" style="display: inline-block; max-width: 200px;" src="'+url+'"></a>'+(delete_url ? '<a class="delete_url" style="display: inline-block; text-decoration: none!important;" href="'+delete_url+'"><span style="color: #666"><i style="font-size: 20px;" class="process-icon-delete"></i></span></a>' : '')+'</div>');
}
else
{
var imageWrapper = $('.defaultForm.active input[name="'+name+'"]').parents('.col-lg-9').eq(0).next('.uploaded_image_label').next('.col-lg-9');
imageWrapper.find('a.ets_mm_fancy').eq(0).attr('href',url);
imageWrapper.find('a.ets_mm_fancy img').eq(0).attr('src',url);
if(imageWrapper.find('a.delete_url').length > 0)
imageWrapper.find('a.delete_url').eq(0).attr('href',delete_url);
$('.defaultForm.active input[name="'+name+'"]').parents('.col-lg-9').eq(0).next('.uploaded_image_label').removeClass('hidden');
$('.defaultForm.active input[name="'+name+'"]').parents('.col-lg-9').eq(0).next('.uploaded_image_label').next('.uploaded_img_wrapper').removeClass('hidden');
}
$('.defaultForm.active input[name="'+name+'"]').val('');
}
}
function showSaveMessage(alertmsg)
{
if(alertmsg)
{
if($('.defaultForm.active').parents('.mm_pop_up').eq(0).find('.alert').length > 0)
$('.defaultForm.active').parents('.mm_pop_up').eq(0).find('.alert').remove();
$('.defaultForm.active').parents('.mm_pop_up').eq(0).append(alertmsg);
}
}
function checkFormFields()
{
if($('.mm_form select[name="link_type"]').length > 0)
{
$('.mm_form .row_link, .mm_form .row_id_manufacturer, .mm_form .row_id_category, .mm_form .row_id_cms,.mm_form .row_id_supplier').hide();
if($('.mm_form select[name="link_type"]').val()=='CUSTOM')
$('.mm_form .row_link').show();
else if($('.mm_form select[name="link_type"]').val()=='CMS')
$('.mm_form .row_id_cms').show();
else if($('.mm_form select[name="link_type"]').val()=='CATEGORY')
$('.mm_form .row_id_category').show();
else if($('.mm_form select[name="link_type"]').val()=='MNFT')
$('.mm_form .row_id_manufacturer').show();
else if($('.mm_form select[name="link_type"]').val()=='MNSP')
$('.mm_form .row_id_supplier').show()
}
if($('.mm_form select[name="block_type"]').length > 0)
{
$('.mm_form .row_image, .mm_form .row_id_manufacturers, .mm_form .row_id_categories, .mm_form .row_id_cmss,.mm_form .row_image_link,.mm_form .row_content,.mm_form .row_id_products, .mm_form .row_id_suppliers').hide();
if($('.mm_form select[name="block_type"]').val()=='HTML')
$('.mm_form .row_content').show();
else if($('.mm_form select[name="block_type"]').val()=='CMS')
$('.mm_form .row_id_cmss').show();
else if($('.mm_form select[name="block_type"]').val()=='CATEGORY')
$('.mm_form .row_id_categories').show();
else if($('.mm_form select[name="block_type"]').val()=='MNFT')
$('.mm_form .row_id_manufacturers').show();
else if($('.mm_form select[name="block_type"]').val()=='MNSP')
$('.mm_form .row_id_suppliers').show();
else if($('.mm_form select[name="block_type"]').val()=='PRODUCT')
$('.mm_form .row_id_products').show();
else if($('.mm_form select[name="block_type"]').val()=='IMAGE')
{
$('.mm_form .row_image').show();
$('.mm_form .row_image_link').show();
}
}
}
function mmAlertSucccess(successMsg)
{
if($('#content .ets_mm_success_alert').length <= 0)
{
$('#content').append('<div class="alert alert-success ets_mm_success_alert" style="display: none;"></div>');
}
$('#content .ets_mm_success_alert').html(successMsg);
$('#content .ets_mm_success_alert').fadeIn().delay(5000).fadeOut();
}

View File

@@ -0,0 +1,475 @@
/**
* 2007-2019 ETS-Soft
*
* NOTICE OF LICENSE
*
* This file is not open source! Each license that you purchased is only available for 1 wesite only.
* If you want to use this file on more websites (or projects), you need to purchase additional licenses.
* You are not allowed to redistribute, resell, lease, license, sub-license or offer our resources to any third party.
*
* 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 contact us for extra customization service at an affordable price
*
* @author ETS-Soft <etssoft.jsc@gmail.com>
* @copyright 2007-2019 ETS-Soft
* @license Valid for 1 website (or project) for each purchase of license
* International Registered Trademark & Property of ETS-Soft
*/
$(function() {
$(document).mouseup(function (e)
{
var container_block_search = $('.mm_extra_item.active');
if (!container_block_search.is(e.target)&& container_block_search.has(e.target).length === 0)
{
$('.mm_extra_item').removeClass('active');
}
});
if($('.mm_extra_item button[type="submit"]').length)
{
$(document).on('click','.mm_extra_item button[type="submit"]',function(){
if(!$(this).closest('.mm_extra_item').hasClass('mm_display_search_default') )
{
if ( !$(this).closest('.mm_extra_item').hasClass('active') ){
$(this).closest('.mm_extra_item').addClass('active');
return false;
} else {
if ($(this).prev('input').val() == 0){
$('.mm_extra_item').removeClass('active');
return false;
}
}
}
});
}
displayHeightTab();
if ($('.ets_mm_megamenu.sticky_enabled').length > 0)
{
var sticky_navigation_offset_top = $('.ets_mm_megamenu.sticky_enabled').offset().top;
var headerFloatingHeight = $('.ets_mm_megamenu.sticky_enabled').height()+($('#header').length > 0 ? parseInt($('.ets_mm_megamenu.sticky_enabled').css('marginTop').replace('px',''))+parseInt($('.ets_mm_megamenu.sticky_enabled').css('marginBottom').replace('px','')) : 0);
var oldHeaderMarginBottom = $('#header').length > 0 ? parseInt($('#header').css('marginBottom').replace('px','')) : 0;
var sticky_navigation = function(){
if(!$('.ets_mm_megamenu').hasClass('sticky_enabled'))
return false;
var scroll_top = $(window).scrollTop();
if (scroll_top > sticky_navigation_offset_top) {
$('.ets_mm_megamenu.sticky_enabled').addClass('scroll_heading');
if($('#header').length > 0)
$('#header').css({'marginBottom':headerFloatingHeight+'px'});
} else {
$('.ets_mm_megamenu.sticky_enabled').removeClass('scroll_heading');
if($('#header').length > 0)
$('#header').css({'marginBottom':oldHeaderMarginBottom+'px'});
}
};
sticky_navigation();
$(window).scroll(function() {
sticky_navigation();
});
if($(window).width() < 768 && !$('body').hasClass('disable-sticky'))
$('body').addClass('disable-sticky');
$(window).on('resize',function(e){
if($(window).width() < 768 && !$('body').hasClass('disable-sticky'))
$('body').addClass('disable-sticky');
else
if($(window).width() >= 768 && $('body').hasClass('disable-sticky'))
$('body').removeClass('disable-sticky');
});
}
$(window).load(function(){
if ($('.ets_mn_submenu_full_height').length > 0 ){
var ver_sub_height = $('.ets_mn_submenu_full_height').height();
$('.ets_mn_submenu_full_height').find('.mm_columns_ul').css("min-height",ver_sub_height);
}
});
if ( $('.mm_columns_ul_tab_content').length > 0 && $('body#index').length >0 ){
$('.mm_columns_ul_tab_content').addClass('active').prev('.arrow').removeClass('closed').addClass('opened');
}
$(window).resize(function(){
$('.mm_menus_ul:not(.ets_mm_all_show_resize)').removeClass('ets_mn_active');
});
$(document).on('click','.mm_has_sub > .arrow',function(){
var wrapper = $(this).next('.mm_columns_ul');
if($(this).hasClass('closed'))
{
$('.mm_columns_ul').removeClass('active');
$('.mm_has_sub > .arrow').removeClass('opened');
$('.mm_has_sub > .arrow').addClass('closed');
var btnObj = $(this);
btnObj.removeClass('closed');
btnObj.addClass('opened');
wrapper.stop(true,true).addClass('active');
}
else
{
var btnObj = $(this);
btnObj.removeClass('opened');
btnObj.addClass('closed');
//btnObj.text('+');
wrapper.stop(true,true).removeClass('active');
}
});
$('.transition_slide:not(.changestatus) li.mm_menus_li').hover(function(){
if($(window).width() >= 768){
$(this).find('.mm_columns_ul').stop(true,true).slideDown(300);
}
}, function(){
if($(window).width() >= 768){
$(this).find('.mm_columns_ul').stop(true,true).slideUp(0);
}
});
$('.ybc-menu-toggle, .ybc-menu-vertical-button').on('click',function(){
var wrapper = $(this).next('.mm_menus_ul');
if($(this).hasClass('closed'))
{
var btnObj = $(this);
btnObj.removeClass('closed');
btnObj.addClass('opened');
//btnObj.text('-');
wrapper.stop(true,true).addClass('active');
if ( $('.transition_slide.transition_default').length != '' ){
wrapper.stop(true,true).slideDown(0);
}
}
else
{
var btnObj = $(this);
btnObj.removeClass('opened');
btnObj.addClass('closed');
//btnObj.text('+');
wrapper.stop(true,true).removeClass('active');
if ( $('.transition_slide.transition_default').length != '' ){
wrapper.stop(true,true).slideUp(0);
}
}
});
$('.close_menu').on('click',function(){
$(this).parent().prev().removeClass('opened');
$(this).parent().prev().addClass('closed');
$(this).parent().stop(true,true).removeClass('active');
});
//Active menu
if($('.ets_mm_megamenu').hasClass('enable_active_menu') && $('.mm_menus_ul > li').length > 0)
{
var currentUrl = window.location.href;
$('.mm_menus_ul > li').each(function(){
if($(this).find('a[href="'+currentUrl+'"]').length > 0)
{
$(this).addClass('active');
return false;
}
});
}
if($('.mm_breaker').length > 0 && $('.mm_breaker').prev('li').length > 0)
{
$('.mm_breaker').prev('li').addClass('mm_before_breaker');
}
$('.mm_tab_li_content').hover(function(){
if(!$(this).closest('.mm_tabs_li').hasClass('open'))
{
$(this).closest('.mm_columns_ul_tab').find('.mm_tabs_li').removeClass('open');
$(this).closest('.mm_tabs_li').addClass('open');
$(this).closest('.mm_columns_ul').removeClass('mm_tab_no_content');
if ( !$(this).next('.mm_columns_contents_ul').length ){
$(this).closest('.mm_columns_ul').addClass('mm_tab_no_content');
}
displayHeightTab();
}
});
if ($('.clicktext_show_submenu').length <= 0)
{
$(document).on('click touchstar', '.mm_tab_li_content', function (evt) {
var btnObj = $(this), wrapper = $(this).next();
if (!btnObj.find('.mm_tab_toggle_title a').is(evt.target))
{
if(btnObj.hasClass('closed'))
{
$('.mm_tab_li_content').removeClass('opened');
$('.mm_tab_li_content').addClass('closed');
$('.mm_columns_contents_ul').removeClass('active');
btnObj.removeClass('closed');
btnObj.addClass('opened');
wrapper.stop(true,true).addClass('active');
}
else
{
btnObj.removeClass('opened');
btnObj.addClass('closed');
wrapper.stop(true,true).removeClass('active');
}
}
});
}
var ETS_MM_ACTIVE_BG_GRAY = $('.ets_mm_megamenu').attr('data-bggray');
if (typeof ETS_MM_ACTIVE_BG_GRAY !== "undefined" && ETS_MM_ACTIVE_BG_GRAY ) {
$('.ets_mm_megamenu:not(.changestatus) .mm_menus_li.mm_has_sub').hover(function(){
if ( $(window).width() > 767 ){
$('body').addClass('hover_menu');
}
}, function(){
$('body').removeClass('hover_menu');
});
}
});
function autoChangeStatus()
{
var width_ul_menu = $('ul.mm_menus_ul').width();
var width_li_menu=0;
$('ul.mm_menus_ul li.mm_menus_li').each(function(){
width_li_menu += parseFloat($(this).width());
});
if(width_li_menu > width_ul_menu+5)
{
$('.ets_mm_megamenu').addClass('changestatus');
$('.menu_ver_alway_show_sub .mm_columns_ul_tab_content').removeClass('active');
$('#index .menu_ver_alway_show_sub .arrow').removeClass('opened').addClass('closed');
}
else
{
$('.ets_mm_megamenu').removeClass('changestatus');
if ( $(window).width() > 767 ){
$('#index .menu_ver_alway_show_sub .arrow').addClass('opened').removeClass('closed');
$('#index .menu_ver_alway_show_sub .mm_columns_ul_tab_content').addClass('active');
}
}
if ( $(window).width() < 768 ){
$('.menu_ver_alway_show_sub .mm_columns_ul_tab_content').removeClass('active');
$('.menu_ver_alway_show_sub .arrow').removeClass('opened').addClass('closed');
}
}
function itemClickMenu($this){
var btnObj = $($this).next('.arrow');
var wrapper = btnObj.next();
if ( ! btnObj.length ){
var btn_temp = $($this).closest('.mm_tab_li_content').first();
var wrapper = btn_temp.next();
if( btn_temp.hasClass('closed')){
$('.mm_tab_li_content').removeClass('opened');
$('.mm_tab_li_content').addClass('closed');
$('.mm_tab_li_content + .mm_columns_contents_ul').removeClass('active');
btn_temp.removeClass('closed');
btn_temp.addClass('opened');
wrapper.stop(true,true).addClass('active');
}else{
btn_temp.removeClass('opened');
btn_temp.addClass('closed');
wrapper.stop(true,true).removeClass('active');
}
}else{
if(btnObj.hasClass('closed'))
{
$('.mm_has_sub > .arrow').removeClass('opened');
$('.mm_has_sub > .arrow').addClass('closed');
$('.mm_columns_ul').removeClass('active');
btnObj.removeClass('closed');
btnObj.addClass('opened');
wrapper.stop(true,true).addClass('active');
}
else
{
btnObj.removeClass('opened');
btnObj.addClass('closed');
wrapper.stop(true,true).removeClass('active');
}
}
}
function clickTextShowMenu(){
if ( $('.clicktext_show_submenu').length > 0 ){
$('.clicktext_show_submenu li.has-sub').each(function() {
$(this).find('a').first().on('click', function(e){
if ($(window).width() <= 767 ){
e.preventDefault();
var btnObj = $(this).next('.arrow');
var wrapper = btnObj.next();
if(btnObj.hasClass('closed'))
{
btnObj.removeClass('closed');
btnObj.addClass('opened');
wrapper.stop(true,true).addClass('active');
}
else
{
btnObj.removeClass('opened');
btnObj.addClass('closed');
wrapper.stop(true,true).removeClass('active');
}
}
});
});
}
if ( $('.clicktext_show_submenu').length > 0 ){
$('.clicktext_show_submenu li.has-sub').each(function() {
$(this).find('a').first().on('click', function(e){
if ( $('.ets_mm_megamenu').hasClass('changestatus') && $(window).width() > 767 ){
e.preventDefault();
//itemClickMenu(this);
var btnObj = $(this).next('.arrow');
var wrapper = btnObj.next();
if(btnObj.hasClass('closed'))
{
btnObj.removeClass('closed');
btnObj.addClass('opened');
wrapper.stop(true,true).addClass('active');
}
else
{
btnObj.removeClass('opened');
btnObj.addClass('closed');
wrapper.stop(true,true).removeClass('active');
}
}
});
});
}
if ( $('.clicktext_show_submenu').length > 0 ){
$('.clicktext_show_submenu li.mm_tabs_has_content > div').each(function() {
$(this).find('a').first().on('click', function(e){
if ($(window).width() <= 767 ){
e.preventDefault();
itemClickMenu(this);
}
});
});
}
if ( $('.clicktext_show_submenu').length > 0 ){
$('.clicktext_show_submenu li.mm_tabs_has_content > div').each(function() {
$(this).find('a').first().on('click', function(e){
if ( $('.ets_mm_megamenu').hasClass('changestatus') && $(window).width() > 767 ){
e.preventDefault();
itemClickMenu(this);
}
});
});
}
if ( $('.clicktext_show_submenu').length > 0 ){
$('.clicktext_show_submenu li.mm_has_sub > a').each(function() {
$(this).on('click', function(e){
if ($(window).width() <= 767 ){
e.preventDefault();
itemClickMenu(this);
}
});
});
}
if ( $('.clicktext_show_submenu').length > 0 ){
$('.clicktext_show_submenu li.mm_has_sub > a').each(function() {
$(this).on('click', function(e){
if ( $('.ets_mm_megamenu').hasClass('changestatus') && $(window).width() > 767 ){
e.preventDefault();
itemClickMenu(this);
}
});
});
}
if ( $('.clicktext_show_submenu').length > 0 ){
$('.mm_tab_has_child > .mm_tab_toggle_title').on('click', function(e){
if ( $(this).find('a').length <= 0 ){
if ( $('.ets_mm_megamenu').hasClass('changestatus') || $(window).width() > 767 ){
var btnObj = $(this).parents('.mm_tab_li_content'), wrapper = $(this).parents('.mm_tab_li_content').next();
if(btnObj.hasClass('closed'))
{
$('.mm_tab_li_content').removeClass('opened');
$('.mm_tab_li_content').addClass('closed');
$('.mm_tab_li_content + .mm_columns_contents_ul').removeClass('active');
btnObj.removeClass('closed');
btnObj.addClass('opened');
wrapper.stop(true,true).addClass('active');
}
else
{
btnObj.removeClass('opened');
btnObj.addClass('closed');
wrapper.stop(true,true).removeClass('active');
}
}
}
});
}
}
$(document).on('click','.ets_mm_categories .has-sub .arrow',function(e){
e.stopPropagation();
var wrapper = $(this).next('.ets_mm_categories');
if($(this).hasClass('closed'))
{
var btnObj = $(this);
btnObj.removeClass('closed');
btnObj.addClass('opened');
wrapper.stop(true,true).addClass('active');
}
else
{
var btnObj = $(this);
btnObj.removeClass('opened');
btnObj.addClass('closed');
//btnObj.text('+');
wrapper.stop(true,true).removeClass('active');
}
});
function displayHeightTab()
{
if($('.mm_tabs_li.open .mm_columns_contents_ul').length)
{
$('.mm_tabs_li.open .mm_columns_contents_ul').each(function(){
$(this).closest('.mm_columns_ul_tab').css('height', $(this).height('px'));
});
}
}
$(document).ready(function(){
$('.ets_mm_megamenu').removeClass('bg_submenu');
$('.ets_mm_megamenu .mm_menus_ul > li.mm_has_sub').hover(function(){
if($('.ets_mm_megamenu').hasClass('bg_submenu')){
$(this).closest('.ets_mm_megamenu').stop().removeClass('bg_submenu');
}else{
$(this).closest('.ets_mm_megamenu').stop().addClass('bg_submenu');
}
});
});
$(document).ready(function(){
autoChangeStatus();
clickTextShowMenu();
$(window).resize(function(){
autoChangeStatus();
});
});

View File

@@ -0,0 +1,33 @@
{*
* 2007-2019 ETS-Soft
*
* NOTICE OF LICENSE
*
* This file is not open source! Each license that you purchased is only available for 1 wesite only.
* If you want to use this file on more websites (or projects), you need to purchase additional licenses.
* You are not allowed to redistribute, resell, lease, license, sub-license or offer our resources to any third party.
*
* 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 contact us for extra customization service at an affordable price
*
* @author ETS-Soft <etssoft.jsc@gmail.com>
* @copyright 2007-2019 ETS-Soft
* @license Valid for 1 website (or project) for each purchase of license
* International Registered Trademark & Property of ETS-Soft
*}
{if isset($categories) && $categories}
<ul class="ets_mm_categories">
{foreach from=$categories item='category'}
<li {if isset($category.sub) && $category.sub}class="has-sub"{/if}>
<a href="{$link->getCategoryLink($category.id_category|intval)}">{$category.name|escape:'html':'UTF-8'}</a>
{if isset($category.sub) && $category.sub}
<span class="arrow closed"></span>
{$category.sub nofilter}
{/if}
</li>
{/foreach}
</ul>
{/if}

View File

@@ -0,0 +1,44 @@
{*
* 2007-2018 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-2018 PrestaShop SA
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
<div class="menu-prods">
{if isset($products) && $products}
{foreach from=$products item="product"}
<article class="product-miniature js-product-miniature" data-id-product="{$product.id_product|intval}" data-id-product-attribute="{$product.id_product_attribute|intval}">
<div class="thumbnail-container tip_inside">
{block name='product_thumbnail'}
<a href="{$product.url|escape:'html':'UTF-8'}" class="thumbnail product-thumbnail">
<img
src = "{$product.cover.bySize.small_default.url|escape:'html':'UTF-8'}"
alt = "{$product.cover.legend|escape:'html':'UTF-8'}"
data-full-size-image-url = "{$product.cover.large.url|escape:'html':'UTF-8'}"
/>
<span class="tip">{$product.name|escape:'html':'UTF-8'}</span>
</a>
{/block}
</div>
</article>
{/foreach}
{/if}
</div>

View File

@@ -0,0 +1,73 @@
{*
* 2007-2018 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-2018 PrestaShop SA
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
{if isset($products) && $products}
<!-- Products list -->
<ul{if isset($id) && $id} id="{$id|intval}"{/if} class="product_list grid row{if isset($class) && $class} {$class|escape:'html':'UTF-8'}{/if}">
{foreach from=$products item=product name=products}
<li class="ajax_block_product col-xs-12 col-sm-12">
<div class="product-container" itemscope itemtype="https://schema.org/Product">
<div class="left-block">
<div class="product-image-container">
<a class="product_img_link" href="{$product.link|escape:'html':'UTF-8'}" title="{$product.name|escape:'html':'UTF-8'}" itemprop="url">
{assign var='imageLink' value=$link->getImageLink($product.link_rewrite, $product.id_image, 'home_default')}
<img class="replace-2x img-responsive" src="{if (strpos($imageLink,'http://')===false || strpos($imageLink,'https://'))}{$protocol_link|escape:'html':'UTF-8'}{/if}{$imageLink|escape:'html':'UTF-8'}" alt="{if !empty($product.legend)}{$product.legend|escape:'html':'UTF-8'}{else}{$product.name|escape:'html':'UTF-8'}{/if}" title="{if !empty($product.legend)}{$product.legend|escape:'html':'UTF-8'}{else}{$product.name|escape:'html':'UTF-8'}{/if}" {if isset($homeSize)} width="{$homeSize.width|floatval}" height="{$homeSize.height|floatval}"{/if} itemprop="image" />
</a>
</div>
</div>
<div class="right-block">
<h5 itemprop="name">
{if isset($product.pack_quantity) && $product.pack_quantity}{$product.pack_quantity|intval|cat:' x '}{/if}
<a class="product-name" href="{$product.link|escape:'html':'UTF-8'}" title="{$product.name|escape:'html':'UTF-8'}" itemprop="url" >
{$product.name|truncate:45:'...'|escape:'html':'UTF-8'}
</a>
</h5>
{if (!$PS_CATALOG_MODE && ((isset($product.show_price) && $product.show_price) || (isset($product.available_for_order) && $product.available_for_order)))}
<div class="content_price" itemprop="offers" itemscope itemtype="https://schema.org/Offer">
{if isset($product.show_price) && $product.show_price && !isset($restricted_country_mode)}
<span itemprop="price" class="price product-price">
{hook h="displayProductPriceBlock" product=$product type="before_price"}
{if isset($priceDisplay) && !$priceDisplay}{convertPrice price=$product.price}{else}{convertPrice price=$product.price_tax_exc}{/if}
</span>
{if $product.price_without_reduction > 0 && isset($product.specific_prices) && $product.specific_prices && isset($product.specific_prices.reduction) && $product.specific_prices.reduction > 0}
{hook h="displayProductPriceBlock" product=$product type="old_price"}
<span class="old-price product-price">
{displayWtPrice p=$product.price_without_reduction}
</span>
{if $product.specific_prices.reduction_type == 'percentage'}
<span class="price-percent-reduction">-{($product.specific_prices.reduction * 100)|floatval}%</span>
{/if}
{/if}
{/if}
</div>
{/if}
<p class="product-desc" itemprop="description">
{$product.description_short|strip_tags|escape:'html':'UTF-8'|truncate:60:'...'}
</p>
</div>
</div><!-- .product-container> -->
</li>
{/foreach}
</ul>
{/if}

View File

@@ -0,0 +1,157 @@
{*
* 2007-2018 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-2018 PrestaShop SA
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
{if isset($products) && $products}
<!-- Products list -->
<ul{if isset($id) && $id} id="{$id|intval}"{/if} class="product_list row{if isset($class) && $class} {$class|escape:'html':'UTF-8'}{/if}">
{foreach from=$products item=product name=products}
<li class="ajax_block_product col-xs-12 col-sm-12">
<div class="product-container" itemscope itemtype="https://schema.org/Product">
<div class="left-block">
<div class="product-image-container">
<a class="product_img_link" href="{$product.link|escape:'html':'UTF-8'}" title="{$product.name|escape:'html':'UTF-8'}" itemprop="url">
{assign var='imageLink' value=$link->getImageLink($product.link_rewrite, $product.id_image, 'home_default')}
<img class="replace-2x img-responsive" src="{if (strpos($imageLink,'http://')===false || strpos($imageLink,'https://'))}{$protocol_link nofilter}{/if}{$imageLink|escape:'html':'UTF-8'}" alt="{if !empty($product.legend)}{$product.legend|escape:'html':'UTF-8'}{else}{$product.name|escape:'html':'UTF-8'}{/if}" title="{if !empty($product.legend)}{$product.legend|escape:'html':'UTF-8'}{else}{$product.name|escape:'html':'UTF-8'}{/if}" {if isset($homeSize)} width="{$homeSize.width|floatval}" height="{$homeSize.height|floatval}"{/if} itemprop="image" />
</a>
{if isset($quick_view) && $quick_view}
<div class="quick-view-wrapper-mobile">
<a class="quick-view-mobile" href="{$product.link|escape:'html':'UTF-8'}" rel="{$product.link|escape:'html':'UTF-8'}">
<i class="icon-eye-open"></i>
</a>
</div>
<a class="quick-view" href="{$product.link|escape:'html':'UTF-8'}" rel="{$product.link|escape:'html':'UTF-8'}">
<span>{l s='Quick view' mod='ets_megamenu'}</span>
</a>
{/if}
<div class="button-container">
{if isset($PS_CATALOG_MODE) && ($product.id_product_attribute == 0 || (isset($add_prod_display) && ($add_prod_display == 1))) && $product.available_for_order && !isset($restricted_country_mode) && $product.customizable != 2 && !$PS_CATALOG_MODE}
{if (!isset($product.customization_required) || !$product.customization_required) && ($product.allow_oosp || $product.quantity > 0)}
{capture}add=1&amp;id_product={$product.id_product|intval}{if isset($product.id_product_attribute) && $product.id_product_attribute}&amp;ipa={$product.id_product_attribute|intval}{/if}{if isset($static_token)}&amp;token={$static_token|escape:'html':'UTF-8'}{/if}{/capture}
<a class="button ajax_add_to_cart_button btn btn-default" href="{$link->getPageLink('cart', true, NULL, $smarty.capture.default, false)|escape:'html':'UTF-8'}" rel="nofollow" title="{l s='Add to cart' mod='ets_megamenu'}" data-id-product-attribute="{$product.id_product_attribute|intval}" data-id-product="{$product.id_product|intval}" data-minimal_quantity="{if isset($product.product_attribute_minimal_quantity) && $product.product_attribute_minimal_quantity >= 1}{$product.product_attribute_minimal_quantity|intval}{else}{$product.minimal_quantity|intval}{/if}">
<span>{l s='Add to cart' mod='ets_megamenu'}</span>
</a>
{else}
<span class="button ajax_add_to_cart_button btn btn-default disabled">
<span>{l s='Add to cart' mod='ets_megamenu'}</span>
</span>
{/if}
{/if}
</div>
{if isset($product.new) && $product.new == 1}
<a class="new-box" href="{$product.link|escape:'html':'UTF-8'}">
<span class="new-label">{l s='New' mod='ets_megamenu'}</span>
</a>
{/if}
{if isset($product.on_sale) && $product.on_sale && isset($product.show_price) && $product.show_price && !$PS_CATALOG_MODE}
<a class="sale-box" href="{$product.link|escape:'html':'UTF-8'}">
<span class="sale-label">{l s='Sale!' mod='ets_megamenu'}</span>
</a>
{/if}
</div>
{if isset($product.is_virtual) && !$product.is_virtual}{hook h="displayProductDeliveryTime" product=$product}{/if}
{hook h="displayProductPriceBlock" product=$product type="weight"}
</div>
<div class="right-block">
<h5 itemprop="name">
{if isset($product.pack_quantity) && $product.pack_quantity}{$product.pack_quantity|intval|cat:' x '}{/if}
<a class="product-name" href="{$product.link|escape:'html':'UTF-8'}" title="{$product.name|escape:'html':'UTF-8'}" itemprop="url" >
{$product.name|truncate:45:'...'|escape:'html':'UTF-8'}
</a>
</h5>
{capture name='displayProductListReviews'}{hook h='displayProductListReviews' product=$product}{/capture}
{if $smarty.capture.displayProductListReviews}
<div class="hook-reviews">
{hook h='displayProductListReviews' product=$product}
</div>
{/if}
{if (!$PS_CATALOG_MODE AND ((isset($product.show_price) && $product.show_price) || (isset($product.available_for_order) && $product.available_for_order)))}
<div class="content_price">
{if isset($product.show_price) && $product.show_price && !isset($restricted_country_mode)}
{hook h="displayProductPriceBlock" product=$product type='before_price'}
<span class="price product-price">
{if isset($priceDisplay) && !$priceDisplay}{convertPrice price=$product.price}{else}{convertPrice price=$product.price_tax_exc}{/if}
</span>
{if $product.price_without_reduction > 0 && isset($product.specific_prices) && $product.specific_prices && isset($product.specific_prices.reduction) && $product.specific_prices.reduction > 0}
{hook h="displayProductPriceBlock" product=$product type="old_price"}
<span class="old-price product-price">
{displayWtPrice p=$product.price_without_reduction}
</span>
{hook h="displayProductPriceBlock" id_product=$product.id_product type="old_price"}
{if $product.specific_prices.reduction_type == 'percentage'}
<span class="price-percent-reduction">-{($product.specific_prices.reduction * 100)|floatval}%</span>
{/if}
{/if}
{hook h="displayProductPriceBlock" product=$product type="price"}
{hook h="displayProductPriceBlock" product=$product type="unit_price"}
{hook h="displayProductPriceBlock" product=$product type='after_price'}
{/if}
</div>
{/if}
<p class="product-desc" itemprop="description">
{$product.description_short|strip_tags|escape:'html':'UTF-8'|truncate:60:'...'}
</p>
{if isset($product.color_list)}
<div class="color-list-container">{$product.color_list nofilter}</div>
{/if}
<div class="product-flags">
{if (!$PS_CATALOG_MODE AND ((isset($product.show_price) && $product.show_price) || (isset($product.available_for_order) && $product.available_for_order)))}
{if isset($product.online_only) && $product.online_only}
<span class="online_only">{l s='Online only' mod='ets_megamenu'}</span>
{/if}
{/if}
{if isset($product.on_sale) && $product.on_sale && isset($product.show_price) && $product.show_price && !$PS_CATALOG_MODE}
{elseif isset($product.reduction) && $product.reduction && isset($product.show_price) && $product.show_price && !$PS_CATALOG_MODE}
<span class="discount">{l s='Reduced price!' mod='ets_megamenu'}</span>
{/if}
</div>
{if (!$PS_CATALOG_MODE && isset($PS_STOCK_MANAGEMENT) && $PS_STOCK_MANAGEMENT && ((isset($product.show_price) && $product.show_price) || (isset($product.available_for_order) && $product.available_for_order)))}
{if isset($product.available_for_order) && $product.available_for_order && !isset($restricted_country_mode)}
<span class="availability">
{if ($product.allow_oosp || $product.quantity > 0)}
<span class="{if $product.quantity <= 0 && isset($product.allow_oosp) && !$product.allow_oosp} label-danger{elseif $product.quantity <= 0} label-warning{else} label-success{/if}">
{if $product.quantity <= 0}{if $product.allow_oosp}{if isset($product.available_later) && $product.available_later}{$product.available_later|escape:'html':'UTF-8'}{else}{l s='In Stock' mod='ets_megamenu'}{/if}{else}{l s='Out of stock' mod='ets_megamenu'}{/if}{else}{if isset($product.available_now) && $product.available_now}{$product.available_now|escape:'html':'UTF-8'}{else}{l s='In Stock' mod='ets_megamenu'}{/if}{/if}
</span>
{elseif (isset($product.quantity_all_versions) && $product.quantity_all_versions > 0)}
<span class="label-warning">
{l s='Product available with different options' mod='ets_megamenu'}
</span>
{else}
<span class="label-danger">
{l s='Out of stock' mod='ets_megamenu'}
</span>
{/if}
</span>
{/if}
{/if}
</div>
</div><!-- .product-container> -->
</li>
{/foreach}
</ul>
{addJsDefL name=min_item}{l s='Please select at least one product' js=1 mod='ets_megamenu'}{/addJsDefL}
{addJsDefL name=max_item}{l s='You cannot add more than %d product(s) to the product comparison' sprintf=$comparator_max_item js=1 mod='ets_megamenu'}{/addJsDefL}
{addJsDef comparator_max_item=$comparator_max_item}
{addJsDef comparedProductsIds=$compared_products}
{/if}

View File

@@ -0,0 +1,36 @@
<?php
/*
* 2007-2015 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 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/osl-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-2014 PrestaShop SA
* @version Release: $Revision$
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 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,724 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office">
<head>
<title> Kontynuacja 1 </title>
<!--[if !mso]><!-- --><meta http-equiv="X-UA-Compatible" content="IE=edge">
<!--<![endif]--><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<style type="text/css">
#outlook a {
padding: 0;
}
body {
margin: 0;
padding: 0;
-webkit-text-size-adjust: 100%;
-ms-text-size-adjust: 100%;
}
table,
td {
border-collapse: collapse;
mso-table-lspace: 0pt;
mso-table-rspace: 0pt;
}
img {
border: 0;
height: auto;
line-height: 100%;
outline: none;
text-decoration: none;
-ms-interpolation-mode: bicubic;
}
p {
display: block;
margin: 13px 0;
}
</style>
<!--[if mso]>
<xml>
<o:OfficeDocumentSettings>
<o:AllowPNG/>
<o:PixelsPerInch>96</o:PixelsPerInch>
</o:OfficeDocumentSettings>
</xml>
<![endif]--><!--[if lte mso 11]>
<style type="text/css">
.mj-outlook-group-fix { width:100% !important; }
</style>
<![endif]--><style type="text/css">
</style>
<style type="text/css">
.shadow {
box-shadow: 0 20px 30px 0 rgba(0, 0, 0, 0.1);
}
.label {
font-weight: 700;
}
.warning {
font-weight: 700;
font-size: 16px;
}
a {
color: #25B9D7;
text-decoration: underline;
font-weight: 600;
}
a.light {
font-weight: 400;
}
span.strong {
font-weight: 600;
}
@media only screen and (max-width: 480px) {
body,
.no-bg {
background-color: #fff !important;
}
.left p {
text-align: left;
display: inline-block
}
}
</style>
<style type="text/css">
#outlook a {
padding: 0;
}
body {
margin: 0;
padding: 0;
-webkit-text-size-adjust: 100%;
-ms-text-size-adjust: 100%;
}
table,
td {
border-collapse: collapse;
mso-table-lspace: 0pt;
mso-table-rspace: 0pt;
}
img {
border: 0;
height: auto;
line-height: 100%;
outline: none;
text-decoration: none;
-ms-interpolation-mode: bicubic;
}
p {
display: block;
margin: 13px 0;
}
</style>
<style type="text/css">
@import url(https://fonts.googleapis.com/css?family=Open+Sans:300,400,500,700);
@import url(https://fonts.googleapis.com/css?family=Open+Sans:300,300i,400,400i,600,600i,700,700i,800,800i);
</style>
<style type="text/css">
@media only screen and (min-width:480px) {
.mj-column-per-100 {
width: 100% !important;
max-width: 100%;
}
.mj-column-px-25 {
width: 25px !important;
max-width: 25px;
}
}
</style>
<style type="text/css">
</style>
<style type="text/css">
.shadow {
box-shadow: 0 20px 30px 0 rgba(0, 0, 0, 0.1);
}
.label {
font-weight: 700;
}
.warning {
font-weight: 700;
font-size: 16px;
}
a {
color: #25B9D7;
text-decoration: underline;
font-weight: 600;
}
a.light {
font-weight: 400;
}
span.strong {
font-weight: 600;
}
@media only screen and (max-width: 480px) {
body,
.no-bg {
background-color: #fff !important;
}
.left p {
text-align: left;
display: inline-block
}
}
</style>
</head>
<body style="margin: 0; padding: 0; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; background-color: #eeeeee;" bgcolor="#eeeeee">
<div style="background-color:#eeeeee;" bgcolor="#eeeeee">
<!--[if mso | IE]>
<table role="presentation" border="0" cellpadding="0" cellspacing="0"><tr><td height="40" style="vertical-align:top;height:40px;">
<![endif]-->
<div style="height:40px;" height="40"> &nbsp; </div>
<!--[if mso | IE]>
</td></tr></table>
<table
align="center" border="0" cellpadding="0" cellspacing="0" class="shadow-outlook wrapper-container-outlook" style="width:604px;" width="604"
>
<tr>
<td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;">
<![endif]-->
<div class="shadow wrapper-container" style="box-shadow: 0 20px 30px 0 rgba(0, 0, 0, 0.1); background: #ffffff; background-color: #ffffff; margin: 0px auto; border-radius: 4px; max-width: 604px;" bgcolor="#ffffff">
<table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; background: #ffffff; background-color: #ffffff; width: 100%; border-radius: 4px;" bgcolor="#ffffff" width="100%"><tbody><tr>
<td style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; direction: ltr; font-size: 0px; padding: 0 0 30px; text-align: center;" align="center">
<!--[if mso | IE]>
<table role="presentation" border="0" cellpadding="0" cellspacing="0">
<![endif]-->
<!--[if mso | IE]>
<table role="presentation" border="0" cellpadding="0" cellspacing="0">
<![endif]-->
<!-- LOGO BEGINING -->
<!--[if mso | IE]>
<tr>
<td
class="" width="604px"
>
<table
align="center" border="0" cellpadding="0" cellspacing="0" class="" style="width:604px;" width="604"
>
<tr>
<td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;">
<![endif]-->
<div style="margin:0px auto;max-width:604px;">
<table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; width: 100%;" width="100%"><tbody><tr>
<td style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; direction: ltr; font-size: 0px; padding: 45px 25px; text-align: center;" align="center">
<!--[if mso | IE]>
<table role="presentation" border="0" cellpadding="0" cellspacing="0">
<tr>
<td
class="" style="vertical-align:top;width:554px;"
>
<![endif]-->
<div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;" align="left" width="100%">
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; vertical-align: top;" width="100%"><tr>
<td align="left" style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; font-size: 0px; padding: 10px 25px; word-break: break-word;">
<table border="0" cellpadding="0" cellspacing="0px" role="presentation" style="mso-table-lspace: 0pt; mso-table-rspace: 0pt; border-collapse: collapse; border-spacing: 0px;"><tbody><tr>
<td style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; width: 150px;" width="150">
<a href="{shop_url}" target="_blank" style="color: #25B9D7; text-decoration: underline; font-weight: 600;">
<img height="auto" src="{shop_logo}" style="line-height: 100%; -ms-interpolation-mode: bicubic; border: 0; display: block; outline: none; text-decoration: none; height: auto; width: 100%; font-size: 13px;" width="100%" border="0"></a>
</td>
</tr></tbody></table>
</td>
</tr></table>
</div>
<!--[if mso | IE]>
</td>
</tr>
</table>
<![endif]-->
</td>
</tr></tbody></table>
</div>
<!--[if mso | IE]>
</td>
</tr>
</table>
</td>
</tr>
<![endif]-->
<!-- LOGO ENDING -->
<!--[if mso | IE]>
</table>
<![endif]-->
<!--[if mso | IE]>
<table role="presentation" border="0" cellpadding="0" cellspacing="0">
<tr>
<td
class="" width="604px"
>
<table
align="center" border="0" cellpadding="0" cellspacing="0" class="" style="width:604px;" width="604"
>
<tr>
<td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;">
<![endif]-->
<div style="margin:0px auto;max-width:604px;">
<table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; width: 100%;" width="100%"><tbody><tr>
<td style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; direction: ltr; font-size: 0px; padding: 0 25px; text-align: center;" align="center">
<!--[if mso | IE]>
<table role="presentation" border="0" cellpadding="0" cellspacing="0">
<tr>
<td
class="" style="vertical-align:top;width:554px;"
>
<![endif]-->
<div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;" align="left" width="100%">
<table border="0" cellpadding="0" cellspacing="0" role="presentation" width="100%" style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt;"><tbody><tr>
<td style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; vertical-align: top; padding: 0;">
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt;" width="100%">
<!-- TITLE BEGINING --><tr>
<td align="left" style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; font-size: 0px; padding: 10px 25px; padding-top: 0; padding-bottom: 20px; word-break: break-word;">
<div style="font-family:Open sans, arial, sans-serif;font-size:20px;font-weight:600;line-height:25px;text-align:left;color:#363A41;" align="left">Witaj {firstname} {lastname},</div>
</td>
</tr>
<!-- TITLE ENDING -->
</table>
</td>
</tr></tbody></table>
</div>
<!--[if mso | IE]>
</td>
</tr>
</table>
<![endif]-->
</td>
</tr></tbody></table>
</div>
<!--[if mso | IE]>
</td>
</tr>
</table>
</td>
</tr>
<![endif]-->
<!-- BORDER BEGINING -->
<!--[if mso | IE]>
<tr>
<td
class="" width="604px"
>
<table
align="center" border="0" cellpadding="0" cellspacing="0" class="" style="width:604px;" width="604"
>
<tr>
<td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;">
<![endif]-->
<div style="margin:0px auto;max-width:604px;">
<table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; width: 100%;" width="100%"><tbody><tr>
<td style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; direction: ltr; font-size: 0px; padding: 0 50px 40px; text-align: left;" align="left">
<!--[if mso | IE]>
<table role="presentation" border="0" cellpadding="0" cellspacing="0">
<tr>
<td
class="" style="vertical-align:top;width:25px;"
>
<![endif]-->
<div class="mj-column-px-25 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;" align="left" width="100%">
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; vertical-align: top;" width="100%"><tr>
<td class="left" style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; font-size: 0px; padding: 10px 25px; padding-top: 0; padding-right: 0; padding-left: 0; word-break: break-word;">
<p style="display: block; border-top: solid 3px #505050; font-size: 1px; margin: 0px auto; width: 25px;" width="25">
</p>
<!--[if mso | IE]>
<table
align="center" border="0" cellpadding="0" cellspacing="0" style="border-top:solid 3px #505050;font-size:1px;margin:0px auto;width:25px;" role="presentation" width="25px"
>
<tr>
<td style="height:0;line-height:0;">
&nbsp;
</td>
</tr>
</table>
<![endif]-->
</td>
</tr></table>
</div>
<!--[if mso | IE]>
</td>
</tr>
</table>
<![endif]-->
</td>
</tr></tbody></table>
</div>
<!--[if mso | IE]>
</td>
</tr>
</table>
</td>
</tr>
<![endif]-->
<!-- BORDER ENDING -->
<!-- SUBTITLE BEGINING -->
<!--[if mso | IE]>
<tr>
<td
class="" width="604px"
>
<table
align="center" border="0" cellpadding="0" cellspacing="0" class="" style="width:604px;" width="604"
>
<tr>
<td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;">
<![endif]-->
<div style="margin:0px auto;max-width:604px;">
<table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; width: 100%;" width="100%"><tbody><tr>
<td style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; direction: ltr; font-size: 0px; padding: 0 25px; text-align: center;" align="center">
<!--[if mso | IE]>
<table role="presentation" border="0" cellpadding="0" cellspacing="0">
<tr>
<td
class="" style="vertical-align:top;width:554px;"
>
<![endif]-->
<div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;" align="left" width="100%">
<table border="0" cellpadding="0" cellspacing="0" role="presentation" width="100%" style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt;"><tbody><tr>
<td style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; vertical-align: top; padding: 0;">
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt;" width="100%"><tr>
<td align="left" style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; font-size: 0px; padding: 10px 25px; padding-top: 0px; padding-bottom: 0px; word-break: break-word;">
<div style="font-family:Open sans, arial, sans-serif;font-size:16px;font-weight:600;line-height:25px;text-align:left;color:#363A41;" align="left">Tw&oacute;j koszyk na {shop_name}</div>
</td>
</tr></table>
</td>
</tr></tbody></table>
</div>
<!--[if mso | IE]>
</td>
</tr>
</table>
<![endif]-->
</td>
</tr></tbody></table>
</div>
<!--[if mso | IE]>
</td>
</tr>
</table>
</td>
</tr>
<![endif]-->
<!-- SUBTITLE ENDING -->
<!-- BOX BEGINING -->
<!--[if mso | IE]>
<tr>
<td
class="" width="604px"
>
<table
align="center" border="0" cellpadding="0" cellspacing="0" class="" style="width:604px;" width="604"
>
<tr>
<td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;">
<![endif]-->
<div style="margin:0px auto;max-width:604px;">
<table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; width: 100%;" width="100%"><tbody><tr>
<td style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; direction: ltr; font-size: 0px; padding: 15px 50px 40px; text-align: center;" align="center">
<!--[if mso | IE]>
<table role="presentation" border="0" cellpadding="0" cellspacing="0">
<tr>
<td
class="" style="vertical-align:top;width:504px;"
>
<![endif]-->
<div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;" align="left" width="100%">
<table border="0" cellpadding="0" cellspacing="0" role="presentation" width="100%" style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt;"><tbody><tr>
<td style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; background-color: #fefefe; border: 1px solid #DFDFDF; vertical-align: top; padding: 20px 0;" bgcolor="#fefefe">
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt;" width="100%">
<tr>
<td align="left" style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; font-size: 0px; padding: 10px 25px; word-break: break-word;">
<div style="font-family:Open sans, arial, sans-serif;font-size:14px;line-height:25px;text-align:left;color:#363A41;" align="left">Dziękuję za Twoją wizytę. Wygląda jednak na to, że nie dokończyłeś zakupu.</div>
</td>
</tr>
<tr>
<td align="left" style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; font-size: 0px; padding: 10px 25px; padding-top: 0px; word-break: break-word;">
<div style="font-family:Open sans, arial, sans-serif;font-size:14px;line-height:25px;text-align:left;color:#363A41;" align="left">Tw&oacute;j koszyk został zapisany, możesz wr&oacute;cić do zam&oacute;wienia w naszym sklepie: <a href="{shop_url}" target="_blank" style="color: #25B9D7; text-decoration: underline; font-weight: 600;">{shop_url}</a>
</div>
</td>
</tr>
<tr>
<td align="left" style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; font-size: 0px; padding: 10px 25px; padding-top: 0px; word-break: break-word;">
<div style="font-family:Open sans, arial, sans-serif;font-size:14px;line-height:25px;text-align:left;color:#363A41;" align="left">Z przyjemnością oferujemy Ci zniżkę w wysokości <span class="label" style="font-weight: 700;">{amount}%</span> na kolejne zam&oacute;wienie. Ta oferta jest ważna przez <span class="label" style="font-weight: 700;">{days}</span> dni, więc nie czekaj dłużej!</div>
</td>
</tr>
</table>
</td>
</tr></tbody></table>
</div>
<!--[if mso | IE]>
</td>
</tr>
</table>
<![endif]-->
</td>
</tr></tbody></table>
</div>
<!--[if mso | IE]>
</td>
</tr>
</table>
</td>
</tr>
<![endif]-->
<!-- BOX ENDING -->
<!-- SUBTITLE BEGINING -->
<!--[if mso | IE]>
<tr>
<td
class="" width="604px"
>
<table
align="center" border="0" cellpadding="0" cellspacing="0" class="" style="width:604px;" width="604"
>
<tr>
<td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;">
<![endif]-->
<div style="margin:0px auto;max-width:604px;">
<table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; width: 100%;" width="100%"><tbody><tr>
<td style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; direction: ltr; font-size: 0px; padding: 0 25px; text-align: center;" align="center">
<!--[if mso | IE]>
<table role="presentation" border="0" cellpadding="0" cellspacing="0">
<tr>
<td
class="" style="vertical-align:top;width:554px;"
>
<![endif]-->
<div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;" align="left" width="100%">
<table border="0" cellpadding="0" cellspacing="0" role="presentation" width="100%" style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt;"><tbody><tr>
<td style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; vertical-align: top; padding: 0;">
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt;" width="100%"><tr>
<td align="left" style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; font-size: 0px; padding: 10px 25px; padding-top: 0px; padding-bottom: 0px; word-break: break-word;">
<div style="font-family:Open sans, arial, sans-serif;font-size:16px;font-weight:600;line-height:25px;text-align:left;color:#363A41;" align="left">Tw&oacute;j kod kuponu w {shop_name}</div>
</td>
</tr></table>
</td>
</tr></tbody></table>
</div>
<!--[if mso | IE]>
</td>
</tr>
</table>
<![endif]-->
</td>
</tr></tbody></table>
</div>
<!--[if mso | IE]>
</td>
</tr>
</table>
</td>
</tr>
<![endif]-->
<!-- SUBTITLE ENDING -->
<!-- MESSAGE BOX BEGINING -->
<!--[if mso | IE]>
<tr>
<td
class="" width="604px"
>
<table
align="center" border="0" cellpadding="0" cellspacing="0" class="" style="width:604px;" width="604"
>
<tr>
<td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;">
<![endif]-->
<div style="margin:0px auto;max-width:604px;">
<table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; width: 100%;" width="100%"><tbody><tr>
<td style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; direction: ltr; font-size: 0px; padding: 15px 50px 40px; text-align: center;" align="center">
<!--[if mso | IE]>
<table role="presentation" border="0" cellpadding="0" cellspacing="0">
<tr>
<td
class="" style="vertical-align:top;width:504px;"
>
<![endif]-->
<div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;" align="left" width="100%">
<table border="0" cellpadding="0" cellspacing="0" role="presentation" width="100%" style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt;"><tbody><tr>
<td style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; background-color: #fefefe; border: 1px solid #DFDFDF; vertical-align: top; padding-top: 10px; padding-bottom: 10px;" bgcolor="#fefefe">
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt;" width="100%">
<tr>
<td align="left" style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; font-size: 0px; padding: 10px 25px; word-break: break-word;">
<div style="font-family:Open sans, arial, sans-serif;font-size:14px;line-height:25px;text-align:left;color:#363A41;" align="left">
<span style="font-weight:700">Oto Tw&oacute;j KOD VOUCHER:</span> {voucher_num}</div>
</td>
</tr>
<tr>
<td align="left" style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; font-size: 0px; padding: 10px 25px; padding-top: 0px; word-break: break-word;">
<div style="font-family:Open sans, arial, sans-serif;font-size:14px;line-height:25px;text-align:left;color:#363A41;" align="left">Wprowadź ten kod w koszyku, aby uzyskać zniżkę.</div>
</td>
</tr>
</table>
</td>
</tr></tbody></table>
</div>
<!--[if mso | IE]>
</td>
</tr>
</table>
<![endif]-->
</td>
</tr></tbody></table>
</div>
<!--[if mso | IE]>
</td>
</tr>
</table>
</td>
</tr>
<![endif]-->
<!-- MESSAGE BOX ENDING -->
<!--[if mso | IE]>
</table>
<![endif]-->
<!--[if mso | IE]>
</table>
<![endif]-->
</td>
</tr></tbody></table>
</div>
<!--[if mso | IE]>
</td>
</tr>
</table>
<![endif]-->
<!--[if mso | IE]>
<table role="presentation" border="0" cellpadding="0" cellspacing="0">
<![endif]-->
<!-- SHOP NAME BEGINING -->
<!--[if mso | IE]>
<tr>
<td
class="" width="604px"
>
<table
align="center" border="0" cellpadding="0" cellspacing="0" class="" style="width:604px;" width="604"
>
<tr>
<td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;">
<![endif]-->
<div style="margin:0px auto;max-width:604px;">
<table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; width: 100%;" width="100%"><tbody><tr>
<td style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; direction: ltr; font-size: 0px; padding: 20px 0; text-align: center;" align="center">
<!--[if mso | IE]>
<table role="presentation" border="0" cellpadding="0" cellspacing="0">
<tr>
<td
class="" style="vertical-align:top;width:604px;"
>
<![endif]-->
<div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;" align="left" width="100%">
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; vertical-align: top;" width="100%">
<tr>
<td align="center" style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; font-size: 0px; padding: 10px 25px; word-break: break-word;">
<div style="font-family:Open sans, arial, sans-serif;font-size:14px;line-height:25px;text-align:center;color:#363A41;" align="center"><a href="{shop_url}" style="text-decoration: underline; color: #656565; font-size: 16px; font-weight: 600;">{shop_name}</a></div>
</td>
</tr>
<tr>
<td align="center" style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; font-size: 0px; padding: 10px 25px; padding-top: 0; word-break: break-word;">
<div style="font-family:Open sans, arial, sans-serif;font-size:12px;line-height:25px;text-align:center;color:#656565;" align="center">Powered by <a href="https://www.prestashop.com/?utm_source=marchandprestashop&amp;utm_medium=e-mail&amp;utm_campaign=footer_1-7" style="text-decoration: underline; color: #656565; font-weight: 400;">PrestaShop</a>
</div>
</td>
</tr>
</table>
</div>
<!--[if mso | IE]>
</td>
</tr>
</table>
<![endif]-->
</td>
</tr></tbody></table>
</div>
<!--[if mso | IE]>
</td>
</tr>
</table>
</td>
</tr>
<![endif]-->
<!-- SHOP NAME ENDING -->
<!--[if mso | IE]>
</table>
<![endif]-->
</div>
</body>
</html>

View File

@@ -0,0 +1,21 @@
{shop_url}
Witaj {firstname} {lastname},
Twój koszyk na {shop_name}
Dziękuję za Twoją wizytę. Wygląda jednak na to, że nie dokończyłeś zakupu.
Twój koszyk został zapisany, możesz wrócić do zamówienia w naszym sklepie: {shop_url}
Z przyjemnością oferujemy Ci zniżkę w wysokości {amount}% na kolejne zamówienie. Ta oferta jest ważna przez {days} dni, więc nie czekaj dłużej!
Twój kod kuponu w {shop_name}
Oto Twój KOD VOUCHER: {voucher_num}
Wprowadź ten kod w koszyku, aby uzyskać zniżkę.
[{shop_name}]({shop_url})
Powered by [PrestaShop](https://www.prestashop.com/?utm_source=marchandprestashop&utm_medium=e-mail&utm_campaign=footer_1-7)

View File

@@ -0,0 +1,556 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office">
<head>
<title> Kontynuacja 2 </title>
<!--[if !mso]><!-- --><meta http-equiv="X-UA-Compatible" content="IE=edge">
<!--<![endif]--><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<style type="text/css">
#outlook a {
padding: 0;
}
body {
margin: 0;
padding: 0;
-webkit-text-size-adjust: 100%;
-ms-text-size-adjust: 100%;
}
table,
td {
border-collapse: collapse;
mso-table-lspace: 0pt;
mso-table-rspace: 0pt;
}
img {
border: 0;
height: auto;
line-height: 100%;
outline: none;
text-decoration: none;
-ms-interpolation-mode: bicubic;
}
p {
display: block;
margin: 13px 0;
}
</style>
<!--[if mso]>
<xml>
<o:OfficeDocumentSettings>
<o:AllowPNG/>
<o:PixelsPerInch>96</o:PixelsPerInch>
</o:OfficeDocumentSettings>
</xml>
<![endif]--><!--[if lte mso 11]>
<style type="text/css">
.mj-outlook-group-fix { width:100% !important; }
</style>
<![endif]--><style type="text/css">
</style>
<style type="text/css">
.shadow {
box-shadow: 0 20px 30px 0 rgba(0, 0, 0, 0.1);
}
.label {
font-weight: 700;
}
.warning {
font-weight: 700;
font-size: 16px;
}
a {
color: #25B9D7;
text-decoration: underline;
font-weight: 600;
}
a.light {
font-weight: 400;
}
span.strong {
font-weight: 600;
}
@media only screen and (max-width: 480px) {
body,
.no-bg {
background-color: #fff !important;
}
.left p {
text-align: left;
display: inline-block
}
}
</style>
<style type="text/css">
#outlook a {
padding: 0;
}
body {
margin: 0;
padding: 0;
-webkit-text-size-adjust: 100%;
-ms-text-size-adjust: 100%;
}
table,
td {
border-collapse: collapse;
mso-table-lspace: 0pt;
mso-table-rspace: 0pt;
}
img {
border: 0;
height: auto;
line-height: 100%;
outline: none;
text-decoration: none;
-ms-interpolation-mode: bicubic;
}
p {
display: block;
margin: 13px 0;
}
</style>
<style type="text/css">
@import url(https://fonts.googleapis.com/css?family=Open+Sans:300,400,500,700);
@import url(https://fonts.googleapis.com/css?family=Open+Sans:300,300i,400,400i,600,600i,700,700i,800,800i);
</style>
<style type="text/css">
@media only screen and (min-width:480px) {
.mj-column-per-100 {
width: 100% !important;
max-width: 100%;
}
.mj-column-px-25 {
width: 25px !important;
max-width: 25px;
}
}
</style>
<style type="text/css">
</style>
<style type="text/css">
.shadow {
box-shadow: 0 20px 30px 0 rgba(0, 0, 0, 0.1);
}
.label {
font-weight: 700;
}
.warning {
font-weight: 700;
font-size: 16px;
}
a {
color: #25B9D7;
text-decoration: underline;
font-weight: 600;
}
a.light {
font-weight: 400;
}
span.strong {
font-weight: 600;
}
@media only screen and (max-width: 480px) {
body,
.no-bg {
background-color: #fff !important;
}
.left p {
text-align: left;
display: inline-block
}
}
</style>
</head>
<body style="margin: 0; padding: 0; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; background-color: #eeeeee;" bgcolor="#eeeeee">
<div style="background-color:#eeeeee;" bgcolor="#eeeeee">
<!--[if mso | IE]>
<table role="presentation" border="0" cellpadding="0" cellspacing="0"><tr><td height="40" style="vertical-align:top;height:40px;">
<![endif]-->
<div style="height:40px;" height="40"> &nbsp; </div>
<!--[if mso | IE]>
</td></tr></table>
<table
align="center" border="0" cellpadding="0" cellspacing="0" class="shadow-outlook wrapper-container-outlook" style="width:604px;" width="604"
>
<tr>
<td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;">
<![endif]-->
<div class="shadow wrapper-container" style="box-shadow: 0 20px 30px 0 rgba(0, 0, 0, 0.1); background: #ffffff; background-color: #ffffff; margin: 0px auto; border-radius: 4px; max-width: 604px;" bgcolor="#ffffff">
<table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; background: #ffffff; background-color: #ffffff; width: 100%; border-radius: 4px;" bgcolor="#ffffff" width="100%"><tbody><tr>
<td style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; direction: ltr; font-size: 0px; padding: 0 0 30px; text-align: center;" align="center">
<!--[if mso | IE]>
<table role="presentation" border="0" cellpadding="0" cellspacing="0">
<![endif]-->
<!--[if mso | IE]>
<table role="presentation" border="0" cellpadding="0" cellspacing="0">
<![endif]-->
<!-- LOGO BEGINING -->
<!--[if mso | IE]>
<tr>
<td
class="" width="604px"
>
<table
align="center" border="0" cellpadding="0" cellspacing="0" class="" style="width:604px;" width="604"
>
<tr>
<td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;">
<![endif]-->
<div style="margin:0px auto;max-width:604px;">
<table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; width: 100%;" width="100%"><tbody><tr>
<td style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; direction: ltr; font-size: 0px; padding: 45px 25px; text-align: center;" align="center">
<!--[if mso | IE]>
<table role="presentation" border="0" cellpadding="0" cellspacing="0">
<tr>
<td
class="" style="vertical-align:top;width:554px;"
>
<![endif]-->
<div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;" align="left" width="100%">
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; vertical-align: top;" width="100%"><tr>
<td align="left" style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; font-size: 0px; padding: 10px 25px; word-break: break-word;">
<table border="0" cellpadding="0" cellspacing="0px" role="presentation" style="mso-table-lspace: 0pt; mso-table-rspace: 0pt; border-collapse: collapse; border-spacing: 0px;"><tbody><tr>
<td style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; width: 150px;" width="150">
<a href="{shop_url}" target="_blank" style="color: #25B9D7; text-decoration: underline; font-weight: 600;">
<img height="auto" src="{shop_logo}" style="line-height: 100%; -ms-interpolation-mode: bicubic; border: 0; display: block; outline: none; text-decoration: none; height: auto; width: 100%; font-size: 13px;" width="100%" border="0"></a>
</td>
</tr></tbody></table>
</td>
</tr></table>
</div>
<!--[if mso | IE]>
</td>
</tr>
</table>
<![endif]-->
</td>
</tr></tbody></table>
</div>
<!--[if mso | IE]>
</td>
</tr>
</table>
</td>
</tr>
<![endif]-->
<!-- LOGO ENDING -->
<!--[if mso | IE]>
</table>
<![endif]-->
<!--[if mso | IE]>
<table role="presentation" border="0" cellpadding="0" cellspacing="0">
<tr>
<td
class="" width="604px"
>
<table
align="center" border="0" cellpadding="0" cellspacing="0" class="" style="width:604px;" width="604"
>
<tr>
<td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;">
<![endif]-->
<div style="margin:0px auto;max-width:604px;">
<table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; width: 100%;" width="100%"><tbody><tr>
<td style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; direction: ltr; font-size: 0px; padding: 0 25px; text-align: center;" align="center">
<!--[if mso | IE]>
<table role="presentation" border="0" cellpadding="0" cellspacing="0">
<tr>
<td
class="" style="vertical-align:top;width:554px;"
>
<![endif]-->
<div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;" align="left" width="100%">
<table border="0" cellpadding="0" cellspacing="0" role="presentation" width="100%" style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt;"><tbody><tr>
<td style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; vertical-align: top; padding: 0;">
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt;" width="100%">
<!-- TITLE BEGINING --><tr>
<td align="left" style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; font-size: 0px; padding: 10px 25px; padding-top: 0; padding-bottom: 20px; word-break: break-word;">
<div style="font-family:Open sans, arial, sans-serif;font-size:20px;font-weight:600;line-height:25px;text-align:left;color:#363A41;" align="left">Witaj {firstname} {lastname},</div>
</td>
</tr>
<!-- TITLE ENDING --><!-- H2 TITLE BEGINING --><tr>
<td align="left" style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; font-size: 0px; padding: 10px 25px; padding-top: 0px; padding-bottom: 25px; word-break: break-word;">
<div style="font-family:Open sans, arial, sans-serif;font-size:16px;line-height:25px;text-align:left;color:#363A41;" align="left">Dziękujemy za zam&oacute;wienie.</div>
</td>
</tr>
<!-- H2 TITLE ENDING -->
</table>
</td>
</tr></tbody></table>
</div>
<!--[if mso | IE]>
</td>
</tr>
</table>
<![endif]-->
</td>
</tr></tbody></table>
</div>
<!--[if mso | IE]>
</td>
</tr>
</table>
</td>
</tr>
<![endif]-->
<!-- BORDER BEGINING -->
<!--[if mso | IE]>
<tr>
<td
class="" width="604px"
>
<table
align="center" border="0" cellpadding="0" cellspacing="0" class="" style="width:604px;" width="604"
>
<tr>
<td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;">
<![endif]-->
<div style="margin:0px auto;max-width:604px;">
<table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; width: 100%;" width="100%"><tbody><tr>
<td style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; direction: ltr; font-size: 0px; padding: 0 50px 40px; text-align: left;" align="left">
<!--[if mso | IE]>
<table role="presentation" border="0" cellpadding="0" cellspacing="0">
<tr>
<td
class="" style="vertical-align:top;width:25px;"
>
<![endif]-->
<div class="mj-column-px-25 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;" align="left" width="100%">
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; vertical-align: top;" width="100%"><tr>
<td class="left" style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; font-size: 0px; padding: 10px 25px; padding-top: 0; padding-right: 0; padding-left: 0; word-break: break-word;">
<p style="display: block; border-top: solid 3px #505050; font-size: 1px; margin: 0px auto; width: 25px;" width="25">
</p>
<!--[if mso | IE]>
<table
align="center" border="0" cellpadding="0" cellspacing="0" style="border-top:solid 3px #505050;font-size:1px;margin:0px auto;width:25px;" role="presentation" width="25px"
>
<tr>
<td style="height:0;line-height:0;">
&nbsp;
</td>
</tr>
</table>
<![endif]-->
</td>
</tr></table>
</div>
<!--[if mso | IE]>
</td>
</tr>
</table>
<![endif]-->
</td>
</tr></tbody></table>
</div>
<!--[if mso | IE]>
</td>
</tr>
</table>
</td>
</tr>
<![endif]-->
<!-- BORDER ENDING -->
<!-- BOX BEGINING -->
<!--[if mso | IE]>
<tr>
<td
class="" width="604px"
>
<table
align="center" border="0" cellpadding="0" cellspacing="0" class="" style="width:604px;" width="604"
>
<tr>
<td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;">
<![endif]-->
<div style="margin:0px auto;max-width:604px;">
<table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; width: 100%;" width="100%"><tbody><tr>
<td style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; direction: ltr; font-size: 0px; padding: 15px 50px 40px; text-align: center;" align="center">
<!--[if mso | IE]>
<table role="presentation" border="0" cellpadding="0" cellspacing="0">
<tr>
<td
class="" style="vertical-align:top;width:504px;"
>
<![endif]-->
<div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;" align="left" width="100%">
<table border="0" cellpadding="0" cellspacing="0" role="presentation" width="100%" style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt;"><tbody><tr>
<td style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; background-color: #fefefe; border: 1px solid #DFDFDF; vertical-align: top; padding: 20px 0;" bgcolor="#fefefe">
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt;" width="100%">
<tr>
<td align="left" style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; font-size: 0px; padding: 10px 25px; word-break: break-word;">
<div style="font-family:Open sans, arial, sans-serif;font-size:14px;line-height:25px;text-align:left;color:#363A41;" align="left">Z przyjemnością oferujemy Ci zniżkę w wysokości <span class="label" style="font-weight: 700;">{amount}%</span> na kolejne zam&oacute;wienie. Ta oferta jest ważna przez <span class="label" style="font-weight: 700;">{days}</span> dni, więc nie czekaj dłużej!</div>
</td>
</tr>
<tr>
<td align="left" style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; font-size: 0px; padding: 10px 25px; word-break: break-word;">
<div style="font-family:Open sans, arial, sans-serif;font-size:14px;line-height:25px;text-align:left;color:#363A41;" align="left">
<span style="font-weight:700">Oto Tw&oacute;j KOD VOUCHER:</span> {voucher_num}</div>
</td>
</tr>
<tr>
<td align="left" style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; font-size: 0px; padding: 10px 25px; padding-top: 0px; word-break: break-word;">
<div style="font-family:Open sans, arial, sans-serif;font-size:14px;line-height:25px;text-align:left;color:#363A41;" align="left">Wprowadź ten kod w koszyku, aby uzyskać zniżkę.</div>
</td>
</tr>
</table>
</td>
</tr></tbody></table>
</div>
<!--[if mso | IE]>
</td>
</tr>
</table>
<![endif]-->
</td>
</tr></tbody></table>
</div>
<!--[if mso | IE]>
</td>
</tr>
</table>
</td>
</tr>
<![endif]-->
<!-- BOX ENDING -->
<!--[if mso | IE]>
</table>
<![endif]-->
<!--[if mso | IE]>
</table>
<![endif]-->
</td>
</tr></tbody></table>
</div>
<!--[if mso | IE]>
</td>
</tr>
</table>
<![endif]-->
<!--[if mso | IE]>
<table role="presentation" border="0" cellpadding="0" cellspacing="0">
<![endif]-->
<!-- SHOP NAME BEGINING -->
<!--[if mso | IE]>
<tr>
<td
class="" width="604px"
>
<table
align="center" border="0" cellpadding="0" cellspacing="0" class="" style="width:604px;" width="604"
>
<tr>
<td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;">
<![endif]-->
<div style="margin:0px auto;max-width:604px;">
<table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; width: 100%;" width="100%"><tbody><tr>
<td style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; direction: ltr; font-size: 0px; padding: 20px 0; text-align: center;" align="center">
<!--[if mso | IE]>
<table role="presentation" border="0" cellpadding="0" cellspacing="0">
<tr>
<td
class="" style="vertical-align:top;width:604px;"
>
<![endif]-->
<div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;" align="left" width="100%">
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; vertical-align: top;" width="100%">
<tr>
<td align="center" style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; font-size: 0px; padding: 10px 25px; word-break: break-word;">
<div style="font-family:Open sans, arial, sans-serif;font-size:14px;line-height:25px;text-align:center;color:#363A41;" align="center"><a href="{shop_url}" style="text-decoration: underline; color: #656565; font-size: 16px; font-weight: 600;">{shop_name}</a></div>
</td>
</tr>
<tr>
<td align="center" style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; font-size: 0px; padding: 10px 25px; padding-top: 0; word-break: break-word;">
<div style="font-family:Open sans, arial, sans-serif;font-size:12px;line-height:25px;text-align:center;color:#656565;" align="center">Powered by <a href="https://www.prestashop.com/?utm_source=marchandprestashop&amp;utm_medium=e-mail&amp;utm_campaign=footer_1-7" style="text-decoration: underline; color: #656565; font-weight: 400;">PrestaShop</a>
</div>
</td>
</tr>
</table>
</div>
<!--[if mso | IE]>
</td>
</tr>
</table>
<![endif]-->
</td>
</tr></tbody></table>
</div>
<!--[if mso | IE]>
</td>
</tr>
</table>
</td>
</tr>
<![endif]-->
<!-- SHOP NAME ENDING -->
<!--[if mso | IE]>
</table>
<![endif]-->
</div>
</body>
</html>

View File

@@ -0,0 +1,15 @@
{shop_url}
Witaj {firstname} {lastname},
Dziękujemy za zamówienie.
Z przyjemnością oferujemy Ci zniżkę w wysokości {amount}% na kolejne zamówienie. Ta oferta jest ważna przez {days} dni, więc nie czekaj dłużej!
Oto Twój KOD VOUCHER: {voucher_num}
Wprowadź ten kod w koszyku, aby uzyskać zniżkę.
[{shop_name}]({shop_url})
Powered by [PrestaShop](https://www.prestashop.com/?utm_source=marchandprestashop&utm_medium=e-mail&utm_campaign=footer_1-7)

View File

@@ -0,0 +1,556 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office">
<head>
<title> Kontynuacja 3 </title>
<!--[if !mso]><!-- --><meta http-equiv="X-UA-Compatible" content="IE=edge">
<!--<![endif]--><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<style type="text/css">
#outlook a {
padding: 0;
}
body {
margin: 0;
padding: 0;
-webkit-text-size-adjust: 100%;
-ms-text-size-adjust: 100%;
}
table,
td {
border-collapse: collapse;
mso-table-lspace: 0pt;
mso-table-rspace: 0pt;
}
img {
border: 0;
height: auto;
line-height: 100%;
outline: none;
text-decoration: none;
-ms-interpolation-mode: bicubic;
}
p {
display: block;
margin: 13px 0;
}
</style>
<!--[if mso]>
<xml>
<o:OfficeDocumentSettings>
<o:AllowPNG/>
<o:PixelsPerInch>96</o:PixelsPerInch>
</o:OfficeDocumentSettings>
</xml>
<![endif]--><!--[if lte mso 11]>
<style type="text/css">
.mj-outlook-group-fix { width:100% !important; }
</style>
<![endif]--><style type="text/css">
</style>
<style type="text/css">
.shadow {
box-shadow: 0 20px 30px 0 rgba(0, 0, 0, 0.1);
}
.label {
font-weight: 700;
}
.warning {
font-weight: 700;
font-size: 16px;
}
a {
color: #25B9D7;
text-decoration: underline;
font-weight: 600;
}
a.light {
font-weight: 400;
}
span.strong {
font-weight: 600;
}
@media only screen and (max-width: 480px) {
body,
.no-bg {
background-color: #fff !important;
}
.left p {
text-align: left;
display: inline-block
}
}
</style>
<style type="text/css">
#outlook a {
padding: 0;
}
body {
margin: 0;
padding: 0;
-webkit-text-size-adjust: 100%;
-ms-text-size-adjust: 100%;
}
table,
td {
border-collapse: collapse;
mso-table-lspace: 0pt;
mso-table-rspace: 0pt;
}
img {
border: 0;
height: auto;
line-height: 100%;
outline: none;
text-decoration: none;
-ms-interpolation-mode: bicubic;
}
p {
display: block;
margin: 13px 0;
}
</style>
<style type="text/css">
@import url(https://fonts.googleapis.com/css?family=Open+Sans:300,400,500,700);
@import url(https://fonts.googleapis.com/css?family=Open+Sans:300,300i,400,400i,600,600i,700,700i,800,800i);
</style>
<style type="text/css">
@media only screen and (min-width:480px) {
.mj-column-per-100 {
width: 100% !important;
max-width: 100%;
}
.mj-column-px-25 {
width: 25px !important;
max-width: 25px;
}
}
</style>
<style type="text/css">
</style>
<style type="text/css">
.shadow {
box-shadow: 0 20px 30px 0 rgba(0, 0, 0, 0.1);
}
.label {
font-weight: 700;
}
.warning {
font-weight: 700;
font-size: 16px;
}
a {
color: #25B9D7;
text-decoration: underline;
font-weight: 600;
}
a.light {
font-weight: 400;
}
span.strong {
font-weight: 600;
}
@media only screen and (max-width: 480px) {
body,
.no-bg {
background-color: #fff !important;
}
.left p {
text-align: left;
display: inline-block
}
}
</style>
</head>
<body style="margin: 0; padding: 0; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; background-color: #eeeeee;" bgcolor="#eeeeee">
<div style="background-color:#eeeeee;" bgcolor="#eeeeee">
<!--[if mso | IE]>
<table role="presentation" border="0" cellpadding="0" cellspacing="0"><tr><td height="40" style="vertical-align:top;height:40px;">
<![endif]-->
<div style="height:40px;" height="40"> &nbsp; </div>
<!--[if mso | IE]>
</td></tr></table>
<table
align="center" border="0" cellpadding="0" cellspacing="0" class="shadow-outlook wrapper-container-outlook" style="width:604px;" width="604"
>
<tr>
<td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;">
<![endif]-->
<div class="shadow wrapper-container" style="box-shadow: 0 20px 30px 0 rgba(0, 0, 0, 0.1); background: #ffffff; background-color: #ffffff; margin: 0px auto; border-radius: 4px; max-width: 604px;" bgcolor="#ffffff">
<table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; background: #ffffff; background-color: #ffffff; width: 100%; border-radius: 4px;" bgcolor="#ffffff" width="100%"><tbody><tr>
<td style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; direction: ltr; font-size: 0px; padding: 0 0 30px; text-align: center;" align="center">
<!--[if mso | IE]>
<table role="presentation" border="0" cellpadding="0" cellspacing="0">
<![endif]-->
<!--[if mso | IE]>
<table role="presentation" border="0" cellpadding="0" cellspacing="0">
<![endif]-->
<!-- LOGO BEGINING -->
<!--[if mso | IE]>
<tr>
<td
class="" width="604px"
>
<table
align="center" border="0" cellpadding="0" cellspacing="0" class="" style="width:604px;" width="604"
>
<tr>
<td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;">
<![endif]-->
<div style="margin:0px auto;max-width:604px;">
<table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; width: 100%;" width="100%"><tbody><tr>
<td style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; direction: ltr; font-size: 0px; padding: 45px 25px; text-align: center;" align="center">
<!--[if mso | IE]>
<table role="presentation" border="0" cellpadding="0" cellspacing="0">
<tr>
<td
class="" style="vertical-align:top;width:554px;"
>
<![endif]-->
<div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;" align="left" width="100%">
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; vertical-align: top;" width="100%"><tr>
<td align="left" style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; font-size: 0px; padding: 10px 25px; word-break: break-word;">
<table border="0" cellpadding="0" cellspacing="0px" role="presentation" style="mso-table-lspace: 0pt; mso-table-rspace: 0pt; border-collapse: collapse; border-spacing: 0px;"><tbody><tr>
<td style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; width: 150px;" width="150">
<a href="{shop_url}" target="_blank" style="color: #25B9D7; text-decoration: underline; font-weight: 600;">
<img height="auto" src="{shop_logo}" style="line-height: 100%; -ms-interpolation-mode: bicubic; border: 0; display: block; outline: none; text-decoration: none; height: auto; width: 100%; font-size: 13px;" width="100%" border="0"></a>
</td>
</tr></tbody></table>
</td>
</tr></table>
</div>
<!--[if mso | IE]>
</td>
</tr>
</table>
<![endif]-->
</td>
</tr></tbody></table>
</div>
<!--[if mso | IE]>
</td>
</tr>
</table>
</td>
</tr>
<![endif]-->
<!-- LOGO ENDING -->
<!--[if mso | IE]>
</table>
<![endif]-->
<!--[if mso | IE]>
<table role="presentation" border="0" cellpadding="0" cellspacing="0">
<tr>
<td
class="" width="604px"
>
<table
align="center" border="0" cellpadding="0" cellspacing="0" class="" style="width:604px;" width="604"
>
<tr>
<td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;">
<![endif]-->
<div style="margin:0px auto;max-width:604px;">
<table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; width: 100%;" width="100%"><tbody><tr>
<td style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; direction: ltr; font-size: 0px; padding: 0 25px; text-align: center;" align="center">
<!--[if mso | IE]>
<table role="presentation" border="0" cellpadding="0" cellspacing="0">
<tr>
<td
class="" style="vertical-align:top;width:554px;"
>
<![endif]-->
<div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;" align="left" width="100%">
<table border="0" cellpadding="0" cellspacing="0" role="presentation" width="100%" style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt;"><tbody><tr>
<td style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; vertical-align: top; padding: 0;">
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt;" width="100%">
<!-- TITLE BEGINING --><tr>
<td align="left" style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; font-size: 0px; padding: 10px 25px; padding-top: 0; padding-bottom: 20px; word-break: break-word;">
<div style="font-family:Open sans, arial, sans-serif;font-size:20px;font-weight:600;line-height:25px;text-align:left;color:#363A41;" align="left">Witaj {firstname} {lastname},</div>
</td>
</tr>
<!-- TITLE ENDING --><!-- SUBTITLE BEGINING --><tr>
<td align="left" style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; font-size: 0px; padding: 10px 25px; padding-top: 0px; padding-bottom: 25px; word-break: break-word;">
<div style="font-family:Open sans, arial, sans-serif;font-size:16px;line-height:25px;text-align:left;color:#363A41;" align="left">Dziękujemy za zaufanie.</div>
</td>
</tr>
<!-- SUBTITLE ENDING -->
</table>
</td>
</tr></tbody></table>
</div>
<!--[if mso | IE]>
</td>
</tr>
</table>
<![endif]-->
</td>
</tr></tbody></table>
</div>
<!--[if mso | IE]>
</td>
</tr>
</table>
</td>
</tr>
<![endif]-->
<!-- BORDER BEGINING -->
<!--[if mso | IE]>
<tr>
<td
class="" width="604px"
>
<table
align="center" border="0" cellpadding="0" cellspacing="0" class="" style="width:604px;" width="604"
>
<tr>
<td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;">
<![endif]-->
<div style="margin:0px auto;max-width:604px;">
<table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; width: 100%;" width="100%"><tbody><tr>
<td style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; direction: ltr; font-size: 0px; padding: 0 50px 40px; text-align: left;" align="left">
<!--[if mso | IE]>
<table role="presentation" border="0" cellpadding="0" cellspacing="0">
<tr>
<td
class="" style="vertical-align:top;width:25px;"
>
<![endif]-->
<div class="mj-column-px-25 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;" align="left" width="100%">
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; vertical-align: top;" width="100%"><tr>
<td class="left" style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; font-size: 0px; padding: 10px 25px; padding-top: 0; padding-right: 0; padding-left: 0; word-break: break-word;">
<p style="display: block; border-top: solid 3px #505050; font-size: 1px; margin: 0px auto; width: 25px;" width="25">
</p>
<!--[if mso | IE]>
<table
align="center" border="0" cellpadding="0" cellspacing="0" style="border-top:solid 3px #505050;font-size:1px;margin:0px auto;width:25px;" role="presentation" width="25px"
>
<tr>
<td style="height:0;line-height:0;">
&nbsp;
</td>
</tr>
</table>
<![endif]-->
</td>
</tr></table>
</div>
<!--[if mso | IE]>
</td>
</tr>
</table>
<![endif]-->
</td>
</tr></tbody></table>
</div>
<!--[if mso | IE]>
</td>
</tr>
</table>
</td>
</tr>
<![endif]-->
<!-- BORDER ENDING -->
<!-- BOX BEGINING -->
<!--[if mso | IE]>
<tr>
<td
class="" width="604px"
>
<table
align="center" border="0" cellpadding="0" cellspacing="0" class="" style="width:604px;" width="604"
>
<tr>
<td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;">
<![endif]-->
<div style="margin:0px auto;max-width:604px;">
<table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; width: 100%;" width="100%"><tbody><tr>
<td style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; direction: ltr; font-size: 0px; padding: 15px 50px 40px; text-align: center;" align="center">
<!--[if mso | IE]>
<table role="presentation" border="0" cellpadding="0" cellspacing="0">
<tr>
<td
class="" style="vertical-align:top;width:504px;"
>
<![endif]-->
<div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;" align="left" width="100%">
<table border="0" cellpadding="0" cellspacing="0" role="presentation" width="100%" style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt;"><tbody><tr>
<td style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; background-color: #fefefe; border: 1px solid #DFDFDF; vertical-align: top; padding: 20px 0;" bgcolor="#fefefe">
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt;" width="100%">
<tr>
<td align="left" style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; font-size: 0px; padding: 10px 25px; word-break: break-word;">
<div style="font-family:Open sans, arial, sans-serif;font-size:14px;line-height:25px;text-align:left;color:#363A41;" align="left">Z przyjemnością oferujemy Ci zniżkę w wysokości <span class="label" style="font-weight: 700;">{amount}%</span> na kolejne zam&oacute;wienie. Ta oferta jest ważna przez <span class="label" style="font-weight: 700;">{days}</span> dni, więc nie czekaj dłużej!</div>
</td>
</tr>
<tr>
<td align="left" style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; font-size: 0px; padding: 10px 25px; word-break: break-word;">
<div style="font-family:Open sans, arial, sans-serif;font-size:14px;line-height:25px;text-align:left;color:#363A41;" align="left">
<span style="font-weight:700">Oto Tw&oacute;j KOD VOUCHER:</span> {voucher_num}</div>
</td>
</tr>
<tr>
<td align="left" style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; font-size: 0px; padding: 10px 25px; padding-top: 0px; word-break: break-word;">
<div style="font-family:Open sans, arial, sans-serif;font-size:14px;line-height:25px;text-align:left;color:#363A41;" align="left">Wprowadź ten kod w koszyku, aby uzyskać zniżkę.</div>
</td>
</tr>
</table>
</td>
</tr></tbody></table>
</div>
<!--[if mso | IE]>
</td>
</tr>
</table>
<![endif]-->
</td>
</tr></tbody></table>
</div>
<!--[if mso | IE]>
</td>
</tr>
</table>
</td>
</tr>
<![endif]-->
<!-- BOX ENDING -->
<!--[if mso | IE]>
</table>
<![endif]-->
<!--[if mso | IE]>
</table>
<![endif]-->
</td>
</tr></tbody></table>
</div>
<!--[if mso | IE]>
</td>
</tr>
</table>
<![endif]-->
<!--[if mso | IE]>
<table role="presentation" border="0" cellpadding="0" cellspacing="0">
<![endif]-->
<!-- SHOP NAME BEGINING -->
<!--[if mso | IE]>
<tr>
<td
class="" width="604px"
>
<table
align="center" border="0" cellpadding="0" cellspacing="0" class="" style="width:604px;" width="604"
>
<tr>
<td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;">
<![endif]-->
<div style="margin:0px auto;max-width:604px;">
<table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; width: 100%;" width="100%"><tbody><tr>
<td style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; direction: ltr; font-size: 0px; padding: 20px 0; text-align: center;" align="center">
<!--[if mso | IE]>
<table role="presentation" border="0" cellpadding="0" cellspacing="0">
<tr>
<td
class="" style="vertical-align:top;width:604px;"
>
<![endif]-->
<div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;" align="left" width="100%">
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; vertical-align: top;" width="100%">
<tr>
<td align="center" style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; font-size: 0px; padding: 10px 25px; word-break: break-word;">
<div style="font-family:Open sans, arial, sans-serif;font-size:14px;line-height:25px;text-align:center;color:#363A41;" align="center"><a href="{shop_url}" style="text-decoration: underline; color: #656565; font-size: 16px; font-weight: 600;">{shop_name}</a></div>
</td>
</tr>
<tr>
<td align="center" style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; font-size: 0px; padding: 10px 25px; padding-top: 0; word-break: break-word;">
<div style="font-family:Open sans, arial, sans-serif;font-size:12px;line-height:25px;text-align:center;color:#656565;" align="center">Powered by <a href="https://www.prestashop.com/?utm_source=marchandprestashop&amp;utm_medium=e-mail&amp;utm_campaign=footer_1-7" style="text-decoration: underline; color: #656565; font-weight: 400;">PrestaShop</a>
</div>
</td>
</tr>
</table>
</div>
<!--[if mso | IE]>
</td>
</tr>
</table>
<![endif]-->
</td>
</tr></tbody></table>
</div>
<!--[if mso | IE]>
</td>
</tr>
</table>
</td>
</tr>
<![endif]-->
<!-- SHOP NAME ENDING -->
<!--[if mso | IE]>
</table>
<![endif]-->
</div>
</body>
</html>

View File

@@ -0,0 +1,15 @@
{shop_url}
Witaj {firstname} {lastname},
Dziękujemy za zaufanie.
Z przyjemnością oferujemy Ci zniżkę w wysokości {amount}% na kolejne zamówienie. Ta oferta jest ważna przez {days} dni, więc nie czekaj dłużej!
Oto Twój KOD VOUCHER: {voucher_num}
Wprowadź ten kod w koszyku, aby uzyskać zniżkę.
[{shop_name}]({shop_url})
Powered by [PrestaShop](https://www.prestashop.com/?utm_source=marchandprestashop&utm_medium=e-mail&utm_campaign=footer_1-7)

View File

@@ -0,0 +1,669 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office">
<head>
<title> Kontynuacja 4 </title>
<!--[if !mso]><!-- --><meta http-equiv="X-UA-Compatible" content="IE=edge">
<!--<![endif]--><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<style type="text/css">
#outlook a {
padding: 0;
}
body {
margin: 0;
padding: 0;
-webkit-text-size-adjust: 100%;
-ms-text-size-adjust: 100%;
}
table,
td {
border-collapse: collapse;
mso-table-lspace: 0pt;
mso-table-rspace: 0pt;
}
img {
border: 0;
height: auto;
line-height: 100%;
outline: none;
text-decoration: none;
-ms-interpolation-mode: bicubic;
}
p {
display: block;
margin: 13px 0;
}
</style>
<!--[if mso]>
<xml>
<o:OfficeDocumentSettings>
<o:AllowPNG/>
<o:PixelsPerInch>96</o:PixelsPerInch>
</o:OfficeDocumentSettings>
</xml>
<![endif]--><!--[if lte mso 11]>
<style type="text/css">
.mj-outlook-group-fix { width:100% !important; }
</style>
<![endif]--><style type="text/css">
</style>
<style type="text/css">
.shadow {
box-shadow: 0 20px 30px 0 rgba(0, 0, 0, 0.1);
}
.label {
font-weight: 700;
}
.warning {
font-weight: 700;
font-size: 16px;
}
a {
color: #25B9D7;
text-decoration: underline;
font-weight: 600;
}
a.light {
font-weight: 400;
}
span.strong {
font-weight: 600;
}
@media only screen and (max-width: 480px) {
body,
.no-bg {
background-color: #fff !important;
}
.left p {
text-align: left;
display: inline-block
}
}
</style>
<style type="text/css">
#outlook a {
padding: 0;
}
body {
margin: 0;
padding: 0;
-webkit-text-size-adjust: 100%;
-ms-text-size-adjust: 100%;
}
table,
td {
border-collapse: collapse;
mso-table-lspace: 0pt;
mso-table-rspace: 0pt;
}
img {
border: 0;
height: auto;
line-height: 100%;
outline: none;
text-decoration: none;
-ms-interpolation-mode: bicubic;
}
p {
display: block;
margin: 13px 0;
}
</style>
<style type="text/css">
@import url(https://fonts.googleapis.com/css?family=Open+Sans:300,400,500,700);
@import url(https://fonts.googleapis.com/css?family=Open+Sans:300,300i,400,400i,600,600i,700,700i,800,800i);
</style>
<style type="text/css">
@media only screen and (min-width:480px) {
.mj-column-per-100 {
width: 100% !important;
max-width: 100%;
}
.mj-column-px-25 {
width: 25px !important;
max-width: 25px;
}
}
</style>
<style type="text/css">
</style>
<style type="text/css">
.shadow {
box-shadow: 0 20px 30px 0 rgba(0, 0, 0, 0.1);
}
.label {
font-weight: 700;
}
.warning {
font-weight: 700;
font-size: 16px;
}
a {
color: #25B9D7;
text-decoration: underline;
font-weight: 600;
}
a.light {
font-weight: 400;
}
span.strong {
font-weight: 600;
}
@media only screen and (max-width: 480px) {
body,
.no-bg {
background-color: #fff !important;
}
.left p {
text-align: left;
display: inline-block
}
}
</style>
</head>
<body style="margin: 0; padding: 0; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; background-color: #eeeeee;" bgcolor="#eeeeee">
<div style="background-color:#eeeeee;" bgcolor="#eeeeee">
<!--[if mso | IE]>
<table role="presentation" border="0" cellpadding="0" cellspacing="0"><tr><td height="40" style="vertical-align:top;height:40px;">
<![endif]-->
<div style="height:40px;" height="40"> &nbsp; </div>
<!--[if mso | IE]>
</td></tr></table>
<table
align="center" border="0" cellpadding="0" cellspacing="0" class="shadow-outlook wrapper-container-outlook" style="width:604px;" width="604"
>
<tr>
<td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;">
<![endif]-->
<div class="shadow wrapper-container" style="box-shadow: 0 20px 30px 0 rgba(0, 0, 0, 0.1); background: #ffffff; background-color: #ffffff; margin: 0px auto; border-radius: 4px; max-width: 604px;" bgcolor="#ffffff">
<table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; background: #ffffff; background-color: #ffffff; width: 100%; border-radius: 4px;" bgcolor="#ffffff" width="100%"><tbody><tr>
<td style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; direction: ltr; font-size: 0px; padding: 0 0 30px; text-align: center;" align="center">
<!--[if mso | IE]>
<table role="presentation" border="0" cellpadding="0" cellspacing="0">
<![endif]-->
<!--[if mso | IE]>
<table role="presentation" border="0" cellpadding="0" cellspacing="0">
<![endif]-->
<!-- LOGO BEGINING -->
<!--[if mso | IE]>
<tr>
<td
class="" width="604px"
>
<table
align="center" border="0" cellpadding="0" cellspacing="0" class="" style="width:604px;" width="604"
>
<tr>
<td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;">
<![endif]-->
<div style="margin:0px auto;max-width:604px;">
<table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; width: 100%;" width="100%"><tbody><tr>
<td style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; direction: ltr; font-size: 0px; padding: 45px 25px; text-align: center;" align="center">
<!--[if mso | IE]>
<table role="presentation" border="0" cellpadding="0" cellspacing="0">
<tr>
<td
class="" style="vertical-align:top;width:554px;"
>
<![endif]-->
<div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;" align="left" width="100%">
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; vertical-align: top;" width="100%"><tr>
<td align="left" style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; font-size: 0px; padding: 10px 25px; word-break: break-word;">
<table border="0" cellpadding="0" cellspacing="0px" role="presentation" style="mso-table-lspace: 0pt; mso-table-rspace: 0pt; border-collapse: collapse; border-spacing: 0px;"><tbody><tr>
<td style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; width: 150px;" width="150">
<a href="{shop_url}" target="_blank" style="color: #25B9D7; text-decoration: underline; font-weight: 600;">
<img height="auto" src="{shop_logo}" style="line-height: 100%; -ms-interpolation-mode: bicubic; border: 0; display: block; outline: none; text-decoration: none; height: auto; width: 100%; font-size: 13px;" width="100%" border="0"></a>
</td>
</tr></tbody></table>
</td>
</tr></table>
</div>
<!--[if mso | IE]>
</td>
</tr>
</table>
<![endif]-->
</td>
</tr></tbody></table>
</div>
<!--[if mso | IE]>
</td>
</tr>
</table>
</td>
</tr>
<![endif]-->
<!-- LOGO ENDING -->
<!--[if mso | IE]>
</table>
<![endif]-->
<!--[if mso | IE]>
<table role="presentation" border="0" cellpadding="0" cellspacing="0">
<tr>
<td
class="" width="604px"
>
<table
align="center" border="0" cellpadding="0" cellspacing="0" class="" style="width:604px;" width="604"
>
<tr>
<td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;">
<![endif]-->
<div style="margin:0px auto;max-width:604px;">
<table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; width: 100%;" width="100%"><tbody><tr>
<td style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; direction: ltr; font-size: 0px; padding: 0 25px; text-align: center;" align="center">
<!--[if mso | IE]>
<table role="presentation" border="0" cellpadding="0" cellspacing="0">
<tr>
<td
class="" style="vertical-align:top;width:554px;"
>
<![endif]-->
<div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;" align="left" width="100%">
<table border="0" cellpadding="0" cellspacing="0" role="presentation" width="100%" style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt;"><tbody><tr>
<td style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; vertical-align: top; padding: 0;">
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt;" width="100%">
<!-- TITLE BEGINING --><tr>
<td align="left" style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; font-size: 0px; padding: 10px 25px; padding-top: 0; padding-bottom: 20px; word-break: break-word;">
<div style="font-family:Open sans, arial, sans-serif;font-size:20px;font-weight:600;line-height:25px;text-align:left;color:#363A41;" align="left">Witaj {firstname} {lastname},</div>
</td>
</tr>
<!-- TITLE ENDING -->
</table>
</td>
</tr></tbody></table>
</div>
<!--[if mso | IE]>
</td>
</tr>
</table>
<![endif]-->
</td>
</tr></tbody></table>
</div>
<!--[if mso | IE]>
</td>
</tr>
</table>
</td>
</tr>
<![endif]-->
<!-- BORDER BEGINING -->
<!--[if mso | IE]>
<tr>
<td
class="" width="604px"
>
<table
align="center" border="0" cellpadding="0" cellspacing="0" class="" style="width:604px;" width="604"
>
<tr>
<td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;">
<![endif]-->
<div style="margin:0px auto;max-width:604px;">
<table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; width: 100%;" width="100%"><tbody><tr>
<td style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; direction: ltr; font-size: 0px; padding: 0 50px 40px; text-align: left;" align="left">
<!--[if mso | IE]>
<table role="presentation" border="0" cellpadding="0" cellspacing="0">
<tr>
<td
class="" style="vertical-align:top;width:25px;"
>
<![endif]-->
<div class="mj-column-px-25 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;" align="left" width="100%">
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; vertical-align: top;" width="100%"><tr>
<td class="left" style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; font-size: 0px; padding: 10px 25px; padding-top: 0; padding-right: 0; padding-left: 0; word-break: break-word;">
<p style="display: block; border-top: solid 3px #505050; font-size: 1px; margin: 0px auto; width: 25px;" width="25">
</p>
<!--[if mso | IE]>
<table
align="center" border="0" cellpadding="0" cellspacing="0" style="border-top:solid 3px #505050;font-size:1px;margin:0px auto;width:25px;" role="presentation" width="25px"
>
<tr>
<td style="height:0;line-height:0;">
&nbsp;
</td>
</tr>
</table>
<![endif]-->
</td>
</tr></table>
</div>
<!--[if mso | IE]>
</td>
</tr>
</table>
<![endif]-->
</td>
</tr></tbody></table>
</div>
<!--[if mso | IE]>
</td>
</tr>
</table>
</td>
</tr>
<![endif]-->
<!-- BORDER ENDING -->
<!-- SUBTITLE BEGINING -->
<!--[if mso | IE]>
<tr>
<td
class="" width="604px"
>
<table
align="center" border="0" cellpadding="0" cellspacing="0" class="" style="width:604px;" width="604"
>
<tr>
<td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;">
<![endif]-->
<div style="margin:0px auto;max-width:604px;">
<table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; width: 100%;" width="100%"><tbody><tr>
<td style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; direction: ltr; font-size: 0px; padding: 0 25px; text-align: center;" align="center">
<!--[if mso | IE]>
<table role="presentation" border="0" cellpadding="0" cellspacing="0">
<tr>
<td
class="" style="vertical-align:top;width:554px;"
>
<![endif]-->
<div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;" align="left" width="100%">
<table border="0" cellpadding="0" cellspacing="0" role="presentation" width="100%" style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt;"><tbody><tr>
<td style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; vertical-align: top; padding: 0;">
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt;" width="100%"><tr>
<td align="left" style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; font-size: 0px; padding: 10px 25px; padding-top: 0px; padding-bottom: 0px; word-break: break-word;">
<div style="font-family:Open sans, arial, sans-serif;font-size:16px;font-weight:600;line-height:25px;text-align:left;color:#363A41;" align="left">Tw&oacute;j koszyk na {shop_name}</div>
</td>
</tr></table>
</td>
</tr></tbody></table>
</div>
<!--[if mso | IE]>
</td>
</tr>
</table>
<![endif]-->
</td>
</tr></tbody></table>
</div>
<!--[if mso | IE]>
</td>
</tr>
</table>
</td>
</tr>
<![endif]-->
<!-- SUBTITLE ENDING -->
<!-- BOX BEGINING -->
<!--[if mso | IE]>
<tr>
<td
class="" width="604px"
>
<table
align="center" border="0" cellpadding="0" cellspacing="0" class="" style="width:604px;" width="604"
>
<tr>
<td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;">
<![endif]-->
<div style="margin:0px auto;max-width:604px;">
<table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; width: 100%;" width="100%"><tbody><tr>
<td style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; direction: ltr; font-size: 0px; padding: 15px 50px 40px; text-align: center;" align="center">
<!--[if mso | IE]>
<table role="presentation" border="0" cellpadding="0" cellspacing="0">
<tr>
<td
class="" style="vertical-align:top;width:504px;"
>
<![endif]-->
<div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;" align="left" width="100%">
<table border="0" cellpadding="0" cellspacing="0" role="presentation" width="100%" style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt;"><tbody><tr>
<td style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; background-color: #fefefe; border: 1px solid #DFDFDF; vertical-align: top; padding: 20px 0;" bgcolor="#fefefe">
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt;" width="100%">
<tr>
<td align="left" style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; font-size: 0px; padding: 10px 25px; word-break: break-word;">
<div style="font-family:Open sans, arial, sans-serif;font-size:14px;line-height:25px;text-align:left;color:#363A41;" align="left">Gratulacje, jesteś jednym z naszych najlepszych klient&oacute;w! Wygląda jednak na to, że nie złożyłeś zam&oacute;wienia od {days_threshold} dni.</div>
</td>
</tr>
<tr>
<td align="left" style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; font-size: 0px; padding: 10px 25px; padding-top: 0px; word-break: break-word;">
<div style="font-family:Open sans, arial, sans-serif;font-size:14px;line-height:25px;text-align:left;color:#363A41;" align="left">Tw&oacute;j koszyk został zapisany, możesz wznowić zam&oacute;wienie odwiedzając nasz sklep: <a href="{shop_url}" target="_blank" style="color: #25B9D7; text-decoration: underline; font-weight: 600;">{shop_url}</a>
</div>
</td>
</tr>
<tr>
<td align="left" style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; font-size: 0px; padding: 10px 25px; padding-top: 0px; word-break: break-word;">
<div style="font-family:Open sans, arial, sans-serif;font-size:14px;line-height:25px;text-align:left;color:#363A41;" align="left">Z przyjemnością oferujemy Ci zniżkę w wysokości <span class="label" style="font-weight: 700;">{amount}%</span> na kolejne zam&oacute;wienie. Ta oferta jest ważna przez <span class="label" style="font-weight: 700;">{days}</span> dni, więc nie czekaj dłużej!</div>
</td>
</tr>
</table>
</td>
</tr></tbody></table>
</div>
<!--[if mso | IE]>
</td>
</tr>
</table>
<![endif]-->
</td>
</tr></tbody></table>
</div>
<!--[if mso | IE]>
</td>
</tr>
</table>
</td>
</tr>
<![endif]-->
<!-- BOX ENDING -->
<!-- MESSAGE BOX BEGINING -->
<!--[if mso | IE]>
<tr>
<td
class="" width="604px"
>
<table
align="center" border="0" cellpadding="0" cellspacing="0" class="" style="width:604px;" width="604"
>
<tr>
<td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;">
<![endif]-->
<div style="margin:0px auto;max-width:604px;">
<table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; width: 100%;" width="100%"><tbody><tr>
<td style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; direction: ltr; font-size: 0px; padding: 15px 50px 40px; text-align: center;" align="center">
<!--[if mso | IE]>
<table role="presentation" border="0" cellpadding="0" cellspacing="0">
<tr>
<td
class="" style="vertical-align:top;width:504px;"
>
<![endif]-->
<div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;" align="left" width="100%">
<table border="0" cellpadding="0" cellspacing="0" role="presentation" width="100%" style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt;"><tbody><tr>
<td style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; background-color: #fefefe; border: 1px solid #DFDFDF; vertical-align: top; padding-top: 10px; padding-bottom: 10px;" bgcolor="#fefefe">
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt;" width="100%">
<tr>
<td align="left" style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; font-size: 0px; padding: 10px 25px; word-break: break-word;">
<div style="font-family:Open sans, arial, sans-serif;font-size:14px;line-height:25px;text-align:left;color:#363A41;" align="left">
<span style="font-weight:700">Oto Tw&oacute;j KOD VOUCHER:</span> {voucher_num}</div>
</td>
</tr>
<tr>
<td align="left" style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; font-size: 0px; padding: 10px 25px; padding-top: 0px; word-break: break-word;">
<div style="font-family:Open sans, arial, sans-serif;font-size:14px;line-height:25px;text-align:left;color:#363A41;" align="left">Wprowadź ten kod w koszyku, aby uzyskać zniżkę.</div>
</td>
</tr>
</table>
</td>
</tr></tbody></table>
</div>
<!--[if mso | IE]>
</td>
</tr>
</table>
<![endif]-->
</td>
</tr></tbody></table>
</div>
<!--[if mso | IE]>
</td>
</tr>
</table>
</td>
</tr>
<![endif]-->
<!-- MESSAGE BOX ENDING -->
<!--[if mso | IE]>
</table>
<![endif]-->
<!--[if mso | IE]>
</table>
<![endif]-->
</td>
</tr></tbody></table>
</div>
<!--[if mso | IE]>
</td>
</tr>
</table>
<![endif]-->
<!--[if mso | IE]>
<table role="presentation" border="0" cellpadding="0" cellspacing="0">
<![endif]-->
<!-- SHOP NAME BEGINING -->
<!--[if mso | IE]>
<tr>
<td
class="" width="604px"
>
<table
align="center" border="0" cellpadding="0" cellspacing="0" class="" style="width:604px;" width="604"
>
<tr>
<td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;">
<![endif]-->
<div style="margin:0px auto;max-width:604px;">
<table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; width: 100%;" width="100%"><tbody><tr>
<td style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; direction: ltr; font-size: 0px; padding: 20px 0; text-align: center;" align="center">
<!--[if mso | IE]>
<table role="presentation" border="0" cellpadding="0" cellspacing="0">
<tr>
<td
class="" style="vertical-align:top;width:604px;"
>
<![endif]-->
<div class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;" align="left" width="100%">
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; vertical-align: top;" width="100%">
<tr>
<td align="center" style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; font-size: 0px; padding: 10px 25px; word-break: break-word;">
<div style="font-family:Open sans, arial, sans-serif;font-size:14px;line-height:25px;text-align:center;color:#363A41;" align="center"><a href="{shop_url}" style="text-decoration: underline; color: #656565; font-size: 16px; font-weight: 600;">{shop_name}</a></div>
</td>
</tr>
<tr>
<td align="center" style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; font-size: 0px; padding: 10px 25px; padding-top: 0; word-break: break-word;">
<div style="font-family:Open sans, arial, sans-serif;font-size:12px;line-height:25px;text-align:center;color:#656565;" align="center">Powered by <a href="https://www.prestashop.com/?utm_source=marchandprestashop&amp;utm_medium=e-mail&amp;utm_campaign=footer_1-7" style="text-decoration: underline; color: #656565; font-weight: 400;">PrestaShop</a>
</div>
</td>
</tr>
</table>
</div>
<!--[if mso | IE]>
</td>
</tr>
</table>
<![endif]-->
</td>
</tr></tbody></table>
</div>
<!--[if mso | IE]>
</td>
</tr>
</table>
</td>
</tr>
<![endif]-->
<!-- SHOP NAME ENDING -->
<!--[if mso | IE]>
</table>
<![endif]-->
</div>
</body>
</html>

View File

@@ -0,0 +1,19 @@
{shop_url}
Witaj {firstname} {lastname},
Twój koszyk na {shop_name}
Gratulacje, jesteś jednym z naszych najlepszych klientów! Wygląda jednak na to, że nie złożyłeś zamówienia od {days_threshold} dni.
Twój koszyk został zapisany, możesz wznowić zamówienie odwiedzając nasz sklep: {shop_url}
Z przyjemnością oferujemy Ci zniżkę w wysokości {amount}% na kolejne zamówienie. Ta oferta jest ważna przez {days} dni, więc nie czekaj dłużej!
Oto Twój KOD VOUCHER: {voucher_num}
Wprowadź ten kod w koszyku, aby uzyskać zniżkę.
[{shop_name}]({shop_url})
Powered by [PrestaShop](https://www.prestashop.com/?utm_source=marchandprestashop&utm_medium=e-mail&utm_campaign=footer_1-7)

View File

@@ -0,0 +1,113 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" />
<title>New comment in {shop_name} blog</title>
<style>
/****** responsive ********/
@media only screen and (max-width: 300px){
body {
width:218px !important;
margin:auto !important;
}
.table {width:195px !important;margin:auto !important;}
.logo, .titleblock, .linkbelow, .box, .footer, .space_footer{width:auto !important;display: block !important;}
span.title{font-size:20px !important;line-height: 23px !important}
span.subtitle{font-size: 14px !important;line-height: 18px !important;padding-top:10px !important;display:block !important;}
td.box p{font-size: 12px !important;font-weight: bold !important;}
.table-recap table, .table-recap thead, .table-recap tbody, .table-recap th, .table-recap td, .table-recap tr {
display: block !important;
}
.table-recap{width: 200px!important;}
.table-recap tr td, .conf_body td{text-align:center !important;}
.address{display: block !important;margin-bottom: 10px !important;}
.space_address{display: none !important;}
}
@media only screen and (min-width: 301px) and (max-width: 500px) {
body {width:308px!important;margin:auto!important;}
.table {width:285px!important;margin:auto!important;}
.logo, .titleblock, .linkbelow, .box, .footer, .space_footer{width:auto!important;display: block!important;}
.table-recap table, .table-recap thead, .table-recap tbody, .table-recap th, .table-recap td, .table-recap tr {
display: block !important;
}
.table-recap{width: 293px !important;}
.table-recap tr td, .conf_body td{text-align:center !important;}
}
@media only screen and (min-width: 501px) and (max-width: 768px) {
body {width:478px!important;margin:auto!important;}
.table {width:450px!important;margin:auto!important;}
.logo, .titleblock, .linkbelow, .box, .footer, .space_footer{width:auto!important;display: block!important;}
}
/* Mobile */
@media only screen and (max-device-width: 480px) {
body {width:308px!important;margin:auto!important;}
.table {width:285px;margin:auto!important;}
.logo, .titleblock, .linkbelow, .box, .footer, .space_footer{width:auto!important;display: block!important;}
.table-recap{width: 285px!important;}
.table-recap tr td, .conf_body td{text-align:center!important;}
.address{display: block !important;margin-bottom: 10px !important;}
.space_address{display: none !important;}
}
</style>
</head>
<body style="background-color:#fff;width:650px;font-family:Open-sans, sans-serif;color:#555454;font-size:13px;line-height:18px;margin:auto">
<table class="table table-mail" style="width:100%;margin-top:10px;-moz-box-shadow:0 0 5px #afafaf;-webkit-box-shadow:0 0 5px #afafaf;-o-box-shadow:0 0 5px #afafaf;box-shadow:0 0 5px #afafaf;filter:progid:DXImageTransform.Microsoft.Shadow(color=#afafaf,Direction=134,Strength=5)">
<tr>
<td class="space" style="width:20px;border:none;padding:7px 0">&nbsp;</td>
<td align="center" style="border:none;padding:7px 0">
<table class="table" style="width:100%;background-color:#fff">
<tr>
<td align="center" class="logo" style="border-bottom:4px solid #333!important;border:none;padding:7px 0">
<a title="{shop_name}" href="{shop_url}" style="color:#337ff1">
<img src="{shop_logo}" alt="{shop_name}" />
</a>
</td>
</tr>
<tr>
<td align="center" class="titleblock" style="border:none;padding:7px 0">
<span class="title" style="font-weight:500;font-size:28px;text-transform:uppercase;line-height:33px">Hi,</span>
</td>
</tr>
<tr>
<td class="space_footer" style="padding:0!important;border:none">&nbsp;</td>
</tr>
<tr>
<td class="box" style="background-color:#fbfbfb;border:1px solid #d6d4d4!important;padding:10px!important">
<p style="margin:3px 0 7px;text-transform:uppercase;font-weight:500;font-size:18px;border-bottom:1px solid #d6d4d4!important;padding-bottom:10px">
New comment in {shop_name} blog
</p>
<span style="color:#777">
<span style="color:#333"><strong>{firstname} {lastname}</strong></span> added comment on article: <span style="color:#333"><strong>{post_title}</strong></span><br /><br />
<a title="See article" href="{post_link}" style="color:#337ff1">View article</a>
</span>
<p><b>Comment:</b></p>
<p>{comment_content}</p>
</td>
</tr>
<tr>
<td class="space_footer" style="padding:0!important;border:none">&nbsp;</td>
</tr>
<tr>
<td class="footer" style="border-top:4px solid #333!important;border:none;padding:7px 0">
<span><a href="{shop_url}" style="color:#337ff1">{shop_name}</a> powered by <a href="http://www.prestashop.com/" style="color:#337ff1">PrestaShop&trade;</a></span>
</td>
</tr>
</table>
</td>
<td class="space" style="width:20px;border:none;padding:7px 0">&nbsp;</td>
</tr>
</table>
</body>
</html>

View File

@@ -0,0 +1,13 @@
[{shop_url}]
Hi, {shop_name}
You have a new comment on blog article "{post_title}" ({post_link}) from {firstname} {lastname}.
Comment:
{comment_content}
You can go to Back-Office -> Simple Blog -> Comments and edit/accept this comment.

View File

@@ -0,0 +1,35 @@
<?php
/*
* 2007-2013 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-2013 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,408 @@
/* #module-ph_simpleblog-single #content-wrapper .page-header h1 {
font-size: 28px; } */
#module-ph_simpleblog-single #content-wrapper .simpleblog__post p {
}
#module-ph_simpleblog-single #content.card,
#module-ph_simpleblog-list #content.card {
padding: 0;
background: none;
-webkit-box-shadow: none;
box-shadow: none;
border: 0; }
.simpleblog__mostViewed__menu {
margin-top: 0.625rem; }
.simpleblog__mostViewed__menu li:last-child a {
border-bottom: none; }
.simpleblog__mostViewed__menu li a {
border-bottom: 1px solid rgba(0, 0, 0, 0.25);
width: 100%;
display: inline-block;
margin: 0.3125rem 0 0;
padding-bottom: 0.1875rem;
font-size: 14px; }
.simpleblog__mostViewed__footer {
text-align: center; }
.simpleblog__mostViewed__footer .btn-primary {
}
.simpleblog__listing {
margin-top: 30px;
padding-bottom: 0; }
.simpleblog__listing__post.first-in-line {
clear: left; }
.simpleblog__listing__post__wrapper {
margin-bottom: 1.563rem; }
.simpleblog__listing__post__wrapper__content {
padding: 2rem 0; }
.simpleblog__listing__post__wrapper__content h3 {
margin-bottom:1.563rem;
}
.simpleblog__listing__post__wrapper__content__footer {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center; }
.simpleblog__listing__post__wrapper__content__footer__category {
}
.simpleblog__listing__post__wrapper__content__footer__category i { }
.simpleblog__listing__post__wrapper__content__footer__category a,
.simpleblog__listing__post__wrapper__content__footer__category span,
.simpleblog__listing__post__wrapper__content__footer__category time {
position: relative; }
.simpleblog__listing__post__wrapper__footer {
display: flex;
align-items: center;
justify-content: flex-start;
margin-bottom: 1rem;
}
.simpleblog__listing__post__wrapper__footer > * {
margin-right:14px;
font-size:13px;
display: flex;
align-items: center;
}
.simpleblog__listing__post__wrapper__footer > * a, .simpleblog__listing__post__wrapper__footer > * span {
white-space: nowrap;
}
.simpleblog__listing__post__wrapper__footer > * svg {
margin-right: 4px;
width:18px;
height:18px;
}
.simpleblog__listing__post__wrapper__footer__block.date {
position: absolute;
top:15px;
left:5px;
z-index: 2;
display: inline-block;
font-size: 0.85rem;
margin-top: 0.625rem;
padding: 0.5rem 1.125rem;
min-height: 1.875rem;
box-shadow: 6px 9px 22px 0px rgba(0, 0, 0, 0.09);
transition: all 0.4s cubic-bezier(0.36, 0.76, 0, 0.88);
}
@media(min-width:992px) {
#phblogrecentposts .simpleblog__listing__post__wrapper__footer__block.date {
left:20px;
}
}
.simpleblog__listing__post__wrapper:hover .simpleblog__listing__post__wrapper__footer__block.date {
opacity: 0;
pointer-events: none;
transform: translateX(-0.75rem);
}
.simpleblog__listing__post__wrapper__content__footer .readmore i {
display:flex;
align-items: center;
opacity: 0.5;
-webkit-transition: all .22s cubic-bezier(.07,.74,.56,.89);
transition: all .22s cubic-bezier(.07,.74,.56,.89);
}
.simpleblog__listing__post__wrapper__content__footer .readmore span:not(.tip) {
display: inline-block;
width:8px;
height:8px;
border-radius: 50%;
border-width: 2px;
border-style: solid;
margin-right: 4px;
-webkit-transition: all .22s cubic-bezier(.07,.74,.56,.89);
transition: all .22s cubic-bezier(.07,.74,.56,.89);
}
.simpleblog__listing__post__wrapper__content__footer .readmore:hover i {
opacity: 1;
}
.simpleblog__listing__post__wrapper__content__footer .readmore:hover span:not(.tip):nth-child(2) {
transform: translateX(3px);
}
.simpleblog__listing__post__wrapper__content__footer .readmore:hover span:not(.tip):nth-child(3) {
transform: translateX(6px);
}
.simpleblog__listing__post__wrapper__footer__block span,
.simpleblog__listing__post__wrapper__footer__block time {
position: relative;
}
.simpleblog__listing__pagination {
margin-top: 1.5rem; }
.simpleblog__listing__pagination > div { }
.simpleblog__postInfo ul {
list-style-type: none!important;
padding: 0!important;
margin: 20px 0;
align-items: center;
display: -webkit-box;
display: -ms-flexbox;
display: flex; }
.simpleblog__postInfo ul li {
align-items: center;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
margin-right: 16px;
font-size: 14px;
}
.simpleblog__postInfo ul li a {
align-items: center;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
}
.simpleblog__postInfo ul li a span {
margin-right: 4px;
}
.simpleblog__postInfo ul li svg {
margin-right: 4px;
}
.simpleblog__postInfo ul li a {
color: inherit; }
.simpleblog__postInfo ul li a:hover {
text-decoration: none; }
.simpleblog__postInfo ul li i {
font-size: 20px;
margin-right: 5px; }
.simpleblog__postInfo ul li span {
font-size: 13px; }
.simpleblog__post {
margin-bottom: 60px; }
.simpleblog__post-featured img {
max-width: 100%;
margin: 0 auto;
display: block; }
.simpleblog__post__content {
padding: 1.563rem 1.25rem; }
.simpleblog__share {
margin-bottom: 60px; }
.simpleblog__share ul {
list-style-type: none!important;
padding:0!important;
margin: 25px 0;
padding: 0;
display: -webkit-box;
display: -ms-flexbox;
display: flex; }
@media (max-width: 991px) {
.simpleblog__share ul {
display: block; } }
.simpleblog__share ul li {
margin-right: 16px; }
@media (max-width: 991px) {
.simpleblog__share ul li {
margin: 0 0 10px; } }
@media (max-width: 991px) {
.simpleblog__share ul li .btn {
width: 100%; } }
.simpleblog__featuredProducts {
margin-bottom: 60px; }
.simpleblog__featuredProducts > h2 {
margin-bottom: 25px; }
.simpleblog__comments {
margin-bottom: 60px; }
.simpleblog__comments > h2 {
margin-bottom: 25px; }
.simpleblog__comments-empty {
margin-bottom: 0; }
.simpleblog__comments .alert a {
color: inherit; }
.simpleblog__comments > ul {
list-style-type: none!important;
margin: 0;
padding: 0; }
.simpleblog__comments > ul > li {
padding: 1.563rem 1.25rem; }
.simpleblog__comments > ul > li .simpleblog__comments__authorInfo {
list-style-type: none;
margin: 0 0 12px;
padding: 0;
display: -webkit-box;
display: -ms-flexbox;
display: flex; }
@media (max-width: 991px) {
.simpleblog__comments > ul > li .simpleblog__comments__authorInfo {
display: block; } }
.simpleblog__comments > ul > li .simpleblog__comments__authorInfo li {
font-size: 14px; }
.simpleblog__comments > ul > li .simpleblog__comments__authorInfo li:not(.simpleblog__comments__authorInfo__author) {
opacity:0.6; }
.simpleblog__comments > ul > li .simpleblog__comments__authorInfo li:last-child:after {
display: none; }
.simpleblog__comments > ul > li .simpleblog__comments__authorInfo li:after {
content: '';
height: 10px;
background: #cecece;
width: 2px;
margin: 0 18px;
display: inline-block; }
@media (max-width: 991px) {
.simpleblog__comments > ul > li .simpleblog__comments__authorInfo li:after {
display: none; } }
.simpleblog__comments > ul > li .simpleblog__comments__authorInfo__author {
font-weight: 600; }
.simpleblog__comments > ul > li .simpleblog__comments__text p {
margin: 0;
padding: 0; }
.simpleblog__post .pagination .next {
float:right
}
.simpleblog__addComment .newcom {
margin-top: 60px; }
.simpleblog__addComment .continue {
margin-top: 30px; }
.simpleblog__addComment .alert a {
color: inherit; }
.simpleblog__addComment > h3 {
margin-bottom: 25px; }
.simpleblog__addComment__form {
}
@media (max-width: 991px) {
#phblogrecentposts {
margin-top:30px;
}
#phblogrecentposts > .container {
padding:0!important;
}
.simpleblog__addComment__form .form-footer .btn-primary {
width: 100%;
float: none !important; } }
.simpleblog__seo {
display: none; }
.simpleblog__categoryInfo {
border-bottom: 2px solid #d6d6d6;
margin: 30px 0; }
.simpleblog__categoryInfo img {
width: 100%;
height: auto; }
.simpleblog__categoryInfo p {
font-size: 14px;
color: #727272;
margin: 30px 0; }
.btn-facebook {
-webkit-box-shadow: 2px 2px 4px 0 rgba(0, 0, 0, 0.2);
box-shadow: 2px 2px 4px 0 rgba(0, 0, 0, 0.2);
text-transform: uppercase;
font-weight: 600;
padding: .5rem 1.25rem;
background: #415994;
color: white; }
.btn-facebook:hover {
color: white;
background: #203363; }
.btn-facebook i {
margin-right: 8px;
font-size: 19px;
position: relative;
top: 2px; }
.btn-twitter {
-webkit-box-shadow: 2px 2px 4px 0 rgba(0, 0, 0, 0.2);
box-shadow: 2px 2px 4px 0 rgba(0, 0, 0, 0.2);
text-transform: uppercase;
font-weight: 600;
padding: .5rem 1.25rem;
background: #4ba0ec;
color: white; }
.btn-twitter:hover {
color: white;
background: #2f7bbf; }
.btn-twitter i {
margin-right: 8px;
font-size: 19px;
position: relative;
top: 1px; }
.btn-google {
-webkit-box-shadow: 2px 2px 4px 0 rgba(0, 0, 0, 0.2);
box-shadow: 2px 2px 4px 0 rgba(0, 0, 0, 0.2);
text-transform: uppercase;
font-weight: 600;
padding: .5rem 1.25rem;
background: #bd403b;
color: white; }
.btn-google:hover {
color: white;
background: #a12520; }
.btn-google i {
margin-right: 8px;
font-size: 19px; }
.btn-pinterest {
-webkit-box-shadow: 2px 2px 4px 0 rgba(0, 0, 0, 0.2);
box-shadow: 2px 2px 4px 0 rgba(0, 0, 0, 0.2);
text-transform: uppercase;
font-weight: 600;
padding: .5rem 1.25rem;
background: #ae2626;
color: white; }
.btn-pinterest:hover {
color: white;
background: #8e1010; }
.btn-pinterest i {
margin-right: 8px;
font-size: 19px; }
@media (min-width: 992px) {
#module-ph_simpleblog-single #main .page-header, .simpleblog__postInfo {
padding-left:1.25rem;
padding-right:1.25rem;
}
#module-ph_simpleblog-single .pagination a:not(.previous):not(.next) {
margin-left:1.25rem;
margin-right:1.25rem;
}
}
@media (max-width: 767px) {
#top_column .breadcrumb .bread_name, .breadcrumb ol {
text-align: center;
}
.simpleblog__listing__post__wrapper__footer, .simpleblog__postInfo ul {
flex-wrap: wrap;
}
.simpleblog__post .pagination .next {
float:none;
}
.simpleblog__post .page-item a {
width:100%;
margin-bottom:12px;
margin:0!important;
}
.simpleblog__listing__pagination__list {
text-align: center; }
.simpleblog__listing__pagination__list li {
text-align: center; }
.simpleblog__listing__pagination__list li:first-child, .simpleblog__listing__pagination__list li:last-child {
display: block;
overflow: auto;
margin: 10px 0; }
.simpleblog__listing__pagination__list li:first-child a, .simpleblog__listing__pagination__list li:last-child a {
float: none; } }

View File

@@ -0,0 +1,35 @@
<?php
/*
* 2007-2013 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-2013 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;

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,35 @@
<?php
/*
* 2007-2013 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-2013 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,35 @@
<?php
/*
* 2007-2014 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-2014 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,51 @@
{if Configuration::get('PH_BLOG_DISPLAY_DATE')}
<div class="simpleblog__listing__post__wrapper__footer__block date">
<time datetime="{$post.date_add|date_format:'c'}">{$post.date_add|date_format:Configuration::get('PH_BLOG_DATEFORMAT')}</time>
</div>
{/if}
<div class="simpleblog__listing__post__wrapper__footer">
{if $is_category eq false && Configuration::get('PH_BLOG_DISPLAY_CATEGORY')}
<div class="simpleblog__listing__post__wrapper__content__footer__category">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-tag"><path d="M20.59 13.41l-7.17 7.17a2 2 0 0 1-2.83 0L2 12V2h10l8.59 8.59a2 2 0 0 1 0 2.82z"></path><line x1="7" y1="7" x2="7" y2="7"></line></svg> <a href="{$post.category_url}" title="{$post.category}" rel="category">{$post.category}</a>
</div>
{/if}
{if isset($post.author) && !empty($post.author) && Configuration::get('PH_BLOG_DISPLAY_AUTHOR')}
<div class="simpleblog__listing__post__wrapper__footer__block">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-user"><path d="M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2"></path><circle cx="12" cy="7" r="4"></circle></svg> <span itemprop="author">{$post.author}</span>
</div>
{else}
<meta itemprop="author" content="{Configuration::get('PS_SHOP_NAME')}">
{/if}
{if $post.allow_comments eq true && Configuration::get('PH_BLOG_COMMENTS_SYSTEM') == 'native'}
<div class="simpleblog__listing__post__wrapper__footer__block">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-message-circle"><path d="M21 11.5a8.38 8.38 0 0 1-.9 3.8 8.5 8.5 0 0 1-7.6 4.7 8.38 8.38 0 0 1-3.8-.9L3 21l1.9-5.7a8.38 8.38 0 0 1-.9-3.8 8.5 8.5 0 0 1 4.7-7.6 8.38 8.38 0 0 1 3.8-.9h.5a8.48 8.48 0 0 1 8 8v.5z"></path></svg>
<span>
<a href="{$post.url}#phsimpleblog_comments">{$post.comments} {l s='comments' mod='ph_simpleblog'}</a>
</span>
</div>
{/if}
{if Configuration::get('PH_BLOG_DISPLAY_VIEWS')}
<div class="simpleblog__listing__post__wrapper__footer__block">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-eye"><path d="M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z"></path><circle cx="12" cy="12" r="3"></circle></svg>
<span>
{$post.views} {l s='views' mod='ph_simpleblog'}
</span>
</div>
{/if}
<div itemprop="publisher" itemscope itemtype="https://schema.org/Organization">
<div itemprop="logo" itemscope itemtype="https://schema.org/ImageObject">
<meta itemprop="url" content="{$urls.shop_domain_url|rtrim:'/'}{$shop.logo}">
</div>
<meta itemprop="name" content="{Configuration::get('PS_SHOP_NAME')}">
<meta itemprop="email" content="{Configuration::get('PS_SHOP_EMAIL')}">
</div>
<meta itemprop="datePublished" content="{$post.date_add}">
<meta itemprop="dateModified" content="{$post.date_upd}">
<meta itemprop="mainEntityOfPage" content="{$urls.shop_domain_url}">
{if !isset($post.author) || (isset($post.author) && empty($post.author))}
<div itemprop="author" itemscope="itemscope" itemtype="http://schema.org/Person">
<meta itemprop="name" content="{Configuration::get('PS_SHOP_NAME')}">
</div>
{/if}
</div><!-- .simpleblog__listing__post__wrapper__footer -->

View File

@@ -0,0 +1,44 @@
<div class="simpleblog__listing__post
{if $blogLayout eq 'grid' AND $columns eq '3'}
col-md-4 col-sm-6 col-xs-12 col-ms-12 {cycle values="first-in-line,second-in-line,last-in-line"}
{elseif $blogLayout eq 'grid' AND $columns eq '4'}
col-md-3 col-sm-6 col-xs-12 col-ms-12 {cycle values="first-in-line,second-in-line,third-in-line,last-in-line"}
{elseif $blogLayout eq 'grid' AND $columns eq '2'}
col-md-6 col-sm-6 col-xs-12 col-ms-12 {cycle values="first-in-line,last-in-line"}
{else}
col-md-12
{/if}"
>
<div class="simpleblog__listing__post__wrapper" itemscope="itemscope" itemtype="http://schema.org/BlogPosting" itemprop="blogPost">
{if $post.post_type == 'url'}
{include file="module:ph_simpleblog/views/templates/front/1.7/_partials/type-url/post-thumbnail.tpl"}
{else if $post.post_type == 'video'}
{include file="module:ph_simpleblog/views/templates/front/1.7/_partials/type-video/post-thumbnail.tpl"}
{else}
{include file="module:ph_simpleblog/views/templates/front/1.7/_partials/type-default/post-thumbnail.tpl"}
{/if}
<div class="simpleblog__listing__post__wrapper__content">
{if $post.post_type == 'url'}
{include file="module:ph_simpleblog/views/templates/front/1.7/_partials/type-url/post-headline.tpl"}
{else}
{include file="module:ph_simpleblog/views/templates/front/1.7/_partials/type-default/post-headline.tpl"}
{/if}
{include file="module:ph_simpleblog/views/templates/front/1.7/_partials/post-miniature-footer.tpl"}
{if Configuration::get('PH_BLOG_DISPLAY_DESCRIPTION')}
<p itemprop="description">
{$post.short_content|strip_tags:'UTF-8'}
</p>
{/if}
{if $post.post_type == 'url'}
{include file="module:ph_simpleblog/views/templates/front/1.7/_partials/type-url/post-bottomline.tpl"}
{else}
{include file="module:ph_simpleblog/views/templates/front/1.7/_partials/type-default/post-bottomline.tpl"}
{/if}
</div>
</div><!-- .simpleblog__listing__post__wrapper -->
</div><!-- .simpleblog__listing__post -->

View File

@@ -0,0 +1,10 @@
<div class="simpleblog__featuredProducts" id="products">
<h3 class="h2">{l s='Related products' mod='ph_simpleblog'}</h3>
<div class="products row">
{foreach from=$related_products item="product"}
{block name='product_miniature'}
{include file='catalog/_partials/miniatures/product.tpl' product=$product}
{/block}
{/foreach}
</div>
</div>

View File

@@ -0,0 +1,35 @@
<?php
/*
* 2007-2014 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-2014 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,8 @@
{if Configuration::get('PH_BLOG_DISPLAY_MORE')}
<div class="simpleblog__listing__post__wrapper__content__footer">
<a href="{$post.url}" class="readmore tip_inside noeffect">
<i><span></span><span></span><span></span></i>
<span class="tip">{l s='Read more' mod='ph_simpleblog'}</span>
</a>
</div>
{/if}

View File

@@ -0,0 +1,5 @@
<h3 itemprop="headline">
<a href="{$post.url}">
{$post.title}
</a>
</h3>

View File

@@ -0,0 +1,9 @@
{if Configuration::get('PH_BLOG_DISPLAY_THUMBNAIL') && (isset($post.banner_wide) || isset($post.banner_thumb))}
<a href="{$post.url}" itemprop="url" class="noeffect">
{if $blogLayout eq 'full'}
<img src="{$post.banner_wide}" alt="{$post.title}" itemprop="image" class="img-fluid photo">
{else}
<img src="{$post.banner_thumb}" alt="{$post.title}" itemprop="image" class="img-fluid photo">
{/if}
</a>
{/if}

View File

@@ -0,0 +1,35 @@
<?php
/*
* 2007-2014 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-2014 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,9 @@
{if Configuration::get('PH_BLOG_DISPLAY_MORE')}
<div class="simpleblog__listing__post__wrapper__content__footer">
{if $is_category eq false && Configuration::get('PH_BLOG_DISPLAY_CATEGORY')}
<div class="simpleblog__listing__post__wrapper__content__footer__category">
<i class="material-icons">label</i> <a href="{$post.category_url}" title="{$post.category}" rel="category">{$post.category}</a>
</div>
{/if}
</div>
{/if}

View File

@@ -0,0 +1,5 @@
<h3 itemprop="headline">
<a href="{$post.external_url}" target="_blank">
{$post.title}
</a>
</h3>

View File

@@ -0,0 +1,9 @@
{if Configuration::get('PH_BLOG_DISPLAY_THUMBNAIL') && (isset($post.banner_wide) || isset($post.banner_thumb))}
<a href="{$post.external_url}" target="_blank" itemprop="url" class="noeffect">
{if $blogLayout eq 'full'}
<img src="{$post.banner_wide}" alt="{$post.title}" itemprop="image" class="img-fluid photo">
{else}
<img src="{$post.banner_thumb}" alt="{$post.title}" itemprop="image" class="img-fluid photo">
{/if}
</a>
{/if}

View File

@@ -0,0 +1,35 @@
<?php
/*
* 2007-2014 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-2014 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,13 @@
{if Configuration::get('PH_BLOG_DISPLAY_THUMBNAIL') && (isset($post.banner_wide) || isset($post.banner_thumb))}
<a href="{$post.url}" itemprop="url" class="noeffect">
{if $blogLayout eq 'full'}
<img src="{$post.banner_wide}" alt="{$post.title}" itemprop="image" class="img-fluid photo">
{else}
<img src="{$post.banner_thumb}" alt="{$post.title}" itemprop="image" class="img-fluid photo">
{/if}
</a>
{else}
<div itemprop="video">
{$post.video_code nofilter}
</div>
{/if}

View File

@@ -0,0 +1,38 @@
{*
* 2007-2014 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-2014 PrestaShop SA
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
<div class="simpleblog__addComment">
<h2 class="h2">{l s='Comments' mod='ph_simpleblog'}</h2>
<div id="disqus_thread"></div>
<script type="text/javascript">
var disqus_shortname = '{Configuration::get('PH_BLOG_DISQUS_SHORTNAME')}';
var disqus_identifier = '{$post->url|@md5}';
(function() {
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
})();
</script>
<noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript" rel="nofollow">comments powered by Disqus.</a></noscript>
</div>

View File

@@ -0,0 +1,28 @@
{*
* 2007-2014 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-2014 PrestaShop SA
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
<div class="simpleblog__addComment">
<h2 class="h2">{l s='Comments' mod='ph_simpleblog'} (<fb:comments-count href={$post->url|escape:'html':'UTF-8'}/></fb:comments-count>)</h2>
<div class="fb-comments" data-href="{$post->url|escape:'html':'UTF-8'}" data-colorscheme="{Configuration::get('PH_BLOG_FACEBOOK_COLOR_SCHEME')|escape:'html':'UTF-8'}" data-numposts="5" data-width="100%"></div>
</div>

View File

@@ -0,0 +1,64 @@
{*
* 2007-2018 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-2018 PrestaShop SA
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
<div class="simpleblog__addComment">
{if $customer.is_logged || Configuration::get('PH_BLOG_COMMENT_ALLOW_GUEST')}
<h3 class="h3 newcom">{l s='New comment' mod='ph_simpleblog'}</h3>
<form class="simpleblog__addComment__form" action="{$post->url|escape:'html':'UTF-8'}" method="post">
<div class="form-group">
<label class="col-12 form-control-label">
{l s='Your name' mod='ph_simpleblog'}
</label>
<div class="col-12">
<input type="text" class="form-control" name="customer_name" id="customer_name" value="{if isset($logged) AND $logged}{$customerName|escape:'html':'UTF-8'}{else}{if isset($smarty.post.comment_content)}{$smarty.post.customer_name|escape:'htmlall':'UTF-8'}{/if}{/if}" />
</div>
</div>
<div class="form-group">
<label class="col-12 form-control-label">
{l s='Your comment' mod='ph_simpleblog'}
</label>
<div class="col-12">
<textarea class="form-control"id="comment_content" name="comment_content" rows="6">{if isset($smarty.post.comment_content)}{$smarty.post.comment_content|escape:'htmlall':'UTF-8'}{/if}</textarea>
</div>
</div>
{if Configuration::get('PH_BLOG_COMMENTS_RECAPTCHA')}
<div class="form-group">
<div class="g-recaptcha" data-sitekey="{Configuration::get('PH_BLOG_COMMENTS_RECAPTCHA_SITE_KEY')}" data-theme="{Configuration::get('PH_BLOG_COMMENTS_RECAPTCHA_THEME')}"></div>
<script src='https://www.google.com/recaptcha/api.js'></script>
</div>
{/if}
<footer class="form-footer clearfix">
<input type="hidden" name="id_simpleblog_post" value="{$post->id_simpleblog_post|intval}" />
<input type="hidden" name="id_parent" id="id_parent" value="0" />
<button class="continue btn btn-primary wide btn-high bright float-xs-right" name="submitNewComment" type="submit" value="1">
{l s='Add new comment' mod='ph_simpleblog'}
</button>
</footer>
</form>
{else}
<div class="warning alert alert-warning">
<a href="{$link->getPageLink('authentication', true, null, ['back' => $post->url])|escape:'html':'UTF-8'}">{l s='Only registered and logged customers can add comments' mod='ph_simpleblog'}</a>
</div><!-- .warning -->
{/if}
</div>

View File

@@ -0,0 +1,35 @@
<?php
/*
* 2007-2013 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-2013 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,48 @@
{*
* 2007-2014 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-2014 PrestaShop SA
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
<div class="simpleblog__comments{if $post->comments == 0}-empty{/if}" id="phsimpleblog_comments">
<h3 class="h3">{l s='Comments' mod='ph_simpleblog'} ({$post->comments})</h3>
{if $post->comments}
<ul>
{foreach $comments as $comment}
<li>
<ul class="simpleblog__comments__authorInfo">
<li class="simpleblog__comments__authorInfo__author">{$comment.name}</li>
<li>{$comment.date_add}</li>
</ul>
<div class="simpleblog__comments__text">
{$comment.comment}
</div>
</li>
{/foreach}
</ul>
{else}
<div class="warning alert alert-warning">
{l s='No comments at this moment' mod='ph_simpleblog'}
</div><!-- .warning -->
{/if}
</div>
{include file="module:ph_simpleblog/views/templates/front/1.7/comments/form.tpl"}

View File

@@ -0,0 +1,35 @@
<?php
/*
* 2007-2014 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-2014 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,75 @@
{*
* 2007-2018 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-2018 PrestaShop SA
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
{extends file='page.tpl'}
{block name='page_header_container'}
<div class="page-heading">
<h1 class="h1">
{if $is_category eq true}
{$blogCategory->name}
{else}
{$blogMainTitle}
{/if}
</h2>
</div><!--.page-heading-->
{/block}
{block name='head_seo_title'}{strip}{$meta_title}{/strip}{/block}
{block name='head_seo_description'}{strip}{$meta_description}{/strip}{/block}
{block name='page_content'}
{if $is_category eq true}
{if Configuration::get('PH_BLOG_DISPLAY_CATEGORY_IMAGE') && isset($blogCategory->image)}
<div class="simpleblog-category-image">
<img src="{$blogCategory->image}" alt="{$blogCategory->name}" class="img-responsive" />
</div>
{/if}
{if !empty($blogCategory->description) && Configuration::get('PH_BLOG_DISPLAY_CAT_DESC')}
<div class="ph_cat_description rte">
{$blogCategory->description nofilter}
</div>
{/if}
{/if}
<div class="simpleblog__listing" itemscope="itemscope" itemtype="http://schema.org/Blog">
<div class="row">
{if isset($posts) && count($posts)}
{foreach from=$posts item=post}
{include file="module:ph_simpleblog/views/templates/front/1.7/_partials/post-miniature.tpl"}
{/foreach}
{else}
<div class="warning alert alert-warning">{l s='There are no posts' mod='ph_simpleblog'}</div>
{/if}
</div><!-- .row -->
</div><!-- .simpleblog__listing -->
{if isset($posts) && count($posts)}
{if $is_category}
{include file="module:ph_simpleblog/views/templates/front/1.7/pagination.tpl" rewrite=$blogCategory->link_rewrite type='category'}
{else}
{include file="module:ph_simpleblog/views/templates/front/1.7/pagination.tpl" rewrite=false type=false}
{/if}
{/if}
{/block}

View File

@@ -0,0 +1,54 @@
<!-- Pagination -->
{if $start!=$stop}
<nav class="simpleblog__listing__pagination pagination">
<div class="col-md-12 pr-0">
<ul class="simpleblog__listing__pagination__list page-list clearfix text-sm-center">
{if $p != 1}
{assign var='p_previous' value=$p-1}
<li>
<a rel="prev" href="{SimpleBlogPost::getPageLink($p_previous, $type, $rewrite)}" class="previous disabled "><i class="material-icons">navigate_before</i>{l s='Previous' mod='ph_simpleblog'}
</li>
{else}
<li>
<a rel="prev" href="#" class="previous disabled "><i class="material-icons">navigate_before</i>{l s='Previous' mod='ph_simpleblog'}
</li>
{/if}
{if $start > 1}
<li><a href="{SimpleBlogPost::getPageLink(1, $type, $rewrite)}">1</a></li>
<li>
<span class="spacer">…</span>
</li>
{/if}
{section name=pagination start=$start loop=$stop+1 step=1}
{if $p == $smarty.section.pagination.index}
<li class="current">
<a href="#" class="disabled">{$p}</a>
</li>
{else}
<li>
<a href="{SimpleBlogPost::getPageLink($smarty.section.pagination.index, $type, $rewrite)}">{$smarty.section.pagination.index}</a>
</li>
{/if}
{/section}
{if $pages_nb>$stop}
<li>
<span class="spacer">…</span>
</li>
<li><a href="{SimpleBlogPost::getPageLink($pages_nb, $type, $rewrite)}">{$pages_nb|intval}</a></li>
{/if}
{if $pages_nb > 1 AND $p != $pages_nb}
{assign var='p_next' value=$p+1}
<li>
<a rel="next" href="{SimpleBlogPost::getPageLink($p_next, $type, $rewrite)}" class="next ">
{l s='Next' mod='ph_simpleblog'}<i class="material-icons">navigate_next</i>
</a>
</li>
{else}
<li>
<a rel="next" href="#" class="next disabled">{l s='Next' mod='ph_simpleblog'}<i class="material-icons">navigate_next</i></a>
</li>
{/if}
</ul>
</div>
</nav>
{/if}

View File

@@ -0,0 +1,235 @@
{*
* 2007-2014 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-2014 PrestaShop SA
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
{extends file='page.tpl'}
{block name='page_header_container'}
<header class="page-header">
<h1 class="h1">{$post->title}</h1>
</header>
{/block}
{block name='hook_after_body_opening_tag' append}{strip}
{if Configuration::get('PH_BLOG_FB_INIT')}
<div id="fb-root"></div>
<script>(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = 'https://connect.facebook.net/pl_PL/sdk.js#xfbml=1&version=v3.2&appId=&autoLogAppEvents=1';
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
{/if}
{/strip}{/block}
{block name='head_seo' prepend}
<link rel="canonical" href="{$post->url}">
{/block}
{block name='head_seo_title'}{strip}
{if !empty($post->meta_title)}
{$post->meta_title} - {$page.meta.title}
{else}
{$post->title} - {$page.meta.title}
{/if}
{/strip}{/block}
{if !empty($post->meta_description)}
{block name='head_seo_description'}{$post->meta_description}{/block}
{/if}
{if !empty($post->meta_keywords)}
{block name='head_seo_keywords'}{$post->meta_keywords}{/block}
{/if}
{block name='page_content'}
{assign var='post_type' value=$post->post_type}
<div class="simpleblog__postInfo">
<ul>
{if Configuration::get('PH_BLOG_DISPLAY_DATE')}
<li>
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-calendar"><rect x="3" y="4" width="18" height="18" rx="2" ry="2"></rect><line x1="16" y1="2" x2="16" y2="6"></line><line x1="8" y1="2" x2="8" y2="6"></line><line x1="3" y1="10" x2="21" y2="10"></line></svg>
<span>
<time>
{$post->date_add|date_format:Configuration::get('PH_BLOG_DATEFORMAT')}
</time>
</span>
</li>
{/if}
{if isset($post->author) && !empty($post->author) && Configuration::get('PH_BLOG_DISPLAY_AUTHOR')}
<li>
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-user"><path d="M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2"></path><circle cx="12" cy="7" r="4"></circle></svg>
<span>
{$post->author}
</span>
</li>
{/if}
{if Configuration::get('PH_BLOG_DISPLAY_CATEGORY')}
<li>
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-tag"><path d="M20.59 13.41l-7.17 7.17a2 2 0 0 1-2.83 0L2 12V2h10l8.59 8.59a2 2 0 0 1 0 2.82z"></path><line x1="7" y1="7" x2="7" y2="7"></line></svg>
<span>
<a
href="{$link->getModuleLink('ph_simpleblog', 'category', ['sb_category' => $post->category_rewrite])}"
title="{$post->category}"
>
{$post->category}
</a>
</span>
</li>
{/if}
{if Configuration::get('PH_BLOG_DISPLAY_LIKES')}
<li>
<a href="#" data-guest="{$guest}" data-post="{$post->id_simpleblog_post}" class="simpleblog-like-button">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-heart"><path d="M20.84 4.61a5.5 5.5 0 0 0-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 0 0-7.78 7.78l1.06 1.06L12 21.23l7.78-7.78 1.06-1.06a5.5 5.5 0 0 0 0-7.78z"></path></svg>
<span class="likes-count">
{$post->likes}
</span>
<span>
{l s='likes' mod='ph_simpleblog'}
</span>
</a>
</li>
{/if}
{if Configuration::get('PH_BLOG_DISPLAY_VIEWS')}
<li>
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-eye"><path d="M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z"></path><circle cx="12" cy="12" r="3"></circle></svg>
<span>
{$post->views} {l s='views' mod='ph_simpleblog'}
</span>
</li>
{/if}
{if $allow_comments eq true && Configuration::get('PH_BLOG_COMMENTS_SYSTEM') == 'native'}
<li>
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-message-circle"><path d="M21 11.5a8.38 8.38 0 0 1-.9 3.8 8.5 8.5 0 0 1-7.6 4.7 8.38 8.38 0 0 1-3.8-.9L3 21l1.9-5.7a8.38 8.38 0 0 1-.9-3.8 8.5 8.5 0 0 1 4.7-7.6 8.38 8.38 0 0 1 3.8-.9h.5a8.48 8.48 0 0 1 8 8v.5z"></path></svg>
<span>
<a href="{$post->url}#phsimpleblog_comments">{$post->comments} {l s='comments' mod='ph_simpleblog'}</a>
</span>
</li>
{/if}
</ul>
</div>
<div class="simpleblog__post">
{if $post->featured_image}
<a href="{$post->featured_image}" title="{$post->title}" class="fancybox simpleblog__post-featured">
<img src="{$post->featured_image}" alt="{$post->title}" class="img-fluid" />
</a>
{/if}
<div class="simpleblog__post__content">
{$post->content nofilter}
{if $post_type == 'gallery' && sizeof($post->gallery)}
<div class="post-gallery">
{foreach $post->gallery as $image}
<a rel="post-gallery-{$post->id_simpleblog_post}" class="fancybox" href="{$gallery_dir}{$image.image}.jpg" title="{l s='View full' mod='ph_simpleblog'}"><img src="{$gallery_dir}{$image.image}.jpg" class="img-fluid" /></a>
{/foreach}
</div><!-- .post-gallery -->
{elseif $post_type == 'video'}
<div class="post-video" itemprop="video">
{$post->video_code nofilter}
</div><!-- .post-video -->
{/if}
</div>
<div class="simpleblog__post__after-content" id="displayPrestaHomeBlogAfterPostContent">
{hook h='displayPrestaHomeBlogAfterPostContent'}
</div><!-- #displayPrestaHomeBlogAfterPostContent -->
<nav>
<ul class="pagination pagination-lg">
{if $previousPost}
<li class="page-item">
<a class="btn" href="{$previousPost.url}" tabindex="-1">{l s='Previous article' mod='ph_simpleblog'}</a>
</li>
{/if}
<!-- <li class="page-item"><a class="btn" href="{$link->getModuleLink('ph_simpleblog', 'list')}">{l s='Main page' mod='ph_simpleblog'}</a></li> -->
{if $nextPost}
<li class="page-item next">
<a class="btn" href="{$nextPost.url}">{l s='Next article' mod='ph_simpleblog'}</a>
</li>
{/if}
</ul>
</nav>
</div>
{if Configuration::get('PH_BLOG_DISPLAY_SHARER')}
<div class="simpleblog__share">
<h3 class="h3">{l s='Share this post' mod='ph_simpleblog'}</h3>
<ul>
<li>
<a
data-type="twitter"
href="#"
class="btn btn-twitter"
>
<i class="fa fa-twitter"></i> Twitter
</a>
</li>
<li>
<a
data-type="facebook"
href="#"
class="btn btn-facebook"
>
<i class="fa fa-facebook"></i> Facebook
</a>
</li>
<li>
<a
data-type="google"
href="#"
class="btn btn-google"
>
<i class="fa fa-google-plus"></i> Google+
</a>
</li>
<li>
<a
data-type="pinterest"
href="#"
class="btn btn-pinterest"
>
<i class="fa fa-pinterest"></i> Pinterest
</a>
</li>
{hook h='displayBlogForPrestaShopSocialSharing'}
</ul>
</div>
{/if}
{if Configuration::get('PH_BLOG_DISPLAY_RELATED') && $related_products}
{include file="module:ph_simpleblog/views/templates/front/1.7/_partials/post-single-related-products.tpl"}
{/if}
{if $allow_comments eq true && Configuration::get('PH_BLOG_COMMENTS_SYSTEM') == 'native'}
{include file="module:ph_simpleblog/views/templates/front/1.7/comments/layout.tpl"}
{/if}
{if $allow_comments eq true && Configuration::get('PH_BLOG_COMMENTS_SYSTEM') == 'facebook'}
{include file="module:ph_simpleblog/views/templates/front/1.7/comments/facebook.tpl"}
{/if}
{if $allow_comments eq true && Configuration::get('PH_BLOG_COMMENTS_SYSTEM') == 'disqus'}
{include file="module:ph_simpleblog/views/templates/front/1.7/comments/disqus.tpl"}
{/if}
{/block}

View File

@@ -0,0 +1,38 @@
{*
* 2007-2014 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-2014 PrestaShop SA
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
{capture name=path}
<a href="{$link->getModuleLink('ph_simpleblog', 'list')|escape:'html':'UTF-8'}" title="{l s='Back to blog homepage' mod='ph_simpleblog'}">
{l s='Blog' mod='ph_simpleblog'}
</a>
<span class="navigation-pipe">
{$navigationPipe|escape:'html':'UTF-8'}
</span>
{$author->firstname|escape:'html':'UTF-8'} {$author->lastname|escape:'html':'UTF-8'}
{/capture}
{include file="$tpl_dir./errors.tpl"}
<pre>{$author|@print_r}</pre>

View File

@@ -0,0 +1,38 @@
{*
* 2007-2014 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-2014 PrestaShop SA
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
{capture name=path}
<a href="{$link->getModuleLink('ph_simpleblog', 'list')|escape:'html':'UTF-8'}" title="{l s='Back to blog homepage' mod='ph_simpleblog'}">
{l s='Blog' mod='ph_simpleblog'}
</a>
<span class="navigation-pipe">
{$navigationPipe|escape:'html':'UTF-8'}
</span>
{l s='Authors' mod='ph_simpleblog'}
{/capture}
{include file="$tpl_dir./errors.tpl"}
<pre>{$authors|@print_r}</pre>

View File

@@ -0,0 +1,42 @@
{*
* 2007-2014 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-2014 PrestaShop SA
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
<div id="simpleblog-post-comments" class="post-block">
<h3 class="block-title">{l s='Comments' mod='ph_simpleblog'}</h3>
<div id="disqus_thread"></div>
<script type="text/javascript">
/* * * CONFIGURATION VARIABLES * * */
// Required: on line below, replace text in quotes with your forum shortname
var disqus_shortname = '{Configuration::get('PH_BLOG_DISQUS_SHORTNAME')}';
var disqus_identifier = '{$post->url|escape:'htmlall':'utf-8'|@md5}';
/* * * DON'T EDIT BELOW THIS LINE * * */
(function() {
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
})();
</script>
<noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript" rel="nofollow">comments powered by Disqus.</a></noscript>
</div>

View File

@@ -0,0 +1,28 @@
{*
* 2007-2014 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-2014 PrestaShop SA
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
<div id="simpleblog-post-comments" class="post-block">
<h3 class="block-title">{l s='Comments' mod='ph_simpleblog'} (<fb:comments-count href={$post->url|escape:'html':'UTF-8'}/></fb:comments-count>)</h3>
<div class="fb-comments" data-href="{$post->url|escape:'html':'UTF-8'}" data-colorscheme="{Configuration::get('PH_BLOG_FACEBOOK_COLOR_SCHEME')|escape:'html':'UTF-8'}" data-numposts="5" data-width="100%"></div>
</div>

View File

@@ -0,0 +1,65 @@
{*
* 2007-2014 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-2014 PrestaShop SA
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
{if isset($logged) AND $logged || Configuration::get('PH_BLOG_COMMENT_ALLOW_GUEST')}
<form class="std clearfix" action="{$post->url|escape:'html':'UTF-8'}" method="post">
<fieldset>
<div class="box">
<h3 class="page-heading bottom-indent">{l s='New comment' mod='ph_simpleblog'}</h3>
<div class="form-group">
<label for="customer_name">{l s='Your name' mod='ph_simpleblog'}</label>
<input type="text" class="form-control" name="customer_name" id="customer_name" value="{if isset($logged) AND $logged}{$customerName|escape:'html':'UTF-8'}{else}{if isset($smarty.post.comment_content)}{$smarty.post.customer_name|escape:'htmlall':'UTF-8'}{/if}{/if}" />
</div>
<div class="form-group">
<label for="comment_content">{l s='Your comment' mod='ph_simpleblog'}</label>
<textarea class="form-control"id="comment_content" name="comment_content" cols="26" rows="5">{if isset($smarty.post.comment_content)}{$smarty.post.comment_content|escape:'htmlall':'UTF-8'}{/if}</textarea>
</div>
{if Configuration::get('PH_BLOG_COMMENTS_RECAPTCHA')}
<div class="form-group">
<div class="g-recaptcha" data-sitekey="{Configuration::get('PH_BLOG_COMMENTS_RECAPTCHA_SITE_KEY')}" data-theme="{Configuration::get('PH_BLOG_COMMENTS_RECAPTCHA_THEME')}"></div>
<script src='https://www.google.com/recaptcha/api.js'></script>
</div>
{/if}
</div>
<p class="cart_navigation required submit clearfix">
<input type="hidden" name="id_simpleblog_post" value="{$post->id_simpleblog_post|intval}" />
<input type="hidden" name="id_parent" id="id_parent" value="0" />
{if $is_16}
<button type="submit" class="button btn btn-default button-medium" name="submitNewComment" id="submitNewComment">
<span>
{l s='Add new comment' mod='ph_simpleblog'}
<i class="fa fa-chevron-right right"></i>
</span>
</button>
{else}
<input type="submit" class="button" name="submitNewComment" value="{l s='Add new comment' mod='ph_simpleblog'}" />
{/if}
</p>
</fieldset>
</form>
{else}
<div class="warning alert alert-warning">
<a href="{$link->getPageLink('authentication', true, null, ['back' => $post->url])|escape:'html':'UTF-8'}">{l s='Only registered and logged customers can add comments' mod='ph_simpleblog'}</a>
</div><!-- .warning -->
{/if}

View File

@@ -0,0 +1,35 @@
<?php
/*
* 2007-2013 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-2013 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,50 @@
{*
* 2007-2014 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-2014 PrestaShop SA
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
<div id="simpleblog-post-comments" class="post-block">
<h3 class="block-title">{l s='Comments' mod='ph_simpleblog'} ({$post->comments|escape:'html':'UTF-8'})</h3>
<div class="post-comments-list">
{if $post->comments}
{foreach $comments as $comment}
<div class="post-comment post-comment-{$comment.id|intval}">
<div class="post-comment-meta">
<i class="fa fa-pencil"></i>
{l s='Posted by' mod='ph_simpleblog'} <span class="post-comment-author">{$comment.name|escape:'html':'UTF-8'}</span> {l s='on' mod='ph_simpleblog'} <span class="post-comment-date">{$comment.date_add|escape:'html':'UTF-8'}</span>
</div><!-- .post-comment-meta -->
<div class="post-comment-content">
{$comment.comment|escape:'html':'UTF-8'}
</div><!-- .post-comment-content -->
</div><!-- .post-comment -->
{/foreach}
{else}
<div class="warning alert alert-warning">
{l s='No comments at this moment' mod='ph_simpleblog'}
</div><!-- .warning -->
{/if}
</div><!-- .post-comments-list -->
{* Comment form *}
{include file="./form.tpl"}
</div><!-- #post-comments -->

View File

@@ -0,0 +1,35 @@
<?php
/*
* 2007-2014 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-2014 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,199 @@
{*
* 2007-2014 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-2014 PrestaShop SA
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
{if Configuration::get('PH_BLOG_DISPLAY_BREADCRUMBS')}
{capture name=path}
{if isset($parent_category) || $is_category eq true}
<a href="{$link->getModuleLink('ph_simpleblog', 'list')|escape:'html':'UTF-8'}">
{l s='Blog' mod='ph_simpleblog'}
</a>
{else}
{l s='Blog' mod='ph_simpleblog'}
{/if}
{if isset($parent_category)}
<span class="navigation-pipe">
{$navigationPipe|escape:'html':'UTF-8'}
</span>
<a href="{$link->getModuleLink('ph_simpleblog', 'category', ['sb_category' => $parent_category->link_rewrite])|escape:'html':'UTF-8'}">{$parent_category->name|escape:'html':'UTF-8'}</a>
{/if}
{if $is_category eq true}
<span class="navigation-pipe">
{$navigationPipe|escape:'html':'UTF-8'}
</span>
{$blogCategory->name|escape:'html':'UTF-8'}
{/if}
{/capture}
{if !$is_16}
{include file="$tpl_dir./breadcrumb.tpl"}
{/if}
{/if}
<div class="ph_simpleblog simpleblog-{if $is_category}category{else}home{/if}">
{if $is_category eq true}
<h1>{$blogCategory->name|escape:'html':'UTF-8'}</h1>
{if Configuration::get('PH_BLOG_DISPLAY_CATEGORY_IMAGE') && isset($blogCategory->image)}
<div class="simpleblog-category-image">
<img src="{$blogCategory->image|escape:'html':'UTF-8'}" alt="{$blogCategory->name|escape:'html':'UTF-8'}" class="img-responsive" />
</div>
{/if}
{if !empty($blogCategory->description) && Configuration::get('PH_BLOG_DISPLAY_CAT_DESC')}
<div class="ph_cat_description rte">
{$blogCategory->description}
</div>
{/if}
{else}
<h1>{$blogMainTitle|escape:'html':'UTF-8'}</h1>
{/if}
{if isset($posts) && count($posts)}
<div class="row simpleblog-posts" itemscope="itemscope" itemtype="http://schema.org/Blog">
{foreach from=$posts item=post}
<div class="simpleblog-post-item simpleblog-post-type-{$post.post_type|escape:'html':'UTF-8'}
{if $blogLayout eq 'grid' AND $columns eq '3'}
col-md-4 col-sm-6 col-xs-12 col-ms-12 {cycle values="first-in-line,second-in-line,last-in-line"}
{elseif $blogLayout eq 'grid' AND $columns eq '4'}
col-md-3 col-sm-6 col-xs-12 col-ms-12 {cycle values="first-in-line,second-in-line,third-in-line,last-in-line"}
{elseif $blogLayout eq 'grid' AND $columns eq '2'}
col-md-6 col-sm-6 col-xs-12 col-ms-12 {cycle values="first-in-line,last-in-line"}
{else}
col-md-12
{/if}" itemscope="itemscope" itemtype="http://schema.org/BlogPosting" itemprop="blogPost">
<div class="post-item">
{assign var='post_type' value=$post.post_type}
{* How it works? *}
{* We slice post at few parts, thumbnail, title, description etc. we check if override for specific parts exists for current post type and if so we include this tpl file *}
{if $post_type != 'post' && file_exists("$tpl_path./types/$post_type/thumbnail.tpl")}
{include file="./types/$post_type/thumbnail.tpl"}
{else}
{if isset($post.banner) && Configuration::get('PH_BLOG_DISPLAY_THUMBNAIL')}
<div class="post-thumbnail">
<a href="{$post.url|escape:'html':'UTF-8'}" title="{l s='Permalink to' mod='ph_simpleblog'} {$post.title|escape:'html':'UTF-8'}">
{if $blogLayout eq 'full'}
<meta itemprop="image" content="{$shopUrl}{$post.banner_wide|escape:'html':'UTF-8'}">
<img src="{$post.banner_wide|escape:'html':'UTF-8'}" alt="{$post.title|escape:'html':'UTF-8'}" class="img-responsive" />
{else}
<meta itemprop="image" content="{$shopUrl}{$post.banner_thumb|escape:'html':'UTF-8'}">
<img src="{$post.banner_thumb|escape:'html':'UTF-8'}" alt="{$post.title|escape:'html':'UTF-8'}" class="img-responsive" />
{/if}
</a>
</div><!-- .post-thumbnail -->
{/if}
{/if}
{if $post_type != 'post' && file_exists("$tpl_path./types/$post_type/title.tpl")}
{include file="./types/$post_type/title.tpl"}
{else}
<div class="post-title">
<h2 itemprop="headline">
<a itemprop="url" href="{$post.url|escape:'html':'UTF-8'}" title="{l s='Permalink to' mod='ph_simpleblog'} {$post.title|escape:'html':'UTF-8'}">
{$post.title|escape:'html':'UTF-8'}
</a>
</h2>
</div><!-- .post-title -->
{/if}
{if $post_type != 'post' && file_exists("$tpl_path./types/$post_type/description.tpl")}
{include file="./types/$post_type/description.tpl"}
{else}
{if Configuration::get('PH_BLOG_DISPLAY_DESCRIPTION')}
<div class="post-content" itemprop="text">
{$post.short_content|strip_tags:'UTF-8'}
{if Configuration::get('PH_BLOG_DISPLAY_MORE')}
<div class="post-read-more">
<a href="{$post.url|escape:'html':'UTF-8'}" title="{l s='Read more' mod='ph_simpleblog'}">
{l s='Read more' mod='ph_simpleblog'} <i class="fa fa-chevron-right"></i>
</a>
</div><!-- .post-read-more -->
{/if}
</div><!-- .post-content -->
{/if}
{/if}
{if $post_type != 'post' && file_exists("$tpl_path./types/$post_type/meta.tpl")}
{include file="./types/$post_type/meta.tpl"}
{else}
<div class="post-additional-info post-meta-info">
{if Configuration::get('PH_BLOG_DISPLAY_DATE')}
<span class="post-date">
<i class="fa fa-calendar"></i> <time itemprop="datePublished" datetime="{$post.date_add|date_format:'c'}">{$post.date_add|date_format:Configuration::get('PH_BLOG_DATEFORMAT')}</time>
</span>
{/if}
{if $is_category eq false && Configuration::get('PH_BLOG_DISPLAY_CATEGORY')}
<span class="post-category">
<i class="fa fa-tags"></i> <a href="{$post.category_url}" title="{$post.category|escape:'html':'UTF-8'}" rel="category">{$post.category|escape:'html':'UTF-8'}</a>
</span>
{/if}
{if isset($post.author) && !empty($post.author) && Configuration::get('PH_BLOG_DISPLAY_AUTHOR')}
<span class="post-author" itemprop="author" itemscope="itemscope" itemtype="http://schema.org/Person">
<i class="fa fa-user"></i> <span itemprop="name">{$post.author|escape:'html':'UTF-8'}</span>
</span>
{/if}
</div><!-- .post-additional-info post-meta-info -->
{/if}
<div itemprop="publisher" itemscope itemtype="https://schema.org/Organization">
<div itemprop="logo" itemscope itemtype="https://schema.org/ImageObject">
<meta itemprop="url" content="{$shopLogo}">
</div>
<meta itemprop="name" content="{Configuration::get('PS_SHOP_NAME')}">
<meta itemprop="email" content="{Configuration::get('PS_SHOP_EMAIL')}">
</div>
<meta itemprop="datePublished" content="{$post.date_add}">
<meta itemprop="dateModified" content="{$post.date_upd}">
<meta itemprop="mainEntityOfPage" content="{$base_dir_ssl}">
{if !isset($post.author) || (isset($post.author) && empty($post.author))}
<div itemprop="author" itemscope="itemscope" itemtype="http://schema.org/Person">
<meta itemprop="name" content="{Configuration::get('PS_SHOP_NAME')}">
</div>
{/if}
</div><!-- .post-item -->
</div><!-- .simpleblog-post-item -->
{/foreach}
</div><!-- .row -->
{if $is_category}
{include file="./pagination.tpl" rewrite=$blogCategory->link_rewrite type='category'}
{else}
{include file="./pagination.tpl" rewrite=false type=false}
{/if}
{else}
<p class="warning alert alert-warning">{l s='There are no posts' mod='ph_simpleblog'}</p>
{/if}
</div><!-- .ph_simpleblog -->
<script>
var currentBlog = '{if $is_category}category{else}home{/if}';
$(window).load(function() {
$('body').addClass('simpleblog simpleblog-'+currentBlog);
});
</script>

View File

@@ -0,0 +1,59 @@
{*
* 2007-2014 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-2014 PrestaShop SA
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
<!-- Pagination -->
<div id="pagination" class="pagination simpleblog-pagination">
{if $start!=$stop}
<ul class="pagination">
{if $p != 1}
{assign var='p_previous' value=$p-1}
<li id="pagination_previous" class="pagination_previous"><a href="{SimpleBlogPost::getPageLink($p_previous, $type, $rewrite)|escape:'html':'UTF-8'}" rel="prev">&laquo;&nbsp;{l s='Previous' mod='ph_simpleblog'}</a></li>
{else}
<li id="pagination_previous" class="disabled pagination_previous"><span>&laquo;&nbsp;{l s='Previous' mod='ph_simpleblog'}</span></li>
{/if}
{if $start>3}
<li><a href="{SimpleBlogPost::getPageLink(1, $type, $rewrite)|escape:'html':'UTF-8'}">1</a></li>
<li class="truncate">...</li>
{/if}
{section name=pagination start=$start loop=$stop+1 step=1}
{if $p == $smarty.section.pagination.index}
<li class="current"><span>{$p|escape:'htmlall':'UTF-8'}</span></li>
{else}
<li><a href="{SimpleBlogPost::getPageLink($smarty.section.pagination.index, $type, $rewrite)|escape:'html':'UTF-8'}">{$smarty.section.pagination.index|escape:'htmlall':'UTF-8'}</a></li>
{/if}
{/section}
{if $pages_nb>$stop+2}
<li class="truncate">...</li>
<li><a href="{SimpleBlogPost::getPageLink($pages_nb, $type, $rewrite)|escape:'html':'UTF-8'}">{$pages_nb|intval}</a></li>
{/if}
{if $pages_nb > 1 AND $p != $pages_nb}
{assign var='p_next' value=$p+1}
<li id="pagination_next" class="pagination_next"><a href="{SimpleBlogPost::getPageLink($p_next, $type, $rewrite)|escape:'html':'UTF-8'}" rel="next">{l s='Next' mod='ph_simpleblog'}&nbsp;&raquo;</a></li>
{else}
<li id="pagination_next" class="disabled pagination_next"><span>{l s='Next' mod='ph_simpleblog'}&nbsp;&raquo;</span></li>
{/if}
</ul>
{/if}
</div>
<!-- /Pagination -->

View File

@@ -0,0 +1,202 @@
{*
* 2007-2014 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-2014 PrestaShop SA
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
{if isset($products) && $products}
{*define number of products per line in other page for desktop*}
{if $page_name !='index' && $page_name !='product'}
{assign var='nbItemsPerLine' value=3}
{assign var='nbItemsPerLineTablet' value=2}
{assign var='nbItemsPerLineMobile' value=3}
{else}
{assign var='nbItemsPerLine' value=4}
{assign var='nbItemsPerLineTablet' value=3}
{assign var='nbItemsPerLineMobile' value=2}
{/if}
{*define numbers of product per line in other page for tablet*}
{assign var='nbLi' value=$products|@count}
{math equation="nbLi/nbItemsPerLine" nbLi=$nbLi nbItemsPerLine=$nbItemsPerLine assign=nbLines}
{math equation="nbLi/nbItemsPerLineTablet" nbLi=$nbLi nbItemsPerLineTablet=$nbItemsPerLineTablet assign=nbLinesTablet}
<!-- Products list -->
<ul class="product_list grid row">
{foreach from=$products item=product name=products}
{math equation="(total%perLine)" total=$smarty.foreach.products.total perLine=$nbItemsPerLine assign=totModulo}
{math equation="(total%perLineT)" total=$smarty.foreach.products.total perLineT=$nbItemsPerLineTablet assign=totModuloTablet}
{math equation="(total%perLineT)" total=$smarty.foreach.products.total perLineT=$nbItemsPerLineMobile assign=totModuloMobile}
{if $totModulo == 0}{assign var='totModulo' value=$nbItemsPerLine}{/if}
{if $totModuloTablet == 0}{assign var='totModuloTablet' value=$nbItemsPerLineTablet}{/if}
{if $totModuloMobile == 0}{assign var='totModuloMobile' value=$nbItemsPerLineMobile}{/if}
<li class="ajax_block_product col-xs-12 col-sm-6 col-md-4{if $smarty.foreach.products.iteration%$nbItemsPerLine == 0} last-in-line{elseif $smarty.foreach.products.iteration%$nbItemsPerLine == 1} first-in-line{/if}{if $smarty.foreach.products.iteration > ($smarty.foreach.products.total - $totModulo)} last-line{/if}{if $smarty.foreach.products.iteration%$nbItemsPerLineTablet == 0} last-item-of-tablet-line{elseif $smarty.foreach.products.iteration%$nbItemsPerLineTablet == 1} first-item-of-tablet-line{/if}{if $smarty.foreach.products.iteration%$nbItemsPerLineMobile == 0} last-item-of-mobile-line{elseif $smarty.foreach.products.iteration%$nbItemsPerLineMobile == 1} first-item-of-mobile-line{/if}{if $smarty.foreach.products.iteration > ($smarty.foreach.products.total - $totModuloMobile)} last-mobile-line{/if}">
<div class="product-container" itemscope itemtype="http://schema.org/Product">
<div class="left-block">
<div class="product-image-container">
<a class="product_img_link" href="{$product.link|escape:'html':'UTF-8'}" title="{$product.name|escape:'html':'UTF-8'}" itemprop="url">
<img class="replace-2x img-responsive" src="{$link->getImageLink($product.link_rewrite, $product.id_image, 'home_default')|escape:'html':'UTF-8'}" alt="{if !empty($product.legend)}{$product.legend|escape:'html':'UTF-8'}{else}{$product.name|escape:'html':'UTF-8'}{/if}" title="{if !empty($product.legend)}{$product.legend|escape:'html':'UTF-8'}{else}{$product.name|escape:'html':'UTF-8'}{/if}" {if isset($homeSize)} width="{$homeSize.width}" height="{$homeSize.height}"{/if} itemprop="image" />
</a>
{if isset($quick_view) && $quick_view}
<div class="quick-view-wrapper-mobile">
<a class="quick-view-mobile" href="{$product.link|escape:'html':'UTF-8'}" rel="{$product.link|escape:'html':'UTF-8'}">
<i class="fa fa-eye-open"></i>
</a>
</div>
<a class="quick-view" href="{$product.link|escape:'html':'UTF-8'}" rel="{$product.link|escape:'html':'UTF-8'}">
<span>{l s='Quick view' mod='ph_simpleblog'}</span>
</a>
{/if}
{if (!$PS_CATALOG_MODE && ((isset($product.show_price) && $product.show_price) || (isset($product.available_for_order) && $product.available_for_order)))}
<div class="content_price" itemprop="offers" itemscope itemtype="http://schema.org/Offer">
{if isset($product.show_price) && $product.show_price && !isset($restricted_country_mode)}
<span itemprop="price" class="price product-price">
{if !$priceDisplay}{convertPrice price=$product.price}{else}{convertPrice price=$product.price_tax_exc}{/if}
</span>
<meta itemprop="priceCurrency" content="{$currency->iso_code}" />
{if isset($product.specific_prices) && $product.specific_prices && isset($product.specific_prices.reduction) && $product.specific_prices.reduction > 0}
{hook h="displayProductPriceBlock" product=$product type="old_price"}
<span class="old-price product-price">
{displayWtPrice p=$product.price_without_reduction}
</span>
{if $product.specific_prices.reduction_type == 'percentage'}
<span class="price-percent-reduction">-{$product.specific_prices.reduction * 100}%</span>
{/if}
{/if}
{if $PS_STOCK_MANAGEMENT && isset($product.available_for_order) && $product.available_for_order && !isset($restricted_country_mode)}
{if ($product.allow_oosp || $product.quantity > 0)}
<link itemprop="availability" href="http://schema.org/InStock" />{if $product.quantity <= 0}{if $product.allow_oosp}{if isset($product.available_later) && $product.available_later}{$product.available_later}{else}{l s='In Stock' mod='ph_simpleblog'}{/if}{else}{l s='Out of stock' mod='ph_simpleblog'}{/if}{else}{if isset($product.available_now) && $product.available_now}{$product.available_now}{else}{l s='In Stock'}{/if}{/if}
{elseif (isset($product.quantity_all_versions) && $product.quantity_all_versions > 0)}
<link itemprop="availability" href="http://schema.org/LimitedAvailability" />{l s='Product available with different options' mod='ph_simpleblog'}
{else}
<link itemprop="availability" href="http://schema.org/OutOfStock" />{l s='Out of stock' mod='ph_simpleblog'}
{/if}
{/if}
{hook h="displayProductPriceBlock" product=$product type="price"}
{hook h="displayProductPriceBlock" product=$product type="unit_price"}
{/if}
</div>
{/if}
{if isset($product.new) && $product.new == 1}
<a class="new-box" href="{$product.link|escape:'html':'UTF-8'}">
<span class="new-label">{l s='New' mod='ph_simpleblog'}</span>
</a>
{/if}
{if isset($product.on_sale) && $product.on_sale && isset($product.show_price) && $product.show_price && !$PS_CATALOG_MODE}
<a class="sale-box" href="{$product.link|escape:'html':'UTF-8'}">
<span class="sale-label">{l s='Sale!' mod='ph_simpleblog'}</span>
</a>
{/if}
</div>
{hook h="displayProductDeliveryTime" product=$product}
{hook h="displayProductPriceBlock" product=$product type="weight"}
</div>
<div class="right-block">
<h5 itemprop="name">
{if isset($product.pack_quantity) && $product.pack_quantity}{$product.pack_quantity|intval|cat:' x '}{/if}
<a class="product-name" href="{$product.link|escape:'html':'UTF-8'}" title="{$product.name|escape:'html':'UTF-8'}" itemprop="url" >
{$product.name|truncate:45:'...'|escape:'html':'UTF-8'}
</a>
</h5>
{hook h='displayProductListReviews' product=$product}
<p class="product-desc" itemprop="description">
{$product.description_short|strip_tags:'UTF-8'|truncate:360:'...'}
</p>
{if (!$PS_CATALOG_MODE AND ((isset($product.show_price) && $product.show_price) || (isset($product.available_for_order) && $product.available_for_order)))}
<div class="content_price">
{if isset($product.show_price) && $product.show_price && !isset($restricted_country_mode)}
<span class="price product-price">
{if !$priceDisplay}{convertPrice price=$product.price}{else}{convertPrice price=$product.price_tax_exc}{/if}
</span>
{if isset($product.specific_prices) && $product.specific_prices && isset($product.specific_prices.reduction) && $product.specific_prices.reduction > 0}
{hook h="displayProductPriceBlock" product=$product type="old_price"}
<span class="old-price product-price">
{displayWtPrice p=$product.price_without_reduction}
</span>
{hook h="displayProductPriceBlock" id_product=$product.id_product type="old_price"}
{if $product.specific_prices.reduction_type == 'percentage'}
<span class="price-percent-reduction">-{$product.specific_prices.reduction * 100}%</span>
{/if}
{/if}
{hook h="displayProductPriceBlock" product=$product type="price"}
{hook h="displayProductPriceBlock" product=$product type="unit_price"}
{/if}
</div>
{/if}
<div class="button-container">
{if ($product.id_product_attribute == 0 || (isset($add_prod_display) && ($add_prod_display == 1))) && $product.available_for_order && !isset($restricted_country_mode) && $product.customizable != 2 && !$PS_CATALOG_MODE}
{if (!isset($product.customization_required) || !$product.customization_required) && ($product.allow_oosp || $product.quantity > 0)}
{capture}add=1&amp;id_product={$product.id_product|intval}{if isset($static_token)}&amp;token={$static_token}{/if}{/capture}
<a class="button ajax_add_to_cart_button btn btn-default" href="{$link->getPageLink('cart', true, NULL, $smarty.capture.default, false)|escape:'html':'UTF-8'}" rel="nofollow" title="{l s='Add to cart' mod='ph_simpleblog'}" data-id-product="{$product.id_product|intval}" data-minimal_quantity="{if isset($product.product_attribute_minimal_quantity) && $product.product_attribute_minimal_quantity > 1}{$product.product_attribute_minimal_quantity|intval}{else}{$product.minimal_quantity|intval}{/if}">
<span>{l s='Add to cart' mod='ph_simpleblog'}</span>
</a>
{else}
<span class="button ajax_add_to_cart_button btn btn-default disabled">
<span>{l s='Add to cart' mod='ph_simpleblog'}</span>
</span>
{/if}
{/if}
<a class="button lnk_view btn btn-default" href="{$product.link|escape:'html':'UTF-8'}" title="{l s='View' mod='ph_simpleblog'}">
<span>{if (isset($product.customization_required) && $product.customization_required)}{l s='Customize' mod='ph_simpleblog'}{else}{l s='More' mod='ph_simpleblog'}{/if}</span>
</a>
</div>
{if isset($product.color_list)}
<div class="color-list-container">{$product.color_list}</div>
{/if}
<div class="product-flags">
{if (!$PS_CATALOG_MODE AND ((isset($product.show_price) && $product.show_price) || (isset($product.available_for_order) && $product.available_for_order)))}
{if isset($product.online_only) && $product.online_only}
<span class="online_only">{l s='Online only' mod='ph_simpleblog'}</span>
{/if}
{/if}
{if isset($product.on_sale) && $product.on_sale && isset($product.show_price) && $product.show_price && !$PS_CATALOG_MODE}
{elseif isset($product.reduction) && $product.reduction && isset($product.show_price) && $product.show_price && !$PS_CATALOG_MODE}
<span class="discount">{l s='Reduced price!' mod='ph_simpleblog'}</span>
{/if}
</div>
{if (!$PS_CATALOG_MODE && $PS_STOCK_MANAGEMENT && ((isset($product.show_price) && $product.show_price) || (isset($product.available_for_order) && $product.available_for_order)))}
{if isset($product.available_for_order) && $product.available_for_order && !isset($restricted_country_mode)}
<span class="availability">
{if ($product.allow_oosp || $product.quantity > 0)}
<span class="{if $product.quantity <= 0 && !$product.allow_oosp}out-of-stock{else}available-now{/if}">
{if $product.quantity <= 0}{if $product.allow_oosp}{if isset($product.available_later) && $product.available_later}{$product.available_later}{else}{l s='In Stock' mod='ph_simpleblog'}{/if}{else}{l s='Out of stock' mod='ph_simpleblog'}{/if}{else}{if isset($product.available_now) && $product.available_now}{$product.available_now}{else}{l s='In Stock' mod='ph_simpleblog'}{/if}{/if}
</span>
{elseif (isset($product.quantity_all_versions) && $product.quantity_all_versions > 0)}
<span class="available-dif">
{l s='Product available with different options' mod='ph_simpleblog'}
</span>
{else}
<span class="out-of-stock">
{l s='Out of stock' mod='ph_simpleblog'}
</span>
{/if}
</span>
{/if}
{/if}
</div>
<div class="functional-buttons clearfix">
{hook h='displayProductListFunctionalButtons' product=$product}
</div>
</div><!-- .product-container> -->
</li>
{/foreach}
</ul>
{/if}

View File

@@ -0,0 +1,11 @@
<div class="post-block simpleblog-related-products">
<h3 class="block-title">{l s='Related products' mod='ph_simpleblog'}</h3>
<div class="simpleblog-related-products-wrapper">
{if Configuration::get('PH_BLOG_RELATED_PRODUCTS_USE_DEFAULT_LIST')}
{include file="$tpl_dir./product-list.tpl" products=$related_products is_blog=true}
{else}
{include file="./product-list.tpl" products=$related_products is_blog=true}
{/if}
</div><!-- .simpleblog-related-products-wrapper -->
</div><!-- .simpleblog-related-products -->

View File

@@ -0,0 +1,184 @@
{*
* 2007-2014 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-2014 PrestaShop SA
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
{assign var='post_type' value=$post->post_type}
{capture name=path}
<a href="{$link->getModuleLink('ph_simpleblog', 'list')|escape:'html':'UTF-8'}" title="{l s='Back to blog homepage' mod='ph_simpleblog'}">
{l s='Blog' mod='ph_simpleblog'}
</a>
<span class="navigation-pipe">
{$navigationPipe|escape:'html':'UTF-8'}
</span>
{if isset($post->parent_category) && $post->parent_category != ''}
<a href="{$link->getModuleLink('ph_simpleblog', 'category', ['sb_category' => $post->parent_category->link_rewrite])|escape:'html':'UTF-8'}">{$post->parent_category->name|escape:'html':'UTF-8'}</a>
<span class="navigation-pipe">
{$navigationPipe|escape:'html':'UTF-8'}
</span>
{/if}
<a href="{$post->category_url|escape:'html':'UTF-8'}" title="{l s='Visit category' mod='ph_simpleblog'}">
{$post->category|escape:'html':'UTF-8'}
</a>
<span class="navigation-pipe">
{$navigationPipe|escape:'html':'UTF-8'}
</span>
{$post->title|escape:'html':'UTF-8'}
{/capture}
{include file="$tpl_dir./errors.tpl"}
{if isset($smarty.get.confirmation)}
<div class="success alert alert-success">
{if $smarty.get.confirmation == 1}
{l s='Your comment was sucessfully added.' mod='ph_simpleblog'}
{else}
{l s='Your comment was sucessfully added but it will be visible after moderator approval.' mod='ph_simpleblog'}
{/if}
</div><!-- .success alert alert-success -->
{/if}
<div itemscope="itemscope" itemtype="http://schema.org/Blog" itemprop="mainContentOfPage">
<div class="ph_simpleblog simpleblog-single {if !empty($post->featured_image)}with-cover{else}without-cover{/if} simpleblog-single-{$post->id_simpleblog_post|intval}" itemscope="itemscope" itemtype="http://schema.org/BlogPosting" itemprop="blogPost">
<h1 itemprop="headline">
{$post->title|escape:'html':'UTF-8'}
</h1>
<div class="post-meta-info">
{if Configuration::get('PH_BLOG_DISPLAY_DATE')}
<span class="post-date">
<i class="fa fa-calendar"></i> <time itemprop="datePublished" datetime="{$post->date_add|date_format:'c'}">{$post->date_add|date_format:Configuration::get('PH_BLOG_DATEFORMAT')}</time>
</span>
{/if}
{if Configuration::get('PH_BLOG_DISPLAY_CATEGORY')}
<span class="post-category">
<i class="fa fa-tags"></i> <a href="{$link->getModuleLink('ph_simpleblog', 'category', ['sb_category' => $post->category_rewrite])|escape:'html':'UTF-8'}" title="{$post->category|escape:'html':'UTF-8'}">{$post->category|escape:'html':'UTF-8'}</a>
</span>
{/if}
{if isset($post->author) && !empty($post->author) && Configuration::get('PH_BLOG_DISPLAY_AUTHOR')}
<span class="post-author">
<i class="fa fa-user"></i> <span itemprop="author" itemscope="itemscope" itemtype="http://schema.org/Person">{$post->author|escape:'html':'UTF-8'}</span>
</span>
{/if}
{if $post->tags && Configuration::get('PH_BLOG_DISPLAY_TAGS') && isset($post->tags_list)}
<span class="post-tags clear">
{l s='Tags:' mod='ph_simpleblog'}
{foreach from=$post->tags_list item=tag name='tagsLoop'}
{$tag|escape:'html':'UTF-8'}{if !$smarty.foreach.tagsLoop.last}, {/if}
{/foreach}
</span>
{/if}
{if Configuration::get('PH_BLOG_DISPLAY_LIKES')}
<span class="post-likes">
<a href="#" data-guest="{$cookie->id_guest|intval}" data-post="{$post->id_simpleblog_post|intval}" class="simpleblog-like-button">
<i class="fa fa-heart"></i>
<span>{$post->likes|intval}</span> {l s='likes' mod='ph_simpleblog'}
</a>
</span>
{/if}
{if Configuration::get('PH_BLOG_DISPLAY_VIEWS')}
<span class="post-views">
<i class="fa fa-eye"></i> {$post->views|escape:'html':'UTF-8'} {l s='views' mod='ph_simpleblog'}
</span>
{/if}
{if $allow_comments eq true && Configuration::get('PH_BLOG_COMMENTS_SYSTEM') == 'native'}
<span class="post-comments">
<i class="fa fa-comments"></i> {$post->comments|escape:'html':'UTF-8'} {l s='comments' mod='ph_simpleblog'}
</span>
{/if}
</div><!-- .post-meta-info -->
<div class="post-featured-image" itemscope itemtype="http://schema.org/ImageObject">
{if $post->featured_image}
<a href="{$post->featured_image|escape:'html':'UTF-8'}" title="{$post->title|escape:'html':'UTF-8'}" class="fancybox" itemprop="contentUrl">
<img src="{$post->featured_image|escape:'html':'UTF-8'}" alt="{$post->title|escape:'html':'UTF-8'}" class="img-responsive" itemprop="thumbnailUrl" />
</a>
{/if}
</div><!-- .post-featured-image -->
<div class="post-content rte" itemprop="text">
{$post->content}
</div><!-- .post-content -->
{if $post_type == 'gallery' && sizeof($post->gallery)}
<div class="post-gallery">
{foreach $post->gallery as $image}
<a rel="post-gallery-{$post->id_simpleblog_post|intval}" class="fancybox" href="{$gallery_dir|escape:'html':'UTF-8'}{$image.image|escape:'html':'UTF-8'}.jpg" title="{l s='View full' mod='ph_simpleblog'}"><img src="{$gallery_dir|escape:'html':'UTF-8'}{$image.image|escape:'html':'UTF-8'}.jpg" class="img-responsive" /></a>
{/foreach}
</div><!-- .post-gallery -->
{elseif $post_type == 'video'}
<div class="post-video" itemprop="video">
{$post->video_code}
</div><!-- .post-video -->
{/if}
{if Configuration::get('PH_BLOG_DISPLAY_RELATED') && $related_products}
{include file="./related-products.tpl"}
{/if}
<div id="displayPrestaHomeBlogAfterPostContent">
{hook h='displayPrestaHomeBlogAfterPostContent'}
</div><!-- #displayPrestaHomeBlogAfterPostContent -->
{* Native comments *}
{if $allow_comments eq true && Configuration::get('PH_BLOG_COMMENTS_SYSTEM') == 'native'}
{include file="./comments/layout.tpl"}
{/if}
{* Facebook comments *}
{if $allow_comments eq true && Configuration::get('PH_BLOG_COMMENTS_SYSTEM') == 'facebook'}
{include file="./comments/facebook.tpl"}
{/if}
{* Facebook comments *}
{if $allow_comments eq true && Configuration::get('PH_BLOG_COMMENTS_SYSTEM') == 'disqus'}
{include file="./comments/disqus.tpl"}
{/if}
</div><!-- .ph_simpleblog -->
</div><!-- schema -->
{if Configuration::get('PH_BLOG_FB_INIT')}
<script>
var lang_iso = '{$lang_iso}_{$lang_iso|@strtoupper}';
{literal}(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/"+lang_iso+"/all.js#xfbml=1";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));
{/literal}
</script>
{/if}
<script>
$(function() {
$('body').addClass('simpleblog simpleblog-single');
});
</script>

View File

@@ -0,0 +1,35 @@
<?php
/*
* 2007-2014 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-2014 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,64 @@
{*
* 2007-2014 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-2014 PrestaShop SA
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
{if isset($post.banner) && Configuration::get('PH_BLOG_DISPLAY_THUMBNAIL')}
<div class="post-thumbnail">
<a {if isset($post.gallery) && sizeof($post.gallery)}href="{$gallery_dir|escape:'html':'UTF-8'}{$post.gallery.0.image|escape:'html':'UTF-8'}.jpg" data-fancybox-group="post-gallery-slideshow-{$post.id_simpleblog_post|intval}" class="post-gallery-link"{else}href="{$post.url|escape:'html':'UTF-8'}"{/if} title="{l s='Permalink link to' mod='ph_simpleblog'} {$post.title|escape:'html':'UTF-8'}">
{if $blogLayout eq 'full'}
<meta itemprop="image" content="{$shopUrl}{$post.banner_wide|escape:'html':'UTF-8'}">
<img src="{$post.banner_wide|escape:'html':'UTF-8'}" alt="{$post.title|escape:'html':'UTF-8'}" class="img-responsive" />
{else}
<meta itemprop="image" content="{$shopUrl}{$post.banner_wide|escape:'html':'UTF-8'}">
<img src="{$post.banner_thumb|escape:'html':'UTF-8'}" alt="{$post.title|escape:'html':'UTF-8'}" class="img-responsive" />
{/if}
</a>
{foreach $post.gallery as $image name=gallery_loop}
{if !$smarty.foreach.gallery_loop.first}
<a class="post-gallery-link" data-fancybox-group="post-gallery-slideshow-{$post.id_simpleblog_post|intval}" href="{$gallery_dir|escape:'html':'UTF-8'}{$image.image|escape:'html':'UTF-8'}.jpg" style="display: none;"><img src="{$gallery_dir|escape:'html':'UTF-8'}{$image.image|escape:'html':'UTF-8'}-{if $blogLayout eq 'full'}wide{else}thumb{/if}.jpg" /></a>
{/if}
{/foreach}
</div>
{else}
{if isset($post.gallery) && sizeof($post.gallery)}
<div class="post-thumbnail post-gallery-container">
<ul class="bxslider" id="post-gallery-slideshow-{$post.id_simpleblog_post|intval}">
{foreach $post.gallery as $image}
<li style="visibility: hidden;"><a class="post-gallery-link" data-fancybox-group="post-gallery-slideshow-{$post.id_simpleblog_post|intval}" href="{$gallery_dir|escape:'html':'UTF-8'}{$image.image|escape:'html':'UTF-8'}.jpg"><img src="{$gallery_dir|escape:'html':'UTF-8'}{$image.image|escape:'html':'UTF-8'}-{if $blogLayout eq 'full'}wide{else}thumb{/if}.jpg" /></a></li>
{/foreach}
</ul>
<script>
$(function() {
$('#post-gallery-slideshow-{$post.id_simpleblog_post|intval}').bxSlider({
mode: 'fade',
preloadImages: 'all',
pager: false,
onSliderLoad: function() {
$("#post-gallery-slideshow-{$post.id_simpleblog_post|intval} li").css("visibility", "visible");
}
});
});
</script>
</div>
{/if}
{/if}

View File

@@ -0,0 +1,35 @@
<?php
/*
* 2007-2014 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-2014 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 @@
{*
* 2007-2014 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-2014 PrestaShop SA
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
{if Configuration::get('PH_BLOG_DISPLAY_DESCRIPTION')}
<div class="post-content" itemprop="text">
{$post.short_content|strip_tags:'UTF-8'}
{if Configuration::get('PH_BLOG_DISPLAY_MORE')}
<div class="post-read-more">
<a href="{$post.external_url|escape:'html':'UTF-8'}" title="{l s='Visit' mod='ph_simpleblog'}">
{l s='Visit' mod='ph_simpleblog'} <i class="fa fa-chevron-right"></i>
</a>
</div><!-- .post-read-more -->
{/if}
</div><!-- .post-content -->
{/if}

View File

@@ -0,0 +1,35 @@
<?php
/*
* 2007-2014 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-2014 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,35 @@
{*
* 2007-2014 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-2014 PrestaShop SA
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
{if isset($post.banner) && Configuration::get('PH_BLOG_DISPLAY_THUMBNAIL')}
<div class="post-thumbnail" itemscope itemtype="http://schema.org/ImageObject">
<a href="{$post.external_url|escape:'html':'UTF-8'}" title="{l s='External link to' mod='ph_simpleblog'} {$post.title|escape:'html':'UTF-8'}" itemprop="contentUrl">
{if $blogLayout eq 'full'}
<img src="{$post.banner_wide|escape:'html':'UTF-8'}" alt="{$post.title|escape:'html':'UTF-8'}" class="img-responsive" itemprop="thumbnailUrl" />
{else}
<img src="{$post.banner_thumb|escape:'html':'UTF-8'}" alt="{$post.title|escape:'html':'UTF-8'}" class="img-responsive" itemprop="thumbnailUrl" />
{/if}
</a>
</div>
{/if}

View File

@@ -0,0 +1,31 @@
{*
* 2007-2014 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-2014 PrestaShop SA
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
<div class="post-title">
<h2 itemprop="headline">
<a href="{$post.external_url|escape:'html':'UTF-8'}" title="{l s='External link to' mod='ph_simpleblog'} {$post.title|escape:'html':'UTF-8'}">
{$post.title|escape:'html':'UTF-8'} <i class="fa fa-external-link"></i>
</a>
</h2>
</div><!-- .post-title -->

View File

@@ -0,0 +1,35 @@
<?php
/*
* 2007-2014 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-2014 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,45 @@
{*
* 2007-2014 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-2014 PrestaShop SA
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
{if isset($post.banner) && Configuration::get('PH_BLOG_DISPLAY_THUMBNAIL')}
<div class="post-thumbnail" itemscope itemtype="http://schema.org/ImageObject">
<a href="#simpleblog-post-{$post.id_simpleblog_post|intval}-video" title="{l s='Permalink link to' mod='ph_simpleblog'} {$post.title|escape:'html':'UTF-8'}" itemprop="url">
{if $blogLayout eq 'full'}
<meta itemprop="image" content="{$shopUrl}{$post.banner_wide|escape:'html':'UTF-8'}">
<img src="{$post.banner_wide|escape:'html':'UTF-8'}" alt="{$post.title|escape:'html':'UTF-8'}" class="img-responsive" />
{else}
<meta itemprop="image" content="{$shopUrl}{$post.banner_thumb|escape:'html':'UTF-8'}">
<img src="{$post.banner_thumb|escape:'html':'UTF-8'}" alt="{$post.title|escape:'html':'UTF-8'}" class="img-responsive" />
{/if}
</a>
</div>
{else}
<meta itemprop="image" content="{$shopLogo|escape:'html':'UTF-8'}">
{$post.video_code}
{/if}
<div itemprop="video" id="simpleblog-post-{$post.id_simpleblog_post|intval}-video" style="display: none;">
{$post.video_code}
</div>

View File

@@ -0,0 +1,20 @@
{* {if Configuration::get('PH_BLOG_DISPLAY_SHARER')}
<div class="post-block simpleblog-socialshare">
<h3 class="block-title">{l s='Share this post' mod='ph_simpleblog'}</h3>
<div class="simpleblog-socialshare-icons">
<button data-type="twitter" type="button" class="btn btn-default btn-twitter">
<i class="fa fa-twitter"></i> {l s="Tweet" mod='ph_simpleblog'}
</button>
<button data-type="facebook" type="button" class="btn btn-default btn-facebook">
<i class="fa fa-facebook"></i> {l s="Share" mod='ph_simpleblog'}
</button>
<button data-type="google-plus" type="button" class="btn btn-default btn-google-plus">
<i class="fa fa-google-plus"></i> {l s="Google+" mod='ph_simpleblog'}
</button>
<button data-type="pinterest" type="button" class="btn btn-default btn-pinterest">
<i class="fa fa-pinterest"></i> {l s="Pinterest" mod='ph_simpleblog'}
</button>
</div><!-- simpleblog-socialshare-icons. -->
</div><!-- .simpleblog-socialshare -->
{/if} *}

View File

@@ -0,0 +1,35 @@
<?php
/*
* 2007-2014 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-2014 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,70 @@
{*
* 2007-2018 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-2018 PrestaShop SA
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
<div class="block-categories sidebar-block hidden-sm-down">
<ul class="category-top-menu">
<li class="sidebar-title"><a class="h6" href="{ph_simpleblog::getLink()}" title="{l s='Blog' mod='ph_simpleblog'}">{l s='Blog' mod='ph_simpleblog'}</a></li>
<li>
<ul class="category-sub-menu">
{foreach $categories AS $category}
<li><a href="{$category['url']}" title="{l s='Link to' mod='ph_simpleblog'} {$category['name']}">{$category['name']}</a>
{if isset($category['childrens'])}
<div class="navbar-toggler collapse-icons" data-toggle="collapse" data-target="#blog_subcategory_{$category['id']}"><i class="material-icons add"></i><i class="material-icons remove"></i></div>
<div class="collapse" id="blog_subcategory_{$category['id']}">
<ul class="category-sub-menu">
{foreach $category['childrens'] as $child_category}
<li>
<a class="category-sub-link" href="{$child_category['url']}" title="{l s='Link to' mod='ph_simpleblog'} {$child_category['name']}">
{$child_category['name']}
</a>
</li>
{/foreach}
</ul>
</div>
{/if}
</li>
{/foreach}
</ul>
</li>
</ul>
</div>
{* <div id="ph_simpleblog_categories" class="block informations_block_left">
<p class="title_block"><a href="{ph_simpleblog::getLink()}" title="{l s='Blog' mod='ph_simpleblog'}">{l s='Blog' mod='ph_simpleblog'}</a></p>
<div class="block_content list-block">
<ul>
{foreach $categories AS $category}
<li><a href="{$category['url']}" title="{l s='Link to' mod='ph_simpleblog'} {$category['name']}">{$category['name']}</a>
{if isset($category['childrens'])}
<ul class="child_categories">
{foreach $category['childrens'] as $child_category}
<li><a href="{$link->getModuleLink('ph_simpleblog', 'category', ['sb_category' => $child_category.link_rewrite])}" title="{l s='Link to' mod='ph_simpleblog'} {$child_category['name']}">{$child_category['name']}</a>
{/foreach}
</ul>
{/if}
</li>
{/foreach}
</ul>
</div>
</div> *}

View File

@@ -0,0 +1,20 @@
{if Configuration::get('PH_BLOG_DISPLAY_SHARER')}
<div class="post-block simpleblog-socialshare">
<h3 class="block-title">{l s='Share this post' mod='ph_simpleblog'}</h3>
<div class="simpleblog-socialshare-icons">
<button data-type="twitter" type="button" class="btn btn-default btn-twitter">
<i class="fa fa-twitter"></i> {l s="Tweet" mod='ph_simpleblog'}
</button>
<button data-type="facebook" type="button" class="btn btn-default btn-facebook">
<i class="fa fa-facebook"></i> {l s="Share" mod='ph_simpleblog'}
</button>
<button data-type="google-plus" type="button" class="btn btn-default btn-google-plus">
<i class="fa fa-google-plus"></i> {l s="Google+" mod='ph_simpleblog'}
</button>
<button data-type="pinterest" type="button" class="btn btn-default btn-pinterest">
<i class="fa fa-pinterest"></i> {l s="Pinterest" mod='ph_simpleblog'}
</button>
</div><!-- simpleblog-socialshare-icons. -->
</div><!-- .simpleblog-socialshare -->
{/if}

View File

@@ -0,0 +1,34 @@
{*
* 2007-2014 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-2014 PrestaShop SA
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
<meta property="og:url" content="{$post_url|escape:'html':'UTF-8'}" />
<meta property="og:title" content="{$post_title|escape:'html':'UTF-8'}" />
<meta property="og:type" content="article" />
<meta property="og:site_name" content="{Configuration::get('PS_SHOP_NAME')|escape:'html':'UTF-8'}" />
<meta property="og:description" content="{$post_description|escape:'html':'UTF-8'}" />
{if isset($post_image) && !empty($post_image)}
<meta property="og:image" content="{$post_image|escape:'html':'UTF-8'}" />
{/if}
<meta property="fb:admins" content="{Configuration::get('PH_BLOG_FACEBOOK_MODERATOR')|intval}"/>
<meta property="fb:app_id" content="{Configuration::get('PH_BLOG_FACEBOOK_APP_ID')|intval}"/>

View File

@@ -0,0 +1,35 @@
<?php
/*
* 2007-2014 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-2014 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,42 @@
{*
* 2007-2014 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-2014 PrestaShop SA
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
<div id="ph_simpleblog_categories" class="block informations_block_left">
<p class="title_block"><a href="{ph_simpleblog::getLink()|escape:'html':'UTF-8'}" title="{l s='Blog' mod='ph_simpleblog'}">{l s='Blog' mod='ph_simpleblog'}</a></p>
<div class="block_content list-block">
<ul>
{foreach $categories AS $category}
<li><a href="{$category['url']|escape:'html':'UTF-8'}" title="{l s='Link to' mod='ph_simpleblog'} {$category['name']|escape:'html':'UTF-8'}">{$category['name']|escape:'html':'UTF-8'}</a>
{if isset($category['childrens'])}
<ul class="child_categories">
{foreach $category['childrens'] as $child_category}
<li><a href="{$link->getModuleLink('ph_simpleblog', 'category', ['sb_category' => $child_category.link_rewrite])|escape:'html':'UTF-8'}" title="{l s='Link to' mod='ph_simpleblog'} {$child_category['name']|escape:'html':'UTF-8'}">{$child_category['name']|escape:'html':'UTF-8'}</a>
{/foreach}
</ul>
{/if}
</li>
{/foreach}
</ul>
</div>
</div>

View File

@@ -0,0 +1,35 @@
<?php
/*
* 2007-2013 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-2013 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,35 @@
<?php
/*
* 2007-2013 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-2013 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,35 @@
<?php
/*
* 2007-2013 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-2013 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,18 @@
{if isset($recent_posts) && count($recent_posts)}
<section class="simpleblog" id="phblogrecentposts" itemscope="itemscope" itemtype="http://schema.org/Blog">
{if isset($roythemes.bl_w) && $roythemes.bl_w == "1"}<div class="container">{/if}
<div class="row">
<h2 class="h1 products-section-title">
<a href="{$blogLink}">
{l s='Blog' mod='phblogrecentposts'}
</a>
</h2>
<div class="blogslider slideme">
{foreach from=$recent_posts item=post}
{include file="module:ph_simpleblog/views/templates/front/1.7/_partials/post-miniature.tpl"}
{/foreach}
</div>
</div><!-- .row -->
{if isset($roythemes.bl_w) && $roythemes.bl_w == "1"}</div>{/if}
</section><!-- .section-news -->
{/if}

Some files were not shown because too many files have changed in this diff Show More