<h2>当兵年龄判断</h2> <{if $smarty.get.age ge 18 and $smarty.get.age le 23}> <font color="blue">你符合当兵的年龄要求!</font> <{else}> <font color="red">年龄不合要求</font> <{/if}>
<h2>当兵年龄判断</h2> <{if $smarty.get.age ge 18 and $smarty.get.age le 23}> <font color="blue">你符合当兵的年龄要求!</font> <{else}> <font color="red">年龄不合要求</font> <{/if}>