标签:
{if $newObj eq ‘a‘} welcome a {elseif $a eq ‘b‘} welcome b {else} welcome others {/if}
8.Smarty的条件判断语句的写法
原文地址:http://www.cnblogs.com/caimuqing/p/5685560.html