{if $feature_social eq "on"}

<div class="socialbox">
{if $feature_social_facebook eq "on"}<div id="fb-root" dir="rtl"></div>
<div class="fb-like" data-href="{$feature_social_facebook_url}" data-send="false" dir="rtl" data-layout="button_count" data-show-faces="false"></div>{else}{/if}
{if $feature_social_twitter eq "on"}<div class="twitter-like"><a href="{$feature_social_twitter_url}" class="twitter-follow-button" data-show-count="true" data-show-screen-name="false">Follow</a></div>{else}{/if}
</div><!-- /end socialbox -->

{elseif $feature_social eq "home"}

{if $filename eq "index" && !isset($smarty.get.m)}
<div class="socialbox">
{if $feature_social_facebook eq "on"}<div id="fb-root"></div>
<div class="fb-like" data-href="{$feature_social_facebook_url}" data-send="false" data-layout="button_count" data-show-faces="false"></div>{else}{/if}
{if $feature_social_twitter eq "on"}<div class="twitter-like"><a href="{$feature_social_twitter_url}" class="twitter-follow-button" data-show-count="true" data-show-screen-name="false">Follow</a></div>{else}{/if}
</div><!-- /end socialbox -->
{/if}

{else}{/if}