<if condition="$show[registerbutton]"> <p>Guest</p> <else /> <if condition="$bbuserinfo['usergroupid'] == 2"> <p>registered</p> <else /> <p>not guest or registered</p> </if> </if>