<?xml version="1.0" encoding="{{$config.charset}}"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.0//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-1.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="{{$config.language}}">

<head>
<meta http-equiv="Content-Type" content="text/html; charset={{$config.charset}}" />
<meta http-equiv="Content-Style-Type" content="text/css" />
<meta name="author" content="LabSQL www.labsql.pl - SellSmart www.sellsmart.pl" />
<meta name="description" content="{{$SMARTY_sDescription}}" />
<meta name="keywords" content="{{$SMARTY_sKeywords}}" />
<meta name="classification" content="{{$config.classification}}" />
<meta name="page-topic" content="{{$config.page_topic}}" />
<meta name="abstract" content="{{$config.abstract}}" />
<meta name="viewport" content="width=device-width" />
{{if !$bHideSocial}}
	{{if isset($aProduct)}}
		{{if $config.social_media_products}}
			<meta property="og:title" content="{{$aProduct.sFBTitle}} | {{$aProduct.sFBWebsite}}" />
			<meta property="og:description" content="{{$aProduct.sFBDescription}}" />
			<meta property="og:url" content="{{$aProduct.sFBUrl}}" />
			<meta property="og:site_name" content="{{$aProduct.sFBWebsite}}" />
			{{if isset($aProduct.sFBImage)}}
				<meta property="og:image" content="{{$aProduct.sFBImage}}" />
			{{/if}}
		{{/if}}
	{{elseif isset($aPage) && $config.social_media_pages}}
		<meta property="og:title" content="{{$aPage.sFBTitle}} | {{$aPage.sFBWebsite}}" />
		<meta property="og:description" content="{{$aPage.sFBDescription}}" />
		<meta property="og:url" content="{{$aPage.sFBUrl}}" />
		<meta property="og:site_name" content="{{$aPage.sFBWebsite}}" />
		{{if isset($aPage.sFBImage)}}
			<meta property="og:image" content="{{$aPage.sFBImage}}" />
		{{/if}}
	{{/if}}
{{/if}}

<meta name="application-name" content="{{$config.title}}" />
<meta name="msapplication-TileColor" content="{{$config.ms_color_app}}" />
<meta name="msapplication-square70x70logo"   content="templates/images/logo_ms_70x70.png" />
<meta name="msapplication-square150x150logo" content="templates/images/logo_ms_150x150.png" />
<meta name="msapplication-wide310x150logo"   content="templates/images/logo_ms_310x150.png" />
<meta name="msapplication-square310x310logo" content="templates/images/logo_ms_310x310.png" />


{{if !empty( $config.google_verification_code )}}<meta name="google-site-verification" content="{{$config.google_verification_code}}" />{{/if}}

{{if !isset( $aProduct ) && isset( $aPage ) && $aPage.iRss}}
	<link rel="alternate" type="application/rss+xml" title="{{$aPage.sName}}" href="{{$aPage.sRssUrl}}" />
{{/if}}

<title>{{$SMARTY_sTitle}}</title>

<link rel="shortcut icon" href="{{$config.dir_templates}}images/favicon.ico" type="image/x-icon" />

<link rel="alternate" href="{{$sUrlFull}}" hreflang="{{$lang.language}}" />
{{foreach from=$aLangs item=sLang}}
	{{if $sLang != $config.language}}
		<link rel="alternate" href="{{$sUrlFull}}{{if strpos( $sUrlFull, '?' ) === false}}?{{else}}&amp;{{/if}}sLang={{$sLang}}" hreflang="{{$sLang}}" />
	{{/if}}
{{/foreach}}

{{if $config.DEBUG_FIRELESS}}
	<script type="text/javascript">
		function FireLessProcessor( options ){};
		FireLessProcessor.prototype = {
			process: function (css) {
				css = css.replace(/(@media -sass-debug-info\{)(.*)(\}\n)/g,function(m1,m2,m3,m4){
					m3 = m3.replace('file\\:\\/\\/','file\\:\\/\\/');
					m3 = m3.replace('http\\:\\/\\/','http\\:\\/\\/');
					m3 = m3.replace('https\\:\\/\\/','https\\:\\/\\/');
					m3 = m3.replace(/(font-family:)([^}]+)(})/g, function(r1,r2,r3,r4){
						return r2 + '"' + r3 + '";' + r4;
					});

					return m2 + m3 + m4;
				});
				return css;
			}
		};
		var FireLess = {
			install: function(less,pluginManager) {
				pluginManager.addPostProcessor(new FireLessProcessor());
			}
		};

		var less = {
			env: 'development',
			dumpLineNumbers: 'mediaquery',
			plugins: [FireLess]
		};
	</script>
	<link href="{{$config.dir_templates}}{{str_replace( '.css', '.less', $config.template )}}" rel="stylesheet/less" type="text/css" media="screen" />
	<script src="{{$config.dir_scripts}}less.min.js" type="text/javascript"></script>
{{else}}
	<link href="{{$config.dir_templates}}{{$config.template}}" rel="stylesheet" type="text/css" media="screen" />
{{/if}}
<link href="{{$config.dir_templates}}style_print.css" rel="stylesheet" type="text/css" media="print" />


