<if condition="$post['usergroupid'] == 8"> (If the post OWNER's usergroup id is 8) <!-- HTML here --> <else /> <!-- More Code --> </if>