{*
 *  Leo Theme for Prestashop 1.6.x
 *
 * @author    http://www.leotheme.com
 * @copyright Copyright (C) October 2013 LeoThemes.com <@emai:leotheme@gmail.com>
 *               <info@leotheme.com>.All rights reserved.
 * @license   GNU General Public License version 2
*}

		<div class="facebook-wrapper" style="width:{$width|intval}" >
		{if isset($application_id)&&$application_id}
			<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/{$displaylanguage|escape:'html':'UTF-8'}/all.js#xfbml=1&appId={$application_id|escape:'html':'UTF-8'}";
			fjs.parentNode.insertBefore(js, fjs);
			}(document, 'script', 'facebook-jssdk'));</script>
		{else}
			<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/{$displaylanguage|escape:'html':'UTF-8'}/all.js#xfbml=1";
			fjs.parentNode.insertBefore(js, fjs);
			}(document, 'script', 'facebook-jssdk'));</script>
		{/if}

		<div class="fb-like-box" data-href="{$page_url}"{* HTML form , no escape necessary *}
			 data-colorscheme="{$color|escape:'html':'UTF-8'}"
			 data-height="{$height|intval}"
			 data-width="{$width|intval}"
			 data-show-faces="{$show_faces|escape:'html':'UTF-8'}"
			 data-stream="{$show_stream|escape:'html':'UTF-8'}"
			 data-show-border="{$show_border|escape:'html':'UTF-8'}"
			 data-header="{$show_header|escape:'html':'UTF-8'}">
		</div>
			 
	</div>
 