<script type="text/javascript">
	var lang_cb_slideshowStart = "{{$lang.cb_slideshowStart}}";
	var lang_cb_slideshowStop = "{{$lang.cb_slideshowStop}}";
	var lang_cb_current = "{{$lang.cb_current}}";
	var lang_cb_previous = "{{$lang.cb_previous}}";
	var lang_cb_next = "{{$lang.cb_next}}";
	var lang_cb_close = "{{$lang.cb_close}}";

	var lang_validate_required = "{{$lang.validate_required}}";
	var lang_validate_remote = "{{$lang.validate_remote}}";
	var lang_validate_email = "{{$lang.validate_email}}";
	var lang_validate_url = "{{$lang.validate_url}}";
	var lang_validate_date = "{{$lang.validate_date}}";
	var lang_validate_dateISO = "{{$lang.validate_dateISO}}";
	var lang_validate_number = "{{$lang.validate_number}}";
	var lang_validate_digits = "{{$lang.validate_digits}}";
	var lang_validate_creditcard = "{{$lang.validate_creditcard}}";
	var lang_validate_equalTo = "{{$lang.validate_equalTo}}";
	var lang_validate_accept = "{{$lang.validate_accept}}";
	var lang_validate_maxlength = "{{$lang.validate_maxlength}}";
	var lang_validate_minlength = "{{$lang.validate_minlength}}";
	var lang_validate_rangelength = "{{$lang.validate_rangelength}}";
	var lang_validate_range = "{{$lang.validate_range}}";
	var lang_validate_max = "{{$lang.validate_max}}";
	var lang_validate_min = "{{$lang.validate_min}}";

	var lang_validate_correct_error = "{{$lang.validate_correct_error}}";

	var lang_Select_other_attributes = "{{$lang.Select_other_attributes}}";
	var lang_Select = "{{$lang.Select}}";

	var lang_basket_added = "{{$lang.basket_added}}";
	var lang_your_basket = "{{$lang.header_Basket}}";
	var lang_fast_basket = "{{$lang.Speedorder}}";
	var lang_filter = "{{$lang.filter_short}}";

	var zagielMinPrice = {{$config.zagiel_min_price}};
	var LR_psp_id = "{{$config.LR_psp_id}}";
	var c_prefix = "{{$config.SESSION_NAME_SELLSMART}}";

	var social_wiggets_facebook = {{if $config.social_wiggets_facebook}}1{{else}}0{{/if}};
	var social_wiggets_facebook_username = "{{$config.social_wiggets_facebook_username}}";
	var social_wiggets_twitter = {{if $config.social_wiggets_twitter}}1{{else}}0{{/if}};
	var social_wiggets_twitter_code = "{{$config.social_wiggets_twitter_code}}";
	var social_wiggets_twitter_height = "{{$config.social_wiggets_twitter_height}}";
	var social_wiggets_youtube = {{if $config.social_wiggets_youtube}}1{{else}}0{{/if}};
	var social_wiggets_youtube_username = "{{$config.social_wiggets_youtube_username}}";
	var social_wiggets_gadugadu = {{if $config.social_wiggets_gadugadu}}1{{else}}0{{/if}};
	var social_wiggets_gadugadu_id = "{{$config.social_wiggets_gadugadu_id}}";
	var social_wiggets_googleplus = {{if $config.social_wiggets_googleplus}}1{{else}}0{{/if}};
	var social_wiggets_googleplus_code = "{{$config.social_wiggets_googleplus_code}}";
	var social_wiggets_pinterest = {{if $config.social_wiggets_pinterest}}1{{else}}0{{/if}};
	var social_wiggets_pinterest_link = "{{$config.social_wiggets_pinterest_link}}";
	
	var lang_Multiselect_all = "{{$lang.Multiselect_all}}";
	var lang_Multiselect_none = "{{$lang.Multiselect_none}}";
	var lang_Multiselect_not_selected = "{{$lang.Multiselect_not_selected}}";
	var lang_Multiselect_selected = "{{$lang.Multiselect_selected}}";
	var lang_hide_show_values = "{{$lang.hide_show_values}}";
	var lang_hide_show_attribs = "{{$lang.hide_show_attribs}}";
	
	var lang_storage_rem = "{{$lang.storage_rem}}";
	var lang_storage_add = "{{$lang.storage_add}}";
