
<div class="featured_block_multi">

    <div class="box-heading featured-multi-heading">
        <table class="slider_table_style">
            <tr class="slider_tr_style">
                <td class="slider_td_style">
                    <?php echo $heading_title; ?>
                </td>
            </tr>
        </table>
    </div>

    <div class="clearfix">
      <?php
        $featured_count = 0;
      foreach ($products as $product) {
          $featured_count++;
      ?>


    <div class="four columns product <?php echo ($featured_count == 1 ? 'alpha' : ''); ?> <?php echo (($featured_count == 4) ? 'omega' : ''); ?>">
        <?php if ($product['thumb']) { ?>
        <div class="product-image-wrapper">

            <?php if ( $sale !== 'disable') : ?>
            <span class="product_sticker sticker_sale sticker_onsale_<?php echo $saleposition; ?> <?php echo ($sale ? ($product['special'] ? 'sticker_display' : 'sticker_display_none') : 'sticker_display_none'); ?>"></span>
            <?php endif; ?>
            <?php if ( $video !== 'disable') : ?>
            <span class="product_sticker sticker_video sticker_video_<?php echo $videoposition; ?> <?php echo ($video ? (($product['youtube_video'][0] !== '') ? 'sticker_display' : 'sticker_display_none') : 'sticker_display_none'); ?>"></span>
            <?php endif; ?>

            <a class="img_conteiner" href="<?php echo $product['href']; ?>">
                <img class="scale-with-grid image-<?php echo $product['product_id']; ?>" src="<?php echo $product['thumb']; ?>" alt="<?php echo $product['name']; ?>" />
                <?php if ($product['popup']) { ?>
                <div class="roll_over_img">
                    <img class="scale-with-grid" src="<?php echo $product['popup']; ?>" alt="<?php echo $product['name']; ?>" />
                </div>
                <?php } ?>
                <div class="product-image-wrapper-hover"></div>
            </a>
        </div>
        <?php } ?>


        <div class="wrapper-hover">
            <div class="product-price">
                <?php if ($product['price']) { ?>
                <div class="price">
                    <?php if (!$product['special']) { ?>
                    <span><?php echo $product['price']; ?></span>
                    <?php } else { ?>
                    <span class="price-old"><?php echo $product['price']; ?></span>
                    <span class="price-new"><?php echo $product['special']; ?></span>
                    <?php } ?>
                </div>
                <?php } ?>
            </div>

            <div class="product-name">
                <div class="clearfix">
                    <a class="icon_cart_title" onclick="location.href='<?php echo $product['href']; ?>';">
                        <?php echo $product['name-main']; ?>
                    </a>
                    <div class="icon_cart_rollover">
                        <a onclick="addToCartFly('<?php echo $ajaxcart; ?>', '<?php echo $product['product_id']; ?>');"></a>
                    </div>
                </div>
            </div>
        </div>




    </div>


    <?php } ?>

    </div>
</div>