Hi,
have a look at my directory - on the rightside i have the Links by Pagerank.
Icons should be kept on left side but numbers should be right aligned.
How to do it - have checked several times but did not suceed.
Would you require the script to verify?
thanks
Here is the code:
{strip}
<div align="left">
{if $SHOW_ALL_PR eq '1'}
{foreach item=PR from=$PR_STATS }
<div style="width:100px;line-height:19px; text-align:right; font-size:11px; font-weight: bold;">
<a href="{$smarty.const.DOC_ROOT}/livepagerank.php?pr={$PR.PR}" title="{l}Browse pagerank {$PR.PR} links{/l}">
<img align="left" src="/images/pr{$PR.PR}.gif" border="0" alt="{l}Browse pagerank {$PR.PR} links{/l}" />{$PR.COUNT|indent}
</a>
</div>
{/foreach}
{else}
{foreach item=PR from=$PR_STATS }
{if $PR.COUNT > 0}
<div style="width:100px;line-height:19px; text-align:center; font-size:11px; font-weight: bold;">
<a href="{$smarty.const.DOC_ROOT}/livepagerank.php?pr={$PR.PR}" title="{l}Browse pagerank {$PR.PR} links{/l}">
<img align="left" src="/images/pr{$PR.PR}.gif" border="0" alt="{l}Browse pagerank {$PR.PR} links{/l}" />{$PR.COUNT|indent}
</a>
</div>
{/if}
{/foreach}
{/if}
</div>