{if $cat == 1} -- do this -- {elseif $cat == 2} -- do this -- {else} -- if neither is true do this -- {/if}