bebeboutik/themes/site_mobile/footer.tpl
2016-04-05 16:18:52 +02:00

130 lines
3.4 KiB
Smarty
Executable File

{*
* 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
* @version Release: $Revision: 6594 $
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
{if $page_name == 'index' || $page_name == 'category' || $page_name == 'product'}
<div id="totop">
<span class="gradient">
<a href="#page" title="Back To Top">
<i class="icon-suivant"></i>
{l s='Back to top'}
</a>
</span>
</div>
{/if}
{if !$content_only}
</div>
{if in_array($page_name, $displayRight)}
<!-- Right -->
<div id="right_column" class="column">
{$HOOK_RIGHT_COLUMN}
</div>
{/if}
<div class="cf"></div>
</div>
</div>
<!-- Footer -->
<div id="footer">
<div class="content">
<div class="sub_content">
<div class="footer_hook">
{$HOOK_FOOTER}
</div>
<div class="footer_img">
<p>
<img src="{$img_dir}logo_mobile_footer_{$cookie->id_lang}.png" alt="Logo Bébéboutik">
</p>
<div class="footer_social">
<div class="facebook">
<div class="fb-like" data-href="http://www.bebeboutik.com/" data-layout="button_count" data-action="like" data-show-faces="false" data-share="false"></div>
<div id="fb-root"></div>
<script>(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/fr_FR/sdk.js#xfbml=1&version=v2.0";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
</div>
<div class="twitter">
</div>
</div>
</div>
</div>
</div>
</div>
</div>
{/if}
<script type="text/javascript">
<!--{literal}
$(document).ready(function() {
$('.multi_links_block_left h4').live('click', function(){
if($(this).hasClass('active')){
$(this).next().slideUp();
$(this).removeClass('active');
}else{
$(this).next().slideDown();
$(this).addClass('active');
}
});
$('.editorial_block h4').live('click', function(){
if($(this).hasClass('active')){
$(this).next().children('ul').slideUp();
$(this).removeClass('active');
}else{
$(this).next().children('ul').slideDown();
$(this).addClass('active');
}
});
$(window).scroll(function() {
if($(this).scrollTop() > 300) {
$("#totop").addClass("active");
} else {
$("#totop").removeClass("active");
}
});
var totop = $("#totop").click(function() {
$("html, body").animate({ scrollTop: 0 }, 600);
});
});
{/literal}-->
</script>
</body>
</html>