<if condition="$userinfo['field5']"> <div class="smallfont"> <if condition="$userinfo['field6']"> $userinfo['field6'] <else /> Recent Blog: </if> <a href="$blogLink" target="_blank">$blogTitle</a> </div> </if>