{* TODO: missing *}
{* box_cache name=footer_right htmlonly=1 *}

{block name=footerMain_trusted_shops}
<div class="trusted-shops">
    {box name=trusted_shops_seal}
    {box name=trusted_shops_video}
</div>
{/block}

<footer class="footer-{$selected_footer}">

    {block name=footerMain_storeClaim}
        {if $smarty.const.FOOTER_STORE_SLOGAN eq 'true' && $smarty.const._STORE_STORE_CLAIM|trim != ''}
        <div class="footer-slogan">{$smarty.const._STORE_STORE_CLAIM}</div>
        {/if}
    {/block}

    <div class="footer-wrapper">

        {block name=footerMain_footerTop}
        <div class="footer-top">
            <div class="container">
                <div class="row">
                    {box_cache name=footer_contact htmlonly=1}

                    {box_cache name=xgx_newsletter_subscription type=user}

                    {box name=trusted_shops_ratings}

                    <div class="footer-col search">
                        <div class="footer-box">
                            <div class="footer-head">{txt key=TEXT_SEARCH}</div>
                            {box name=search_footer htmlonly=1}
                        </div>
                    </div>

                    {if $smarty.const.SOCIAL_MEDIA eq 'true' && $smarty.const.SOCIAL_MEDIA_FOOTER eq 'true'}
                    <div class="footer-col social">
                        <div class="footer-box">
                            <div class="footer-head">{txt key=TEXT_XGX_BARE_SOCIAL_MEDIA}</div>
                            <ul class="footer-social list-inline">
                                {if $smarty.const.SOCIAL_MEDIA_LINK_FACEBOOK neq ''}<li><a href="{$smarty.const.SOCIAL_MEDIA_LINK_FACEBOOK}" target="_blank"><i class="fa fa-facebook" aria-hidden="true"></i></a></li>{/if}
                                {if $smarty.const.SOCIAL_MEDIA_LINK_TWITTER neq ''}<li><a href="{$smarty.const.SOCIAL_MEDIA_LINK_TWITTER}" target="_blank"><i class="fa fa-twitter" aria-hidden="true"></i></a></li>{/if}
                                {if $smarty.const.SOCIAL_MEDIA_LINK_INSTAGRAM neq ''}<li><a href="{$smarty.const.SOCIAL_MEDIA_LINK_INSTAGRAM}" target="_blank"><i class="fa fa-instagram" aria-hidden="true"></i></a></li>{/if}
                                {if $smarty.const.SOCIAL_MEDIA_LINK_GOOGLE_PLUS neq ''}<li><a href="{$smarty.const.SOCIAL_MEDIA_LINK_GOOGLE_PLUS}" target="_blank"><i class="fa fa-google-plus" aria-hidden="true"></i></a></li>{/if}
                            </ul>
                        </div>
                    </div>
                    {/if}

                </div>
            </div>
        </div>
        {/block}

        {block name=footerMain_googleMaps}
            {if $smarty.const.FOOTER_GOOGLE_MAPS eq 'true' && $smarty.const.FOOTER_GOOGLE_MAPS_LINK neq ''}
            <div class="google-wrapper locked">
                <iframe src="{$smarty.const.FOOTER_GOOGLE_MAPS_LINK}" width="100%" height="350" frameborder="0" style="border:0"></iframe>
            </div>
            {/if}
        {/block}

        {block name=footerMain_footerBottom}
        <div class="footer-bottom">
            <div class="container">
                <div class="row">
                    {box_cache name=payment_logos tpl='box_footer_payment_logos.html'}
                    {box_cache name=footer_shipping_logos htmlonly=1}

                    {if $smarty.const.FOOTER_MANUFACTURER_BOX eq 'true' && $smarty.const.FOOTER_CURRENCY_BOX eq 'true' && $smarty.const.FOOTER_CUSTOM_SHIPPING_LOGOS eq 'true' && $smarty.const.CUSTOM_SHIPPING_LOGOS neq ''}
                    <div class="footer-col factur currency">
                    {/if}

                    {box_cache name=manufacturers order_by='m.manufacturers_name' tpl='box_footer_manufacturers.html'}
                    {box_cache name=currency tpl='box_footer_currency.html'}

                    {if $smarty.const.FOOTER_MANUFACTURER_BOX eq 'true' && $smarty.const.FOOTER_CURRENCY_BOX eq 'true' && $smarty.const.FOOTER_CUSTOM_SHIPPING_LOGOS eq 'true' && $smarty.const.CUSTOM_SHIPPING_LOGOS neq ''}
                    </div>
                    {/if}

                    {box_cache name=footer_left htmlonly=1}
                </div>
            </div>
        </div>
        {/block}

        {block name=footerMain_textMuted}
        <div class="text-muted text-center">
            [<copyright>]

            {if $smarty.const.FOOTER_SEOTEXT_CONTENT neq ''}
            {content cont_id=$smarty.const.FOOTER_SEOTEXT_CONTENT}
            <div class="seo-text">{$_content_{$smarty.const.FOOTER_SEOTEXT_CONTENT}.content_body}</div>
            {/if}


            {hook key=index_footer_tpl}
            {box name=trusted_shops_rich_snippet}
            <img src="cronjob.php" width="1" height="1" style="display:none;" alt="" />
        </div>
        {/block}
    </div>
</footer>