从菜鸟
到运营高手

DEDECMS织梦栏目页内容页调用上级栏目名称和链接(含各种调用代码)

<a href="{dede:field.typeid runphp='yes'"}   global $dsql ;   $reid = $dsql->GetOne("SELECT reid FROM dede_arctype where id=@me");   $reid = $reid['reid'];   $typename = $dsql->GetOne("SELECT typedir FROM dede_arctype where id=$reid");   @me=str_replace('{cmspath}','',$typename['typedir']);{/dede:field.typeid}" >{dede:field.typeid runphp='yes'"}   global $dsql ;   $reid = $dsql->GetOne("SELECT reid FROM dede_arctype where id=@me");   $reid = $reid['reid'];   $typename = $dsql->GetOne("SELECT typename FROM dede_arctype where id=$reid");   @me=$typename['typename'];{/dede:field.typeid}</a>
赞(4)
未经允许不得转载:运营人的自我修养运营人的自我修养 » DEDECMS织梦栏目页内容页调用上级栏目名称和链接(含各种调用代码)

运营人的自我修养

淘宝店铺推广合作