require($_SERVER[«DOCUMENT_ROOT»].»/bitrix/header.php»); CModule::includeModule(‘iblock’); $arFilter = Array(‘IBLOCK_ID’=>3, ‘GLOBAL_ACTIVE’=>’Y’); $db = CIBlockSection::GetList(Array($by=>$order), $arFilter, true); $arSections = array(); while($arSection = $db->fetch()){ $arSections[] = $arSection; } $arProp26 = array(12,13,14); $arProp21 = array(9,10); $arProp24 = array(«Москва», «Балашиха», «Королев», «Химки», «Митино», «Реутов»); $arPreviews = array( ‘http://example.com/upload/iblock/b2b/b2b5be26787acd169c0bd6b1b2155280.jpg’, ‘http://example.com/upload/iblock/53a/53a9788879914d5233c540ae907d7df0.jpg’, ‘http://example.com/upload/iblock/27e/27ef81c4908aa8d6f2558c170d5620fe.jpg’, ‘http://example.com/upload/iblock/7c7/7c7745c6442b65e06ba954332a714008.jpg’, ); // echo ».print_r($arSections,1).»; // die(); foreach($arSections as $arSection){ $arFields = array(); $arFields[‘NAME’] ..
Archives : Декабрь-2015
http://githowto.com/ru https://www.codecademy.com/learn/learn-git https://try.github.io/ http://habrahabr.ru/post/189046/ https://www.youtube.com/watch?v=g..
loftblog.ru — много действительно полезных ви..
..
var form = $(‘form[name=regform]’); $(‘input[type=text],input[type=password]’,form).each(function(){ if($(this).attr(‘name’).toLowerCase().indexOf(’email’) != -1 || $(this).attr(‘name’).toLowerCase().indexOf(‘login’) != -1 || $(this).attr(‘type’) == ‘password’){ $(this).val(‘usovdm@web2age.com’); }else{ $(this).val(‘test ‘ + $.trim($(this).parent().siblings(‘label’).text().replace(‘:’,»))); } }); $(‘input[type=password]’,form).each(function(){ $(this).val(‘usovdm@web2age..
Выполнение отложенной функции в component_epilog Формируется: //$this->initComponentTemplate(); // наблюдались проблемы //$this->__template->SetViewTarget(«catalog_position»); или $this->__template->SetViewTarget(‘SIMPLE_ORDER’); … $this->__template->EndViewTarget(); Вставляется: $APPLICATION->ShowViewContent(..
Свежие комментарии