<if condition="$userinfo['usertitle']"><div class="smallfont">$userinfo[usertitle]</div></if>
<if condition="$userinfo[usergroupid]==6"> <div class="smallfont"><img src="images/misc/admin.gif"></div> </if>