You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
753 lines
67 KiB
753 lines
67 KiB
8 years ago
|
<?php
|
||
|
if(isset($_SERVER['HTTPS']) && !empty($_SERVER['HTTPS']) && $_SERVER['HTTPS'] != 'off'){
|
||
|
$http = "https://";
|
||
|
} else {
|
||
|
$http = "http://";
|
||
|
}
|
||
|
$url = $http . $_SERVER["HTTP_HOST"] . $_SERVER['REQUEST_URI'];
|
||
|
|
||
|
|
||
|
$selected_theme = get_option('mo_openid_share_theme');
|
||
|
$selected_direction = get_option('mo_openid_share_widget_customize_direction');
|
||
|
$sharingSize = get_option('mo_sharing_icon_custom_size');
|
||
|
$custom_color = get_option('mo_sharing_icon_custom_color');
|
||
|
$custom_theme = get_option('mo_openid_share_custom_theme');
|
||
|
$fontColor = get_option('mo_sharing_icon_custom_font');
|
||
|
$spaceBetweenIcons = get_option('mo_sharing_icon_space');
|
||
|
$twitter_username = get_option('mo_openid_share_twitter_username');
|
||
|
|
||
|
$email_subject = get_option('mo_openid_share_email_subject');
|
||
|
$email_body = get_option('mo_openid_share_email_body');
|
||
|
$email_body = str_replace('##url##', $url, $email_body);
|
||
|
|
||
|
$orientation = 'hor';
|
||
|
if($landscape) {
|
||
|
if($landscape == 'horizontal') {
|
||
|
$orientation = 'hor';
|
||
|
} else if($landscape == 'vertical') {
|
||
|
$orientation = 'ver';
|
||
|
}
|
||
|
} else {
|
||
|
if(get_option('mo_openid_share_widget_customize_direction_horizontal')) {
|
||
|
$orientation = 'hor';
|
||
|
} else if(get_option('mo_openid_share_widget_customize_direction_vertical')) {
|
||
|
$orientation = 'ver';
|
||
|
}
|
||
|
}
|
||
|
?>
|
||
|
<script>
|
||
|
|
||
|
function popupCenter(pageURL, w,h) {
|
||
|
var left = (screen.width/2)-(w/2);
|
||
|
var top = (screen.height/2)-(h/2);
|
||
|
var targetWin = window.open (pageURL, "_blank",'toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=no, resizable=no, copyhistory=no, width='+w+', height='+h+', top='+top+', left='+left);
|
||
|
}
|
||
|
function pinIt()
|
||
|
{
|
||
|
var e = document.createElement('script');
|
||
|
e.setAttribute('type','text/javascript');
|
||
|
e.setAttribute('charset','UTF-8');
|
||
|
e.setAttribute('src','https://assets.pinterest.com/js/pinmarklet.js?r='+Math.random()*99999999);
|
||
|
document.body.appendChild(e);
|
||
|
}
|
||
|
</script>
|
||
|
|
||
|
<a href="http://miniorange.com/cloud-identity-broker-service" style="display:none;"></a>
|
||
|
<a href="http://miniorange.com/strong_auth" style="display:none;"></a>
|
||
|
<a href="http://miniorange.com/single-sign-on-sso" style="display:none;"></a>
|
||
|
<a href="http://miniorange.com/fraud" style="display:none;"></a>
|
||
|
<div class="mo-openid-app-icons circle ">
|
||
|
<p><?php
|
||
|
if( $orientation == 'hor' ) {
|
||
|
echo get_option('mo_openid_share_widget_customize_text');
|
||
|
?>
|
||
|
<div class="horizontal">
|
||
|
<?php
|
||
|
if($custom_theme == 'custom'){
|
||
|
if( get_option('mo_openid_facebook_share_enable') ) {
|
||
|
$link = 'https://www.facebook.com/dialog/share?app_id=766555246789034&display=popup&href='.$url.'&redirect_uri=http%3A%2F%2Fminiorange.com%2Fsocial_share_redirect';
|
||
|
?>
|
||
|
<a title="Facebook" onclick="popupCenter('<?php echo $link; ?>', 800, 400);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons?>px !important"><i class="mo-custom-share-icon <?php echo $selected_theme; ?> fa fa-facebook" style="padding-top:8px;text-align:center;color:#ffffff;font-size:<?php echo ($sharingSize-16); ?>px !important;background-color:#<?php echo $custom_color?>;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
||
|
<?php
|
||
|
}
|
||
|
|
||
|
if( get_option('mo_openid_twitter_share_enable') ) {
|
||
|
$link = empty($twitter_username) ? 'https://twitter.com/intent/tweet?text='.$title.'&url='.$url : 'https://twitter.com/intent/tweet?text='.$title.'&url='.$url. '&via='.$twitter_username;
|
||
|
?>
|
||
|
<a title="Twitter" onclick="popupCenter('<?php echo $link; ?>', 600, 300);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons?>px !important"><i class="mo-custom-share-icon <?php echo $selected_theme; ?> fa fa-twitter" style="padding-top:8px;text-align:center;color:#ffffff;font-size:<?php echo ($sharingSize-16); ?>px !important;background-color:#<?php echo $custom_color?>;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
||
|
<?php
|
||
|
}
|
||
|
|
||
|
if( get_option('mo_openid_google_share_enable') ) {
|
||
|
$link = 'https://plus.google.com/share?url='.$url;
|
||
|
?>
|
||
|
<a title="Google" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons?>px !important"><i class="mo-custom-share-icon <?php echo $selected_theme; ?> fa fa-google-plus" style="padding-top:8px;text-align:center;color:#ffffff;font-size:<?php echo ($sharingSize-16); ?>px !important;background-color:#<?php echo $custom_color?>;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important;"></i></a>
|
||
|
<?php
|
||
|
}
|
||
|
|
||
|
if( get_option('mo_openid_vkontakte_share_enable') ) {
|
||
|
$link = 'http://vk.com/share.php?url='.$url.'&title='.$title.'&description='.$excerpt;
|
||
|
?>
|
||
|
<a title="Vkontakte" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons?>px !important"><i class="mo-custom-share-icon <?php echo $selected_theme; ?> fa fa-vk" style="padding-top:8px;text-align:center;color:#ffffff;font-size:<?php echo ($sharingSize-16); ?>px !important;background-color:#<?php echo $custom_color?>;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
||
|
<?php
|
||
|
}
|
||
|
|
||
|
if( get_option('mo_openid_tumblr_share_enable') ) {
|
||
|
$link = 'http://www.tumblr.com/share/link?url='.$url.'&title='.$title.'&description='.$excerpt;
|
||
|
?>
|
||
|
<a title="Tumblr" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons?>px !important"><i class="mo-custom-share-icon <?php echo $selected_theme; ?> fa fa-tumblr" style="padding-top:8px;text-align:center;color:#ffffff;font-size:<?php echo ($sharingSize-16); ?>px !important;background-color:#<?php echo $custom_color?>;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
||
|
<?php
|
||
|
}
|
||
|
|
||
|
if( get_option('mo_openid_stumble_share_enable') ) {
|
||
|
$link = 'http://www.stumbleupon.com/submit?url='.$url.'&title='.$title;
|
||
|
?>
|
||
|
<a title="StumbleUpon" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons?>px !important"><i class="mo-custom-share-icon <?php echo $selected_theme; ?> fa fa-stumbleupon" style="padding-top:8px;text-align:center;color:#ffffff;font-size:<?php echo ($sharingSize-16); ?>px !important;background-color:#<?php echo $custom_color?>;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
||
|
<?php
|
||
|
}
|
||
|
|
||
|
if( get_option('mo_openid_linkedin_share_enable') ) {
|
||
|
$link = 'https://www.linkedin.com/shareArticle?mini=true&title='.$title.'&url='.$url.'&summary='.$excerpt;
|
||
|
?>
|
||
|
<a title="LinkekIn" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons?>px !important"><i class="mo-custom-share-icon <?php echo $selected_theme; ?> fa fa-linkedin" style="padding-top:8px;text-align:center;color:#ffffff;font-size:<?php echo ($sharingSize-16); ?>px !important;background-color:#<?php echo $custom_color?>;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
||
|
<?php
|
||
|
}
|
||
|
|
||
|
if( get_option('mo_openid_reddit_share_enable') ) {
|
||
|
$link = 'http://www.reddit.com/submit?url='.$url.'&title='.$title;
|
||
|
?>
|
||
|
<a title="Reddit" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons?>px !important"><i class="mo-custom-share-icon <?php echo $selected_theme; ?> fa fa-reddit" style="padding-top:8px;text-align:center;color:#ffffff;font-size:<?php echo ($sharingSize-16); ?>px !important;background-color:#<?php echo $custom_color?>;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
||
|
<?php
|
||
|
}
|
||
|
|
||
|
if( get_option('mo_openid_pinterest_share_enable') ) {
|
||
|
?>
|
||
|
<a title="Pinterest" href='javascript:pinIt();' class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons?>px !important"><i class="mo-custom-share-icon <?php echo $selected_theme; ?> fa fa-pinterest" style="padding-top:3px;text-align:center;color:#ffffff;font-size:<?php echo ($sharingSize-10); ?>px !important;background-color:#<?php echo $custom_color?>;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
||
|
<?php
|
||
|
}
|
||
|
|
||
|
if( get_option('mo_openid_pocket_share_enable') ) {
|
||
|
$link = 'https://getpocket.com/save?url='.$url.'&title='.$title;
|
||
|
?>
|
||
|
<a title="Pocket" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons?>px !important"><i class="mo-custom-share-icon <?php echo $selected_theme; ?> fa fa-get-pocket" style="padding-top:8px;text-align:center;color:#ffffff;font-size:<?php echo ($sharingSize-16); ?>px !important;background-color:#<?php echo $custom_color?>;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
||
|
<?php
|
||
|
}
|
||
|
|
||
|
if( get_option('mo_openid_digg_share_enable') ) {
|
||
|
$link = 'http://digg.com/submit?url='.$url.'&title='.$title;
|
||
|
?>
|
||
|
<a title="Digg" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons?>px !important"><i class="mo-custom-share-icon <?php echo $selected_theme; ?> fa fa-digg" style="padding-top:8px;text-align:center;color:#ffffff;font-size:<?php echo ($sharingSize-16); ?>px !important;background-color:#<?php echo $custom_color?>;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
||
|
<?php
|
||
|
}
|
||
|
|
||
|
if( get_option('mo_openid_delicious_share_enable') ) {
|
||
|
$link = 'http://www.delicious.com/save?v=5&noui&jump=close&url='.$url.'&title='.$title;
|
||
|
?>
|
||
|
<a title="Delicious" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons?>px !important"><i class="mo-custom-share-icon <?php echo $selected_theme; ?> fa fa-delicious" style="padding-top:8px;text-align:center;color:#ffffff;font-size:<?php echo ($sharingSize-16); ?>px !important;background-color:#<?php echo $custom_color?>;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
||
|
<?php
|
||
|
}
|
||
|
|
||
|
if( get_option('mo_openid_odnoklassniki_share_enable') ) {
|
||
|
$link = 'http://www.odnoklassniki.ru/dk?st.cmd=addShare&st.s=1&st.comments='.$excerpt.'&st._surl='.$url;
|
||
|
?>
|
||
|
<a title="Odnoklassniki" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons?>px !important"><i class="mo-custom-share-icon <?php echo $selected_theme; ?> fa fa-odnoklassniki" style="padding-top:8px;text-align:center;color:#ffffff;font-size:<?php echo ($sharingSize-16); ?>px !important;background-color:#<?php echo $custom_color?>;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
||
|
<?php
|
||
|
}
|
||
|
if( get_option('mo_openid_mail_share_enable') ) {
|
||
|
?>
|
||
|
<a title="Email this page" onclick="popupCenter('mailto:?subject=<?php echo $email_subject ?>&body=<?php echo $email_body ?>',800,500);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons?>px !important">
|
||
|
<i class="mo-custom-share-icon <?php echo $selected_theme; ?> fa fa-envelope" style="padding-top:8px;text-align:center;color:#ffffff;font-size:<?php echo ($sharingSize-16); ?>px !important;background-color:#<?php echo $custom_color?>;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
||
|
<?php
|
||
|
}
|
||
|
if( get_option('mo_openid_print_share_enable') ) {
|
||
|
?>
|
||
|
<a title="Print this page" onclick="javascript:window.print()"class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons?>px !important">
|
||
|
<i class="mo-custom-share-icon <?php echo $selected_theme; ?> fa fa-print" style="padding-top:8px;text-align:center;color:#ffffff;font-size:<?php echo ($sharingSize-16); ?>px !important;background-color:#<?php echo $custom_color?>;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
||
|
<?php
|
||
|
}
|
||
|
if( get_option('mo_openid_whatsapp_share_enable') ) {
|
||
|
?>
|
||
|
<a id="mobileshow" title="Whatsapp" href='whatsapp://send?text=<?php echo $url?>' class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons?>px !important">
|
||
|
<i class="mo-custom-share-icon <?php echo $selected_theme; ?> fa fa-whatsapp" style="padding-top:8px;text-align:center;color:#ffffff;font-size:<?php echo ($sharingSize-16); ?>px !important;background-color:#<?php echo $custom_color?>;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
||
|
<?php
|
||
|
}
|
||
|
}
|
||
|
|
||
|
else if($custom_theme == 'customFont'){
|
||
|
if( get_option('mo_openid_facebook_share_enable') ) {
|
||
|
$link = 'https://www.facebook.com/dialog/share?app_id=766555246789034&display=popup&href='.$url.'&redirect_uri=http%3A%2F%2Fminiorange.com%2Fsocial_share_redirect';
|
||
|
?>
|
||
|
<a title="Facebook" onclick="popupCenter('<?php echo $link; ?>', 800, 400);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons-6?>px !important"><i class=" <?php echo $selected_theme; ?> fa fa-facebook" style="padding-top:4px;text-align:center;color:#<?php echo $fontColor ?> !important;font-size:<?php echo $sharingSize; ?>px !important;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
||
|
<?php
|
||
|
}
|
||
|
|
||
|
if( get_option('mo_openid_twitter_share_enable') ) {
|
||
|
$link = empty($twitter_username) ? 'https://twitter.com/intent/tweet?text='.$title.'&url='.$url : 'https://twitter.com/intent/tweet?text='.$title.'&url='.$url. '&via='.$twitter_username;
|
||
|
?>
|
||
|
<a title="Twitter" onclick="popupCenter('<?php echo $link; ?>', 600, 300);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons-6?>px !important"><i class=" <?php echo $selected_theme; ?> fa fa-twitter" style="padding-top:4px;text-align:center;color:#<?php echo $fontColor ?> !important;font-size:<?php echo $sharingSize; ?>px !important;height:<?php echo $sharingSize-4; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
||
|
<?php
|
||
|
}
|
||
|
|
||
|
if( get_option('mo_openid_google_share_enable') ) {
|
||
|
$link = 'https://plus.google.com/share?url='.$url;
|
||
|
?>
|
||
|
<a title="Google" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons-6?>px !important"><i class=" <?php echo $selected_theme; ?> fa fa-google-plus" style="padding-top:4px;text-align:center;color:#<?php echo $fontColor ?> !important;font-size:<?php echo $sharingSize; ?>px !important;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
||
|
<?php
|
||
|
}
|
||
|
|
||
|
if( get_option('mo_openid_vkontakte_share_enable') ) {
|
||
|
$link = 'http://vk.com/share.php?url='.$url.'&title='.$title.'&description='.$excerpt;
|
||
|
?>
|
||
|
<a title="Vkontakte" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons-6?>px !important"><i class=" <?php echo $selected_theme; ?> fa fa-vk" style="padding-top:4px;text-align:center;color:#<?php echo $fontColor ?> !important;font-size:<?php echo $sharingSize; ?>px !important;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
||
|
<?php
|
||
|
}
|
||
|
|
||
|
if( get_option('mo_openid_tumblr_share_enable') ) {
|
||
|
$link = 'http://www.tumblr.com/share/link?url='.$url.'&title='.$title;
|
||
|
?>
|
||
|
<a title="Tumblr" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons-6?>px !important"><i class=" <?php echo $selected_theme; ?> fa fa-tumblr" style="padding-top:4px;text-align:center;color:#<?php echo $fontColor ?> !important;font-size:<?php echo $sharingSize; ?>px !important;height:<?php echo $sharingSize-4; ?>px !important;width:<?php echo $sharingSize; ?>px !important;height:<?php echo $sharingSize-4; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
||
|
<?php
|
||
|
}
|
||
|
|
||
|
if( get_option('mo_openid_stumble_share_enable') ) {
|
||
|
$link = 'http://www.stumbleupon.com/submit?url='.$url.'&title='.$title;
|
||
|
?>
|
||
|
<a title="StumbleUpon" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons-6?>px !important"><i class=" <?php echo $selected_theme; ?> fa fa-stumbleupon" style="padding-top:4px;text-align:center;color:#<?php echo $fontColor ?> !important;font-size:<?php echo $sharingSize; ?>px !important;height:<?php echo $sharingSize-4; ?>px !important;width:<?php echo $sharingSize; ?>px !important;height:<?php echo $sharingSize-4; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
||
|
<?php
|
||
|
}
|
||
|
|
||
|
if( get_option('mo_openid_linkedin_share_enable') ) {
|
||
|
$link = 'https://www.linkedin.com/shareArticle?mini=true&title='.$title.'&url='.$url.'&summary='.$excerpt;
|
||
|
?>
|
||
|
<a title="LinkedIn" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons-6?>px !important"><i class=" <?php echo $selected_theme; ?> fa fa-linkedin" style="padding-top:4px;text-align:center;color:#<?php echo $fontColor ?> !important;font-size:<?php echo $sharingSize; ?>px !important;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
||
|
<?php
|
||
|
}
|
||
|
|
||
|
if( get_option('mo_openid_reddit_share_enable') ) {
|
||
|
$link = 'http://www.reddit.com/submit?url='.$url.'&title='.$title;
|
||
|
?>
|
||
|
<a title="Reddit" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons-6?>px !important"><i class=" <?php echo $selected_theme; ?> fa fa-reddit" style="padding-top:4px;text-align:center;color:#<?php echo $fontColor ?> !important;font-size:<?php echo $sharingSize; ?>px !important;height:<?php echo $sharingSize-4; ?>px !important;width:<?php echo $sharingSize; ?>px !important;height:<?php echo $sharingSize-4; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
||
|
<?php
|
||
|
}
|
||
|
|
||
|
if( get_option('mo_openid_pinterest_share_enable') ) {
|
||
|
?>
|
||
|
<a title="Pinterest" href='javascript:pinIt();' class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons-6?>px !important"><i class=" <?php echo $selected_theme; ?> fa fa-pinterest" style="padding-top:4px;text-align:center;color:#<?php echo $fontColor ?> !important;font-size:<?php echo $sharingSize; ?>px !important;height:<?php echo $sharingSize-4; ?>px !important;width:<?php echo $sharingSize; ?>px !important;height:<?php echo $sharingSize-4; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
||
|
<?php
|
||
|
}
|
||
|
|
||
|
if( get_option('mo_openid_pocket_share_enable') ) {
|
||
|
$link = 'https://getpocket.com/save?url='.$url.'&title='.$title;
|
||
|
?>
|
||
|
<a title="Pocket" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons-6?>px !important"><i class=" <?php echo $selected_theme; ?> fa fa-get-pocket" style="padding-top:4px;text-align:center;color:#<?php echo $fontColor ?> !important;font-size:<?php echo $sharingSize; ?>px !important;height:<?php echo $sharingSize-4; ?>px !important;width:<?php echo $sharingSize; ?>px !important;height:<?php echo $sharingSize-4; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
||
|
<?php
|
||
|
}
|
||
|
|
||
|
if( get_option('mo_openid_digg_share_enable') ) {
|
||
|
$link = 'http://digg.com/submit?url='.$url.'&title='.$title;
|
||
|
?>
|
||
|
<a title="Digg" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons-6?>px !important"><i class=" <?php echo $selected_theme; ?> fa fa-digg" style="padding-top:4px;text-align:center;color:#<?php echo $fontColor ?> !important;font-size:<?php echo $sharingSize; ?>px !important;height:<?php echo $sharingSize-4; ?>px !important;width:<?php echo $sharingSize; ?>px !important;height:<?php echo $sharingSize-4; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
||
|
<?php
|
||
|
}
|
||
|
|
||
|
if( get_option('mo_openid_delicious_share_enable') ) {
|
||
|
$link = 'http://www.delicious.com/save?v=5&noui&jump=close&url='.$url.'&title='.$title;
|
||
|
?>
|
||
|
<a title="Delicious" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons-6?>px !important"><i class=" <?php echo $selected_theme; ?> fa fa-delicious" style="padding-top:4px;text-align:center;color:#<?php echo $fontColor ?> !important;font-size:<?php echo $sharingSize; ?>px !important;height:<?php echo $sharingSize-4; ?>px !important;width:<?php echo $sharingSize; ?>px !important;height:<?php echo $sharingSize-4; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
||
|
<?php
|
||
|
}
|
||
|
if( get_option('mo_openid_odnoklassniki_share_enable') ) {
|
||
|
$link = 'http://www.odnoklassniki.ru/dk?st.cmd=addShare&st.s=1&st.comments='.$excerpt.'&st._surl='.$url;
|
||
|
?>
|
||
|
<a title="Odnoklassniki" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons-6?>px !important"><i class=" <?php echo $selected_theme; ?> fa fa-odnoklassniki" style="padding-top:4px;text-align:center;color:#<?php echo $fontColor ?> !important;font-size:<?php echo $sharingSize; ?>px !important;height:<?php echo $sharingSize-4; ?>px !important;width:<?php echo $sharingSize; ?>px !important;height:<?php echo $sharingSize-4; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
||
|
<?php
|
||
|
}
|
||
|
if( get_option('mo_openid_mail_share_enable') ) {
|
||
|
?>
|
||
|
<a title="Email this page" onclick="popupCenter('mailto:?subject=<?php echo $email_subject ?>&body=<?php echo $email_body ?>',800,500);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons?>px !important">
|
||
|
<i class=" <?php echo $selected_theme; ?> fa fa-envelope" style="padding-top:4px;text-align:center;color:#<?php echo $fontColor ?> !important;font-size:<?php echo $sharingSize; ?>px !important;height:<?php echo $sharingSize-4; ?>px !important;width:<?php echo $sharingSize; ?>px !important;height:<?php echo $sharingSize-4; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
||
|
<?php
|
||
|
}
|
||
|
if( get_option('mo_openid_print_share_enable') ) {
|
||
|
?>
|
||
|
<a title="Print this page" onclick="javascript:window.print()" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons?>px !important">
|
||
|
<i class=" <?php echo $selected_theme; ?> fa fa-print" style="padding-top:4px;text-align:center;color:#<?php echo $fontColor ?> !important;font-size:<?php echo $sharingSize; ?>px !important;height:<?php echo $sharingSize-4; ?>px !important;width:<?php echo $sharingSize; ?>px !important;height:<?php echo $sharingSize-4; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
||
|
<?php
|
||
|
}
|
||
|
if( get_option('mo_openid_whatsapp_share_enable') ) {
|
||
|
?>
|
||
|
<a id="mobileshow" title="Whatsapp" href='whatsapp://send?text=<?php echo $url?>' class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons?>px !important">
|
||
|
<i class=" <?php echo $selected_theme; ?> fa fa-whatsapp" style="padding-top:4px;text-align:center;color:#<?php echo $fontColor ?> !important;font-size:<?php echo $sharingSize; ?>px !important;height:<?php echo $sharingSize-4; ?>px !important;width:<?php echo $sharingSize; ?>px !important;height:<?php echo $sharingSize-4; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
||
|
<?php
|
||
|
}
|
||
|
}
|
||
|
|
||
|
else{
|
||
|
|
||
|
|
||
|
if( get_option('mo_openid_facebook_share_enable') ) {
|
||
|
$link = 'https://www.facebook.com/dialog/share?app_id=766555246789034&display=popup&href='.$url.'&redirect_uri=http%3A%2F%2Fminiorange.com%2Fsocial_share_redirect';
|
||
|
?>
|
||
|
<a title="Facebook" onclick="popupCenter('<?php echo $link; ?>', 800, 400);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons?>px !important"><img alt='Facebook' style= 'height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important;' src="<?php echo plugins_url( 'includes/images/icons/facebook.png', __FILE__ )?>" class="mo-openid-app-share-icons <?php echo $selected_theme; ?>" ></a>
|
||
|
<?php
|
||
|
}
|
||
|
|
||
|
if( get_option('mo_openid_twitter_share_enable') ) {
|
||
|
$link = empty($twitter_username) ? 'https://twitter.com/intent/tweet?text='.$title.'&url='.$url : 'https://twitter.com/intent/tweet?text='.$title.'&url='.$url. '&via='.$twitter_username;
|
||
|
?>
|
||
|
<a title="Twitter" onclick="popupCenter('<?php echo $link; ?>', 600, 300);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons?>px !important"><img alt='Twitter' style= 'height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important;' src="<?php echo plugins_url( 'includes/images/icons/twitter.png', __FILE__ )?>" class="mo-openid-app-share-icons <?php echo $selected_theme; ?>" ></a>
|
||
|
<?php
|
||
|
}
|
||
|
|
||
|
if( get_option('mo_openid_google_share_enable') ) {
|
||
|
$link = 'https://plus.google.com/share?url='.$url;
|
||
|
?>
|
||
|
<a title="Google" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons?>px !important"><img alt='Google' style= 'height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important;background-color: <?php echo $selected_theme; ?>' src="<?php echo plugins_url( 'includes/images/icons/google.png', __FILE__ )?>" class="mo-openid-app-share-icons <?php echo $selected_theme; ?>" ></a>
|
||
|
<?php
|
||
|
}
|
||
|
|
||
|
if( get_option('mo_openid_vkontakte_share_enable') ) {
|
||
|
$link = 'http://vk.com/share.php?url='.$url.'&title='.$title.'&description='.$excerpt;
|
||
|
?>
|
||
|
<a title="Vkontakte" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons?>px !important"><img alt='Vkontakte' style= 'height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important;background-color: <?php echo $selected_theme; ?>' src="<?php echo plugins_url( 'includes/images/icons/vk.png', __FILE__ )?>" class="mo-openid-app-share-icons <?php echo $selected_theme; ?>" ></a>
|
||
|
<?php
|
||
|
}
|
||
|
|
||
|
if( get_option('mo_openid_tumblr_share_enable') ) {
|
||
|
$link = 'http://www.tumblr.com/share/link?url='.$url.'&title='.$title;
|
||
|
?>
|
||
|
<a title="Tumblr" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons?>px !important"><img alt='Tumblr' style= 'height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important;' src="<?php echo plugins_url( 'includes/images/icons/tumblr.png', __FILE__ )?>" class="mo-openid-app-share-icons <?php echo $selected_theme; ?>" ></a>
|
||
|
<?php
|
||
|
}
|
||
|
|
||
|
if( get_option('mo_openid_stumble_share_enable') ) {
|
||
|
$link = 'http://www.stumbleupon.com/submit?url='.$url.'&title='.$title;
|
||
|
?>
|
||
|
<a title="StumbleUpon" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons?>px !important"><img alt='StumbleUpon' style= 'height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important;' src="<?php echo plugins_url( 'includes/images/icons/stumble.png', __FILE__ )?>" class="mo-openid-app-share-icons <?php echo $selected_theme; ?>" ></a>
|
||
|
<?php
|
||
|
}
|
||
|
|
||
|
if( get_option('mo_openid_linkedin_share_enable') ) {
|
||
|
$link = 'https://www.linkedin.com/shareArticle?mini=true&title='.$title.'&url='.$url.'&summary='.$excerpt;
|
||
|
?>
|
||
|
<a title="LinkedIn" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons?>px !important"><img alt='LinkedIn' style= 'height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important;' src="<?php echo plugins_url( 'includes/images/icons/linkedin.png', __FILE__ )?>" class="mo-openid-app-share-icons <?php echo $selected_theme; ?>" ></a>
|
||
|
<?php
|
||
|
}
|
||
|
|
||
|
if( get_option('mo_openid_reddit_share_enable') ) {
|
||
|
$link = 'http://www.reddit.com/submit?url='.$url.'&title='.$title;
|
||
|
?>
|
||
|
<a title="Reddit" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons?>px !important"><img alt='Reddit' style= 'height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important;' src="<?php echo plugins_url( 'includes/images/icons/reddit.png', __FILE__ )?>" class="mo-openid-app-share-icons <?php echo $selected_theme; ?>" ></a>
|
||
|
<?php
|
||
|
}
|
||
|
if( get_option('mo_openid_pinterest_share_enable') ) {
|
||
|
?>
|
||
|
<a title="Pinterest" href='javascript:pinIt();' class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons?>px !important"><img alt='Pinterest' style= 'height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important;' src="<?php echo plugins_url( 'includes/images/icons/pininterest.png', __FILE__ )?>" class="mo-openid-app-share-icons <?php echo $selected_theme; ?>" ></a>
|
||
|
<?php
|
||
|
}
|
||
|
if( get_option('mo_openid_pocket_share_enable') ) {
|
||
|
$link = 'https://getpocket.com/save?url='.$url.'&title='.$title;
|
||
|
?>
|
||
|
<a title="Pocket" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons?>px !important"><img alt='Pocket' style= 'height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important;' src="<?php echo plugins_url( 'includes/images/icons/pocket.png', __FILE__ )?>" class="mo-openid-app-share-icons <?php echo $selected_theme; ?>" ></a>
|
||
|
<?php
|
||
|
}
|
||
|
if( get_option('mo_openid_digg_share_enable') ) {
|
||
|
$link = 'http://digg.com/submit?url='.$url.'&title='.$title;
|
||
|
?>
|
||
|
<a title="Digg" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons?>px !important"><img alt='Digg' style= 'height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important;' src="<?php echo plugins_url( 'includes/images/icons/digg.png', __FILE__ )?>" class="mo-openid-app-share-icons <?php echo $selected_theme; ?>" ></a>
|
||
|
<?php
|
||
|
}
|
||
|
if( get_option('mo_openid_delicious_share_enable') ) {
|
||
|
$link = 'http://www.delicious.com/save?v=5&noui&jump=close&url='.$url.'&title='.$title;
|
||
|
?>
|
||
|
<a title="Delicious" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons?>px !important"><img alt='Delicious' style= 'height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important;' src="<?php echo plugins_url( 'includes/images/icons/delicious.png', __FILE__ )?>" class="mo-openid-app-share-icons <?php echo $selected_theme; ?>" ></a>
|
||
|
<?php
|
||
|
}
|
||
|
if( get_option('mo_openid_odnoklassniki_share_enable') ) {
|
||
|
$link = 'http://www.odnoklassniki.ru/dk?st.cmd=addShare&st.s=1&st.comments='.$excerpt.'&st._surl='.$url;
|
||
|
?>
|
||
|
<a title="Odnoklassniki" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons?>px !important"><img alt='Odnoklassniki' style= 'height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important;' src="<?php echo plugins_url( 'includes/images/icons/odnoklassniki.png', __FILE__ )?>" class="mo-openid-app-share-icons <?php echo $selected_theme; ?>" ></a>
|
||
|
<?php
|
||
|
}
|
||
|
if( get_option('mo_openid_mail_share_enable') ) {
|
||
|
?>
|
||
|
<a title="Email this page" onclick="popupCenter('mailto:?subject=<?php echo $email_subject ?>&body=<?php echo $email_body ?>',800,500);" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons?>px !important">
|
||
|
<img alt='Email' style= 'height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important;' src="<?php echo plugins_url( 'includes/images/icons/mail.png', __FILE__ )?>" class="mo-openid-app-share-icons <?php echo $selected_theme; ?>">
|
||
|
</a>
|
||
|
<?php
|
||
|
}
|
||
|
if( get_option('mo_openid_print_share_enable') ) {
|
||
|
?>
|
||
|
<a title="Print this page" onclick="javascript:window.print()" class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons?>px !important">
|
||
|
<img alt='Print' style= 'height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important;' src="<?php echo plugins_url( 'includes/images/icons/print.png', __FILE__ )?>" class="mo-openid-app-share-icons <?php echo $selected_theme; ?>">
|
||
|
</a>
|
||
|
<?php
|
||
|
}
|
||
|
if( get_option('mo_openid_whatsapp_share_enable') ) {
|
||
|
?>
|
||
|
<a id="mobileshow" title="Whatsapp" href='whatsapp://send?text=<?php echo $url?>' class="mo-openid-share-link" style="margin-left : <?php echo $spaceBetweenIcons?>px !important">
|
||
|
<img alt='Whatsapp' style= 'height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important;' src="<?php echo plugins_url( 'includes/images/icons/whatsapp.png', __FILE__ )?>" class="mo-openid-app-share-icons <?php echo $selected_theme; ?>" data-action="share/whatsapp/share"></a>
|
||
|
<?php
|
||
|
}
|
||
|
}
|
||
|
?></p>
|
||
|
</div>
|
||
|
<?php
|
||
|
}?>
|
||
|
<?php if( $orientation == 'ver' ) {?>
|
||
|
<div id="mo_floating_vertical_widget">
|
||
|
<?php
|
||
|
if($custom_theme == 'custom'){
|
||
|
if( get_option('mo_openid_facebook_share_enable') ) {
|
||
|
$link = 'https://www.facebook.com/dialog/share?app_id=766555246789034&display=popup&href='.$url.'&redirect_uri=http%3A%2F%2Fminiorange.com%2Fsocial_share_redirect';
|
||
|
?>
|
||
|
<a title="Facebook" onclick="popupCenter('<?php echo $link; ?>', 800, 400);" class="mo-openid-share-link" style="margin-bottom:<?php echo $space_icons?>px !important;"><i class="mo-custom-share-icon <?php echo $selected_theme; ?> fa fa-facebook" style="margin-bottom:<?php echo $space_icons-4?>px !important;padding-top:8px;text-align:center;color:#ffffff;font-size:<?php echo ($sharingSize-16); ?>px !important;background-color:#<?php echo $custom_color?>;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
||
|
<?php
|
||
|
}
|
||
|
|
||
|
if( get_option('mo_openid_twitter_share_enable') ) {
|
||
|
$link = empty($twitter_username) ? 'https://twitter.com/intent/tweet?text='.$title.'&url='.$url : 'https://twitter.com/intent/tweet?text='.$title.'&url='.$url. '&via='.$twitter_username;
|
||
|
?>
|
||
|
<a title="Twitter" onclick="popupCenter('<?php echo $link; ?>', 600, 300);" class="mo-openid-share-link" ><i class="mo-custom-share-icon <?php echo $selected_theme; ?> fa fa-twitter" style="margin-bottom:<?php echo $space_icons-4?>px !important;padding-top:8px;text-align:center;color:#ffffff;font-size:<?php echo ($sharingSize-16); ?>px !important;background-color:#<?php echo $custom_color?>;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
||
|
<?php
|
||
|
}
|
||
|
|
||
|
if( get_option('mo_openid_google_share_enable') ) {
|
||
|
$link = 'https://plus.google.com/share?url='.$url;
|
||
|
?>
|
||
|
<a title="Google" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" style="margin-bottom:<?php echo $space_icons?>px !important;"><i class="mo-custom-share-icon <?php echo $selected_theme; ?> fa fa-google-plus" style="margin-bottom:<?php echo $space_icons-4?>px!important; padding-top:8px;text-align:center;color:#ffffff;font-size:<?php echo ($sharingSize-16); ?>px !important;background-color:#<?php echo $custom_color?>;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
||
|
<?php
|
||
|
}
|
||
|
|
||
|
if( get_option('mo_openid_vkontakte_share_enable') ) {
|
||
|
$link = 'http://vk.com/share.php?url='.$url.'&title='.$title.'&description='.$excerpt;
|
||
|
?>
|
||
|
<a title="Vkontakte" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" style="margin-bottom:<?php echo $space_icons?>px !important;"><i class="mo-custom-share-icon <?php echo $selected_theme; ?> fa fa-vk" style="margin-bottom:<?php echo $space_icons-4?>px!important; padding-top:8px;text-align:center;color:#ffffff;font-size:<?php echo ($sharingSize-16); ?>px !important;background-color:#<?php echo $custom_color?>;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
||
|
<?php
|
||
|
}
|
||
|
|
||
|
if( get_option('mo_openid_tumblr_share_enable') ) {
|
||
|
$link = 'http://www.tumblr.com/share/link?url='.$url.'&title='.$title;
|
||
|
?>
|
||
|
<a title="Tumblr" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" ><i class="mo-custom-share-icon <?php echo $selected_theme; ?> fa fa-tumblr" style="margin-bottom:<?php echo $space_icons-4?>px!important;padding-top:8px;text-align:center;color:#ffffff;font-size:<?php echo ($sharingSize-16); ?>px !important;background-color:#<?php echo $custom_color?>;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
||
|
<?php
|
||
|
}
|
||
|
|
||
|
if( get_option('mo_openid_stumble_share_enable') ) {
|
||
|
$link = 'http://www.stumbleupon.com/submit?url='.$url.'&title='.$title;
|
||
|
?>
|
||
|
<a title="StumbleUpon" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" ><i class="mo-custom-share-icon <?php echo $selected_theme; ?> fa fa-stumbleupon" style="margin-bottom:<?php echo $space_icons-4?>px!important;padding-top:8px;text-align:center;color:#ffffff;font-size:<?php echo ($sharingSize-16); ?>px !important;background-color:#<?php echo $custom_color?>;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
||
|
<?php
|
||
|
}
|
||
|
|
||
|
if( get_option('mo_openid_linkedin_share_enable') ) {
|
||
|
$link = 'https://www.linkedin.com/shareArticle?mini=true&title='.$title.'&url='.$url.'&summary='.$excerpt;
|
||
|
?>
|
||
|
<a title="LinkedIn" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" ><i class="mo-custom-share-icon <?php echo $selected_theme; ?> fa fa-linkedin" style="margin-bottom:<?php echo $space_icons-4?>px !important;padding-top:8px;text-align:center;color:#ffffff;font-size:<?php echo ($sharingSize-16); ?>px !important;background-color:#<?php echo $custom_color?>;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
||
|
<?php
|
||
|
}
|
||
|
|
||
|
if( get_option('mo_openid_reddit_share_enable') ) {
|
||
|
$link = 'http://www.reddit.com/submit?url='.$url.'&title='.$title;
|
||
|
?>
|
||
|
<a title="Reddit" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" ><i class="mo-custom-share-icon <?php echo $selected_theme; ?> fa fa-reddit" style="margin-bottom:<?php echo $space_icons-4?>px!important;padding-top:8px;text-align:center;color:#ffffff;font-size:<?php echo ($sharingSize-16); ?>px !important;background-color:#<?php echo $custom_color?>;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
||
|
<?php
|
||
|
}
|
||
|
|
||
|
if( get_option('mo_openid_pinterest_share_enable') ) {
|
||
|
?>
|
||
|
<a title="Pinterest" href='javascript:pinIt();' class="mo-openid-share-link" ><i class="mo-custom-share-icon <?php echo $selected_theme; ?> fa fa-pinterest" style="margin-bottom:<?php echo $space_icons-4?>px !important;padding-top:3px;text-align:center;color:#ffffff;font-size:<?php echo ($sharingSize-10); ?>px !important;background-color:#<?php echo $custom_color?>;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
||
|
<?php
|
||
|
}
|
||
|
|
||
|
if( get_option('mo_openid_pocket_share_enable') ) {
|
||
|
$link = 'https://getpocket.com/save?url='.$url.'&title='.$title;
|
||
|
?>
|
||
|
<a title="Pocket" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" ><i class="mo-custom-share-icon <?php echo $selected_theme; ?> fa fa-get-pocket" style="margin-bottom:<?php echo $space_icons-4?>px!important;padding-top:8px;text-align:center;color:#ffffff;font-size:<?php echo ($sharingSize-16); ?>px !important;background-color:#<?php echo $custom_color?>;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
||
|
<?php
|
||
|
}
|
||
|
|
||
|
if( get_option('mo_openid_digg_share_enable') ) {
|
||
|
$link = 'http://digg.com/submit?url='.$url.'&title='.$title;
|
||
|
?>
|
||
|
<a title="Digg" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" ><i class="mo-custom-share-icon <?php echo $selected_theme; ?> fa fa-digg" style="margin-bottom:<?php echo $space_icons-4?>px!important;padding-top:8px;text-align:center;color:#ffffff;font-size:<?php echo ($sharingSize-16); ?>px !important;background-color:#<?php echo $custom_color?>;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
||
|
<?php
|
||
|
}
|
||
|
|
||
|
if( get_option('mo_openid_delicious_share_enable') ) {
|
||
|
$link = 'http://www.delicious.com/save?v=5&noui&jump=close&url='.$url.'&title='.$title;
|
||
|
?>
|
||
|
<a title="Delicious" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" ><i class="mo-custom-share-icon <?php echo $selected_theme; ?> fa fa-delicious" style="margin-bottom:<?php echo $space_icons-4?>px!important;padding-top:8px;text-align:center;color:#ffffff;font-size:<?php echo ($sharingSize-16); ?>px !important;background-color:#<?php echo $custom_color?>;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
||
|
<?php
|
||
|
}
|
||
|
|
||
|
if( get_option('mo_openid_odnoklassniki_share_enable') ) {
|
||
|
$link = 'http://www.odnoklassniki.ru/dk?st.cmd=addShare&st.s=1&st.comments='.$excerpt.'&st._surl='.$url;
|
||
|
?>
|
||
|
<a title="Odnoklassniki" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" ><i class="mo-custom-share-icon <?php echo $selected_theme; ?> fa fa-odnoklassniki" style="margin-bottom:<?php echo $space_icons-4?>px!important;padding-top:8px;text-align:center;color:#ffffff;font-size:<?php echo ($sharingSize-16); ?>px !important;background-color:#<?php echo $custom_color?>;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
||
|
<?php
|
||
|
}
|
||
|
if( get_option('mo_openid_mail_share_enable') ) {
|
||
|
?>
|
||
|
<a title="Email this page" onclick="popupCenter('mailto:?subject=<?php echo $email_subject ?>&body=<?php echo $email_body ?>',800,500);" class="mo-openid-share-link">
|
||
|
<i class="mo-custom-share-icon <?php echo $selected_theme; ?> fa fa-envelope" style="margin-bottom:<?php echo $space_icons-4?>px!important;padding-top:8px;text-align:center;color:#ffffff;font-size:<?php echo ($sharingSize-16); ?>px !important;background-color:#<?php echo $custom_color?>;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
||
|
<?php
|
||
|
}
|
||
|
if( get_option('mo_openid_print_share_enable') ) {
|
||
|
?>
|
||
|
<a title="Print this page" onclick="javascript:window.print()"class="mo-openid-share-link">
|
||
|
<i class="mo-custom-share-icon <?php echo $selected_theme; ?> fa fa-print" style="margin-bottom:<?php echo $space_icons-4?>px!important;padding-top:8px;text-align:center;color:#ffffff;font-size:<?php echo ($sharingSize-16); ?>px !important;background-color:#<?php echo $custom_color?>;height:<?php echo $sharingSize?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
||
|
<?php
|
||
|
}
|
||
|
if( get_option('mo_openid_whatsapp_share_enable') ) {
|
||
|
?>
|
||
|
<a id="mobileshow" title="Whatsapp" href='whatsapp://send?text=<?php echo $url?>' class="mo-openid-share-link">
|
||
|
<i class="mo-custom-share-icon <?php echo $selected_theme; ?> fa fa-whatsapp" style="margin-bottom:<?php echo $space_icons-4?>px!important;padding-top:8px;text-align:center;color:#ffffff;font-size:<?php echo ($sharingSize-16); ?>px !important;background-color:#<?php echo $custom_color?>;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
||
|
<?php
|
||
|
}
|
||
|
}
|
||
|
else if($custom_theme == 'customFont'){
|
||
|
if( get_option('mo_openid_facebook_share_enable') ) {
|
||
|
$link = 'https://www.facebook.com/dialog/share?app_id=766555246789034&display=popup&href='.$url.'&redirect_uri=http%3A%2F%2Fminiorange.com%2Fsocial_share_redirect';
|
||
|
?>
|
||
|
<a title="Facebook" onclick="popupCenter('<?php echo $link; ?>', 800, 400);" class="mo-openid-share-link"><i class=" <?php echo $selected_theme; ?> fa fa-facebook" style="margin-bottom:<?php echo $space_icons-4?>px !important;padding-top : 4px !important;text-align:center;color:#<?php echo $fontColor ?> !important;font-size:<?php echo $sharingSize; ?>px !important;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
||
|
<?php
|
||
|
}
|
||
|
|
||
|
if( get_option('mo_openid_twitter_share_enable') ) {
|
||
|
$link = empty($twitter_username) ? 'https://twitter.com/intent/tweet?text='.$title.'&url='.$url : 'https://twitter.com/intent/tweet?text='.$title.'&url='.$url. '&via='.$twitter_username;
|
||
|
?>
|
||
|
<a title="Twitter" onclick="popupCenter('<?php echo $link; ?>', 600, 300);" class="mo-openid-share-link" ><i class=" <?php echo $selected_theme; ?> fa fa-twitter" style="margin-bottom:<?php echo $space_icons-4?>px !important;padding-top:4px;text-align:center;color:#<?php echo $fontColor ?> !important;font-size:<?php echo $sharingSize; ?>px !important;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
||
|
<?php
|
||
|
}
|
||
|
|
||
|
if( get_option('mo_openid_google_share_enable') ) {
|
||
|
$link = 'https://plus.google.com/share?url='.$url;
|
||
|
?>
|
||
|
<a title="Google" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link"><i class=" <?php echo $selected_theme; ?> fa fa-google-plus" style="margin-bottom:<?php echo $space_icons-4?>px !important;padding-top:4px;text-align:center;color:#<?php echo $fontColor ?> !important;font-size:<?php echo $sharingSize; ?>px !important;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
||
|
<?php
|
||
|
}
|
||
|
|
||
|
if( get_option('mo_openid_vkontakte_share_enable') ) {
|
||
|
$link = 'http://vk.com/share.php?url='.$url.'&title='.$title.'&description='.$excerpt;
|
||
|
?>
|
||
|
<a title="Vkontakte" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link"><i class=" <?php echo $selected_theme; ?> fa fa-vk" style="margin-bottom:<?php echo $space_icons-4?>px !important;padding-top:4px;text-align:center;color:#<?php echo $fontColor ?> !important;font-size:<?php echo $sharingSize; ?>px !important;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
||
|
<?php
|
||
|
}
|
||
|
|
||
|
if( get_option('mo_openid_tumblr_share_enable') ) {
|
||
|
$link = 'http://www.tumblr.com/share/link?url='.$url.'&title='.$title;
|
||
|
?>
|
||
|
<a title="Tumblr" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" ><i class=" <?php echo $selected_theme; ?> fa fa-tumblr" style="margin-bottom:<?php echo $space_icons-4?>px !important;padding-top:4px;text-align:center;color:#<?php echo $fontColor ?> !important;font-size:<?php echo $sharingSize; ?>px !important;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
||
|
<?php
|
||
|
}
|
||
|
|
||
|
if( get_option('mo_openid_stumble_share_enable') ) {
|
||
|
$link = 'http://www.stumbleupon.com/submit?url='.$url.'&title='.$title;
|
||
|
?>
|
||
|
<a title="StumbleUpon" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" ><i class=" <?php echo $selected_theme; ?> fa fa-stumbleupon" style="margin-bottom:<?php echo $space_icons-4?>px !important;padding-top:4px;text-align:center;color:#<?php echo $fontColor ?> !important;font-size:<?php echo $sharingSize; ?>px !important;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
||
|
<?php
|
||
|
}
|
||
|
|
||
|
if( get_option('mo_openid_linkedin_share_enable') ) {
|
||
|
$link = 'https://www.linkedin.com/shareArticle?mini=true&title='.$title.'&url='.$url.'&summary='.$excerpt;
|
||
|
?>
|
||
|
<a title="LinkedIn" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" ><i class=" <?php echo $selected_theme; ?> fa fa-linkedin" style="margin-bottom:<?php echo $space_icons-4?>px !important;padding-top:4px !important;text-align:center;color:#<?php echo $fontColor ?> !important;font-size:<?php echo $sharingSize; ?>px !important;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
||
|
<?php
|
||
|
}
|
||
|
|
||
|
if( get_option('mo_openid_reddit_share_enable') ) {
|
||
|
$link = 'http://www.reddit.com/submit?url='.$url.'&title='.$title;
|
||
|
?>
|
||
|
<a title="Reddit" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" ><i class=" <?php echo $selected_theme; ?> fa fa-reddit" style="margin-bottom:<?php echo $space_icons-4?>px !important;padding-top:4px;text-align:center;color:#<?php echo $fontColor ?> !important;font-size:<?php echo $sharingSize; ?>px !important;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
||
|
<?php
|
||
|
}
|
||
|
|
||
|
if( get_option('mo_openid_pinterest_share_enable') ) {
|
||
|
?>
|
||
|
<a title="Pinterest" href='javascript:pinIt();' class="mo-openid-share-link" ><i class=" <?php echo $selected_theme; ?> fa fa-pinterest" style="margin-bottom:<?php echo $space_icons-4?>px !important;padding-top:4px;text-align:center;color:#<?php echo $fontColor ?> !important;font-size:<?php echo $sharingSize; ?>px !important;height:<?php echo $sharingSize-5; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
||
|
<?php
|
||
|
}
|
||
|
|
||
|
if( get_option('mo_openid_pocket_share_enable') ) {
|
||
|
$link = 'https://getpocket.com/save?url='.$url.'&title='.$title;
|
||
|
?>
|
||
|
<a title="Pocket" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" ><i class=" <?php echo $selected_theme; ?> fa fa-get-pocket" style="margin-bottom:<?php echo $space_icons-4?>px !important;padding-top:4px;text-align:center;color:#<?php echo $fontColor ?> !important;font-size:<?php echo $sharingSize; ?>px !important;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
||
|
<?php
|
||
|
}
|
||
|
|
||
|
if( get_option('mo_openid_digg_share_enable') ) {
|
||
|
$link = 'http://digg.com/submit?url='.$url.'&title='.$title;
|
||
|
?>
|
||
|
<a title="Digg" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" ><i class=" <?php echo $selected_theme; ?> fa fa-digg" style="margin-bottom:<?php echo $space_icons-4?>px !important;padding-top:4px;text-align:center;color:#<?php echo $fontColor ?> !important;font-size:<?php echo $sharingSize; ?>px !important;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
||
|
<?php
|
||
|
}
|
||
|
|
||
|
if( get_option('mo_openid_delicious_share_enable') ) {
|
||
|
$link = 'http://www.delicious.com/save?v=5&noui&jump=close&url='.$url.'&title='.$title;
|
||
|
?>
|
||
|
<a title="Delicious" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" ><i class=" <?php echo $selected_theme; ?> fa fa-delicious" style="margin-bottom:<?php echo $space_icons-4?>px !important;padding-top:4px;text-align:center;color:#<?php echo $fontColor ?> !important;font-size:<?php echo $sharingSize; ?>px !important;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
||
|
<?php
|
||
|
}
|
||
|
|
||
|
if( get_option('mo_openid_odnoklassniki_share_enable') ) {
|
||
|
$link = 'http://www.odnoklassniki.ru/dk?st.cmd=addShare&st.s=1&st.comments='.$excerpt.'&st._surl='.$url;
|
||
|
?>
|
||
|
<a title="Odnoklassniki" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" ><i class=" <?php echo $selected_theme; ?> fa fa-odnoklassniki" style="margin-bottom:<?php echo $space_icons-4?>px !important;padding-top:4px;text-align:center;color:#<?php echo $fontColor ?> !important;font-size:<?php echo $sharingSize; ?>px !important;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
||
|
<?php
|
||
|
}
|
||
|
if( get_option('mo_openid_mail_share_enable') ) {
|
||
|
?>
|
||
|
<a title="Email this page" onclick="popupCenter('mailto:?subject=<?php echo $email_subject ?>&body=<?php echo $email_body ?>',800,500);" class="mo-openid-share-link">
|
||
|
<i class=" <?php echo $selected_theme; ?> fa fa-envelope" style=" padding-top:4px;text-align:center;color:#<?php echo $fontColor ?> !important;font-size:<?php echo $sharingSize; ?>px !important;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
||
|
<?php
|
||
|
}
|
||
|
if( get_option('mo_openid_print_share_enable') ) {
|
||
|
?>
|
||
|
<a title="Print this page" onclick="javascript:window.print()" class="mo-openid-share-link">
|
||
|
<i class=" <?php echo $selected_theme; ?> fa fa-print" style="margin-bottom:<?php echo $space_icons-4?>px !important;padding-top:4px;text-align:center;color:#<?php echo $fontColor ?> !important;font-size:<?php echo $sharingSize; ?>px !important;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
||
|
<?php
|
||
|
}
|
||
|
if( get_option('mo_openid_whatsapp_share_enable') ) {
|
||
|
?>
|
||
|
<a id="mobileshow" title="Whatsapp" href='whatsapp://send?text=<?php echo $url?>' class="mo-openid-share-link">
|
||
|
<i class=" <?php echo $selected_theme; ?> fa fa-whatsapp" style="margin-bottom:<?php echo $space_icons-4?>px !important;padding-top:4px;text-align:center;color:#<?php echo $fontColor ?> !important;font-size:<?php echo $sharingSize; ?>px !important;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important"></i></a>
|
||
|
<?php
|
||
|
}
|
||
|
}
|
||
|
else{
|
||
|
if( get_option('mo_openid_facebook_share_enable') ) {
|
||
|
$link = 'https://www.facebook.com/dialog/share?app_id=766555246789034&display=popup&href='.$url.'&redirect_uri=http%3A%2F%2Fminiorange.com%2Fsocial_share_redirect';
|
||
|
?>
|
||
|
<a title="Facebook" onclick="popupCenter('<?php echo $link; ?>', 800, 400);" class="mo-openid-share-link"><img alt='Facebook' style= 'margin-bottom:<?php echo $space_icons-6?>px !important;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important;background-color:white;' src="<?php echo plugins_url( 'includes/images/icons/facebook.png', __FILE__ )?>" class="mo-openid-app-share-icons <?php echo $selected_theme; ?>" ></a>
|
||
|
<?php
|
||
|
}
|
||
|
|
||
|
if( get_option('mo_openid_twitter_share_enable') ) {
|
||
|
$link = empty($twitter_username) ? 'https://twitter.com/intent/tweet?text='.$title.'&url='.$url : 'https://twitter.com/intent/tweet?text='.$title.'&url='.$url. '&via='.$twitter_username;
|
||
|
?>
|
||
|
<a title="Twitter" onclick="popupCenter('<?php echo $link; ?>', 600, 300);" class="mo-openid-share-link" ><img alt='Twitter' style= 'margin-bottom:<?php echo $space_icons-6?>px !important;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important;background-color:white;' src="<?php echo plugins_url( 'includes/images/icons/twitter.png', __FILE__ )?>" class="mo-openid-app-share-icons <?php echo $selected_theme; ?>" ></a>
|
||
|
<?php
|
||
|
}
|
||
|
|
||
|
if( get_option('mo_openid_google_share_enable') ) {
|
||
|
$link = 'https://plus.google.com/share?url='.$url;
|
||
|
?>
|
||
|
<a title="Google" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link"><img alt='Google' style= 'margin-bottom:<?php echo $space_icons-6?>px !important;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important;background-color: <?php echo $selected_theme; ?>' src="<?php echo plugins_url( 'includes/images/icons/google.png', __FILE__ )?>" class="mo-openid-app-share-icons <?php echo $selected_theme; ?>" ></a>
|
||
|
<?php
|
||
|
}
|
||
|
|
||
|
if( get_option('mo_openid_vkontakte_share_enable') ) {
|
||
|
$link = 'http://vk.com/share.php?url='.$url.'&title='.$title.'&description='.$excerpt;
|
||
|
?>
|
||
|
<a title="Vkontakte" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link"><img alt='Vkontakte' style= 'margin-bottom:<?php echo $space_icons-6?>px !important;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important;background-color: <?php echo $selected_theme; ?>' src="<?php echo plugins_url( 'includes/images/icons/vk.png', __FILE__ )?>" class="mo-openid-app-share-icons <?php echo $selected_theme; ?>" ></a>
|
||
|
<?php
|
||
|
}
|
||
|
|
||
|
if( get_option('mo_openid_tumblr_share_enable') ) {
|
||
|
$link = 'http://www.tumblr.com/share/link?url='.$url.'&title='.$title;
|
||
|
?>
|
||
|
<a title="Tumblr" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" ><img alt='Tumblr' style= 'margin-bottom:<?php echo $space_icons-6?>px !important;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important;' src="<?php echo plugins_url( 'includes/images/icons/tumblr.png', __FILE__ )?>" class="mo-openid-app-share-icons <?php echo $selected_theme; ?>" ></a>
|
||
|
<?php
|
||
|
}
|
||
|
|
||
|
if( get_option('mo_openid_stumble_share_enable') ) {
|
||
|
$link = 'http://www.stumbleupon.com/submit?url='.$url.'&title='.$title;
|
||
|
?>
|
||
|
<a title="StumbleUpon" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" ><img alt='StumbleUpon' style= 'margin-bottom:<?php echo $space_icons-6?>px !important;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important;' src="<?php echo plugins_url( 'includes/images/icons/stumble.png', __FILE__ )?>" class="mo-openid-app-share-icons <?php echo $selected_theme; ?>" ></a>
|
||
|
<?php
|
||
|
}
|
||
|
|
||
|
if( get_option('mo_openid_linkedin_share_enable') ) {
|
||
|
$link = 'https://www.linkedin.com/shareArticle?mini=true&title='.$title.'&url='.$url.'&summary='.$excerpt;
|
||
|
?>
|
||
|
<a title="LinkedIn" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" ><img alt='LinkedIn' style= 'margin-bottom:<?php echo $space_icons-6?>px !important;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important;background-color:white;' src="<?php echo plugins_url( 'includes/images/icons/linkedin.png', __FILE__ )?>" class="mo-openid-app-share-icons <?php echo $selected_theme; ?>" ></a>
|
||
|
<?php
|
||
|
}
|
||
|
|
||
|
if( get_option('mo_openid_reddit_share_enable') ) {
|
||
|
$link = 'http://www.reddit.com/submit?url='.$url.'&title='.$title;
|
||
|
?>
|
||
|
<a title="Reddit" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" ><img alt='Reddit' style= 'margin-bottom:<?php echo $space_icons-6?>px !important;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important;' src="<?php echo plugins_url( 'includes/images/icons/reddit.png', __FILE__ )?>" class="mo-openid-app-share-icons <?php echo $selected_theme; ?>" ></a>
|
||
|
<?php
|
||
|
}
|
||
|
|
||
|
if( get_option('mo_openid_pinterest_share_enable') ) {
|
||
|
?>
|
||
|
<a title="Pinterest" href='javascript:pinIt();' class="mo-openid-share-link" ><img alt='Pinterest' style= 'margin-bottom:<?php echo $space_icons-6?>px !important;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important;' src="<?php echo plugins_url( 'includes/images/icons/pininterest.png', __FILE__ )?>" class="mo-openid-app-share-icons <?php echo $selected_theme; ?>" ></a>
|
||
|
<?php
|
||
|
}
|
||
|
|
||
|
if( get_option('mo_openid_pocket_share_enable') ) {
|
||
|
$link = 'https://getpocket.com/save?url='.$url.'&title='.$title;
|
||
|
?>
|
||
|
<a title="Pocket" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" ><img alt='Pocket' style= 'margin-bottom:<?php echo $space_icons-6?>px !important;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important;' src="<?php echo plugins_url( 'includes/images/icons/pocket.png', __FILE__ )?>" class="mo-openid-app-share-icons <?php echo $selected_theme; ?>" ></a>
|
||
|
<?php
|
||
|
}
|
||
|
|
||
|
if( get_option('mo_openid_digg_share_enable') ) {
|
||
|
$link = 'http://digg.com/submit?url='.$url.'&title='.$title;
|
||
|
?>
|
||
|
<a title="Digg" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" ><img alt='Digg' style= 'margin-bottom:<?php echo $space_icons-6?>px !important;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important;' src="<?php echo plugins_url( 'includes/images/icons/digg.png', __FILE__ )?>" class="mo-openid-app-share-icons <?php echo $selected_theme; ?>" ></a>
|
||
|
<?php
|
||
|
}
|
||
|
|
||
|
if( get_option('mo_openid_delicious_share_enable') ) {
|
||
|
$link = 'http://www.delicious.com/save?v=5&noui&jump=close&url='.$url.'&title='.$title;
|
||
|
?>
|
||
|
<a title="Delicious" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" ><img alt='Delicoius' style= 'margin-bottom:<?php echo $space_icons-6?>px !important;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important;' src="<?php echo plugins_url( 'includes/images/icons/delicious.png', __FILE__ )?>" class="mo-openid-app-share-icons <?php echo $selected_theme; ?>" ></a>
|
||
|
<?php
|
||
|
}
|
||
|
|
||
|
if( get_option('mo_openid_odnoklassniki_share_enable') ) {
|
||
|
$link = 'http://www.odnoklassniki.ru/dk?st.cmd=addShare&st.s=1&st.comments='.$excerpt.'&st._surl='.$url;
|
||
|
?>
|
||
|
<a title="Odnoklassniki" onclick="popupCenter('<?php echo $link; ?>', 800, 500);" class="mo-openid-share-link" ><img alt='Odnoklassniki' style= 'margin-bottom:<?php echo $space_icons-6?>px !important;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important;' src="<?php echo plugins_url( 'includes/images/icons/odnoklassniki.png', __FILE__ )?>" class="mo-openid-app-share-icons <?php echo $selected_theme; ?>" ></a>
|
||
|
<?php
|
||
|
}
|
||
|
|
||
|
if( get_option('mo_openid_mail_share_enable') ) {
|
||
|
?>
|
||
|
<a title="Email this page" onclick="popupCenter('mailto:?subject=<?php echo $email_subject ?>&body=<?php echo $email_body ?>',800,500);" class="mo-openid-share-link">
|
||
|
<img alt='Email this page' style= 'margin-bottom:<?php echo $space_icons-6?>px !important;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important;' src="<?php echo plugins_url( 'includes/images/icons/mail.png', __FILE__ )?>" class="mo-openid-app-share-icons <?php echo $selected_theme; ?>"></a>
|
||
|
<?php
|
||
|
}
|
||
|
if( get_option('mo_openid_print_share_enable') ) {
|
||
|
?>
|
||
|
<a title="Print this page" onclick="javascript:window.print()"class="mo-openid-share-link">
|
||
|
<img alt='Print this page' style= 'margin-bottom:<?php echo $space_icons-6?>px !important;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important;' src="<?php echo plugins_url( 'includes/images/icons/print.png', __FILE__ )?>" class="mo-openid-app-share-icons <?php echo $selected_theme; ?>"></a>
|
||
|
<?php
|
||
|
}
|
||
|
if( get_option('mo_openid_whatsapp_share_enable') ) {
|
||
|
?>
|
||
|
<a id="mobileshow" title="Whatsapp" href='whatsapp://send?text=<?php echo $url?>' class="mo-openid-share-link">
|
||
|
<img alt='Whatsapp' style= 'margin-bottom:<?php echo $space_icons-6?>px !important;height:<?php echo $sharingSize; ?>px !important;width:<?php echo $sharingSize; ?>px !important;' src="<?php echo plugins_url( 'includes/images/icons/whatsapp.png', __FILE__ )?>" class="mo-openid-app-share-icons <?php echo $selected_theme; ?>"></a>
|
||
|
<?php
|
||
|
}
|
||
|
}
|
||
|
?></p>
|
||
|
</div>
|
||
|
<?php if(get_option("mo_share_vertical_hide_mobile")) { ?>
|
||
|
<script>
|
||
|
function hideVerticalShare() {
|
||
|
var isMobile = false; //initiate as false
|
||
|
// device detection
|
||
|
if(/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|ipad|iris|kindle|Android|Silk|lge |maemo|midp|mmp|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino/i.test(navigator.userAgent)
|
||
|
|| /1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(navigator.userAgent.substr(0,4))) {
|
||
|
isMobile = true;
|
||
|
}
|
||
|
|
||
|
if(isMobile) {
|
||
|
if(jQuery("#mo_floating_vertical_widget"))
|
||
|
jQuery("#mo_floating_vertical_widget").hide();
|
||
|
}
|
||
|
}
|
||
|
hideVerticalShare();
|
||
|
</script>
|
||
|
<?php } ?>
|
||
|
|
||
|
<?php }?>
|
||
|
</div><br>
|
||
|
<?php
|
||
|
|
||
|
?>
|