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,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,47 @@
<div class="simpleblog__listing__post__wrapper__footer">
<div class="row">
{if Configuration::get('PH_BLOG_DISPLAY_DATE')}
<div class="simpleblog__listing__post__wrapper__footer__block col-md-6 col-xs-12">
<i class="material-icons">label</i> <time datetime="{$post.date_add|date_format:'c'}">{$post.date_add|date_format:Configuration::get('PH_BLOG_DATEFORMAT')}</time>
</div>
{/if}
{if isset($post.author) && !empty($post.author) && Configuration::get('PH_BLOG_DISPLAY_AUTHOR')}
<div class="simpleblog__listing__post__wrapper__footer__block col-md-6 col-xs-12">
<i class="material-icons">perm_identity</i> <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 col-md-6 col-xs-12">
<i class="material-icons">comment</i>
<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 col-md-6 col-xs-12">
<i class="material-icons">remove_red_eye</i>
<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><!-- .row -->
</div><!-- .simpleblog__listing__post__wrapper__footer -->

View File

@@ -0,0 +1,43 @@
<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}
{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>
{include file="module:ph_simpleblog/views/templates/front/1.7/_partials/post-miniature-footer.tpl"}
</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,12 @@
{if Configuration::get('PH_BLOG_DISPLAY_MORE')}
<div class="simpleblog__listing__post__wrapper__content__footer">
<a href="{$post.url}" class="btn btn-primary">
{l s='Read more' mod='ph_simpleblog'}
</a>
{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.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">
{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">
{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">
{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}