if判断字段内容是否存在,否则输出默认内容

{dede:field.typeimg runphp=’yes’}
if(@me<>”)@me=”@me”;
else
@me=”/img/topbanner.jpg”;
{/dede:field.typeimg}