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
<!-- После открытого тега body --> | |
<div id="fb-root"></div> | |
<script>(function(d, s, id) { | |
var js, fjs = d.getElementsByTagName(s)[0]; | |
if (d.getElementById(id)) return; | |
js = d.createElement(s); js.id = id; | |
js.src = "//connect.facebook.net/en_US/sdk.js#xfbml=1&version=v2.0"; | |
fjs.parentNode.insertBefore(js, fjs); | |
}(document, 'script', 'facebook-jssdk'));</script> |
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
<!-- Facebook Badge START --><a href="https://www.facebook.com/people/Pegas-Touristik-Volgograd/100008434776683" title="Pegas Touristik Volgograd" style="font-family: "lucida grande",tahoma,verdana,arial,sans-serif; font-size: 11px; font-variant: normal; font-style: normal; font-weight: normal; color: #3B5998; text-decoration: none;" target="_TOP">Pegas Touristik Volgograd</a><br /><a href="https://www.facebook.com/people/Pegas-Touristik-Volgograd/100008434776683" title="Pegas Touristik Volgograd" target="_TOP"><img class="img" src="https://badge.facebook.com/badge/100008434776683.16.1862307508.png" style="border: 0px;" alt="" /></a><br /><a href="https://www.facebook.com/badges/" title="Создайте свою собственную визитку!" style="font-family: "lucida grande",tahoma,verdana,arial,sans-serif; font-size: 11px; font- |
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
боль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
/* | |
* 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
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
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
<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
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': { |
OlderNewer