热门搜索
SELECT contentid, c.title, c.url, published, thumb, c.catid, modelid, `c.pv` AS views, `c.comments` AS comments,ca.name as cname FROM `cmstop_content` c left join `cmstop_category` ca on c.catid=ca.catid WHERE (c.title LIKE :kw) AND c.url <> '' AND c.url IS NOT NULL AND status >= 0 ORDER BY published DESC LIMIT 21 OFFSET 1580