{dede:field name='officialurl' runphp='yes'}
if(@me == "") @me = "未知官方";else @me = "<a href=".@me." target=_blank>官方网址</a>";
{/dede:field
演示地址有无判断:
{dede:field name='officialdemo' runphp='yes'}
if(@me == "") @me = "无演示";else @me = "<a href=".@me." target=_blank>演示地址</a>";
{/dede:field}
缩略图有无判断:
{dede:field name='litpic' runphp='yes'}
if(@me == "/do/plus/img/dfpic.gif") @me = "";else @me = "<a href=".@me." target=_blank title=新窗口查看图片><img src=".@me." /></a>";
{/dede:field}