<footer>
	
<div class="footer-container">
	<div class="footercol col-sm-6">
		<div class="bottom-to-top hb-animate-element">
		  {% if footer_left %}
				<div class="footer-left-cms">
						{{ footer_left }}
				</div>
			  {% endif %}
			  
		</div>
	</div>
	  <div class="fotter-container col-sm-6">
	  	<div class="container">
					{% if footer_top %}
					<div class="footer-top-cms">
							{{ footer_top }}
					</div>
				  {% endif %}
				   <div class="col-md-4 footer-column {{ 'footer-' ~ text_extra|replace({' ': '-'})|lower }}">
					<h5>{{ text_account }}</h5>
					<ul class="list-unstyled">
					  <li><a href="{{ account }}">{{ text_account }}</a></li>
					  <li><a href="{{ wishlist }}">{{ text_wishlist }}</a></li>
					  <li><a href="{{ voucher }}">{{ text_voucher }}</a></li>
					  <li><a href="{{ return }}">{{ text_return }}</a></li>
					   <li><a href="{{ special }}">{{ text_special }}</a></li>
					</ul>
					</div>
				   
				  <div class="col-md-4 footer-column {{ 'footer-' ~ text_extra|replace({' ': '-'})|lower }}">
					<h5>{{ text_service }}</h5>
					<ul class="list-unstyled">
					  <li><a href="{{ contact }}">{{ text_contact }}</a></li>
					  <li><a href="{{ return }}">{{ text_return }}</a></li>
					  <li><a href="{{ sitemap }}">{{ text_sitemap }}</a></li>
					  <li><a href="{{ affiliate }}">{{ text_affiliate }}</a></li>
					  <li><a href="{{ manufacturer }}">{{ text_manufacturer }}</a></li>
					</ul>
					</div>
					
				   <div class="col-md-4 footer-column {{ 'footer-' ~ text_extra|replace({' ': '-'})|lower }}">
					<h5>{{ text_extra }}</h5>
					<ul class="list-unstyled">
					 {% for information in informations %}
					  <li><a href="{{ information.href }}">{{ information.title }}</a></li>
					  {% endfor %}
					  <li><a href="{{ contact }}">{{ text_contact }}</a></li>
					</ul>
				  </div>
		</div>
		</div>
		</div>

<div class="bottom-footer">
  <div class="container bottom-to-top hb-animate-element">
		<div class="footer-bottom col-sm-12">
			<p>{{ powered }}</p>
		</div>
			{% if footer_bottom %}
			<div class="footer-bottom-cms col-sm-12">
			{{ footer_bottom }}
			</div>
			{% endif %}
  </div>
</div>
</footer>
</div>
{% if module_tt_live_search_status %}

			<script><!--
				var tt_live_search = {
					selector: '#search input[name=\'search\']',
					text_no_matches: '{{ text_empty }}',
					height: '50px'
				}

				$(document).ready(function() {
					var html = '';
					html += '<div class="live-search">';
					html += '	<ul>';
					html += '	</ul>';
					html += '<div class="result-text"></div>';
					html += '</div>';

					//$(tt_live_search.selector).parent().closest('div').after(html);
					$(tt_live_search.selector).after(html);

					$(tt_live_search.selector).autocomplete({
						'source': function(request, response) {
							var filter_name = $(tt_live_search.selector).val();
							var cat_id = 0;
							var module_tt_live_search_min_length = '{{ module_tt_live_search_min_length|abs }}';
							if (filter_name.length < module_tt_live_search_min_length) {
								$('.live-search').css('display','none');
							}
							else{
								var html = '';
								html += '<li style="text-align: center;height:10px;">';
								html +=	'<img class="loading" src="image/catalog/demo/banners/loading.gif" />';
								html +=	'</li>';
								$('.live-search ul').html(html);
								$('.live-search').css('display','block');

								$.ajax({
									url: 'index.php?route=extension/module/tt_live_search&filter_name=' +  encodeURIComponent(filter_name),
									dataType: 'json',
									success: function(result) {
										var products = result.products;
										$('.live-search ul li').remove();
										$('.result-text').html('');
										if (!$.isEmptyObject(products)) {
											var show_image = {{ module_tt_live_search_show_image|abs }};
											var show_price = {{ module_tt_live_search_show_price|abs }};
											var show_description = {{ module_tt_live_search_show_description|abs }};
											$('.result-text').html('<a href="{{ module_tt_live_search_href }}'+filter_name+'" class="view-all-results">{{ text_view_all_results|e }} ('+result.total+')</a>');

											$.each(products, function(index,product) {
												var html = '';

												html += '<li>';
												html += '<a href="' + product.url + '" title="' + product.name + '">';
												if(product.image && show_image){
													html += '	<div class="product-image col-sm-4"><img alt="' + product.name + '" src="' + product.image + '"></div>';
												}
												html += '<div class="search-description col-sm-8 col-xs-8">';
												html += '	<div class="product-name">' + product.name ;
												if(show_description){
													html += '<p>' + product.extra_info + '</p>';
												}
												html += '</div>';
												if(show_price){
													if (product.special) {
														html += '	<div class="product-price"><span class="price">' + product.special + '</span><span class="special">' + product.price + '</span></div>';
													} else {
														html += '	<div class="product-price"><span class="price">' + product.price + '</span></div>';
													}
												}
												html += '</div>';
												html += '<span style="clear:both"></span>';
												html += '</a>';
												html += '</li>';
												$('.live-search ul').append(html);
											});
										} else {
											var html = '';
											html += '<li style="text-align: center;height:10px;">';
											html +=	tt_live_search.text_no_matches;
											html +=	'</li>';

											$('.live-search ul').html(html);
										}
										$('.live-search').css('display','block');
										return false;
									}
								});
							}
						},
						'select': function(product) {
							$(tt_live_search.selector).val(product.name);
						}
					});

					$(document).bind( "mouseup touchend", function(e){
					  var container = $('.live-search');
					  if (!container.is(e.target) && container.has(e.target).length === 0)
					  {
					    container.hide();
					  }
					});
				});
			//--></script>
		{% endif %}


{% for script in scripts %}
<script src="{{ script }}"></script>
{% endfor %}
<!--
OpenCart is open source software and you are free to remove the powered by OpenCart if you want, but its generally accepted practise to make a small donation.
Please donate via PayPal to donate@opencart.com
//-->
</body></html>