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,45 @@
{**
* 2012 - 2020 HiPresta
*
* MODULE Gallery
*
* @author HiPresta <support@hipresta.com>
* @copyright HiPresta 2020
* @license Addons PrestaShop license limitation
* @link https://hipresta.com
*
* NOTICE OF LICENSE
*
* Don't use this module on several shops. The license provided by PrestaShop Addons
* for all its modules is valid only once for a single shop.
*}
{if $gallery && $gallery['images']}
<div class="gallerys-container clearfix" data-id-loaded-gallery="{$gallery.id_gallery|intval}">
<div class="block {if $psv >= 1.7}featured-products{/if} gallery-main clearfix gallery-main-{$gallery['id_gallery']|escape:'htmlall':'UTF-8'}" data-id-gallery ="{$gallery['id_gallery']|escape:'htmlall':'UTF-8'}">
{if $gallery.title}
<h3 class="gallery-title">{$gallery.title|escape:'htmlall':'UTF-8'}</h3>
{/if}
{if $gallery.description}
<div class="gallery-description">
{$gallery.description nofilter}
</div>
{/if}
<div class="gallery-image-block {if $gallery['position'] !== 'displayLeftColumn' || $gallery['position'] == 'displayRightColumn'}higallery-masonry column-3 {/if}">
{foreach from=$gallery['images'] item=images}
<div class="higallery-masonry-item image-content">
<a href="{$upload_img_path}original/{$images['image']|escape:'htmlall':'UTF-8'}">
<img src="{$upload_img_path}small/{$images['image']|escape:'htmlall':'UTF-8'}" {if $images['image_caption']}alt="{$images['image_caption']}"{/if}>
{if $images['image_caption'] != ''}
<div class="caption">
<span>{$images['image_caption']|escape:'htmlall':'UTF-8'}</span>
</div>
{/if}
</a>
</div>
{/foreach}
</div>
</div>
</div>
{/if}

View File

@@ -0,0 +1,51 @@
{**
* 2012 - 2020 HiPresta
*
* MODULE Gallery
*
* @author HiPresta <support@hipresta.com>
* @copyright HiPresta 2020
* @license Addons PrestaShop license limitation
* @link https://hipresta.com
*
* NOTICE OF LICENSE
*
* Don't use this module on several shops. The license provided by PrestaShop Addons
* for all its modules is valid only once for a single shop.
*}
{if !empty($gallerys) && $gallerys['visible']}
<div class="gallerys-container clearfix">
<div class="higallery-loader"></div>
{foreach from=$gallerys item=gallery}
{if !empty($gallery['images'])}
<div class="block {if $psv >= 1.7}featured-products{/if} gallery-main clearfix gallery-main-{$gallery['id_gallery']|escape:'htmlall':'UTF-8'}" data-id-gallery ="{$gallery['id_gallery']|escape:'htmlall':'UTF-8'}">
<p class="{if $psv < 1.7}title_block {else} h1 products-section-title text-uppercase{/if}">{$gallery['name']|escape:'htmlall':'UTF-8'}</p>
{if $gallery.title}
<h3 class="gallery-title">{$gallery.title|escape:'htmlall':'UTF-8'}</h3>
{/if}
{if $gallery.description}
<div class="gallery-description">
{$gallery.description nofilter}
</div>
{/if}
<div class="gallery-image-block {if $gallery['position'] !== 'displayLeftColumn' || $gallery['position'] == 'displayRightColumn'}higallery-masonry column-3 {/if}">
{foreach from=$gallery['images'] item=images}
<div class="higallery-masonry-item image-content">
<a href="{$upload_img_path}original/{$images['image']|escape:'htmlall':'UTF-8'}">
<img src="{$upload_img_path}small/{$images['image']|escape:'htmlall':'UTF-8'}" {if $images['image_caption']}alt="{$images['image_caption']}"{/if}>
{if $images['image_caption'] != ''}
<div class="caption">
<span>{$images['image_caption']|escape:'htmlall':'UTF-8'}</span>
</div>
{/if}
</a>
</div>
{/foreach}
</div>
</div>
{/if}
{/foreach}
</div>
{/if}

View File

@@ -0,0 +1,26 @@
{**
* 2012 - 2020 HiPresta
*
* MODULE Gallery
*
* @author HiPresta <support@hipresta.com>
* @copyright HiPresta 2020
* @license Addons PrestaShop license limitation
* @link https://hipresta.com
*
* NOTICE OF LICENSE
*
* Don't use this module on several shops. The license provided by PrestaShop Addons
* for all its modules is valid only once for a single shop.
*}
<script type="text/javascript">
{literal}
var psv = '{/literal}{$psv|escape:'htmlall':'UTF-8'}{literal}';
var gl_secure_key = '{/literal}{$gl_secure_key|escape:'htmlall':'UTF-8'}{literal}';
{/literal}
</script>

View File

@@ -0,0 +1,27 @@
<?php
/**
* 2012 - 2020 HiPresta
*
* MODULE Gallery
*
* @author HiPresta <support@hipresta.com>
* @copyright HiPresta 2020
* @license Addons PrestaShop license limitation
* @link https://hipresta.com
*
* NOTICE OF LICENSE
*
* Don't use this module on several shops. The license provided by PrestaShop Addons
* for all its modules is valid only once for a single shop.
*/
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;