<!DOCTYPE html>
<!--[TWIG]-->
<!--[if lt IE 7]><html lang="{{ lang['langcode'] }}" class="lt-ie9 lt-ie8 lt-ie7"><![endif]-->
<!--[if IE 7]><html lang="{{ lang['langcode'] }}" class="lt-ie9 lt-ie8"><![endif]-->
<!--[if IE 8]><html lang="{{ lang['langcode'] }}" class="lt-ie9"><![endif]-->
<!--[if gt IE 8]><!-->
<html lang="{{ lang['langcode'] }}">
    <!--<![endif]-->
	<head>
		<meta http-equiv="content-type" content="text/html; charset={{ lang['encoding'] }}" />
		<meta http-equiv="content-language" content="{{ lang['langcode'] }}" />
		<meta name="generator" content="{{ what }} {{ version }}" />
		<meta http-equiv="X-UA-Compatible" content="IE=edge">
		<meta name="HandheldFriendly" content="true">
		<meta name="format-detection" content="telephone=no">
		<meta name="viewport" content="user-scalable=0, initial-scale=1.0, maximum-scale=1.0, width=device-width"> 
		<meta name="apple-mobile-web-app-capable" content="yes">
		<meta name="apple-mobile-web-app-status-bar-style" content="default">
		{{ htmlvars }}
		<script type="text/javascript" src="{{ tpl_url }}/js/jquery.js"></script>
		<script type="text/javascript" src="{{ tpl_url }}/js/jqueryui.js"></script>
		<link rel="shortcut icon" href="{{ tpl_url }}/images/favicon.ico">
		<link rel="stylesheet" href="{{ tpl_url }}/css/engine.css">
		<link rel="stylesheet" href="{{ tpl_url }}/css/normalize.css">
		<link rel="stylesheet" href="{{ tpl_url }}/css/components.css">
		<link rel="stylesheet" href="{{ tpl_url }}/css/dropdown.min.css">
		<link rel="stylesheet" href="{{ tpl_url }}/css/owl.carousel.min.css">
		<link rel="stylesheet" href="{{ tpl_url }}/css/lightgallery.min.css">
		<link rel="stylesheet" href="{{ tpl_url }}/css/fonts.css">
		<link rel="stylesheet" href="{{ tpl_url }}/css/style.css">
		<link rel="stylesheet" href="{{ tpl_url }}/css/common.css">
		<link rel="stylesheet" href="{{ tpl_url }}/css/media.css">
		<link rel="stylesheet" href="{{ tpl_url }}/css/jquery.fancybox.css" />
		<!--[if lt IE 9]>
		<script src="{{ tpl_url }}/js/html5shiv.min.js"></script>
		<script src="{{ tpl_url }}/js/respond.min.js"></script>
		<![endif]-->
		{% if pluginIsActive('rss_export') %}<link href="{{ home }}/rss.xml" rel="alternate" type="application/rss+xml" title="RSS" />{% endif %}
		<script type="text/javascript" src="{{ scriptLibrary }}/functions.js"></script>
		<script type="text/javascript" src="{{ scriptLibrary }}/ajax.js"></script>
		<title>{{ titles }}</title>
	</head>
	<body>
		{% block body %}
			<!-- header -->
			{% include "includes/header.tpl" %}
			<!-- /header -->
			<div class="container">
				<div class="middle">
					<!-- asidebar -->
					{% include "includes/sidebar.tpl" %}
					<!--/ asidebar -->
					<div class="main_content {% if isHandler('news:news') %}full_page{% endif %}">
						<!-- slider -->
						{% include "includes/slider.tpl" %}
						<!--/ slider -->
						<div class="breadcrumbs-wrapper">
							{% if pluginIsActive('breadcrumbs') %}
								{{ breadcrumbs }}
							{% endif %}
							<div class="btn_list-grid">
								<button class="btn_list ion-ios-list-outline"></button>
								<button class="btn_grid ion-ios-keypad-outline"></button>
							</div>
						</div>
						{{ mainblock }}
					</div>
				</div>
			</div>
			<!-- footer -->
			{% include "includes/footer.tpl" %}
			<!--/ footer -->
			<div id="loading-layer" style="display:none">{{ lang.theme.loading }}</div>
			<script src="{{ tpl_url }}/js/lib.js"></script>
			<script src="{{ tpl_url }}/js/owl.carousel.min.js"></script>
			<script src="{{ tpl_url }}/js/jquery.cookie.js"></script>
			<script src="{{ tpl_url }}/js/dropdown.min.js"></script>
			<script src="{{ tpl_url }}/js/lightgallery-all.min.js"></script>
			<script src="{{ tpl_url }}/js/common.js"></script>
			<script src="{{ tpl_url }}/js/jquery.fancybox.min.js"></script>
		{% endblock %}
	</body>
</html>
<!--[/TWIG]-->