问题:
想判断当前栏目有没有flag推荐的内容应该怎么写
具体页面list
答案:
{if \Phpcmf\Service::M()->table_site("news_flag")->where("id iN (select id from dr_1_news where catid=".$catid.")")->counts()}
有被推荐的内容
{/if}
迅睿框架创始人:感谢老大,可以解决
大家好,我是Sincere。本人擅长火车头、宝塔、水淼、FTP等软件的安装与卸载,精通SEO、CMS、CSS、JavaScript、PHP、C#、Java、Ruby、python等单词的拼写,熟悉Windows、Linux、Mac、Android、IOS等系统的开关机。