Если нужно что-нибудь еще скажите:
Скрины настроек ИБ
| Код |
|---|
<div class="rightblock"> <div id="breadcrumbs"> <span class="breadcrumbs pathway"> <?$APPLICATION->IncludeComponent( "efinland:breadcrumb", ".default", Array( "START_FROM" => "0", "PATH" => "", "SITE_ID" => "" ) );?> </span></div> <div class="clear"></div> <h1>Туры в Финляндию</h1> <div class="entry-body"> <div class="index2"> <div class="big-blue"> <h2>Подобрать тур</h2> <?$APPLICATION->IncludeComponent( "efinland:tour_search", ".default", Array( "IBLOCK_ID" => 10 ) );?> </div> |
| Код |
|---|
<?
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
);
?>
|