first commit

This commit is contained in:
2025-01-06 20:47:25 +01:00
commit 3bdbd78c2f
25591 changed files with 3586440 additions and 0 deletions

View File

@@ -0,0 +1,96 @@
{*
* 2007-2016 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-2016 PrestaShop SA
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
<section id="ybc_social_block" class="ybc_social_config">
<h4 style="display: none;">{l s='Social' mod='ybc_themeconfig'}</h4>
<ul>
{if isset($facebook_url) && $facebook_url != ''}
<li class="facebook">
<a class="_blank" href="{$facebook_url|escape:html:'UTF-8'}">
<span><i class="icon-facebook"></i>{l s='Facebook' mod='ybc_themeconfig'}</span>
</a>
</li>
{/if}
{if isset($twitter_url) && $twitter_url != ''}
<li class="twitter">
<a class="_blank" href="{$twitter_url|escape:html:'UTF-8'}">
<span><i class="icon-twitter"></i>{l s='Twitter' mod='ybc_themeconfig'}</span>
</a>
</li>
{/if}
{if isset($google_plus_url) && $google_plus_url != ''}
<li class="google-plus">
<a class="_blank" href="{$google_plus_url|escape:html:'UTF-8'}" rel="publisher">
<span><i class="icon-google-plus"></i>{l s='Google Plus' mod='ybc_themeconfig'}</span>
</a>
</li>
{/if}
{if isset($linkedin_url) && $linkedin_url != ''}
<li class="linkedin">
<a class="_blank" href="{$linkedin_url|escape:html:'UTF-8'}">
<span><i class="icon-linkedin" ></i>{l s='Linkedin' mod='ybc_themeconfig'}</span>
</a>
</li>
{/if}
{if isset($rss_url) && $rss_url != ''}
<li class="rss">
<a class="_blank" href="{$rss_url|escape:html:'UTF-8'}">
<span><i class="icon-rss"></i>{l s='RSS' mod='ybc_themeconfig'}</span>
</a>
</li>
{/if}
{if isset($youtube_url) && $youtube_url != ''}
<li class="youtube">
<a class="_blank" href="{$youtube_url|escape:html:'UTF-8'}">
<span><i class="icon-youtube"></i>{l s='Youtube' mod='ybc_themeconfig'}</span>
</a>
</li>
{/if}
{if isset($pinterest_url) && $pinterest_url != ''}
<li class="pinterest">
<a class="_blank" href="{$pinterest_url|escape:html:'UTF-8'}">
<span><i class="icon-pinterest-p"></i>{l s='Pinterest' mod='ybc_themeconfig'}</span>
</a>
</li>
{/if}
{if isset($vimeo_url) && $vimeo_url != ''}
<li class="vimeo">
<a class="_blank" href="{$vimeo_url|escape:html:'UTF-8'}">
<span><i class="icon-vimeo-square"></i>{l s='Vimeo' mod='ybc_themeconfig'}</span>
</a>
</li>
{/if}
{if isset($instagram_url) && $instagram_url != ''}
<li class="instagram">
<a class="_blank" href="{$instagram_url|escape:html:'UTF-8'}">
<span><i class="icon-instagram" ></i>{l s='Instagram' mod='ybc_themeconfig'}</span>
</a>
</li>
{/if}
</ul>
</section>
<div class="clearfix"></div>

View File

@@ -0,0 +1,33 @@
{*
* 2007-2021 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-2021 ETS-Soft
* @license Valid for 1 website (or project) for each purchase of license
* International Registered Trademark & Property of ETS-Soft
*}
<script type="text/javascript">
function phProductFeedResizeIframe(obj) {
$('iframe').css('height','auto');
setTimeout(function() {
$('iframe').css('opacity',1);
var pHeight = $(obj).parent().height();
$(obj).css('height','540px');
}, 300);
}
</script>
<div id="ph_preview_template_html">
<iframe src="{$url_iframe|escape:'html':'UTF-8'}" style="background: #ffffff ; border : 1px solid #ccc;width:100%;height:0;opacity:0;border-radius:5px" onload="phProductFeedResizeIframe(this)"></iframe>
</div>

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,21 @@
{if $modules}
<script type="text/javascript">
$(document).ready(function(){
var ybc_tc_links = '{foreach from=$modules item='module'}{if $module.installed}<li {if $module.id==$active_module} class="active" {/if} id="ybc_tc_{$module.id|escape:'html':'UTF-8'}"><a href="{$module.link|escape:'html':'UTF-8'}">{addslashes($module.name)}</a></li>{/if}{/foreach}';
if($('#subtab-AdminYbcTC').length > 0)
{
$('#subtab-AdminYbcTC').after(ybc_tc_links);
}
else
if($('#subtab-AdminPayment').length > 0)
{
$('#subtab-AdminPayment').after(ybc_tc_links);
}
else
if($('#subtab-AdminModules').length > 0)
{
$('#subtab-AdminModules').after(ybc_tc_links);
}
});
</script>
{/if}

View File

@@ -0,0 +1,76 @@
{*
* Copyright: YourBestCode.Com
* Email: support@yourbestcode.com
*}
{if $tc_display_panel}
<div class="ybc-theme-panel closed">
<div class="ybc-theme-panel-medium">
<div class="ybc-theme-panel-btn" title="{l s='Theme Option' mod='ybc_themeconfig'}">{*l s='Setting' mod='ybc_themeconfig'*}</div>
<div class="ybc-theme-panel-loading">
<div class="ybc-theme-panel-loading-setting">
<h2>
<img alt="{l s='Loading' mod='ybc_themeconfig'}" class="ybc-theme-panel-loading-logo" src="{$tc_modules_dir|escape:'html':'UTF-8'}img/loading.gif" />
<br/>
<span>{l s='Updating...' mod='ybc_themeconfig'}</span>
</h2>
</div>
</div>
<div class="ybc-theme-panel-wrapper">
<h2>{l s='Theme options' mod='ybc_themeconfig'}</h2>
<div class="ybc-theme-panel-box tc-separator"><h3>{l s='Theme color' mod='ybc_themeconfig'}</h3></div>
<div class="ybc-theme-panel-inner">
<div class="ybc-theme-panel-box">
<ul class="ybc-skin ybc_tc_skin ybc_select_option" id="ybc_tc_skin">
{if $skins}
{foreach from=$skins item='skin'}
<li style="background: {$skin.main_color|escape:'html':'UTF-8'};" {if $configs.YBC_TC_SKIN==$skin.id_option}class="active"{/if} data-val="{$skin.id_option|escape:'html':'UTF-8'}" title="{$skin.name|escape:'html':'UTF-8'}">{$skin.name|escape:'html':'UTF-8'}</li>
{/foreach}
{/if}
</ul>
</div>
{if isset($ybcDev) && $ybcDev}
<div class="ybc-theme-panel-box tc-separator">
<h3>{l s='Layout type' mod='ybc_themeconfig'}</h3></div>
<div class="ybc-theme-panel-box">
<ul id="ybc_tc_layout" class="ybc_tc_layout ybc_select_option">
{if $layouts}
{foreach from=$layouts item='layout'}
<li {if $configs.YBC_TC_LAYOUT==$layout.id_option}class="active"{/if} data-val="{$layout.id_option|escape:'html':'UTF-8'}">{$layout.name|escape:'html':'UTF-8'}</li>
{/foreach}
{/if}
</ul>
</div>
{/if}
{if isset($float_header) && $float_header}
<div class="ybc-theme-panel-box tc-separator"><h3>{l s='Float header' mod='ybc_themeconfig'}</h3></div>
<div class="ybc-theme-panel-box">
<ul id="ybc_tc_float_header" class="ybc_tc_float_header ybc_select_option">
<li {if $configs.YBC_TC_FLOAT_HEADER}class="active"{/if} data-val="1">{l s='Yes' mod='ybc_themeconfig'}</li>
<li {if !$configs.YBC_TC_FLOAT_HEADER}class="active"{/if} data-val="0">{l s='No' mod='ybc_themeconfig'}</li>
</ul>
</div>
{/if}
{if isset($bgs) && $bgs}
<div class="ybc-theme-panel-box tc-separator"><h3>{l s='Background image' mod='ybc_themeconfig'}</h3></div>
<div class="ybc-theme-panel-box tc-ul">
{if $bgs}
<ul class="ybc-theme-panel-bg-list">
{foreach from=$bgs item='bg'}
<li><span rel='{$bg|escape:'html':'UTF-8'}' class="ybc-theme-panel-bg{if $configs.YBC_TC_BG_IMG==$bg} active{/if}" style="background: url('{$moduleDirl|escape:'html':'UTF-8'}bgs/{$bg|escape:'html':'UTF-8'}.png');"></span></li>
{/foreach}
</ul>
{/if}
</div>
{/if}
<div class="ybc-theme-panel-box tc-reset">
<span id="tc-reset">{l s='Reset to default' mod='ybc_themeconfig'}</span>
</div>
</div>
</div>
</div>
</div>
{/if}
<script type="text/javascript">
var YBC_TC_FLOAT_CSS3 = {$YBC_TC_FLOAT_CSS3|escape:'html':'UTF-8'};
var YBC_TC_AJAX_URL = '{$moduleDirl|escape:'html':'UTF-8'}ajax.php';
</script>

View File

@@ -0,0 +1,38 @@
{*
* Copyright: YourBestCode.Com
* Email: support@yourbestcode.com
*}
{*
* Copyright: YourBestCode.Com
* Email: support@yourbestcode.com
*}
{if isset($nbComments) && $nbComments > 0}
<div class="comments_note" itemprop="aggregateRating" itemscope itemtype="http://schema.org/AggregateRating">
<div class="star_content clearfix">
{section name="i" start=0 loop=5 step=1}
{if $averageTotal le $smarty.section.i.index}
<div class="star"></div>
{else}
<div class="star star_on"></div>
{/if}
{/section}
<meta itemprop="worstRating" content = "0" />
<meta itemprop="ratingValue" content = "{if isset($ratings.avg)}{$ratings.avg|round:1|escape:'html':'UTF-8'}{else}{$averageTotal|round:1|escape:'html':'UTF-8'}{/if}" />
<meta itemprop="bestRating" content = "5" />
</div>
<span class="nb-comments"><span itemprop="reviewCount">{$nbComments|escape:'html':'UTF-8'}</span> {l s='Review(s)' mod='ybc_themeconfig'}</span>
</div>
{else}
<div class="comments_note" itemprop="aggregateRating" itemscope itemtype="http://schema.org/AggregateRating">
<div class="star_content clearfix">
{section name="i" start=0 loop=5 step=1}
{if $averageTotal le $smarty.section.i.index}
<div class="star"></div>
{else}
<div class="star star_on"></div>
{/if}
{/section}
</div>
<span class="nb-comments"><span itemprop="reviewCount">0</span> {l s='No reviews' mod='ybc_themeconfig'}</span>
</div>
{/if}