<? echo $CODE; ?>
<?
$arSelect = Array(
'ID',
'CODE'
);
$arFilter = Array(
'IBLOCK_ID'=> $arResult['IBLOCK_ID'],
'ID' => $arResult['IBLOCK_SECTION_ID']
);
$db_res = CIBlockSection::GetList(
Array(),
$arFilter,
true,
$arSelect
);
if ($ar_result = $db_res->GetNext()) {
$CODE = $ar_result['CODE'];
}
?>
<div class="menu">
<a href="/">Главная</a> / <a href="/catalog/">Каталог</a> / <a href="/catalog/cat/<?=$arResult['IBLOCK_SECTION_ID']?>/"><?=$section_name?></a> / <a href="/collection/<?=$secion['CODE']?>/"><?=$secion['NAME']?></a> / <a href="/collection/<?=$secion['CODE']?>/"><?=$secion['NAME']?></a>
</div>
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /([^.]+)\.html\ HTTP
RewriteRule ^([^.]+)\.html$ мой-сайт.ру/$1 [R=301,L]
RewriteCond %{REQUEST_URI} !(\.[^./]+)$
RewriteCond %{REQUEST_fileNAME} !-d
RewriteCond %{REQUEST_fileNAME} !-f
RewriteRule (.*) /$1.html
</IfModule>
# END WordPress