zblog分类目录面包屑的代码编写
当前位置:<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}
版权声明:如发现本站有涉嫌抄袭侵权/违法违规的内容请联系客服!




