2016-10-10 15:24:25 +02:00

128 lines
4.4 KiB
Smarty
Executable File

</div>
<script type="text/javascript" src="{$js_dir}tiroirh3.js"></script>
{*
* 2007-2011 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-2011 PrestaShop SA
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
<script type="text/javascript">{literal}
$(document).ready(function(){
$('.thickbox').fancybox({
'hideOnOverlayClick': true,
'hideOnContentClick': true,
'transitionIn' : 'elastic',
'transitionOut' : 'elastic'
});
$('.thickbox2').fancybox({
'hideOnOverlayClick': true,
'hideOnContentClick': false,
'transitionIn' : 'elastic',
'transitionOut' : 'elastic'
});
});
{/literal}
var pageName="{$page_name}";
$('body').removeAttr('id');
// alert(pageName);
$('.newsletter_block_left form').addClass('std');
{literal}
$(document).ready(function(){
$('.type-interior').each(function(){
if($(this).attr('id')){
}else{
$(this).attr('id',pageName);
}
});
// $('.type-interior-active').addClass('page'+pageName);
// $('.type-interior').each(function(a){
$('#'+pageName+' .sf-menu li').each(function(i){
$(this).removeClass('selected');
if(i==0 && pageName=="philosophie")
$(this).addClass('selected');
if(i==1 && (pageName=="category" || pageName=="product"))
$(this).addClass('selected');
if(i==2 && pageName=="diagnostic")
$(this).addClass('selected');
if(i==3 && pageName=="presse")
$(this).addClass('selected');
if(i==4 && pageName=="offrefidelite")
$(this).addClass('selected');
});
// });
if(pageName=="category"){
if($('#category .nosProduits a.newHref').length==0){
var newHref=$('.ui-page-active .nosProduits a').attr('href');
var newJSclick="javascript:openMenu()";
$('#category .nosProduits a').attr('rel',newHref).attr('href',newJSclick).addClass('newHref');
}else{
var newHref=$('#category .nosProduits a').attr('rel');
var newJSclick="javascript:openMenu()";
$('#category .nosProduits a').attr('rel',newHref).attr('href',newJSclick).addClass('newHref');
}
}
replaceCrochets();
});
{/literal}
// alert(pageName);
</script>
<div id="footer" data-role="footer">
<ul class="liens">
<li class="green"><a href="http://garancia-pharmaciens.com/"><img src="{$img_dir}footerPharmacie.png" alt="" height="15" /> {l s='ESPACE PHARMACIENS'}</a></li>
<li>
<a href="#newsletter_block_left" class="thickbox2">{l s='Newsletter'}</a>
</li>
<li>
<a href="{$link->getPageLink('my-account.php')}">{if $logged==true}{l s='Mon compte'}{else}{l s='Se connecter'}{/if}</a>
</li>
</ul>
<ul class="liens">
<li><a href="{$link->getPageLink('faq.php')}">{l s='FAQ'}</a></li>
<li><a href="{$link->getPageLink('contact.php')}">{l s='Contact'}</a></li>
{*<li><a href="{$link->getPageLink('sitemap.php')}">{l s='Plan du site'}</a></li>*}
</ul>
<ul class="liens">
<li><a href="{$link->getCMSLink(2)}">{l s='Mentions légales et CGU'}</a></li>
<li><a href="{$link->getCMSLink(3)}">{l s='CGV'}</a></li>
</ul>
{*$HOOK_FOOTER*}
{hook h="displayFooter"}
<div class="ui-grid-a">
{hook h="displayMobileFooterChoice"}
</div><!-- /grid-a -->
<div id="full-site-section" class="center">
<a href="{$link->getPageLink('index', true)}?no_mobile_theme" data-ajax="false">{l s='Browse the full site'}</a>
</div>
<div data-role="footer" data-theme="a" id="bar_footer">
<div id="link_bar_footer" class="ui-grid-a">
</div>
</div>
</div><!-- /footer -->
</div><!-- /page -->
</body>
</html>