![waleedpak](https://xoops.org/uploads/avatars/blank.gif)
i wanted to ask how can i create a block in
the top page to welcome a logged-in user..
for example,
------------------------
Welcome "username",
*display user avatar*
------------------
please help...
"group"
"rank"
"avatar"
Joined: 2008/1/4
From: Kuantan
Posts: 23
Online!
<{section name=i loop=$block.friends}>
<{if $smarty.section.i.first}><{/if}>
<{if $smarty.section.i.iteration % 2 == 1 }><{/if}>
<{ if $block.friends[i].user_avatar=="blank.gif" }>
<{else}>
<{/if}>
<{$block.friends[i].uname}>
![](<{$xoops_url}>/images/icons/pm.gif)
<{if $smarty.section.i.iteration % 2 == 2 }> <{/if}>
<{if $smarty.section.i.last}>
<{if ($smarty.section.i.iteration % 2 == 1)}> <{/if}>
<{/if}>
<{/section}>
<{$block.lang_allfriends}>