need('head.php'); ?> need('header.php'); ?>

Categories

widget('Widget_Metas_Category_List')->to($categories); ?> next()): ?> mid; // 获取主题URL $imgUrl = $this->options->imgurl; // 为每个分类生成图片地址 $categoryImage = $imgUrl . '/' . $categoryId . '.jpg'; ?>
publishedPostsNum)->to($archives); $year = 0; $output = ' '; // Start archives container while ($archives->next()) { $year_tmp = date('Y', $archives->created); if ($year != $year_tmp) { if ($year > 0) { $output .= ''; // 结束上一个年份的月份列表和包裹的div } $year = $year_tmp; $output .= '

' . $year . '

'; // 开始新的年份div } // 输出文章项 $output .= '
'; $output .= ' '; $output .= '
'; } $output .= ' '; // End archives container echo $output; ?>
need('footer.php'); ?>