<{section name=i loop=$block.friends}>
<a href='javascript:openWithSelfMain("<{$icms_url}>/pmlite.php?send2=1&amp;to_userid=<{$block.friends[i].friend_uid}>","pmlite",500,450);'><img src="<{$icms_url}>/images/icons/pm_small.gif" alt="" /></a>
<{$block.friends[i].uname}>
<{/section}>