日期:2014-05-17 浏览次数:20420 次
<ul> {section name=news loop=$arr max=5} <li>{$arr[news].title}</li> {/section} </ul>
SELECT id, title, wdate FROM news ORDER BY id DESC LIMIT 0, 5
SELECT id, title, wdate FROM news ORDER BY id DESC