</script>

<script src="//ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js" type="text/javascript"></script>
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.11.4/jquery-ui.min.js"></script>
<script src="//code.jquery.com/jquery-migrate-1.1.1.min.js" type="text/javascript"></script>
<link rel="stylesheet" href="https://ajax.googleapis.com/ajax/libs/jqueryui/1.11.4/themes/smoothness/jquery-ui.css" />
<script src="{{$config.dir_scripts}}jquery.ui.selectmenu.js" type="text/javascript"></script>
<script src="{{$config.dir_scripts}}jquery.multiselect.min.js" type="text/javascript"></script>
<script src="{{$config.dir_scripts}}colorbox/colorbox.js" type="text/javascript"></script>
<link href="{{$config.dir_scripts}}colorbox/colorbox.css" rel="stylesheet" type="text/css" media="screen" />
<script src="{{$config.dir_scripts}}jquery.elevateZoom.min.js" type="text/javascript"></script>
<script src="{{$config.dir_scripts}}ezcookie.js" type="text/javascript"></script>
<script src="{{$config.dir_scripts}}plugins.js" type="text/javascript"></script>
<script src="{{$config.dir_scripts}}lib.js" type="text/javascript"></script>
<script src="{{$config.dir_scripts}}validate/jquery.validate.min.js" type="text/javascript"></script>
<script src="{{$config.dir_scripts}}validate/additional-methods.min.js" type="text/javascript"></script>
{{if !$bHideSocial}}
	<script src="{{$config.dir_plugins}}slider/social_slider.js" type="text/javascript"></script>
{{/if}}
<script src="{{$config.dir_scripts}}scripts.js" type="text/javascript"></script>
<script src="{{$config.dir_scripts}}chartjs2/Chart.min.js" type="text/javascript"></script>

{{*<script src="{{$config.dir_scripts}}element-queries/ResizeSensor.js" type="text/javascript"></script>
<script src="{{$config.dir_scripts}}element-queries/ElementQueries.js" type="text/javascript"></script>*}}

<script type="text/javascript">
$(function(){
	/* obsługa cycle - bannery ręczne */
	$('.banners_container').each(function(){
		$(this).find('.pages a').click(function(e){
			e.preventDefault();
			$(this).closest('.banners_container').find('.pages a').removeClass('activeSlide');
			$(this).addClass('activeSlide');
			$(this).closest('.banners_container').find('li').removeClass('activeSlide');
			$(this).closest('.banners_container').find($(this).attr('href')).addClass('activeSlide');
		}).first().trigger('click');
	});
	setInterval(function(){
		$('.banners_container').each(function(){
			if( $(this).find('.pages a.activeSlide').next().length > 0 ){
				$(this).find('.pages a.activeSlide').next().trigger('click');
			} else{
				$(this).find('.pages a').first().trigger('click');
			}
		});
	}, {{$config.bannerTimeout}}+1000);
});
</script>
{{if $config.google_translate_on}}
<script type="text/javascript">
function googleTranslateElementInit() {
  new google.translate.TranslateElement({
    pageLanguage: '{{$config.language}}'
  }, 'google_translate_element');
}
</script>
<script type="text/javascript" src="//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script>
{{/if}}

