<!-- Put this script tag to the <head> of your page -->
<script type="text/javascript" src="http://userapi.com/js/api/openapi.js?32"></script>

<script type="text/javascript">
  VK.init({apiId: 2378844, onlyWidgets: true});
</script>

<!-- Put this div tag to the place, where the Like block will be -->
<a href="http://twitter.com/share" class="twitter-share-button" data-count="horizontal" data-via="kmainsider" data-text="<?php the_title(); ?>" data-url="<?php the_permalink() ?>" data-counturl="<?php the_permalink() ?>">Tweet</a>
<script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script>
<iframe src="http://www.facebook.com/plugins/like.php?href=<?php the_permalink(); ?>&amp;layout=button_count&amp;show_faces=true&amp;width=140&amp;action=like&amp;colorscheme=light&amp;height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:140px; height:21px;" allowTransparency="true"></iframe><div id="vk_like"></div>
<script type="text/javascript">
VK.Widgets.Like("vk_like", {type: "mini"});
</script>