This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<span class="phone-num"> | |
<a onclick="yaCounter38552015.reachGoal('HeaderPhone'); return true;" class="tel-link" href="tel:79033166347">8-903-316-63-47</a> | |
</span> | |
<input id="readyButton" type="submit" value="Подтвердить" class="default_green_button checkout_last" data-locked="0" onclick="_gaq.push(['_trackEvent', 'Knopka', 'Podtverdit']);"> | |
<input id="readyButton" type="submit" value="Подтвердить" class="default_green_button checkout_last" data-locked="0" onclick="ga('send', 'event', 'Knopka', 'Podtverdit');" > |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
BX.ready(function () { | |
(function ($) { | |
var options = { | |
'name_cookie': 'ivphone', | |
'default': ['+7 (8442) 33-27-45',"+7 (927) 510-43-50"], // телефон по-умолчанию | |
'selector': ['div.phones', '#iv-contacts'], // селектор для телефона по-умолчанию | |
// параметры | |
'parameters': { | |
'google': { // название для набора get параметров и телефонов | |
'get': { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div style="min-height: 60px;" class="tours"> | |
<div class="tourItem"> | |
<a class="showTour" href="#">Подробнее</a> | |
<div class="tour_descr" style="min-height: 170px;"> | |
</div> | |
</div> | |
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var options = { | |
'name_cookie': 'ivphone', | |
'default': ['+7 (8442) 33-27-45',"+7 (927) 510-43-50"], // телефон по-умолчанию | |
'selector': ['div.phones', '#iv-contacts'], // селектор для телефона по-умолчанию | |
// параметры | |
'parameters': { | |
'google': { // название для набора get параметров и телефонов | |
'get': { | |
'utm_source': 'GoogleAdwords' // get параметры (ключ и значение) | |
}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function setCookie(name, value, options) { | |
options = options || {}; | |
var expires = options.expires; | |
if (typeof expires == "number" && expires) { | |
var d = new Date(); | |
d.setTime(d.getTime() + expires * 1000); | |
expires = options.expires = d; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* code -- название товара | |
*/ | |
function parseExtraFieldsCode($code){ | |
$arSelect = Array("ID", "IBLOCK_ID", "PROPERTY_extra_fields"); | |
$arFilter = Array("IBLOCK_ID"=>8, "ACTIVE"=>"Y", "CODE"=>$code); | |
$res = CIBlockElement::GetList(Array(), $arFilter, array("PROPERTY_extra_fields"), Array("nPageSize"=>50), $arSelect); | |
$data = $res->NavStart(1); | |
$ob = $res->GetNextElement(); | |
$arFields = $ob->GetFields(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
боль2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
боль |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* КОНФИГИ ДЛЯ ПРИЛОЖЕНИЯ */ | |
GLOBAL $CONGIG_BX24_INTERVOLGA; | |
$CONGIG_BX24_INTERVOLGA = array( | |
'client_id' => 'bc5f97fab2d24d39724faef110c7b10a', | |
'secret' => '32aa9879cf1a4e2b6d6c7db5c2a65f26', | |
'domain' => 'example.bitrix24.ru', | |
'redirect_uri' => 'http://127.0.0.1/company/index.php/', | |
'scope' => array('user', 'task') | |
); | |
/// |