{template "content","header"}
{pc:get sql="SELECT * FROM v9_togiro_mynews" return="data" num="2" page="$_GET[page]"}{loop $data $r}
  • {$r['title']}
  • {/loop}{/pc}
    {$wz_pages}
    静态页调用方法: {pc:get sql="SELECT * FROM v9_togiro_mynews" return="data" num="2" page="$page"}{loop $data $r}
  • {$r['title']}
  • {/loop}{/pc}
    {$pages}

    ...

    共100页

    {template "content","footer"}