{template "header.html"}
共享栏目

- 首页
{category module=share pid=0}
- {$t.name} {if $t.child}
  {category module=share pid=$t.id return=t2}
  - {$t2.name} {if $t2.child}
    {category module=share pid=$t2.id return=t3}
    - {$t3.name}
    {/category}
    {/if}
  {/category}
  {/if}
{/category}

搜索功能

{php $top_search=[];} {cache name=module-content} {if $t.search} {php !$top_search && $top_search=$t;}
- {$t.name}
{/if} {/cache}

{module module=news order=updatetime num=10}
- {dr_strcut($t.title, 28)}
{/module}

{template "footer.html"}