<?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
 */

?>
<div class="kbase-block kbase-main-top">
    <h2 class="kbase-block-title"><?php printf(Mage::getStoreConfig('kbase/top/title')) ?></h2>

    <ul class="kbase-list level-0">
    <?php foreach($this->getArticles() as $article): ?>
        <li>
            <a href="<?php echo AW_Kbase_Helper_Url::getUrl(AW_Kbase_Helper_Url::URL_TYPE_ARTICLE, $article) ?>"><?php echo htmlspecialchars($article->getArticleTitle()) ?></a>
        </li>
    <?php endforeach; ?>
    </ul>
</div>