{get sql="SELECT * FROM `phpcms_content` c,`phpcms_content_count` n
WHERE c.contentid=n.contentid AND c.`status`=99 and catid in
(39,40,41,42,43,44,45,46,47,48,66,68,69,70,71,72,73,74,75,76) ORDER BY
contentid DESC" rows="10"}
<li><a href="{$r[url]}">{$r[title]}</a></li>
{/get}
用哪种方法就看自己喜好吧,反正个人认为能达到目的就行。