<?php

/**
 * aheadWorks Co.
 *
 * NOTICE OF LICENSE
 *
 * This source file is subject to the EULA
 * that is bundled with this package in the file LICENSE.txt.
 * It is also available through the world-wide-web at this URL:
 * http://ecommerce.aheadworks.com/LICENSE-M1.txt
 *
 * @category   AW
 * @package    AW_Kbase
 * @copyright  Copyright (c) 2008-2010 aheadWorks Co. (http://www.aheadworks.com)
 * @license    http://ecommerce.aheadworks.com/LICENSE-M1.txt
 */

if(!$this->_items) return;

?>
<div class="breadcrumbs">
    <ul>
        <?php foreach($this->_items as $index => $item): ?>
            <li>
                <?php if($index): ?><span> / </span><?php endif; ?>
                <?php if($item['url']): ?>
                    <a href="<?php echo $item['url'] ?>" title="<?php echo $item['title'] ?>" ><?php echo $item['name'] ?></a>
                <?php else: ?>
                    <strong><?php echo $item['name'] ?></strong>
                <?php endif; ?>
            </li>
        <?php endforeach; ?>
    </ul>
</div>
