Created
November 19, 2019 22:01
-
-
Save mentoss/27a7b6468db005beed4352c2bd5b4eb1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html><? | |
if(!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED !== true) die(); | |
$_COOKIE["test_admin"] = "Y"; | |
IncludeTemplateLangFile(__FILE__); | |
$sTopMemuTemplate = CSite::InDir("/online/") ? "top_menu_fixed" : "top_menu"; | |
global $USER; | |
?> | |
<html lang="ru"> | |
<head> | |
<meta charset="utf-8" /> | |
<title><?$APPLICATION->ShowTitle()?></title> <link type="image/x-icon" href="/favicon.ico" rel="shortcut icon"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<?echo $APPLICATION->AddBufferContent('ShowMetaShareSoc');?> | |
<link href="http://fonts.googleapis.com/css?family=PT+Sans+Narrow:400,700&subset=latin,cyrillic-ext" rel="stylesheet" type="text/css" /> | |
<link href="http://fonts.googleapis.com/css?family=PT+Sans:400,400italic,700,700italic&subset=latin,cyrillic-ext" rel="stylesheet" type="text/css"> | |
<link href='http://fonts.googleapis.com/css?family=PT+Serif:400,700,700italic,400italic&subset=latin,cyrillic-ext' rel='stylesheet' type='text/css'> | |
<link href="<?=SITE_TEMPLATE_PATH?>/js/vendors/slick/slick.css" rel="stylesheet"> | |
<link href="<?=SITE_TEMPLATE_PATH?>/js/vendors/fancybox/jquery.fancybox.css" rel="stylesheet"> | |
<link rel="stylesheet" href="http://code.jquery.com/ui/1.12.1/themes/base/jquery-ui.css"> | |
<link href="<?=SITE_TEMPLATE_PATH?>/css/style.css" rel="stylesheet"> | |
<!--[if lt IE 9]> | |
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script> | |
<![endif]--> | |
<!-- first css --> | |
<link rel="stylesheet" type="text/css" href="<?=SITE_TEMPLATE_PATH?>/css/first/selectik.css" /> | |
<link rel="stylesheet" href="<?=SITE_TEMPLATE_PATH?>/css/first/foundation.css" /> | |
<link rel="stylesheet" href="<?=SITE_TEMPLATE_PATH?>/css/first/slick.css" /> | |
<link rel="stylesheet" type="text/css" href="<?=SITE_TEMPLATE_PATH?>/css/first/styles.css" /> | |
<!-- first css --> | |
<!-- first js --> | |
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script> | |
<script src="https://code.jquery.com/ui/1.12.1/jquery-ui.js"></script> | |
<script src="<?=SITE_TEMPLATE_PATH?>/js/vendors/slick/slick.min.js"></script> | |
<script src="<?=SITE_TEMPLATE_PATH?>/js/vendors/validate/validate.js"></script> | |
<script src="<?=SITE_TEMPLATE_PATH?>/js/vendors/fancybox/jquery.fancybox.pack.js"></script> | |
<script src="<?=SITE_TEMPLATE_PATH?>/js/first/jquery.mousewheel.js"></script> | |
<script src="<?=SITE_TEMPLATE_PATH?>/js/first/jquery.selectik.min.js"></script> | |
<script src="<?=SITE_TEMPLATE_PATH?>/js/foundation.js"></script> | |
<script src="<?=SITE_TEMPLATE_PATH?>/js/first/main.js"></script> | |
<script src="<?=SITE_TEMPLATE_PATH?>/js/interface.js"></script> | |
<script src="<?=SITE_TEMPLATE_PATH?>/js/custom.js"></script> | |
<script src="<?=SITE_TEMPLATE_PATH?>/js/subscribe.js"></script> | |
<script src="<?=SITE_TEMPLATE_PATH?>/js/tariff_new.js"></script> | |
<script src="<?=SITE_TEMPLATE_PATH?>/js/vendors/masonry/masonry.js"></script> | |
<!-- first js --> | |
<!-- Put this script tag to the <head> of your page --> | |
<script type="text/javascript" src="//vk.com/js/api/openapi.js?116"></script> | |
<script type="text/javascript"> | |
VK.init({apiId: 4874733, onlyWidgets: true}); | |
</script> | |
<!-- Put this div tag to the place, where the Like block will be --> | |
<?//$APPLICATION->ShowHeadStrings();?> | |
<?$APPLICATION->ShowHead();?> | |
</head> | |
<body class="<?$APPLICATION->ShowViewContent('block_class');?> body-width bg-section <?$APPLICATION->ShowProperty("BODY_CLASS");?><?if(CSite::InDir('/index.php')):?> old-page<?endif;?>"> | |
<script> | |
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ | |
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), | |
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) | |
})(window,document,'script','//www.google-analytics.com/analytics.js','ga'); | |
ga('create', 'UA-55193816-6', 'auto'); | |
ga('send', 'pageview'); | |
</script> | |
<!-- Yandex.Metrika counter --> | |
<script type="text/javascript"> | |
(function (d, w, c) { | |
(w[c] = w[c] || []).push(function() { | |
try { | |
w.yaCounter29757468 = new Ya.Metrika({id:29757468, | |
webvisor:true, | |
clickmap:true, | |
trackLinks:true, | |
accurateTrackBounce:true}); | |
} catch(e) { } | |
}); | |
var n = d.getElementsByTagName("script")[0], | |
s = d.createElement("script"), | |
f = function () { n.parentNode.insertBefore(s, n); }; | |
s.type = "text/javascript"; | |
s.async = true; | |
s.src = (d.location.protocol == "https:" ? "https:" : "http:") + "//mc.yandex.ru/metrika/watch.js"; | |
if (w.opera == "[object Opera]") { | |
d.addEventListener("DOMContentLoaded", f, false); | |
} else { f(); } | |
})(document, window, "yandex_metrika_callbacks"); | |
</script> | |
<noscript><div><img src="//mc.yandex.ru/watch/29757468" style="position:absolute; left:-9999px;" alt="" /></div></noscript> | |
<!-- /Yandex.Metrika counter --> | |
<!-- Rating@Mail.ru counter --> | |
<script type="text/javascript"> | |
var _tmr = _tmr || []; | |
_tmr.push({id: "2655933", type: "pageView", start: (new Date()).getTime()}); | |
(function (d, w) { | |
var ts = d.createElement("script"); ts.type = "text/javascript"; ts.async = true; | |
ts.src = (d.location.protocol == "https:" ? "https:" : "http:") + "//top-fwz1.mail.ru/js/code.js"; | |
var f = function () {var s = d.getElementsByTagName("script")[0]; s.parentNode.insertBefore(ts, s);}; | |
if (w.opera == "[object Opera]") { d.addEventListener("DOMContentLoaded", f, false); } else { f(); } | |
})(document, window); | |
</script><noscript><div style="position:absolute;left:-10000px;"> | |
<img src="//top-fwz1.mail.ru/counter?id=2655933;js=na" style="border:0;" height="1" width="1" alt="Рейтинг@Mail.ru" /> | |
</div></noscript> | |
<!-- //Rating@Mail.ru counter --> | |
<!--LiveInternet counter--><script type="text/javascript"><!-- | |
new Image().src = "//counter.yadro.ru/hit?r"+ | |
escape(document.referrer)+((typeof(screen)=="undefined")?"": | |
";s"+screen.width+"*"+screen.height+"*"+(screen.colorDepth? | |
screen.colorDepth:screen.pixelDepth))+";u"+escape(document.URL)+ | |
";"+Math.random();//--></script><!--/LiveInternet--> | |
<?$APPLICATION->ShowPanel();?> | |
<?//if($_COOKIE["test_admin"] == "Y"):?> | |
<?$APPLICATION->IncludeComponent( | |
"manao:main.banner", | |
".default", | |
Array( | |
"BANNER_TYPE" => "0", | |
"COMPONENT_TEMPLATE" => ".default", | |
"IBLOCK_ID" => "35", | |
"IBLOCK_TYPE" => "banner" | |
) | |
);?> | |
<?//endif;?> | |
<!--LAYOUT--> | |
<div class="layout <?if(CSite::InDir('/news/index.php')){}elseif(CSite::InDir('/news/')){echo "layout--txt";}?> <?$APPLICATION->ShowProperty("additional_classes");?>"> | |
<div class="wrapper"> | |
<!--HEADER--> | |
<header class="page-header"> | |
<div class="container"> | |
<div class="top-logo"> | |
<a href="<?=SITE_DIR;?>"> | |
<img src="<?=SITE_TEMPLATE_PATH?>/img/logo.svg" alt="" /> | |
</a> | |
</div> | |
<div class="top-right head-top"> | |
<ul class="head-top__menu"> | |
<?//if($_COOKIE["test_admin"] == "Y"):?> | |
<?if($USER->IsAuthorized()):?> | |
<li> | |
<a href="/personal/"> | |
<img src="<?=SITE_TEMPLATE_PATH?>/img/page/ico-user.png" alt=""> <?=$USER->GetFirstName();?> | |
</a> | |
</li> | |
<li> | |
<a href="<?echo $APPLICATION->GetCurPageParam("logout=yes", array( | |
"login", | |
"logout", | |
"register", | |
"forgot_password", | |
"change_password"));?>" class="out-auth-user">Выход</a> | |
</li> | |
<?else:?> | |
<li> | |
<a href="#autorize" class="fbox"><img src="<?=SITE_TEMPLATE_PATH?>/img/page/ico-user.png" alt=""> Личный кабинет</a> | |
</li> | |
<?endif;?> | |
<?//endif;?> | |
<?$APPLICATION->IncludeFile( | |
SITE_DIR ."include/header/top_menu.php", | |
Array(), | |
Array("MODE" => "html") | |
);?> | |
<?//if($_COOKIE["test_admin"] == "Y"):?> | |
<?if($USER->IsAuthorized()):?> | |
<!--<li> | |
<a href="/basket/">Корзина | |
<span> | |
<img src="<?//=SITE_TEMPLATE_PATH?>/img/page/ico-basket.png" alt=""> | |
<em>2</em> | |
</span> | |
</a> | |
</li>--> | |
<?endif;?> | |
<?//endif;?> | |
</ul> | |
<div class="menu-social"> | |
<? | |
/* | |
$APPLICATION->IncludeComponent( | |
"bitrix:news.list", | |
"social", | |
array( | |
"ACTIVE_DATE_FORMAT" => "d.m.Y", | |
"ADD_SECTIONS_CHAIN" => "N", | |
"AJAX_MODE" => "N", | |
"AJAX_OPTION_ADDITIONAL" => "", | |
"AJAX_OPTION_HISTORY" => "N", | |
"AJAX_OPTION_JUMP" => "N", | |
"AJAX_OPTION_STYLE" => "N", | |
"CACHE_FILTER" => "N", | |
"CACHE_GROUPS" => "N", | |
"CACHE_TIME" => "36000000", | |
"CACHE_TYPE" => "A", | |
"CHECK_DATES" => "N", | |
"COMPOSITE_FRAME_MODE" => "A", | |
"COMPOSITE_FRAME_TYPE" => "AUTO", | |
"DETAIL_URL" => "", | |
"DISPLAY_BOTTOM_PAGER" => "N", | |
"DISPLAY_DATE" => "N", | |
"DISPLAY_NAME" => "N", | |
"DISPLAY_PICTURE" => "N", | |
"DISPLAY_PREVIEW_TEXT" => "N", | |
"DISPLAY_TOP_PAGER" => "N", | |
"FIELD_CODE" => array( | |
0 => "", | |
1 => "DETAIL_PICTURE", | |
2 => "", | |
), | |
"FILTER_NAME" => "", | |
"HIDE_LINK_WHEN_NO_DETAIL" => "N", | |
"IBLOCK_ID" => "32", | |
"IBLOCK_TYPE" => "soc", | |
"INCLUDE_IBLOCK_INTO_CHAIN" => "N", | |
"INCLUDE_SUBSECTIONS" => "N", | |
"MESSAGE_404" => "", | |
"NEWS_COUNT" => "99999", | |
"PAGER_BASE_LINK_ENABLE" => "N", | |
"PAGER_DESC_NUMBERING" => "N", | |
"PAGER_DESC_NUMBERING_CACHE_TIME" => "36000", | |
"PAGER_SHOW_ALL" => "N", | |
"PAGER_SHOW_ALWAYS" => "N", | |
"PAGER_TEMPLATE" => ".default", | |
"PAGER_TITLE" => "Новости", | |
"PARENT_SECTION" => "", | |
"PARENT_SECTION_CODE" => "", | |
"PREVIEW_TRUNCATE_LEN" => "", | |
"PROPERTY_CODE" => array( | |
0 => "link", | |
1 => "", | |
), | |
"SET_BROWSER_TITLE" => "N", | |
"SET_LAST_MODIFIED" => "N", | |
"SET_META_DESCRIPTION" => "N", | |
"SET_META_KEYWORDS" => "N", | |
"SET_STATUS_404" => "N", | |
"SET_TITLE" => "N", | |
"SHOW_404" => "N", | |
"SORT_BY1" => "SORT", | |
"SORT_BY2" => "SORT", | |
"SORT_ORDER1" => "ASC", | |
"SORT_ORDER2" => "ASC", | |
"COMPONENT_TEMPLATE" => "social" | |
), | |
false | |
); | |
*/ | |
?> | |
</div> | |
<?$APPLICATION->IncludeComponent( | |
"bitrix:search.form", | |
"top_form", | |
Array( | |
"PAGE" => "#SITE_DIR#search/index.php", | |
"USE_SUGGEST" => "N" | |
) | |
);?> | |
<a href="javascript:void(0);" class="menu-sandwich"></a> | |
<!--<div class="head-top__language"> | |
<a href="javascript:void(0);"><img src="<?//=SITE_TEMPLATE_PATH?>/img/page/rus.png" alt=""> Рус</a> | |
</div>--> | |
<div class="menu-mobile"> | |
<div class="menu-mobile__inner"> | |
<a href="javascript:void(0);" class="menu-mobile-close"></a> | |
<?$APPLICATION->IncludeComponent( | |
"bitrix:menu", | |
"mob_top_menu", | |
Array( | |
"ALLOW_MULTI_SELECT" => "N", | |
"CHILD_MENU_TYPE" => ($USER->IsAdmin() ? "left" : "left_hide"), | |
"DELAY" => "N", | |
"MAX_LEVEL" => 2,//$_COOKIE["test_admin"] == "Y" ? 2 : 1, | |
"MENU_CACHE_GET_VARS" => array(""), | |
"MENU_CACHE_TIME" => "3600", | |
"MENU_CACHE_TYPE" => "A", | |
"MENU_CACHE_USE_GROUPS" => "Y", | |
"ROOT_MENU_TYPE" => "top", | |
"USE_EXT" => "Y" | |
) | |
);?> | |
<ul class="head-top__menu"> | |
<?//if($_COOKIE["test_admin"] == "Y"):?> | |
<?if($USER->IsAuthorized()):?> | |
<li> | |
<a href="/personal/"> | |
<img src="<?=SITE_TEMPLATE_PATH?>/img/page/ico-user.png" alt="personal"> | |
<?=($USER->GetFirstName() ? $USER->GetFirstName() : $USER->GetLogin())?> | |
</a> | |
</li> | |
<li><a href="<?echo $APPLICATION->GetCurPageParam("logout=yes", array( | |
"login", | |
"logout", | |
"register", | |
"forgot_password", | |
"change_password"));?>" class="out-auth-user">Выход</a></li> | |
<?else:?> | |
<li> | |
<a href="#autorize" class="fbox"><img src="<?=SITE_TEMPLATE_PATH?>/img/page/ico-user.png" alt=""> Личный кабинет</a> | |
</li> | |
<?endif;?> | |
<?//endif;?> | |
<?$APPLICATION->IncludeFile( | |
SITE_DIR ."include/header/top_menu.php", | |
Array(), | |
Array("MODE" => "html") | |
);?> | |
<?//if($USER->IsAuthorized()):?> | |
<!--<li class="basket-ico"> | |
<a href="/basket/">Корзина | |
<span> | |
<img src="<?//=SITE_TEMPLATE_PATH?>/img/page/ico-basket.png" alt=""> | |
<em>2</em> | |
</span> | |
</a> | |
</li>--> | |
<?//endif;?> | |
</ul> | |
<?$APPLICATION->IncludeComponent( | |
"bitrix:search.form", | |
"top_form", | |
Array( | |
"PAGE" => "#SITE_DIR#search/index.php", | |
"USE_SUGGEST" => "N" | |
) | |
);?> | |
<!--<div class="head-top__language"> | |
<a href="javascript:void(0);"> | |
<img src="<?//=SITE_TEMPLATE_PATH?>/img/page/rus.png" alt="Рус"> Рус | |
</a> | |
</div>--> | |
<? | |
/* | |
$APPLICATION->IncludeComponent( | |
"bitrix:news.list", | |
"social", | |
Array( | |
"ACTIVE_DATE_FORMAT" => "d.m.Y", | |
"ADD_SECTIONS_CHAIN" => "N", | |
"AJAX_MODE" => "N", | |
"AJAX_OPTION_ADDITIONAL" => "", | |
"AJAX_OPTION_HISTORY" => "N", | |
"AJAX_OPTION_JUMP" => "N", | |
"AJAX_OPTION_STYLE" => "N", | |
"CACHE_FILTER" => "N", | |
"CACHE_GROUPS" => "N", | |
"CACHE_TIME" => "36000000", | |
"CACHE_TYPE" => "A", | |
"CHECK_DATES" => "N", | |
"COMPOSITE_FRAME_MODE" => "A", | |
"COMPOSITE_FRAME_TYPE" => "AUTO", | |
"DETAIL_URL" => "", | |
"DISPLAY_BOTTOM_PAGER" => "N", | |
"DISPLAY_DATE" => "N", | |
"DISPLAY_NAME" => "N", | |
"DISPLAY_PICTURE" => "N", | |
"DISPLAY_PREVIEW_TEXT" => "N", | |
"DISPLAY_TOP_PAGER" => "N", | |
"FIELD_CODE" => array("",""), | |
"FILTER_NAME" => "", | |
"HIDE_LINK_WHEN_NO_DETAIL" => "N", | |
"IBLOCK_ID" => "32", | |
"IBLOCK_TYPE" => "soc", | |
"INCLUDE_IBLOCK_INTO_CHAIN" => "N", | |
"INCLUDE_SUBSECTIONS" => "N", | |
"MESSAGE_404" => "", | |
"NEWS_COUNT" => "99999", | |
"PAGER_BASE_LINK_ENABLE" => "N", | |
"PAGER_DESC_NUMBERING" => "N", | |
"PAGER_DESC_NUMBERING_CACHE_TIME" => "36000", | |
"PAGER_SHOW_ALL" => "N", | |
"PAGER_SHOW_ALWAYS" => "N", | |
"PAGER_TEMPLATE" => ".default", | |
"PAGER_TITLE" => "Новости", | |
"PARENT_SECTION" => "", | |
"PARENT_SECTION_CODE" => "", | |
"PREVIEW_TRUNCATE_LEN" => "", | |
"PROPERTY_CODE" => array("link",""), | |
"SET_BROWSER_TITLE" => "N", | |
"SET_LAST_MODIFIED" => "N", | |
"SET_META_DESCRIPTION" => "N", | |
"SET_META_KEYWORDS" => "N", | |
"SET_STATUS_404" => "N", | |
"SET_TITLE" => "N", | |
"SHOW_404" => "N", | |
"SORT_BY1" => "SORT", | |
"SORT_BY2" => "SORT", | |
"SORT_ORDER1" => "ASC", | |
"SORT_ORDER2" => "ASC" | |
) | |
); | |
*/ | |
?> | |
</div> | |
</div> | |
</div> | |
<?$APPLICATION->IncludeComponent( | |
"bitrix:menu", | |
$sTopMemuTemplate, | |
Array( | |
"ALLOW_MULTI_SELECT" => "N", | |
"CHILD_MENU_TYPE" => ($USER->IsAdmin() ? "left" : "left_hide"), | |
"DELAY" => "N", | |
"MAX_LEVEL" => 2,//$_COOKIE["test_admin"] == "Y" ? 2 : 1, | |
"MENU_CACHE_GET_VARS" => array(""), | |
"MENU_CACHE_TIME" => "3600", | |
"MENU_CACHE_TYPE" => "A", | |
"MENU_CACHE_USE_GROUPS" => "Y", | |
"ROOT_MENU_TYPE" => "top", | |
"USE_EXT" => "Y" | |
) | |
);?> | |
</div> | |
</header><!--END HEADER--> | |
<div class="container"> | |
<!-- SEARCH --> | |
<div class="content-head" <?if(CSite::InDir("/index.php")):?>style="display:none;"<?endif;?>> | |
<?$APPLICATION->IncludeComponent( | |
"bitrix:breadcrumb", | |
"main", | |
Array( | |
"PATH" => "", | |
"SITE_ID" => "s1", | |
"START_FROM" => "0" | |
) | |
);?> | |
<h1> | |
<?$APPLICATION->ShowTitle(false, false);?> | |
<span class="title-alternate"><?$APPLICATION->ShowViewContent('name_alt');?></span> | |
</h1> | |
<?$APPLICATION->ShowViewContent('header_additional');?> | |
<?if (CSite::InDir("/online/search/")):?> | |
<div class="section-searh__form"> | |
<form action=""> | |
<input type="text" name="q" value="<?=htmlspecialcharsbx($_REQUEST['q'])?>"> | |
<input type="submit"> | |
</form> | |
</div> | |
<?elseif (CSite::InDir("/personal/")):?> | |
<ul class="lk-tab"> | |
<li><a href="#lk_1" class="active">Настройки пользователя</a></li> | |
<li><a href="#lk_2">Управление подпиской</a></li> | |
</ul> | |
<?elseif (CSite::InDir("/online/collections/")):?> | |
<?$APPLICATION->ShowViewContent('museums_title');?> | |
<?elseif(CSite::InDir("/online/rates/")):?> | |
<?$APPLICATION->IncludeComponent( | |
"bitrix:menu", | |
"submenu", | |
Array( | |
"ALLOW_MULTI_SELECT" => "N", | |
"CHILD_MENU_TYPE" => "", | |
"DELAY" => "N", | |
"MAX_LEVEL" => "1", | |
"MENU_CACHE_GET_VARS" => array(0=>"",), | |
"MENU_CACHE_TIME" => "3600", | |
"MENU_CACHE_TYPE" => "A", | |
"MENU_CACHE_USE_GROUPS" => "Y", | |
"ROOT_MENU_TYPE" => "sub", | |
"USE_EXT" => "Y" | |
) | |
);?> | |
<?endif;?> | |
</div> | |
<div class="<?if(CSite::InDir('/online/rates/')):?>subscribe<?else:?>content-body<?endif;?>"> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment