<var id="xvh3p"><noframes id="xvh3p"><var id="xvh3p"></var><listing id="xvh3p"><strike id="xvh3p"><listing id="xvh3p"></listing></strike></listing>
<var id="xvh3p"><strike id="xvh3p"><var id="xvh3p"></var></strike></var><th id="xvh3p"><strike id="xvh3p"><th id="xvh3p"></th></strike></th>
<span id="xvh3p"><noframes id="xvh3p"><dl id="xvh3p"></dl>
<span id="xvh3p"><noframes id="xvh3p">
<dl id="xvh3p"><noframes id="xvh3p">
<listing id="xvh3p"><noframes id="xvh3p"><listing id="xvh3p"><strike id="xvh3p"><listing id="xvh3p"></listing></strike></listing><th id="xvh3p"><strike id="xvh3p"><th id="xvh3p"></th></strike></th>
<th id="xvh3p"><strike id="xvh3p"></strike></th>
<dl id="xvh3p"><noframes id="xvh3p">
<th id="xvh3p"><noframes id="xvh3p">

观点

互联网+时代,说建站,谈运营与网络营销

dedecms列表页如何显示好评差评

时间:2020-12-21

要想在列表页调用好评差评和中立。掌握了这个功能可以在一定程度上提搞dedecms仿站的水平。
实现方法,需要记住下面的代码:
 
下面是调用好评的
{dede:field name='id' runphp='yes'}
global $dsql;
$tid=@me;
$sql="select count(dede_archives.id) as count from dede_archives,dede_feedback where dede_feedback.aid=dede_archives.id and dede_archives.typeid=$tid and dede_feedback.ftype='good'";
$row=$dsql->getOne($sql);
@me=$row["count"];
{/dede:field/}
 
如果你想调用中立就把good 改成 feedback,差评就改成bad。
0
首页
案例
关于
联系