first commit

This commit is contained in:
2024-11-05 12:22:50 +01:00
commit e5682a3912
19641 changed files with 2948548 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
{*
* @Module Name: Leo Blog
* @Website: leotheme.com.com - prestashop template provider
* @author Leotheme <leotheme@gmail.com>
* @copyright Leotheme
* @description: Content Management
*}
<!-- Block categories module -->
{if $tree}
<div id="categories_blog_menu" class="block blog-menu">
<h4 class="title_block">{if isset($currentCategory)}{$currentCategory->title|escape:'html':'UTF-8'}{else}{l s='Blog Categories' mod='leoblog'}{/if}</h4>
<div class="block_content">
{$tree|cleanHtml nofilter}{* HTML form , no escape necessary *}
</div>
</div>
{/if}
<!-- /Block categories module -->

View File

@@ -0,0 +1,36 @@
<?php
/*
* 2007-2012 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-2012 PrestaShop SA
* @version Release: $Revision: 13573 $
* @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 @@
{*
* @Module Name: Leo Blog
* @Website: leotheme.com.com - prestashop template provider
* @author Leotheme <leotheme@gmail.com>
* @copyright Leotheme
* @description: Content Management
*}
{if isset($leoblogtags) AND !empty($leoblogtags)}
<section id="tags_blog_block_left" class="block leo-blog-tags hidden-sm-down">
<h4 class='title_block'><a href="">{l s='Tags Post' mod='leoblog'}</a></h4>
<div class="block_content clearfix">
{foreach from=$leoblogtags item="tag"}
<a href="{$tag.link|escape:'htmlall':'UTF-8'}">{$tag.name|escape:'htmlall':'UTF-8'}</a>
{/foreach}
</div>
</section>
{/if}

View File

@@ -0,0 +1,30 @@
{*
* @Module Name: Leo Blog
* @Website: leotheme.com.com - prestashop template provider
* @author Leotheme <leotheme@gmail.com>
* @copyright Leotheme
* @description: Content Management
*}
{if isset($leading_blogs) AND !empty($leading_blogs)}
<section id="blogPopularBlog" class="block leo-block-sidebar hidden-sm-down">
<h4 class='title_block'><a href="">{l s='Popular Articles' mod='leoblog'}</a></h4>
<div class="block_content products-block">
<ul class="lists">
{foreach from=$leading_blogs item="blog" name=leading_blog}
<li class="list-item clearfix{if $smarty.foreach.leading_blog.last} last_item{elseif $smarty.foreach.leading_blog.first} first_item{else}{/if}">
<div class="blog-image">
<a class="products-block-image" title="{$blog.title|escape:'html':'UTF-8'}" href="{$blog.link|escape:'html':'UTF-8'}">
<img alt="{$blog.title|escape:'html':'UTF-8'}" {if isset($aplazyload) && $aplazyload}data-src{else}src{/if}="{$blog.preview_url|escape:'html':'UTF-8'}" class="img-fluid{if isset($aplazyload) && $aplazyload} lazy{/if}">
</a>
</div>
<div class="blog-content">
<h3 class="post-name"><a title="{$blog.title|escape:'htmlall':'UTF-8'}" href="{$blog.link|escape:'html':'UTF-8'}">{$blog.title}</a></h3>
<span class="info">{$blog.date_add|date_format:"%b %d, %Y"}</span>
</div>
</li>
{/foreach}
</ul>
</div>
</section>
{/if}

View File

@@ -0,0 +1,31 @@
{*
* @Module Name: Leo Blog
* @Website: leotheme.com.com - prestashop template provider
* @author Leotheme <leotheme@gmail.com>
* @copyright Leotheme
* @description: Content Management
*}
{if isset($leading_blogs) AND !empty($leading_blogs)}
<section id="blogRecentBlog" class="block leo-block-sidebar hidden-sm-down">
<h4 class='title_block'><a href="">{l s='Recent Articles' mod='leoblog'}</a></h4>
<div class="block_content products-block">
<ul class="lists">
{foreach from=$leading_blogs item="blog" name=leading_blog}
<li class="list-item clearfix{if $smarty.foreach.leading_blog.last} last_item{elseif $smarty.foreach.leading_blog.first} first_item{else}{/if}">
<div class="blog-image">
<a class="products-block-image" title="{$blog.title|escape:'html':'UTF-8'}" href="{$blog.link|escape:'html':'UTF-8'}">
<img alt="{$blog.title|escape:'html':'UTF-8'}" {if isset($aplazyload) && $aplazyload}data-src{else}src{/if}="{$blog.preview_url|escape:'html':'UTF-8'}" class="img-fluid{if isset($aplazyload) && $aplazyload} lazy{/if}">
</a>
</div>
<div class="blog-content">
<h3 class="post-name"><a title="{$blog.title|escape:'htmlall':'UTF-8'}" href="{$blog.link|escape:'html':'UTF-8'}">{$blog.title|escape:'htmlall':'UTF-8'}</a></h3>
<span class="info">{$blog.date_add|date_format:"%b %d, %Y"}</span>
</div>
</li>
{/foreach}
</ul>
</div>
</section>
{/if}

View File

@@ -0,0 +1,24 @@
{*
* @Module Name: Leo Blog
* @Website: leotheme.com.com - prestashop template provider
* @author Leotheme <leotheme@gmail.com>
* @copyright Leotheme
* @description: Content Management
*}
<!-- Block RSS module-->
<div id="rss_block_left" class="block">
<h4 class="title_block">{$title|escape:'html':'UTF-8'}</h4>
<div class="block_content">
{if $rss_links}
<ul>
{foreach from=$rss_links item='rss_link'}
<li><a href="{$rss_link.url|escape:'html':'UTF-8'}" title="{$rss_link.title|escape:'html':'UTF-8'}">{$rss_link.title|escape:'html':'UTF-8'}</a></li>
{/foreach}
</ul>
{else}
<p>{l s='No RSS feed added' mod='leoblog'}</p>
{/if}
</div>
</div>
<!-- /Block RSS module-->

View File

@@ -0,0 +1,9 @@
{*
* @Module Name: Leo Blog
* @Website: leotheme.com.com - prestashop template provider
* @author Leotheme <leotheme@gmail.com>
* @copyright Leotheme
* @description: Content Management
*}
<a href="{$link|escape:'htmlall':'UTF-8'}" class="{$hook_name|escape:'htmlall':'UTF-8'} link-top-blog"><i class="material-icons">&#xE254;</i><span class="hidden-sm-down">{$title|escape:'htmlall':'UTF-8'}</span></a>

View File

@@ -0,0 +1,29 @@
{*
* @Module Name: Leo Blog
* @Website: leotheme.com.com - prestashop template provider
* @author Leotheme <leotheme@gmail.com>
* @copyright Leotheme
* @description: Content Management
*}
<div id="search-blog" class="block">
<div class="block_content">
<form method="post" id="form-search-blog" action="{Context::getContext()->link->getModuleLink('leoblog', 'search', array())|escape:'htmlall':'UTF-8'}">
<input class=" form-control " type="text" id="search_blog" name="search_blog" placeholder="{l s='Search...' mod='leoblog'}">
<button type="submit" id="search_blog_button" class="btn btn-default button button-small"><i class="material-icons"></i></button>
</form>
<div id="blog-nav">
<ul>
<li>
<a href="{Context::getContext()->link->getModuleLink('leoblog', 'search', array())|escape:'htmlall':'UTF-8'}?search_blog=Best_articles"><span class="sidebar-text">{l s='Best articles' mod='leoblog'}</span></a>
</li>
<li>
<a href="{Context::getContext()->link->getModuleLink('leoblog', 'search', array())|escape:'htmlall':'UTF-8'}?search_blog=Latest_articles"><span class="sidebar-text">{l s='Latest articles' mod='leoblog'}</span></a>
</li>
<li>
<a href="{Context::getContext()->link->getModuleLink('leoblog', 'search', array())|escape:'htmlall':'UTF-8'}?search_blog=Articles_favorite"><span class="sidebar-text">{l s='Articles favorite' mod='leoblog'}</span></a>
</li>
</ul>
</div>
</div>
</div>