<?php 
$features = array(
    array(
        'icon' => 'stone',
        'title_ru' => 'Камни отбираются и<br>проверяются вручную',
        'title_en' => 'The stones are selected<br>and checked manually'
    ),
    array(
        'icon' => 'ribbon',
        'title_ru' => 'Все товары высшего<br>качества',
        'title_en' => 'All products are<br>of the highest quality'
    ),
    array(
        'icon' => 'box',
        'title_ru' => 'Бесплатная доставка<br>камня',
        'title_en' => 'Free shipping'
    ),
);
?>

<div class="lending_area_2 <?php echo isset($class) ? $class : ''; ?>">
    <i class="br40"></i>
    <div style="margin: 0 auto" class="max_width">
        <table class="to_div" style="width: 100%;max-width: 1100px;" cellpadding="0" cellspacing="0">
            <tbody align="center">
            <tr>
                <div class="caption" style="text-align: center;"><?php echo __('Преимущества')?></div>
                <i class="br40"></i>
            </tr>
            <tr>
                <?php
                foreach ($features as $feature) {
                    echo '<td style="vertical-align: middle"><div class="lending_area_2__icon lending_area_2__icon_' . $feature['icon'] . '"></div><br>'. $feature['title_'. $sf_user->getCulture()] .'<i class="br40 mobile"></i></td>';
                }
                ?>
            </tr>
            </tbody>
        </table>
    </div>
    <i class="br50 mobile_hide"></i>
    <i class="br20"></i>
    <?php if (!isset($closeDiv) || (isset($closeDiv) && $closeDiv === true)): ?>
</div>
<?php endif; ?>