+

标签云

+ widget('Widget_Metas_Tag_Cloud', 'sort=mid&ignoreZeroCount=1&desc=0&limit=30')->to($tags); ?> + have()): ?> + + +

+ +
+

文章归档

+
    + widget('Widget_Contents_Post_Recent', 'pageSize=10000')->to($archives); + $year=0; $mon=0; $i=0; $j=0; + $output = '
    '; + while($archives->next()): + $year_tmp = date('Y',$archives->created); + $mon_tmp = date('m',$archives->created); + $y=$year; $m=$mon; + if ($year != $year_tmp) { + $year = $year_tmp; + $output .= '

    '. $year .' 年

    '; //输出年份 + } + $mon = $mon_tmp; + $output .= '
  • '. $mon .'-'.date('d ',$archives->created).'  '. $archives->title .'
  • '; //输出文章日期和标题 + endwhile; + $output .= '
    '; + echo $output; + ?> +
+