文章归档

to($stat);?>publishedPostsNum() ?> 篇文章, 文字。
widget('Widget_Contents_Post_Recent', 'pageSize=10000')->to($archives); $year = 0; $mon = 0; while ($archives->next()): if (empty($archives->title) || $archives->title == " ") continue; $year_tmp = date('Y',$archives->created); $mon_tmp = date('m',$archives->created); if ($year != $year_tmp && $year > 0) $output .= ''; if ($year != $year_tmp): $year = $year_tmp; $output .= '

'. $year.'