Your IP : 172.28.240.42


Current Path : /var/www/html/clients/amz.e-nk.ru/bitrix/components/bitrix/breadcrumb/
Upload File :
Current File : /var/www/html/clients/amz.e-nk.ru/bitrix/components/bitrix/breadcrumb/component.php

<?
if(!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED!==true) die();

if (!$this->InitComponentTemplate())
	return;

$template = &$this->GetTemplate();
$templatePath = $template->GetFile();
$templateFolder = $template->GetFolder();

$APPLICATION->SetAdditionalCSS($templateFolder."/style.css");

//Params
$arParams["START_FROM"] = (isset($arParams["START_FROM"]) && intval($arParams["START_FROM"]) > 0 ? intval($arParams["START_FROM"]) : 0);
$arParams["PATH"] = (isset($arParams["PATH"]) && strlen($arParams["PATH"]) > 0 ? htmlspecialchars($arParams["PATH"]) : false);
$arParams["SITE_ID"] = (isset($arParams["SITE_ID"]) && strlen($arParams["SITE_ID"]) == 2 ? htmlspecialchars($arParams["SITE_ID"]) : false);

if ($arParams["SITE_ID"] === false)
	$path = $arParams["PATH"];
else
	$path = Array($arParams["SITE_ID"], $arParams["PATH"]);

$APPLICATION->AddBufferContent(
	Array(&$APPLICATION, "GetNavChain"),
	$path,
	$arParams["START_FROM"],
	$templatePath,
	$bIncludeOnce = true,
	$bShowIcons = false
);
?>