} else { $rsItems = CIBlockElement::GetList(array( 'DATE_CREATE' => 'DESC' ), array( 'IBLOCK_ID' => 17, 'PROPERTY_USER' => $wishUser['ID'], 'ACTIVE' => 'Y' ), false, false, array( 'PROPERTY_OBJECT_ID' )); while ($item = $rsItems->Fetch()) { $items[] = $item['PROPERTY_OBJECT_ID_VALUE']; } } require_once($_SERVER['DOCUMENT_ROOT'] . '/butik/.tags.class.php'); $tags = new WRTags(); ?> <link rel="stylesheet" type="text/css" href="/src/css/butik.css" /> <div class="cat-menu"> <ul class="sf-menu"> <li><? $tags->drawCatalog();?></li> <li><? $tags->drawGifts();?></li> <li><? $tags->drawFacility();?></li> </ul> <div class="cat-phone"> <p>т: 8-495-517-43-64</p> <p>Мегафон, Москва</p> </div> </div> <? $tags->setFilter();?> <div style="clear:both;"></div>
<? require($_SERVER["DOCUMENT_ROOT"]."/bitrix/header.php"); $APPLICATION->SetTitle("Товар"); ?> <? require_once('.tags.class.php'); $tags = new WRTags(); ?> <link rel="stylesheet" type="text/css" href="/src/css/butik.css" /> <div class="cat-menu"> <ul class="sf-menu"> <li><? $tags->drawCatalog();?></li> <li><? $tags->drawGifts();?></li> <li><? $tags->drawFacility();?></li> <li style="background: none;"><p class="back-to-photos" style="display: none; margin-left: 90px; color: #f15824; font-size: 13px;"><< Вернуть фото</p></li> </ul> <div class="cat-phone"> <p>т: 8-495-517-43-64</p> <p>Мегафон, Москва</p> </div> </div> <? $tags->setFilter();?> <div style="clear:both;"></div> <?if ($_GET['spec'] == 'sku') : ?> <div style="width: 75%; height: 30px; padding: 1px 0 9px 28px; color: #f15824; font-size: 15px;"> <p>Товар содержит характеристики. Пожалуйста, выберете какой именно вы покупаете.</p> </div> <?endif;?> <?$APPLICATION->IncludeComponent("bitrix:catalog.element", "butik-tovar", array(
}else{ echo '<a class="open-reg" href="/registration/"><img src="/src/icons/user.png" style="width:30px;" /></a>'; echo '<a class="show-cart" href="#"><img src="/src/icons/basket18.png" style="width:30px;" /></a>'; // echo '<a class="open-reg" href="/registration/">Регистрация</a> / <a class="open-auth" href="/personal/">Вход</a>'; // echo '<a class="open-reg" href="/personal/">Вход</a>'; } ?> </div> <div class="text"> МАГАЗИН БЕЗГРАНИЧНЫХ<br>ВОЗМОЖНОСТЕЙ </div> <? require_once('butik/.tags.class.php'); $tags = new WRTags(); ?> <link rel="stylesheet" type="text/css" href="/src/css/butik.css" /> <ul class="top-menu2"> <!-- <? $tags->drawFacilityIndex();?> --> <div class="cat-menu" style="padding-top:0px;"> <ul class="sf-menu"> <li class="index-cat-li"><? $tags->drawCatalog2();?></li> <li class="index-cat-li"><? $tags->drawGifts2();?></li> <li class="index-cat-li"><? $tags->drawFacility2();?></li> </ul> </div> <div style="clear:both;"></div> <!-- <li><a href="#">Быть</a></li>
</div> </div> <? $path = explode('/', trim($APPLICATION->sDirPath, '/')); if(count($path) > 1){ ?> <div class="block-text-w"> <div class="main"> <h3>Категории товаров</h3> <? require_once($_SERVER['DOCUMENT_ROOT'].'/butik/.tags.class.php'); $tags = new WRTags(); $catalog = $tags->getSections(12); $i = 0; foreach($catalog as $key => $value){ if(++$i==11 || $i==12) echo '<div class="cat-item"> </div>'; echo '<div class="cat-item"><a href="/butik/?catalog='.$key.'"><img src="'.$tags->sectIcons[$key].'" style="height:45px;" alt="">'.$value.'</a></div>'; } ?> <!-- <div class="cat-item"><a href="#"><img src="/src/images/tov_50.jpg" alt="">Bluetooth</a></div> <div class="cat-item"><a href="#"><img src="/src/images/tov_43.jpg" alt="">Музыка</a></div> <div class="cat-item"><a href="#"><img src="/src/images/tov_45.jpg" alt="">Арт</a></div> <div class="cat-item"><a href="#"><img src="/src/images/tovar_48.jpg" alt="">Спорт</a></div> <div class="cat-item"><a href="#"><img src="/src/images/tov_56.jpg" alt="">Авто</a></div> <div class="cat-item"><a href="#"><img src="/src/images/tov_61.jpg" alt="">Игрушки</a></div>