update
This commit is contained in:
8
modules/creativeelements/views/templates/front/index.php
Normal file
8
modules/creativeelements/views/templates/front/index.php
Normal file
@@ -0,0 +1,8 @@
|
||||
<?php
|
||||
header('Expires: Thu, 28 Feb 2019 00:00:00 GMT');
|
||||
header('Last-Modified: ' . gmdate('D, d M Y H:i:s') . ' GMT');
|
||||
header('Cache-Control: no-store, no-cache, must-revalidate, max-age=0');
|
||||
header('Cache-Control: post-check=0, pre-check=0', false);
|
||||
header('Pragma: no-cache');
|
||||
header('Location: ../../../../../');
|
||||
die;
|
||||
17
modules/creativeelements/views/templates/front/preview.tpl
Normal file
17
modules/creativeelements/views/templates/front/preview.tpl
Normal file
@@ -0,0 +1,17 @@
|
||||
{**
|
||||
* Creative Elements - live Theme & Page Builder
|
||||
*
|
||||
* @author WebshopWorks
|
||||
* @copyright 2019-2022 WebshopWorks.com
|
||||
* @license One domain support license
|
||||
*}
|
||||
|
||||
{extends file='page.tpl'}
|
||||
|
||||
{block name='page_content_container'}
|
||||
{if isset($ce_content)}
|
||||
{$ce_content.content|cefilter}
|
||||
{else}
|
||||
{$ce_template.content|cefilter}
|
||||
{/if}
|
||||
{/block}
|
||||
@@ -0,0 +1,36 @@
|
||||
{**
|
||||
* Creative Elements - live Theme & Page Builder
|
||||
*
|
||||
* @author WebshopWorks
|
||||
* @copyright 2019-2022 WebshopWorks.com
|
||||
* @license One domain support license
|
||||
*}
|
||||
{if $stylesheets}
|
||||
{foreach $stylesheets.external as $stylesheet}
|
||||
<link rel="stylesheet" href="{$stylesheet.uri}" media="{$stylesheet.media}">
|
||||
{/foreach}
|
||||
|
||||
{foreach $stylesheets.inline as $stylesheet}
|
||||
<style>
|
||||
{$stylesheet.content|cefilter}
|
||||
</style>
|
||||
{/foreach}
|
||||
{/if}
|
||||
|
||||
{foreach $javascript.external as $js}
|
||||
<script src="{$js.uri}" {$js.attribute}></script>
|
||||
{/foreach}
|
||||
|
||||
{foreach $javascript.inline as $js}
|
||||
<script>
|
||||
{$js.content|cefilter}
|
||||
</script>
|
||||
{/foreach}
|
||||
|
||||
{if $js_custom_vars}
|
||||
<script>
|
||||
{foreach $js_custom_vars as $var_key => $var_val}
|
||||
var {$var_key} = {json_encode($var_val)|cefilter};
|
||||
{/foreach}
|
||||
</script>
|
||||
{/if}
|
||||
@@ -0,0 +1,14 @@
|
||||
{**
|
||||
* Creative Elements - live Theme & Page Builder
|
||||
*
|
||||
* @author WebshopWorks
|
||||
* @copyright 2019-2022 WebshopWorks.com
|
||||
* @license One domain support license
|
||||
*}
|
||||
{if isset($CE_FOOTER)}
|
||||
{$CE_FOOTER|cefilter}
|
||||
{elseif file_exists("{$smarty.const._PS_THEME_DIR_}templates/_partials/footer.tpl")}
|
||||
{include '[1]_partials/footer.tpl'}
|
||||
{elseif $smarty.const._PARENT_THEME_NAME_}
|
||||
{include 'parent:_partials/footer.tpl'}
|
||||
{/if}
|
||||
@@ -0,0 +1,14 @@
|
||||
{**
|
||||
* Creative Elements - live Theme & Page Builder
|
||||
*
|
||||
* @author WebshopWorks
|
||||
* @copyright 2019-2022 WebshopWorks.com
|
||||
* @license One domain support license
|
||||
*}
|
||||
{if isset($CE_HEADER)}
|
||||
{$CE_HEADER|cefilter}
|
||||
{elseif file_exists("{$smarty.const._PS_THEME_DIR_}templates/_partials/header.tpl")}
|
||||
{include '[1]_partials/header.tpl'}
|
||||
{elseif $smarty.const._PARENT_THEME_NAME_}
|
||||
{include 'parent:_partials/header.tpl'}
|
||||
{/if}
|
||||
@@ -0,0 +1,8 @@
|
||||
<?php
|
||||
header('Expires: Thu, 28 Feb 2019 00:00:00 GMT');
|
||||
header('Last-Modified: ' . gmdate('D, d M Y H:i:s') . ' GMT');
|
||||
header('Cache-Control: no-store, no-cache, must-revalidate, max-age=0');
|
||||
header('Cache-Control: post-check=0, pre-check=0', false);
|
||||
header('Pragma: no-cache');
|
||||
header('Location: ../../../../../../../');
|
||||
die;
|
||||
@@ -0,0 +1,13 @@
|
||||
{**
|
||||
* Creative Elements - live Theme & Page Builder
|
||||
*
|
||||
* @author WebshopWorks
|
||||
* @copyright 2019-2022 WebshopWorks.com
|
||||
* @license One domain support license
|
||||
*}
|
||||
{if file_exists("{$smarty.const._PS_THEME_DIR_}templates/_partials/javascript.tpl")}
|
||||
{include '[1]_partials/javascript.tpl'}
|
||||
{elseif $smarty.const._PARENT_THEME_NAME_}
|
||||
{include 'parent:_partials/javascript.tpl'}
|
||||
{/if}
|
||||
<!--CE-JS-->
|
||||
@@ -0,0 +1,8 @@
|
||||
<?php
|
||||
header('Expires: Thu, 28 Feb 2019 00:00:00 GMT');
|
||||
header('Last-Modified: ' . gmdate('D, d M Y H:i:s') . ' GMT');
|
||||
header('Cache-Control: no-store, no-cache, must-revalidate, max-age=0');
|
||||
header('Cache-Control: post-check=0, pre-check=0', false);
|
||||
header('Pragma: no-cache');
|
||||
header('Location: ../../../../../../../../');
|
||||
die;
|
||||
@@ -0,0 +1,8 @@
|
||||
<?php
|
||||
header('Expires: Thu, 28 Feb 2019 00:00:00 GMT');
|
||||
header('Last-Modified: ' . gmdate('D, d M Y H:i:s') . ' GMT');
|
||||
header('Cache-Control: no-store, no-cache, must-revalidate, max-age=0');
|
||||
header('Cache-Control: post-check=0, pre-check=0', false);
|
||||
header('Pragma: no-cache');
|
||||
header('Location: ../../../../../../../../../');
|
||||
die;
|
||||
@@ -0,0 +1,25 @@
|
||||
{**
|
||||
* Creative Elements - live PageBuilder
|
||||
*
|
||||
* @author WebshopWorks
|
||||
* @copyright 2019-2022 WebshopWorks.com
|
||||
* @license One domain support license
|
||||
*}
|
||||
{if isset($CE_PRODUCT_MINIATURE_UID) && get_class($CE_PRODUCT_MINIATURE_UID) === 'CE\\UId' &&
|
||||
file_exists("{$smarty.const._CE_TEMPLATES_}front/theme/catalog/_partials/miniatures/product-$CE_PRODUCT_MINIATURE_UID.tpl")}
|
||||
{if !isset($productClasses)}
|
||||
{if !isset($layout)}
|
||||
{$layout = Context::getContext()->controller->getLayout()}
|
||||
{/if}
|
||||
{if preg_match('/(left|right|both)-column/', $layout)}
|
||||
{$productClasses = 'col-xs-6 col-xl-4'}
|
||||
{else}
|
||||
{$productClasses = 'col-xs-6 col-xl-3'}
|
||||
{/if}
|
||||
{/if}
|
||||
{include "catalog/_partials/miniatures/product-$CE_PRODUCT_MINIATURE_UID.tpl"}
|
||||
{elseif file_exists("{$smarty.const._PS_THEME_DIR_}templates/catalog/_partials/miniatures/product.tpl")}
|
||||
{include '[1]catalog/_partials/miniatures/product.tpl'}
|
||||
{elseif $smarty.const._PARENT_THEME_NAME_}
|
||||
{include 'parent:catalog/_partials/miniatures/product.tpl'}
|
||||
{/if}
|
||||
@@ -0,0 +1,96 @@
|
||||
{**
|
||||
* Creative Elements - live Theme & Page Builder
|
||||
*
|
||||
* @author WebshopWorks
|
||||
* @copyright 2019-2022 WebshopWorks.com
|
||||
* @license One domain support license
|
||||
*}
|
||||
{extends file='catalog/product.tpl'}
|
||||
|
||||
{block name='page_content'}
|
||||
{capture ce_page_content}{$smarty.block.parent}{/capture}
|
||||
{/block}
|
||||
|
||||
{block name='product_flags' append}
|
||||
{capture ce_product_flags}{$smarty.block.parent}{/capture}
|
||||
{/block}
|
||||
|
||||
{block name='product_cover_thumbnails' append}
|
||||
{capture ce_product_cover_thumbnails}{$smarty.block.parent}{/capture}
|
||||
{/block}
|
||||
|
||||
{block name='product_prices'}
|
||||
{capture ce_product_prices}{$smarty.block.parent}{/capture}
|
||||
{/block}
|
||||
|
||||
{block name='product_customization'}
|
||||
{capture ce_product_customization}{$smarty.block.parent}{/capture}
|
||||
{/block}
|
||||
|
||||
{block name='product_pack'}
|
||||
{capture ce_product_pack}{$smarty.block.parent}{/capture}
|
||||
{/block}
|
||||
|
||||
{block name='product_discounts'}
|
||||
{capture ce_product_discounts}{$smarty.block.parent}{/capture}
|
||||
{/block}
|
||||
|
||||
{block name='product_availability'}
|
||||
{capture ce_product_availability}{$smarty.block.parent}{/capture}
|
||||
{/block}
|
||||
|
||||
{block name='product_minimal_quantity'}
|
||||
{capture ce_product_minimal_quantity}{$smarty.block.parent}{/capture}
|
||||
{/block}
|
||||
|
||||
{block name='product_quantity'}
|
||||
{capture ce_product_actions}{hook h='displayProductActions' product=$product}{/capture}
|
||||
{/block}
|
||||
|
||||
{block name='product_additional_info'}
|
||||
{capture ce_product_additional_info}{$smarty.block.parent}{/capture}
|
||||
{/block}
|
||||
|
||||
{block name='hook_display_reassurance'}
|
||||
{capture ce_hook_display_reassurance}{$smarty.block.parent}{/capture}
|
||||
{/block}
|
||||
|
||||
{block name='product_tabs'}
|
||||
{capture ce_product_tabs}{$smarty.block.parent}{/capture}
|
||||
{/block}
|
||||
|
||||
{block name='product_reference' append}
|
||||
{capture ce_product_reference}{$smarty.block.parent}{/capture}
|
||||
{/block}
|
||||
|
||||
{block name='product_quantities' append}
|
||||
{capture ce_product_quantities}{$smarty.block.parent}{/capture}
|
||||
{/block}
|
||||
|
||||
{block name='product_availability_date' append}
|
||||
{capture ce_product_availability_date}{$smarty.block.parent}{/capture}
|
||||
{/block}
|
||||
|
||||
{block name='product_out_of_stock' append}
|
||||
{capture ce_product_out_of_stock}{$smarty.block.parent}{/capture}
|
||||
{/block}
|
||||
|
||||
{block name='product_features' append}
|
||||
{capture ce_product_features}{$smarty.block.parent}{/capture}
|
||||
{/block}
|
||||
|
||||
{block name='product_specific_references' append}
|
||||
{capture ce_product_specific_references}{$smarty.block.parent}{/capture}
|
||||
{/block}
|
||||
|
||||
{block name='product_condition' append}
|
||||
{capture ce_product_condition}{$smarty.block.parent}{/capture}
|
||||
{/block}
|
||||
|
||||
{block name='product_accessories'}
|
||||
{capture ce_product_accessories}{$smarty.block.parent}{/capture}
|
||||
{/block}
|
||||
|
||||
{block name='product_footer'}
|
||||
{capture ce_product_footer}{$smarty.block.parent}{/capture}
|
||||
{/block}
|
||||
@@ -0,0 +1,21 @@
|
||||
{**
|
||||
* Creative Elements - live Theme & Page Builder
|
||||
*
|
||||
* @author WebshopWorks
|
||||
* @copyright 2019-2022 WebshopWorks.com
|
||||
* @license One domain support license
|
||||
*}
|
||||
{if isset($CE_PRODUCT_QUICK_VIEW_ID)}
|
||||
<form id="add-to-cart-or-refresh" action="{$urls.pages.cart}" method="post" style="display:none">
|
||||
<input type="hidden" name="token" value="{$static_token}">
|
||||
<input type="hidden" name="id_product" value="{$product.id}" id="product_page_product_id">
|
||||
<input type="hidden" name="id_customization" value="{$product.id_customization}" id="product_customization_id">
|
||||
<input type="hidden" name="qty" value="{$product.quantity_wanted}" id="quantity_wanted">
|
||||
<input type="submit" class="ce-add-to-cart" data-button-action="add-to-cart">
|
||||
</form>
|
||||
{call_user_func('CE\\apply_filters', 'the_content', '')|cefilter}
|
||||
{elseif file_exists("{$smarty.const._PS_THEME_DIR_}templates/catalog/_partials/quickview.tpl")}
|
||||
{include '[1]catalog/_partials/quickview.tpl'}
|
||||
{elseif $smarty.const._PARENT_THEME_NAME_}
|
||||
{include 'parent:catalog/_partials/quickview.tpl'}
|
||||
{/if}
|
||||
@@ -0,0 +1,8 @@
|
||||
<?php
|
||||
header('Expires: Thu, 28 Feb 2019 00:00:00 GMT');
|
||||
header('Last-Modified: ' . gmdate('D, d M Y H:i:s') . ' GMT');
|
||||
header('Cache-Control: no-store, no-cache, must-revalidate, max-age=0');
|
||||
header('Cache-Control: post-check=0, pre-check=0', false);
|
||||
header('Pragma: no-cache');
|
||||
header('Location: ../../../../../../../');
|
||||
die;
|
||||
@@ -0,0 +1,60 @@
|
||||
{**
|
||||
* Creative Elements - live Theme & Page Builder
|
||||
*
|
||||
* @author WebshopWorks
|
||||
* @copyright 2019-2022 WebshopWorks.com
|
||||
* @license One domain support license
|
||||
*}
|
||||
{if isset($CE_PRODUCT)}
|
||||
{$ce_layout=$layout}
|
||||
{elseif file_exists("{$smarty.const._PS_THEME_DIR_}templates/catalog/product.tpl")}
|
||||
{$ce_layout='[1]catalog/product.tpl'}
|
||||
{elseif $smarty.const._PARENT_THEME_NAME_}
|
||||
{$ce_layout='parent:catalog/product.tpl'}
|
||||
{/if}
|
||||
|
||||
{extends $ce_layout}
|
||||
|
||||
{if isset($CE_PRODUCT)}
|
||||
{block name='head_seo' prepend}
|
||||
<link rel="canonical" href="{$product.canonical_url}">
|
||||
{/block}
|
||||
|
||||
{block name='head' append}
|
||||
<meta property="og:type" content="product">
|
||||
{if version_compare($smarty.const._PS_VERSION_, '1.7.8', '<')}
|
||||
<meta property="og:title" content="{$page.meta.title}">
|
||||
<meta property="og:description" content="{$page.meta.description}">
|
||||
<meta property="og:url" content="{$urls.current_url}">
|
||||
<meta property="og:site_name" content="{$shop.name}">
|
||||
{/if}
|
||||
{if $product.cover}
|
||||
<meta property="og:image" content="{$product.cover.large.url}">
|
||||
{/if}
|
||||
{if $product.show_price}
|
||||
<meta property="product:pretax_price:amount" content="{$product.price_tax_exc}">
|
||||
<meta property="product:pretax_price:currency" content="{$currency.iso_code}">
|
||||
<meta property="product:price:amount" content="{$product.price_amount}">
|
||||
<meta property="product:price:currency" content="{$currency.iso_code}">
|
||||
{/if}
|
||||
{if !empty($product.weight)}
|
||||
<meta property="product:weight:value" content="{$product.weight}">
|
||||
<meta property="product:weight:units" content="{$product.weight_unit}">
|
||||
{/if}
|
||||
{/block}
|
||||
|
||||
{block name='content'}
|
||||
<section id="content" style="max-width: none;" itemscope itemtype="https://schema.org/Product">
|
||||
<meta itemprop="url" content="{$product.url}">
|
||||
<form id="add-to-cart-or-refresh" action="{$urls.pages.cart}" method="post" style="display:none">
|
||||
<input type="hidden" name="token" value="{$static_token}">
|
||||
<input type="hidden" name="id_product" value="{$product.id}" id="product_page_product_id">
|
||||
<input type="hidden" name="id_customization" value="{$product.id_customization}" id="product_customization_id">
|
||||
<input type="hidden" name="qty" value="{$product.quantity_wanted}" id="quantity_wanted"
|
||||
{if $product['show_quantities']}data-stock="{$product.quantity}" data-allow-oosp="{$product.allow_oosp}"{/if}>
|
||||
<input type="submit" class="ce-add-to-cart" data-button-action="add-to-cart">
|
||||
</form>
|
||||
{$CE_PRODUCT|cefilter}
|
||||
</section>
|
||||
{/block}
|
||||
{/if}
|
||||
@@ -0,0 +1,14 @@
|
||||
{**
|
||||
* Creative Elements - live Theme & Page Builder
|
||||
*
|
||||
* @author WebshopWorks
|
||||
* @copyright 2019-2022 WebshopWorks.com
|
||||
* @license One domain support license
|
||||
*}
|
||||
{if isset($CE_FOOTER)}
|
||||
{$CE_FOOTER|cefilter}
|
||||
{elseif file_exists("{$smarty.const._PS_THEME_DIR_}templates/checkout/_partials/footer.tpl")}
|
||||
{include '[1]checkout/_partials/footer.tpl'}
|
||||
{elseif $smarty.const._PARENT_THEME_NAME_}
|
||||
{include 'parent:checkout/_partials/footer.tpl'}
|
||||
{/if}
|
||||
@@ -0,0 +1,14 @@
|
||||
{**
|
||||
* Creative Elements - live Theme & Page Builder
|
||||
*
|
||||
* @author WebshopWorks
|
||||
* @copyright 2019-2022 WebshopWorks.com
|
||||
* @license One domain support license
|
||||
*}
|
||||
{if isset($CE_HEADER)}
|
||||
{$CE_HEADER|cefilter}
|
||||
{elseif file_exists("{$smarty.const._PS_THEME_DIR_}templates/checkout/_partials/header.tpl")}
|
||||
{include file='[1]checkout/_partials/header.tpl'}
|
||||
{elseif $smarty.const._PARENT_THEME_NAME_}
|
||||
{include file='parent:checkout/_partials/header.tpl'}
|
||||
{/if}
|
||||
@@ -0,0 +1,8 @@
|
||||
<?php
|
||||
header('Expires: Thu, 28 Feb 2019 00:00:00 GMT');
|
||||
header('Last-Modified: ' . gmdate('D, d M Y H:i:s') . ' GMT');
|
||||
header('Cache-Control: no-store, no-cache, must-revalidate, max-age=0');
|
||||
header('Cache-Control: post-check=0, pre-check=0', false);
|
||||
header('Pragma: no-cache');
|
||||
header('Location: ../../../../../../../../');
|
||||
die;
|
||||
@@ -0,0 +1,8 @@
|
||||
<?php
|
||||
header('Expires: Thu, 28 Feb 2019 00:00:00 GMT');
|
||||
header('Last-Modified: ' . gmdate('D, d M Y H:i:s') . ' GMT');
|
||||
header('Cache-Control: no-store, no-cache, must-revalidate, max-age=0');
|
||||
header('Cache-Control: post-check=0, pre-check=0', false);
|
||||
header('Pragma: no-cache');
|
||||
header('Location: ../../../../../../../');
|
||||
die;
|
||||
@@ -0,0 +1,22 @@
|
||||
{**
|
||||
* Creative Elements - live Theme & Page Builder
|
||||
*
|
||||
* @author WebshopWorks
|
||||
* @copyright 2019-2022 WebshopWorks.com
|
||||
* @license One domain support license
|
||||
*}
|
||||
{if isset($CE_PAGE_CONTACT)}
|
||||
{$ce_layout=$layout}
|
||||
{elseif file_exists("{$smarty.const._PS_THEME_DIR_}templates/contact.tpl")}
|
||||
{$ce_layout='[1]contact.tpl'}
|
||||
{elseif $smarty.const._PARENT_THEME_NAME_}
|
||||
{$ce_layout='parent:contact.tpl'}
|
||||
{/if}
|
||||
|
||||
{extends $ce_layout}
|
||||
|
||||
{if isset($CE_PAGE_CONTACT)}
|
||||
{block name='content'}
|
||||
<section id="content">{$CE_PAGE_CONTACT|cefilter}</section>
|
||||
{/block}
|
||||
{/if}
|
||||
@@ -0,0 +1,22 @@
|
||||
{**
|
||||
* Creative Elements - live Theme & Page Builder
|
||||
*
|
||||
* @author WebshopWorks
|
||||
* @copyright 2019-2022 WebshopWorks.com
|
||||
* @license One domain support license
|
||||
*}
|
||||
{if isset($CE_PAGE_NOT_FOUND)}
|
||||
{$ce_layout=$layout}
|
||||
{elseif file_exists("{$smarty.const._PS_THEME_DIR_}templates/errors/404.tpl")}
|
||||
{$ce_layout='[1]errors/404.tpl'}
|
||||
{elseif $smarty.const._PARENT_THEME_NAME_}
|
||||
{$ce_layout='parent:errors/404.tpl'}
|
||||
{/if}
|
||||
|
||||
{extends $ce_layout}
|
||||
|
||||
{if isset($CE_PAGE_NOT_FOUND)}
|
||||
{block name='content'}
|
||||
<section id="content">{$CE_PAGE_NOT_FOUND|cefilter}</section>
|
||||
{/block}
|
||||
{/if}
|
||||
@@ -0,0 +1,8 @@
|
||||
<?php
|
||||
header('Expires: Thu, 28 Feb 2019 00:00:00 GMT');
|
||||
header('Last-Modified: ' . gmdate('D, d M Y H:i:s') . ' GMT');
|
||||
header('Cache-Control: no-store, no-cache, must-revalidate, max-age=0');
|
||||
header('Cache-Control: post-check=0, pre-check=0', false);
|
||||
header('Pragma: no-cache');
|
||||
header('Location: ../../../../../../../');
|
||||
die;
|
||||
@@ -0,0 +1,37 @@
|
||||
{**
|
||||
* Creative Elements - live Theme & Page Builder
|
||||
*
|
||||
* @author WebshopWorks
|
||||
* @copyright 2019-2022 WebshopWorks.com
|
||||
* @license One domain support license
|
||||
*}
|
||||
{$lang = Context::getContext()->language}
|
||||
<!doctype html>
|
||||
<html lang="{$lang->iso_code}">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="x-ua-compatible" content="ie=edge">
|
||||
{if isset($ce_content)}
|
||||
<title>{$ce_content->title}</title>{$content = $ce_content->content|strip_tags|trim|strip}
|
||||
<meta name="description" content="{$content}">
|
||||
{/if}
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
{if !empty($favicon)}
|
||||
<link rel="icon" type="image/vnd.microsoft.icon" href="{$smarty.const._PS_IMG_}{$favicon}?{$favicon_update_time}">
|
||||
<link rel="shortcut icon" type="image/x-icon" href="{$smarty.const._PS_IMG_}{$favicon}?{$favicon_update_time}">
|
||||
{/if}
|
||||
<style>
|
||||
html, body { margin: 0; padding: 0; }
|
||||
</style>
|
||||
<script>
|
||||
var baseDir = {json_encode($smarty.const.__PS_BASE_URI__)|cefilter};
|
||||
</script>
|
||||
<!--CE-JS-->
|
||||
</head>
|
||||
<body id="maintenance" class="{if $lang->is_rtl}lang-rtl {/if}lang-{$lang->iso_code} page-maintenance">
|
||||
<main>
|
||||
{$HOOK_MAINTENANCE|cefilter}
|
||||
</main>
|
||||
<!--CE-JS-->
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,8 @@
|
||||
<?php
|
||||
header('Expires: Thu, 28 Feb 2019 00:00:00 GMT');
|
||||
header('Last-Modified: ' . gmdate('D, d M Y H:i:s') . ' GMT');
|
||||
header('Cache-Control: no-store, no-cache, must-revalidate, max-age=0');
|
||||
header('Cache-Control: post-check=0, pre-check=0', false);
|
||||
header('Pragma: no-cache');
|
||||
header('Location: ../../../../../../');
|
||||
die;
|
||||
@@ -0,0 +1,22 @@
|
||||
{**
|
||||
* Creative Elements - live Theme & Page Builder
|
||||
*
|
||||
* @author WebshopWorks
|
||||
* @copyright 2019-2022 WebshopWorks.com
|
||||
* @license One domain support license
|
||||
*}
|
||||
{if isset($CE_PAGE_INDEX)}
|
||||
{$ce_layout=$layout}
|
||||
{elseif file_exists("{$smarty.const._PS_THEME_DIR_}templates/index.tpl")}
|
||||
{$ce_layout='[1]index.tpl'}
|
||||
{elseif $smarty.const._PARENT_THEME_NAME_}
|
||||
{$ce_layout='parent:index.tpl'}
|
||||
{/if}
|
||||
|
||||
{extends $ce_layout}
|
||||
|
||||
{if isset($CE_PAGE_INDEX)}
|
||||
{block name='content'}
|
||||
<section id="content">{$CE_PAGE_INDEX|cefilter}</section>
|
||||
{/block}
|
||||
{/if}
|
||||
@@ -0,0 +1,8 @@
|
||||
<?php
|
||||
header('Expires: Thu, 28 Feb 2019 00:00:00 GMT');
|
||||
header('Last-Modified: ' . gmdate('D, d M Y H:i:s') . ' GMT');
|
||||
header('Cache-Control: no-store, no-cache, must-revalidate, max-age=0');
|
||||
header('Cache-Control: post-check=0, pre-check=0', false);
|
||||
header('Pragma: no-cache');
|
||||
header('Location: ../../../../../../../');
|
||||
die;
|
||||
@@ -0,0 +1,26 @@
|
||||
{**
|
||||
* Creative Elements - live Theme & Page Builder
|
||||
*
|
||||
* @author WebshopWorks
|
||||
* @copyright 2019-2022 WebshopWorks.com
|
||||
* @license One domain support license
|
||||
*}
|
||||
<!doctype html>
|
||||
<html lang="{$language.iso_code}">
|
||||
<head>
|
||||
{block name='head'}
|
||||
{include file='_partials/head.tpl'}
|
||||
{/block}
|
||||
</head>
|
||||
<body id="{$page.page_name}" class="{$page.body_classes|classnames}">
|
||||
<main>
|
||||
{block name='notifications'}
|
||||
{include file='_partials/notifications.tpl'}
|
||||
{/block}
|
||||
{$ce_desc['description']|cefilter}
|
||||
</main>
|
||||
{block name='javascript_bottom'}
|
||||
{include file="_partials/javascript.tpl" javascript=$javascript.bottom}
|
||||
{/block}
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,50 @@
|
||||
{**
|
||||
* Creative Elements - live Theme & Page Builder
|
||||
*
|
||||
* @author WebshopWorks
|
||||
* @copyright 2019-2022 WebshopWorks.com
|
||||
* @license One domain support license
|
||||
*}
|
||||
{if file_exists("{$smarty.const._PS_THEME_DIR_}templates/_partials/helpers.tpl")}
|
||||
{include '[1]_partials/helpers.tpl'}
|
||||
{elseif $smarty.const._PARENT_THEME_NAME_ && file_exists("{$smarty.const._PARENT_THEME_NAME_}templates/_partials/helpers.tpl")}
|
||||
{include 'parent:_partials/helpers.tpl'}
|
||||
{/if}
|
||||
<!doctype html>
|
||||
<html lang="{$language.iso_code}">
|
||||
<head>
|
||||
{block name='head'}
|
||||
{include file='_partials/head.tpl'}
|
||||
{/block}
|
||||
</head>
|
||||
<body id="{$page.page_name}" class="{$page.body_classes|classnames}">
|
||||
{block name='hook_after_body_opening_tag'}
|
||||
{hook h='displayAfterBodyOpeningTag'}
|
||||
{/block}
|
||||
<main>
|
||||
{block name='product_activation'}
|
||||
{include file='catalog/_partials/product-activation.tpl'}
|
||||
{/block}
|
||||
<header id="header">
|
||||
{block name='header'}
|
||||
{include file='_partials/header.tpl'}
|
||||
{/block}
|
||||
</header>
|
||||
{block name='notifications'}
|
||||
{include file='_partials/notifications.tpl'}
|
||||
{/block}
|
||||
{block name="content"}{/block}
|
||||
<footer id="footer">
|
||||
{block name="footer"}
|
||||
{include file="_partials/footer.tpl"}
|
||||
{/block}
|
||||
</footer>
|
||||
</main>
|
||||
{block name='javascript_bottom'}
|
||||
{include file="_partials/javascript.tpl" javascript=$javascript.bottom}
|
||||
{/block}
|
||||
{block name='hook_before_body_closing_tag'}
|
||||
{hook h='displayBeforeBodyClosingTag'}
|
||||
{/block}
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,8 @@
|
||||
{**
|
||||
* Creative Elements - live Theme & Page Builder
|
||||
*
|
||||
* @author WebshopWorks
|
||||
* @copyright 2019-2022 WebshopWorks.com
|
||||
* @license One domain support license
|
||||
*}
|
||||
{block name='content'}{/block}
|
||||
Reference in New Issue
Block a user