当前位置:<a href="{$host}">网站首页</a>
{if $type=='category'}
{php}
$html='';
function navcate($id){
global $html;
$cate = new Category;
$cate->LoadInfoByID($id);
$html = ' > <a href="'.$cate->Url.'" title="查看'.$cate->Name.'中的全部文章">'.$cate->Name.'</a>'.$html;
if(($cate->ParentID)>0){
navcate($cate->ParentID);
}
}
navcate($category->ID);
global $html;
echo $html;
{/php}
{else}
> {$title}
{/if}
效果示例: 当前位置:网站首页 > 一级分类 > 二级分类 > 三级分类