-
{pc:get sql="SELECT * FROM `v9_togiro_mynews` where thumb != '' order by updatetime desc" rows="2" return="info"}
{loop $info $r}
{/loop} {/pc}
-
{pc:get sql="SELECT * FROM `v9_togiro_mynews` where thumb = '' order by updatetime desc" rows="3" return="info" page="$_GET[page]"}
{loop $info $r}
-
{date('Y年m月', $r[inputtime])}
{date('d', $r[inputtime])}
{/loop} {/pc}
{$wz_pages}
静态页调用方法:
{pc:get sql="SELECT * FROM v9_togiro_mynews" return="data" num="2" page="$page"}{loop $data $r}
{$pages}