DEDECMS列表与内页调用此文章被收藏次数的调用标签

shape
shape
shape
shape
shape
shape
shape
shape
DEDECMS列表与内页调用此文章被收藏次数的调用标签缩略图

dedecms列表与内页调用此文章被收藏次数的调用标签

被收藏次数标签:

1.列表调用标签:

[field:ID
runphp=’yes’]$dsql = new dedesql();$dsql -> SetQuery(“select
count(*) as c from dede_member_stow where aid=”.@me);$row = $dsql ->
getone();@me=$row[‘c’];[/field:ID]

2.内页调用标签:

{dede:field.id
runphp=’yes’}$dsql = new dedesql();$dsql -> SetQuery(“select
count(*) as c from dede_member_stow where aid=”.@me);$row = $dsql ->
getone();@me=$row[‘c’];{/dede:field.id}次

DEDE列表与内页调用此文章被收藏次数的调用标签

发表评论