苹果CMS按时间调用点击量教程

老巴夺 56 0

苹果CMS调用视频、文章、专题模板点击量通用代码

总点击量

1
<span class = "mac_hits hits" data-mid= "{$maccms.mid}" data-id= "{$obj.vod_id}{$obj.art_id}{$obj.topic_id}" "="" data-type=" hits"></span>

日点击量

1
<span class = "mac_hits hits_day" data-mid= "{$maccms.mid}" data-id= "{$obj.vod_id}{$obj.art_id}{$obj.topic_id}" "="" data-type=" hits_day"></span>

周点击量

1
<span class = "mac_hits hits_week" data-mid= "{$maccms.mid}" data-id= "{$obj.vod_id}{$obj.art_id}{$obj.topic_id}" "="" data-type=" hits_week"></span>

月点击量

1
<span class="mac_hits hits_month" data-mid="{$maccms.mid}" data-id="{$obj.vod_id}{$obj.art_id}{$obj.topic_id}" "="" data-type="hits_month"></span>