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

<head>
<title>{{$lang.Admin}} - {{$config.title}}</title>
<meta http-equiv="Content-Type" content="text/html; charset={{$config.charset}}" />
<meta name="Author" content="SellSmart.pl" />
<meta name="robots" content="noindex, nofollow" />

{{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}}admin/style.less" rel="stylesheet/less" type="text/css" media="screen" />
	<script src="{{$config.dir_scripts}}less.min.js" type="text/javascript"></script>
{{else}}
	<link rel="stylesheet" type="text/css" href="{{$config.dir_templates}}admin/style.css" />
{{/if}}
<link rel="shortcut icon" type="image/x-icon" href="{{$config.dir_templates}}admin/images/favicon.ico" />
<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jqueryui/1.10.3/jquery-ui.min.js"></script>
<script type="text/javascript" src="//code.jquery.com/jquery-migrate-1.1.1.min.js"></script>
<link rel="stylesheet" type="text/css" href="//ajax.googleapis.com/ajax/libs/jqueryui/1.10.3/themes/smoothness/jquery-ui.css" media="screen" />
<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 type="text/javascript" src="{{$config.dir_scripts}}jquery.ui.timepicker.js"></script>
<script type="text/javascript" src="{{$config.dir_scripts}}lib.js"></script>
<script type="text/javascript" src="{{$config.dir_scripts}}validate/jquery.validate.min.js"></script>
<script type="text/javascript" src="{{$config.dir_scripts}}validate/additional-methods.min.js"></script>
<script type="text/javascript" src="{{$config.dir_plugins}}tinymce_jq/tinymce.min.js"></script>
<script type="text/javascript" src="{{$config.dir_scripts}}colorbox/colorbox.js"></script>
<link rel="stylesheet" type="text/css" href="{{$config.dir_scripts}}colorbox/colorbox.css" media="screen" />
<script type="text/javascript" src="{{$config.dir_templates}}admin/script.js"></script>
<link rel="stylesheet" type="text/css" href="{{$config.dir_scripts}}color-picker/css/colorpicker.css" media="screen" />
<script type="text/javascript" src="{{$config.dir_scripts}}color-picker/js/colorpicker.js"></script>
<script type="text/javascript" src="{{$config.dir_scripts}}tag-it/tag-it.min.js"></script>
<script type="text/javascript" src="{{$config.dir_scripts}}chartjs2/Chart.min.js"></script>
<link type="text/css" media="screen" rel="stylesheet" href="{{$config.dir_scripts}}tag-it/jquery.tagit.css" />
<link type="text/css" media="screen" rel="stylesheet" href="{{$config.dir_scripts}}tag-it/tagit.ui-zendesk.css" />
<script src="{{$config.dir_scripts}}ezcookie.js" type="text/javascript"></script>
<script src="{{$config.dir_scripts}}plugins.js" type="text/javascript"></script>
<script type="text/javascript">
	var lang_add = "{{$lang.Add}}";
	var lang_cancel = "{{$lang.Cancel}}";

	var lang_validate_correct_error = "{{$lang.validate_correct_error}}";
	var lang_Select = "{{$lang.Select}}";
	var lang_Delete = "{{$lang.Delete}}";
	var lang_Cancel = "{{$lang.Cancel}}";
	var lang_currentText = "{{$lang.currentText}}";
	var lang_closeText = "{{$lang.closeText}}";
	var lang_timeOnlyTitle = "{{$lang.timeOnlyTitle}}";
	var lang_timeText = "{{$lang.timeText}}";
	var lang_hourText = "{{$lang.hourText}}";
	var lang_minuteText = "{{$lang.minuteText}}";
	var lang_secondText = "{{$lang.secondText}}";
	var lang_timezoneText = "{{$lang.timezoneText}}";
	var lang_Loading = "{{$lang.Loading}}";
	
	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_Margin_producer = "{{$lang.Margin_producer}}";
	var lang_Margin_category = "{{$lang.Margin_category}}";
	var lang_Margin_product = "{{$lang.Margin_product}}";

	var lang_Products_ajax_Error = "{{$lang.Products_ajax_Error}}";
	var lang_SMS_debug_confirm = "{{$lang.SMS_debug_confirm}}";

	var config_dir_templates = "{{$config.dir_templates}}";
	var config_dir_scripts = "{{$config.dir_scripts}}";
</script>