https://xoops.org/modules/news/article.php?storyid=3438
http://mark.boyden.name/smartsection.item.16/editors-wysiwyg.html
hope it helps,
Amol
<{section name=i loop=$block.friends}>
<div style="width:80%; text-align: center; page-break-after: always; margin: auto; page-break-before: always;">
<a href="<{$xoops_url}>/modules/yogurt/index.php?uid=<{$block.friends[i].uid}>" title=" Qtty<{$block.friends[i].uname}>"><img src=<{$xoops_upload_url}>/<{$block.friends[i].user_avatar}>><br /><{$block.friends[i].uname}> </a>
<br /><a href='javascript:openWithSelfMain("<{$xoops_url}>/pmlite.php?send2=1&to_userid=<{$block.friends[i].uid_voted}>","pmlite",500,450);'><img src="<{$xoops_url}>/images/icons/pm.gif" /></a>
</div><br />
<{/section}>
<a href="<{$xoops_url}>/modules/yogurt/friends.php"><{$block.lang_allfriends}></a>
<{section name=i loop=$block.friends}>
<a href="<{$xoops_url}>/modules/yogurt/index.php?uid=<{$block.friends[i].uid}>"
title=" <{$block.friends[i].uname}>"><{$block.friends[i].uname}></a>
<a href='javascript:openWithSelfMain("<{$xoops_url}>/pmlite.php?send2=1&to_userid=<{$block.friends[i].uid}>","pmlite",500,450);'>
<img alt="Private message" src="<{$xoops_url}>/images/icons/pm_small.gif" /></a> -
<{/section}>
</BR></BR>
<a href="<{$xoops_url}>/modules/yogurt/friends.php">
<{$block.lang_allfriends}></a>