{dede:field name=typeid runphp='yes'}
global $dsql; $sql = "SELECT id From `dede_arctype` WHERE reid='@me' And ishidden<>1 order by sortrank asc limit 0, 100 "; $row = $dsql->GetOne($sql); @me=is_array($row)?'有下级':'无下级';
{/dede:field}
{dede:field name=typeid runphp='yes'}
global $dsql; $sql = "SELECT id From `dede_arctype` WHERE reid='@me' And ishidden<>1 order by sortrank asc limit 0, 100 "; $row = $dsql->GetOne($sql); @me=is_array($row)?'有下级':'无下级';
{/dede:field}
本文来源:织梦dedecms判断栏目是否有下级菜单
本文地址:https://www.ys720.com/jiaocheng/1535.html
版权声明:本文采用[BY-NC-SA]协议进行授权,如无特别说明,转载请注明本文地址!