{ephp}$articles = $sys->getTopArticleByCategory('美容',3);{/ephp}

財經

{ephp}$articles = $sys->getTopArticleByCategory('財經',4);{/ephp} {loop $articles $k $article} {/loop}

教育

{ephp}$articles = $sys->getTopArticleByCategory('教育',4);{/ephp}

{$articles[0]['title']}

{ephp}echo sub_str($articles[0]['description'], 200);{/ephp}

{$articles[1]['title']}

{ephp}echo sub_str($articles[1]['description'], 200);{/ephp}

旅遊

美容

{ephp}$articles = $sys->getTopArticleByCategory('美容',4);{/ephp} {loop $articles $k $article}

{$article['title']}

{/loop}

健康

{ephp}$articles = $sys->getTopArticleByCategory('健康',4);{/ephp}

{$articles[0]['title']}

最新文章

{loop $section_data['default']['new_articles'] $k $v}

{$v['title']}

{/loop}

熱門標籤

{loop $section_data['default']['tags'] $k $v}
  • {$k}
  • {/loop}
    {template footer.html}