?>
</h2>
<?php
}
if ($by_year) {
?>
<ul>
<?php
foreach ($categories as $key => $category) {
?>
<li class="category-year"><span><?php
$bcBaser->link($key . '年', array('plugin' => null, 'controller' => $blogContent['BlogContent']['name'], 'action' => 'archives', 'date', $key));
?>
</span>
<?php
echo $blog->getCategoryList($category, $depth, $view_count, array('named' => array('year' => $key)));
?>
</li>
<?php
}
?>
</ul>
<?php
} else {
?>
<?php
echo $blog->getCategoryList($categories, $depth, $view_count);
}
?>
</div>