<?php
/**
 * Magento
 *
 * NOTICE OF LICENSE
 *
 * This source file is subject to the Open Software License (OSL 3.0)
 * that is bundled with this package in the file LICENSE.txt.
 * It is also available through the world-wide-web at this URL:
 * http://opensource.org/licenses/osl-3.0.php
 * If you did not receive a copy of the license and are unable to
 * obtain it through the world-wide-web, please send an email
 * to license@magentocommerce.com so we can send you a copy immediately.
 *
 * @category   design_default
 * @package    Mage
 * @copyright  Copyright (c) 2004-2007 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
 * @license    http://opensource.org/licenses/osl-3.0.php  Open Software License (OSL 3.0)
 */
?>

<?php $_product = $this->getProduct() ?>
<?php $_minimalPrice = $_product->getMinimalPrice() ?>
<?php $_id = $_product->getId() ?>

<?php $_kurz = 30.1260; ?>

<?php if (!$_product->isGrouped()): ?>

    <div class="price-box">
    <?php $_price = $_product->getPrice() ?>
    <?php $_finalPrice = $_product->getFinalPrice() ?>

    <?php if ($_finalPrice == $_price): ?>
        <span class="regular-price" id="product-price-<?php echo $_id ?>">
            <?php echo Mage::helper('core')->currency($_price) . " (".round($_price/$_kurz, 2)." EUR)" ?>
        </span>
        <br />
    <?php else: /* if ($_finalPrice == $_price): */ ?>
        <span class="old-price">
            <span class="label"><?php echo $this->__('Regular Price:') ?></span>
            <span class="price" id="old-price-<?php echo $_id ?>">
                <?php echo Mage::helper('core')->currency($_price) . " (".round($_price/$_kurz, 2)." EUR)" ?>
            </span>
        </span>
        <br />
        <span class="special-price">
            <span class="label"><?php echo $this->__('Special Price:') ?></span>
            <span class="price" id="product-price-<?php echo $_id ?>">
                <?php echo Mage::helper('core')->currency($_finalPrice) . " (".round($_finalPrice/$_kurz, 2)." EUR)" ?>
            </span>
        </span>
        <br />
    <?php endif; /* if ($_finalPrice == $_price): */ ?>

    <?php if ($this->getDisplayMinimalPrice() && $_minimalPrice && $_minimalPrice < $_finalPrice): ?>
        <span class="minimal-price">
            <span class="label"><?php echo $this->__('As low as:') ?></span>
            <span class="price" id="product-minimal-price-<?php echo $_id ?>">
                <?php echo Mage::helper('core')->currency($_minimalPrice) . " (".round($_minimalPrice/$_kurz, 2)." EUR)" ?>
            </span>
        </span>
        <br />
    <?php endif; /* if ($this->getDisplayMinimalPrice() && $_minimalPrice && $_minimalPrice < $_finalPrice): */ ?>

    </div>

<?php else: /* if (!$_product->isGrouped()): */ ?>

    <?php if ($this->getDisplayMinimalPrice() && $_minimalPrice): ?>
        <div class="price-box">
            <span class="minimal-price">
                <span class="label"><?php echo $this->__('Starting at:') ?></span>
                <span class="price" id="product-minimal-price-<?php echo $_id ?>">
                    <?php echo Mage::helper('core')->currency($_minimalPrice) . " (".round($_minimalPrice/$_kurz, 2)." EUR)" ?>
                </span>
            </span>
            <br />
        </div>
    <?php endif; /* if ($this->getDisplayMinimalPrice() && $_minimalPrice): */ ?>

<?php endif; /* if (!$_product->isGrouped()): */ ?>
