%PDF- %PDF-
Direktori : /home/bitrix/www/bitrix/wizards/bitrix/eshop/site/templates/eshop_adapt/ |
Current File : /home/bitrix/www/bitrix/wizards/bitrix/eshop/site/templates/eshop_adapt/header.php |
<?if(!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED!==true)die(); IncludeTemplateLangFile($_SERVER["DOCUMENT_ROOT"]."/bitrix/templates/".SITE_TEMPLATE_ID."/header.php"); $wizTemplateId = COption::GetOptionString("main", "wizard_template_id", "eshop_adapt_horizontal", SITE_ID); CUtil::InitJSCore(); CJSCore::Init(array("fx")); ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?=LANGUAGE_ID?>" lang="<?=LANGUAGE_ID?>"> <head> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> <meta name="viewport" content="user-scalable=no, initial-scale=1.0, maximum-scale=1.0, width=device-width"> <link rel="shortcut icon" type="image/x-icon" href="<?=SITE_DIR?>/favicon.ico" /> <?$APPLICATION->ShowHead(); $APPLICATION->SetAdditionalCSS(SITE_TEMPLATE_PATH.'/colors.css'); $APPLICATION->AddHeadScript(SITE_TEMPLATE_PATH."/script.js");?> <title><?$APPLICATION->ShowTitle()?></title> </head> <body> <div id="panel"><?$APPLICATION->ShowPanel();?></div> <?$APPLICATION->IncludeComponent("bitrix:eshop.banner", "", array());?> <div class="wrap" id="bx_eshop_wrap"> <div class="header_wrap"> <div class="header_wrap_container"> <div class="header_top_section"> <div class="header_top_section_container_one"> <div class="bx_cart_login_top"> <?$APPLICATION->IncludeComponent("bitrix:sale.basket.basket.line", "eshop_adapt", array( "PATH_TO_BASKET" => SITE_DIR."personal/cart/", "PATH_TO_PERSONAL" => SITE_DIR."personal/", "SHOW_PERSONAL_LINK" => "N" ), false, array() );?> <?$APPLICATION->IncludeComponent("bitrix:system.auth.form", "eshop_adapt", array( "REGISTER_URL" => SITE_DIR."login/", "PROFILE_URL" => SITE_DIR."personal/", "SHOW_ERRORS" => "N" ), false, array() );?> </div> </div> <div class="header_top_section_container_two"> <?$APPLICATION->IncludeComponent('bitrix:menu', "top_menu", array( "ROOT_MENU_TYPE" => "top", "MENU_CACHE_TYPE" => "Y", "MENU_CACHE_TIME" => "36000000", "MENU_CACHE_USE_GROUPS" => "Y", "MENU_CACHE_GET_VARS" => array(), "MAX_LEVEL" => "1", "USE_EXT" => "N", "ALLOW_MULTI_SELECT" => "N" ) );?> </div> <div class="clb"></div> </div> <!-- //header_top_section --> <div class="header_inner" itemscope itemtype = "http://schema.org/LocalBusiness"> <h1 class="site_title"><a href="<?=SITE_DIR?>" itemprop = "name"><?$APPLICATION->IncludeComponent("bitrix:main.include", "", array("AREA_FILE_SHOW" => "file", "PATH" => SITE_DIR."include/company_name.php"), false);?></a></h1> <div class="header_inner_container_one"> <div class="header_inner_include_aria"><span style="color: #1b5c79;"> <strong style="display: inline-block;padding-top: 7px;"><a style="text-decoration: none;color:#1b5c79;" href="<?=SITE_DIR?>about/contacts/" itemprop = "telephone"><?$APPLICATION->IncludeComponent("bitrix:main.include", "", array("AREA_FILE_SHOW" => "file", "PATH" => SITE_DIR."include/telephone.php"), false);?></a></strong><br /> <?$APPLICATION->IncludeComponent("bitrix:main.include", "", array("AREA_FILE_SHOW" => "file", "PATH" => SITE_DIR."include/schedule.php"), false);?></span> </div> </div> <div class="header_inner_container_two"> <?$APPLICATION->IncludeComponent("bitrix:search.title", "visual", array( "NUM_CATEGORIES" => "1", "TOP_COUNT" => "5", "CHECK_DATES" => "N", "SHOW_OTHERS" => "N", "PAGE" => SITE_DIR."catalog/", "CATEGORY_0_TITLE" => GetMessage("SEARCH_GOODS") , "CATEGORY_0" => array( 0 => "iblock_catalog", ), "CATEGORY_0_iblock_catalog" => array( 0 => "all", ), "CATEGORY_OTHERS_TITLE" => GetMessage("SEARCH_OTHER"), "SHOW_INPUT" => "Y", "INPUT_ID" => "title-search-input", "CONTAINER_ID" => "search", "PRICE_CODE" => array( 0 => "BASE", ), "SHOW_PREVIEW" => "Y", "PREVIEW_WIDTH" => "75", "PREVIEW_HEIGHT" => "75", "CONVERT_CURRENCY" => "Y" ), false );?> </div> <div class="clb"></div> <?if ($wizTemplateId == "eshop_adapt_horizontal"):?> <div class="header_inner_bottom_line_container"> <div class="header_inner_bottom_line"> <?$APPLICATION->IncludeComponent("bitrix:menu", "catalog_horizontal", array( "ROOT_MENU_TYPE" => "left", "MENU_CACHE_TYPE" => "A", "MENU_CACHE_TIME" => "36000000", "MENU_CACHE_USE_GROUPS" => "Y", "CACHE_SELECTED_ITEMS" => "N", "MENU_CACHE_GET_VARS" => array( ), "MAX_LEVEL" => "3", "CHILD_MENU_TYPE" => "left", "USE_EXT" => "Y", "DELAY" => "N", "ALLOW_MULTI_SELECT" => "N" ), false );?> </div> </div><!-- //header_inner_bottom_line_container --> <?endif?> </div> <!-- //header_inner --> <?if ($APPLICATION->GetCurPage(true) == SITE_DIR."index.php"):?> <?$APPLICATION->IncludeComponent( "bitrix:main.include", "", Array( "AREA_FILE_SHOW" => "sect", "AREA_FILE_SUFFIX" => "inc", "AREA_FILE_RECURSIVE" => "N", "EDIT_MODE" => "html", ), false, Array('HIDE_ICONS' => 'Y') );?> <?endif?> <div style="position: relative;bottom: -20px;"> <?$APPLICATION->IncludeComponent("bitrix:breadcrumb", "eshop_adapt", array( "START_FROM" => "1", "PATH" => "", "SITE_ID" => "-" ), false, Array('HIDE_ICONS' => 'Y') );?> </div> </div> <!-- //header_wrap_container --> </div> <!-- //header_wrap --> <div class="workarea_wrap"> <div class="worakarea_wrap_container workarea <?if ($wizTemplateId == "eshop_adapt_vertical"):?>grid1x3<?else:?>grid<?endif?>"> <div class="bx_content_section">