File manager - Edit - /home/c14075/dragmet-ural.ru/www/bitrix/components/bitrix/eshop.socnet.links/templates/store_v3/template.php
Back
<?php if (!defined('B_PROLOG_INCLUDED') || B_PROLOG_INCLUDED !== true) { die(); } /** * @var CBitrixComponentTemplate $this * @var array $arParams * @var array $arResult */ $this->setFrameMode(true); if (!empty($arResult['SOCSERV']) && is_array($arResult['SOCSERV'])) { ?> <div class="store-social-profiles"> <?php foreach ($arResult['SOCSERV'] as $service) { ?> <a class="bx-icon bx-icon-service-<?= htmlspecialcharsbx($service['CLASS']) ?>" target="_blank" href="<?= htmlspecialcharsbx($service['LINK']) ?>" <?= $arResult['FACEBOOK_CONVERSION_ENABLED'] ? "onclick=\"sendEventToFacebook('{$service['NAME']}')\"" : '' ?> ><i></i></a> <?php } ?> </div> <?php if ($arResult['FACEBOOK_CONVERSION_ENABLED']): ?> <script> function sendEventToFacebook(socialServiceName) { BX.ajax.runAction( 'sale.facebookconversion.contact', { data: { contactBy: { type: 'socialNetwork', value: socialServiceName } } } ); } </script> <?php endif ?> <?php }
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | Generation time: 0.28 |
proxy
|
phpinfo
|
Settings