{#foreach from=get_categories() item=c#} {#if $c.root_id==0#}
{#$c.cate_name#}
    {#foreach from=get_categories($c.cate_id) item=sc#} {#if $sc.root_id == $c.cate_id#}
  • {#$sc.cate_name#}
  • {#/if#} {#/foreach#}
{#/if#} {#/foreach#}

推荐站点

    {#foreach from=get_websites(0, 8, true) item=best#}
  • {#$best.web_name#}{#$best.web_name#}{#$web.web_intro#}
  • {#/foreach#}

最新点入

    {#foreach from=get_websites(0, 20, false, 'instat') item=instat#}
  • {#$instat.web_name#}
  • {#/foreach#}

最新点出

热门站点

    {#foreach from=get_websites(0, 10, false, 'views') item=hot name=hot_website#}
  • {#$smarty.foreach.hot_website.iteration#}. {#$hot.web_name#}
  • {#/foreach#}

最新收录

    {#foreach from=get_websites(0, 11, False) item=best#}
  • {#$best.web_name#}{#$best.web_name#}

    {#$best.web_intro#}

  • {#/foreach#}

数据归档

    {#foreach from=get_archives() key=year item=arr#}
  • {#$year#}年

    {#foreach from=$arr key=month item=item#} {#$month#}月 {#/foreach#}

  • {#/foreach#}