<span class="breadcrumbs">
<span class="left">
<span class="container">
<? foreach ($this->shopNav as $key => $page):
?>
<a href="<?=$page['url']?>"><?=$page['label']?></a>
<? if ($key < count($this->shopNav) - 1) {
echo '/ ';
}
?>
<? endforeach; ?>
</span>
</span>
<span class="right"></span>
</span>
<span class="breadcrumbs">
<span class="left">
<span class="container">
<?
foreach ($this->shopNav as $key => $page)
if ($key < count($this->shopNav) - 1)
{
?><a href="<?=$page['url']?>"><?=$page['label']?></a> / <?
}
else echo $page['label'];
?>
</span>
</span>
<span class="right"></span>
</span>
<span class="breadcrumbs">
<span class="left">
<span class="container">
<? foreach ($this->shopNav as $key => $page): ?>
<? if ($key < count($this->shopNav) - 1): ?>
<a href="<?= $page['url'] ?>"><?= $page['label'] ?></a> /
<? elseif: ?>
<?= $page['label'] ?>
<? endif; ?>
<? endforeach; ?>
</span>
</span>
<span class="right"></span>
</span>
<span class="breadcrumbs">
<span class="left">
<span class="container">
<? foreach ($this->shopNav as $key => $page) {
echo "<a href=\"".$page["url"]."\">".$page['label']."</a>";
if ($key < count($this->shopNav) - 1) {
echo '/ ';
}
}
?>
</span>
</span>
<span class="right"></span>
</span>