{literal} {/literal}

{$title}

{$words}
{if $smarty.get.flag == 'add' || $smarty.get.flag == 'edit'}
名称
SQL语句
{else} {$content} {/if}