%PDF- %PDF-
Direktori : /home/bitrix/www/bitrix/templates/UB/includes/ |
Current File : /home/bitrix/www/bitrix/templates/UB/includes/shares.php |
<?IncludeTemplateLangFile(__FILE__);?> <script type="text/javascript"> BX.ready(function(){ $('#share-facebook').click(function(){ FB.ui({ method: 'share_open_graph', action_type: 'og.likes', action_properties: JSON.stringify({ object:'http://unitedbeauty.pro<?=$APPLICATION->GetCurPage()?>', }) }, function(response){}); }); }); </script> <div id="e_sprite-soc"> <?=GetMessage("SHARE")?> <div><a id="share-facebook" class="soc-facebook" title="<?=GetMessage("SHARE_ON_FACEBOOK")?>"><i class="fa fa-facebook"></i></a></div> <div class="soc-vk"> <script type="text/javascript"><!-- document.write(VK.Share.button(false,{type: "custom", text: "<i title=\"<?=GetMessage('SHARE_ON_VK')?>\" class=\"fa fa-vk\"></i>"})); --></script> </div> <div><a href="https://plus.google.com/share?url=<?=rawurlencode('http://unitedbeauty.pro'.$APPLICATION->GetCurPage())?>" onclick="javascript:window.open(this.href, '', 'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=600,width=600, top='+ ((screen.height-600)/2)+',left='+((screen.width-600)/2));return false;" class="soc-google-plus" title="<?=GetMessage('SHARE_ON_GOOGLE_PLUS')?>"><i class="fa fa-google-plus"></i></a></div> <div><a href="https://twitter.com/share" onclick="javascript:window.open(this.href, '', 'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=300,width=600, top='+ ((screen.height-600)/2)+',left='+((screen.width-600)/2));return false;" class="soc-twitter" title="<?=GetMessage('SHARE_ON_TWITTER')?>"><i class="fa fa-twitter"></i></a></div> <div><a href="mailto:?subject=<?=GetMessage('LINK_TO').rawurlencode('unitedbeauty.pro');?>&body=<?=rawurlencode('http://unitedbeauty.pro'.$APPLICATION->GetCurPage())?>" class="soc-envelope-o" title="<?=GetMessage('SHARE_ON_EMAIL')?>"><i class="fa fa-envelope-o"></i></a></div> </div>