<?php 
/* 
This file is part of HeatMap Theme Pro v5
Copyright: Stuart Wider
Website: HeatMapTheme.com
*/

if ((hmt4_get_option('hmt_add_twitter_tweet')) || (hmt4_get_option('hmt_add_google_one')) || (hmt4_get_option('hmt_add_facebook_like'))) {
?>	
    <ul class="like-buttons">

        <?php 
        if (hmt4_get_option('hmt_add_twitter_tweet')) {
        ?>
            <li>
                <a href="http://twitter.com/share" data-url="<?php the_permalink(); ?>" data-text="<?php the_title(); ?>" class="twitter-share-button">Tweet</a>
            </li>
        <?php
        }
        ?>  

        <?php 
        if (hmt4_get_option('hmt_add_google_one')) {
        ?>
            <li>
                <g:plusone size="medium" href="<?php the_permalink() ?>"></g:plusone>
            </li>
        <?php
        }
        ?>

        <?php 
        if (hmt4_get_option('hmt_add_facebook_like')) {
        ?>
            <li>
                <object>
                <iframe src="http://www.facebook.com/plugins/like.php?href=<?php the_permalink() ?>&amp;send=false&amp;layout=button_count&amp;width=90&amp;show_faces=true&amp;action=like&amp;colorscheme=light&amp;font&amp;height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:90px; height:21px;" allowTransparency="true"></iframe>
				</object>
            </li>
        <?php
        }
        ?>

    </ul>
<?php
}
?>