2013-05-13 02:50:06 +00:00
|
|
|
<?php if(!empty($this->nav)){ ?>
|
|
|
|
<nav>
|
|
|
|
<ul class="breadcrumb">
|
|
|
|
<?php foreach ($this->nav as $k=>$v){?>
|
|
|
|
<li>
|
|
|
|
<a href="<?= $v['link'] ?>"><?= $v['title']?></a> <?php if(isset($this->nav[$k+1])) {?> <span class="divider">/</span> <?php } ?>
|
|
|
|
</li>
|
|
|
|
<?php } ?>
|
|
|
|
</ul>
|
|
|
|
</nav>
|
|
|
|
<?php } ?>
|