예제 #1
0
                        iframe#fb_like_' . $prefix . ' {
                        	max-height: 1.5em;
                            max-width: 6em;
                        }
                        span > iframe {
                            vertical-align: middle;
                        }
                    </style>';
    $social_link .= '<a href="https://twitter.com/storeapps" class="twitter-follow-button" data-show-count="true" data-dnt="true" data-show-screen-name="false">Follow</a>';
    $social_link .= "<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script>";
    $social_link .= '<iframe id="fb_like_' . $prefix . '" src="http://www.facebook.com/plugins/like.php?href=https%3A%2F%2Fwww.facebook.com%2Fpages%2FStore-Apps%2F614674921896173&width=100&layout=button_count&action=like&show_faces=false&share=false&height=21"></iframe>';
    $social_link .= '<script src="//platform.linkedin.com/in.js" type="text/javascript">lang: en_US</script><script type="IN/FollowCompany" data-id="3758881" data-counter="right"></script>';
    return $social_link;
}
// Code for handling SSL error for FB Link
// $ssl = (is_ssl()) ? "https" : "http";
// $fb_link = $ssl . "://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.storeapps.org%2F&amp;layout=standard&amp;show_faces=true&amp;width=450&amp;action=like&amp;colorscheme=light&amp;height=80";
?>
<!-- Smart Manager FB Like Button -->

<div class="wrap"><br />
<?php 
echo add_social_links();
?>
<!-- <iframe
	src =  
	scrolling="no" frameborder="0"
	style="border: none; overflow: hidden; width: 450px; height: 80px;"
	allowTransparency="true"></iframe> -->
</div>
function smart_reporter_footer()
{
    ?>
    <div id="sr_putler_promotion" class="sr_promotion_footer">
        <?php 
    echo __(" For more Extensive Reporting use ");
    ?>
 <a href="http://www.putler.com/?&utm_source=SR_IN_WP" target="_blank"> <?php 
    echo __('Putler');
    ?>
</a> 
    </div>

    <br/>
    <br/>

    <div id="add_social_links" class="wrap" style="float:left;">
        <?php 
    echo add_social_links();
    ?>
    </div>

    <?php 
}