<head>
	<meta charset="UTF-8">
	<title>{title}</title>

	<link rel="stylesheet" href="{site_host}templates/{template}/css/main.css?v={cache}">
	<link rel="shortcut icon" href="{site_host}templates/{template}/img/favicon.ico?v={cache}">
	<link rel="image_src" href="{image}?v={cache}">

	<meta name="robots" content="{robots}">
	<meta name="revisit" content="1">
	<meta name="description" content="{description}">
	<meta name="keywords" content="{keywords}">
	<meta name="document-state" content="dynamic">
	<meta name="author" content="gamecms.ru">

	<meta property="og:title" content="{title}">
	<meta property="og:description" content="{description}">
	<meta property="og:type" content="{type}">
	<meta property="og:image" content="{image}?v={cache}">
	<meta property="og:site_name" content="{site_name}">
	<meta property="og:url" content="{url}">

	<meta name="dc.title" content="{title}">
	<meta name="dc.rights" content="Copyright 2015, gr.stas, Ltd. Все права защищены.">
	<meta name="dc.creator" content="gamecms.ru">
	<meta name="dc.language" content="RU">

	<script src="{site_host}templates/{template}/js/jquery.js?v={cache}"></script>
	<script src="{site_host}templates/{template}/js/nprogress.js?v={cache}"></script>
	<script src="{site_host}templates/{template}/js/noty.js?v={cache}"></script>
	<script src="{site_host}templates/{template}/js/mix.js?v={cache}"></script>
	<script src="{site_host}templates/{template}/js/bootstrap.js?v={cache}"></script>

	<script src="{site_host}ajax/helpers.js?v={cache}"></script>
	<script src="{site_host}ajax/ajax-user.js?v={cache}"></script>

	{if($conf->new_year == 1 or $conf->win_day == 1)}
	<link rel="stylesheet" href="{site_host}templates/{template}/css/holiday.css?v={cache}">
	<script src="{site_host}templates/{template}/js/holiday.js?v={cache}"></script>
	{/if}

	{files}
	{other}
</head>
<body>
	{if($conf->new_year == 1)}
		{include file="/elements/new_year.tpl"}
	{/if}
	{if($conf->win_day == 1)}
		{include file="/elements/win_day.tpl"}
	{/if}
	<input id="token" type="hidden" value="{token}">
	<div id="global_result">
		<span class="glyphicon glyphicon-ok result_ok disp-n"></span>
		<span class="glyphicon glyphicon-remove result_error disp-n"></span>
		<span class="glyphicon glyphicon-ok result_ok_b disp-n"></span>
		<span class="glyphicon glyphicon-remove result_error_b disp-n"></span>
	</div>
	<div id="result_player"></div>