<small>{dede:field.id runphp='yes'}$dsql = new dedesql(false);$dsql -> SetQuery("Select count(id) as c from dede_feedback where aid=".@me);$row = $dsql -> getone();@me=$row['c'];{/dede:field.id}</small>个评论
调用收藏数
被收藏:{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}次
这个是列表页调用评论数
[field:ID runphp='yes']$dsql = new dedesql(false);$dsql -> SetQuery("Select count(id) as c from dede_feedback where aid=".@me);$row = $dsql -> getone();@me=$row['c'];[/field:ID]个评论
调用收藏数
被收藏:[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]次
<script type="text/javascript">
document.body.oncopy = function (){
setTimeout(function (){
var text = clipboardData.getData("text");
if (text){
texttext = text + "rn本文转载于DeDeCms模板中心(genban.org)- 织梦模板 DEDECMS企业模板 DEDECMS仿站 dede模板下载:http://www.genban.org-原文链接:"+location.href;
clipboardData.setData("text", text);
}
},100)
}
</script>