<?php

if (!defined('ABSPATH')) {
    exit; // Exit if accessed directly
}

$container_style = 'tfl-container';

?>

<div class="tfl-logo-footer-items tfl-logo-footer-items-<?php echo $settings['style']; ?> <?php echo $container_style; ?>">
    <div class="row">
        <div class="col-left">
            <div class="wrap-logo">
            <?php
            if ($settings['lfooter_main']) {
                $settings['thumbnail_size_size'] = 'full';
                $image_html = tfl_get_image_html($settings['lfooter_main'], 'thumbnail_size', $settings);
                echo $image_html;
            }
            ?>
            </div>
        </div>

        <div class="col-right">
            <div class="list-icons">
                <div class="row">
                    <?php foreach ($settings['items'] as $index => $item): ?>

                        <?php $args['index'] = $index; ?>

                        <?php $args['item'] = $item; ?>

                        <?php tfl_get_template_part("addons/logo-footer/style1", $args); ?>

                    <?php endforeach; ?>
                </div>
            </div>
        </div>
    </div>

</div>

<div class="tfl-clear"></div>