%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /home/bitrix/www/local/templates/p4_new/includes/
Upload File :
Create Path :
Current File : /home/bitrix/www/local/templates/p4_new/includes/shares.php

<?IncludeTemplateLangFile(__FILE__);?>
<script type="text/javascript">
function popup_fb() {
myWin=open("http://www.facebook.com/sharer.php?u=http://port4lio.pro<?=$APPLICATION->GetCurPage()?>","displayWindow","width=520,height=300,left=350,top=170,status=no,toolbar=no,menubar=no");
}
/*BX.ready(function(){
	$('#share-facebook').click(function(){
		FB.ui({
		  method: 'share_open_graph',
		  action_type: 'og.likes',
		  action_properties: JSON.stringify({
		      object:'http://port4lio.pro<?=$APPLICATION->GetCurPage()?>',
		  })
		}, function(response){});	
	});
});*/
</script>
				<div class="col-xs-6 t">
					<div id="shareappear" class="">
						<div class="fb">
							<a id="share-facebook" onclick="popup_fb()" title="<?=GetMessage("SHARE_ON_FACEBOOK")?>"><i class="fa fa-facebook-square"></i></a>
						</div>
						<div class="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 class="tw">
							<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;"
							 title="<?=GetMessage('SHARE_ON_TWITTER')?>"><i class="fa fa-twitter-square"></i></a>
						</div>
						<!--<div>
							<a href="mailto:?subject=<?=GetMessage('LINK_TO').rawurlencode('port4lio.pro');?>&body=<?=rawurlencode('http://port4lio.pro'.$APPLICATION->GetCurPage())?>" class="soc-envelope-o" title="<?=GetMessage('SHARE_ON_EMAIL')?>"><i class="fa fa-envelope-o"></i></a>
						</div>-->
					</div>
					<div class="tc right" style="width: 40px;">
						<a title="<?=GetMessage("SHARE")?>" id="shareicon"><i class="fa fa-share-alt"></i></a>
					</div>
				</div>

Zerion Mini Shell 1.0