|
给有属性的文档加入指定的图标图片,注意单双引号
[field:flag runphp=yes, if(stristr(@me,"c")) @me = "[推荐,";else @me = "";[/field:flag,
[field:flag runphp=yes, if(stristr(@me,"a")) @me = "[特荐,";else @me = "";[/field:flag,
[field:flag runphp=yes, if(stristr(@me,"a")) @me = "
";else @me = "";[/field:flag,
[field:flag runphp=yes, if(stristr(@me,"c")) @me = "
";else @me = "";[/field:flag,
{dede:field name='flag' runphp='yes'} if(stristr(@me,"c")) @me = "[推荐,";else @me = "";{/dede:field} |
|