<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[tarfly的专栏]]></title><description><![CDATA[]]></description><link>https://blog.youkuaiyun.com/tarfly</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; tarfly]]></copyright><item><title><![CDATA[ecshop 全站评论首页显示]]></title><link>https://blog.youkuaiyun.com/tarfly/article/details/7664658</link><guid>https://blog.youkuaiyun.com/tarfly/article/details/7664658</guid><author>tarfly</author><pubDate>Thu, 14 Jun 2012 22:13:51 +0800</pubDate><description><![CDATA[ecshop插件 为你提供
如何在首页调用商品的评论，只需要构造一个 index_comments.lbi文件， 然后在首页引入就可以了，超简单;
命名为: index_comments.lbi




<?php
 
if(!function_exists("get_comments")){
function get_comments($num)
{
   $sql = 'SELE]]></description><category></category></item></channel></rss>