<style type="text/css">
/* Selectmenu
----------------------------------*/
.ui-selectmenu { display: block; display: inline-block; position: relative; height: 2.2em; vertical-align: middle; text-decoration: none; overflow: hidden; /* zoom: 1; */ }
.ui-selectmenu-icon { position:absolute; right:6px; margin-top:-8px; top: 50%; }
.ui-selectmenu-menu { padding:0; margin:0; position:absolute; top: 0; display: none; z-index: 1005;} /* z-index: 1005 to make selectmenu work with dialog */
.ui-selectmenu-menu  ul { padding:0; margin:0; list-style:none; position: relative; overflow: auto; overflow-y: auto ; overflow-x: hidden; -webkit-overflow-scrolling: touch;} 
.ui-selectmenu-open { display: block; }
ul.ui-selectmenu-menu-popup { margin-top: -1px; }
.ui-selectmenu-menu li { padding:0; margin:0; display: block; border-top: 1px dotted transparent; border-bottom: 1px dotted transparent; border-right-width: 0 !important; border-left-width: 0 !important; }
.ui-selectmenu-menu li a,.ui-selectmenu-status { line-height: 1.4em; display: block; padding: .405em 2.1em .405em 1em; outline:none; text-decoration:none; }
.ui-selectmenu-menu li.ui-state-disabled a, .ui-state-disabled { cursor: default; }
.ui-selectmenu-menu li.ui-selectmenu-hasIcon a,
.ui-selectmenu-hasIcon .ui-selectmenu-status { padding-left: 20px; position: relative; margin-left: 5px; }
.ui-selectmenu-menu li .ui-icon, .ui-selectmenu-status .ui-icon { position: absolute; top: 1em; margin-top: -8px; left: 0; }
.ui-selectmenu-status { line-height: 1.4em; }
.ui-selectmenu-menu li span,.ui-selectmenu-status span { display:block; margin-bottom: .2em; }
.ui-selectmenu-menu li .ui-selectmenu-item-header { font-weight: bold; }
.ui-selectmenu-menu li .ui-selectmenu-item-footer { opacity: .8; }
/* for optgroups */
.ui-selectmenu-menu .ui-selectmenu-group { font-size: 1em; }
.ui-selectmenu-menu .ui-selectmenu-group .ui-selectmenu-group-label { line-height: 1.4em; display:block; padding: .6em .5em 0; font-weight: bold; }
.ui-selectmenu-menu .ui-selectmenu-group ul { margin: 0; padding: 0; }
/* IE6 workaround (dotted transparent borders) */
/* * html .ui-selectmenu-menu li { border-color: pink; filter:chroma(color=pink); width:100%; }
* html .ui-selectmenu-menu li a { position: relative } */
/* IE7 workaround (opacity disabled) */
*+html .ui-state-disabled, *+html .ui-state-disabled a { color: silver; }

/* Multiselect
----------------------------------*/
.ui-multiselect { padding:2px 0 2px 4px; text-align:left }
.ui-multiselect span.ui-icon { float:right }
.ui-multiselect-single .ui-multiselect-checkboxes input { position:absolute !important; top: auto !important; left:-9999px; }
.ui-multiselect-single .ui-multiselect-checkboxes label { padding:5px !important }

.ui-multiselect-header { margin-bottom:3px; padding:3px 0 3px 4px }
.ui-multiselect-header ul { font-size:0.9em }
.ui-multiselect-header ul li { float:left; padding:0 10px 0 0 }
.ui-multiselect-header a { text-decoration:none }
.ui-multiselect-header a:hover { text-decoration:underline }
.ui-multiselect-header span.ui-icon { float:left }
.ui-multiselect-header li.ui-multiselect-close { float:right; text-align:right; padding-right:0 }

.ui-multiselect-menu { display:none; padding:3px; position:absolute; z-index:10000; text-align: left }
.ui-multiselect-checkboxes { position:relative /* fixes bug in IE6/7 */; overflow-y:scroll }
.ui-multiselect-checkboxes label { cursor:default; display:block; border:1px solid transparent; padding:3px 1px }
.ui-multiselect-checkboxes label input { position:relative; top:1px }
.ui-multiselect-checkboxes li { clear:both; font-size:0.9em; padding-right:3px }
.ui-multiselect-checkboxes li.ui-multiselect-optgroup-label { text-align:center; font-weight:bold; border-bottom:1px solid }
.ui-multiselect-checkboxes li.ui-multiselect-optgroup-label a { display:block; padding:3px; margin:1px 0; text-decoration:none }

/* remove label borders in IE6 because IE6 does not support transparency */
* html .ui-multiselect-checkboxes label { border:none }


/* Filter
----------------------------------*/
#filter a.ui-selectmenu .ui-selectmenu-icon { margin-top: -7px; }
#filter button.ui-multiselect span { margin: 2px 0 3px; }
</style>

{{$aFiles.10}}

{{if !empty( $config.verify_customer_code )}}
	<div id="vc-system"></div>
	<script type="text/javascript">
		var _vc_data = {
			"CODE" : "{{$config.verify_customer_code}}", 
		}
		var myscript = document.createElement('script'); myscript.type = 'text/javascript'; myscript.async = true;
		myscript.src = ('https:' == document.location.protocol ? 'https://' : 'http://') + 'verifycustomer.com/web/uploads/widget_front/widget-front.js';
		document.documentElement.firstChild.appendChild(myscript);
	</script>
{{/if}}

<link rel="prev" href="{{$prevPage}}"/>
<link rel="next" href="{{$nextPage}}"/>