{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}
织梦判断栏目是否有下级菜单
内容版权声明:除非注明,否则皆为本站原创文章。
转载注明出处:https://www.heiqu.com/de3f8c2e6648f042d1d2014d532a8ec8.html