|
|
|
@ -82,37 +82,37 @@ if (!empty($category['files'])) {
@@ -82,37 +82,37 @@ if (!empty($category['files'])) {
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (!empty($breadcrumbs)) { |
|
|
|
|
$totalNum = ''; |
|
|
|
|
if ($total > 0) { |
|
|
|
|
$totalNum = ''; |
|
|
|
|
if ($total > 0) { |
|
|
|
|
$totalNum = <<<eof |
|
|
|
|
<span class="pull-right total">总数 <strong>{$total}</strong></span> |
|
|
|
|
eof; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
echo <<<eof |
|
|
|
|
echo <<<eof |
|
|
|
|
<div class="breadcrumbs text_dark"> |
|
|
|
|
{$totalNum} |
|
|
|
|
<small>当前位置:</small> |
|
|
|
|
<a href="/">首页</a> / |
|
|
|
|
<a href="/">首页</a> |
|
|
|
|
eof; |
|
|
|
|
|
|
|
|
|
if (!empty($breadcrumbs)) { |
|
|
|
|
foreach ($breadcrumbs as $bread) { |
|
|
|
|
if ($bread['id'] != $selectedId) { |
|
|
|
|
echo <<<eof |
|
|
|
|
<a href="{$bread['url']}">{$bread['name']}</a> / |
|
|
|
|
/ <a href="{$bread['url']}">{$bread['name']}</a> |
|
|
|
|
eof; |
|
|
|
|
} else { |
|
|
|
|
echo <<<eof |
|
|
|
|
<strong>{$bread['name']}</strong> |
|
|
|
|
/ <strong>{$bread['name']}</strong> |
|
|
|
|
eof; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
echo <<<eof |
|
|
|
|
echo <<<eof |
|
|
|
|
</div> |
|
|
|
|
eof; |
|
|
|
|
} |
|
|
|
|
?> |
|
|
|
|
|
|
|
|
|
<?php |
|
|
|
|