<?php
defined( 'ABSPATH' ) or exit;

?>

<!-- Page Footer -->
<div class="m-page-footer">

    <div class="m-page-footer__a8c-attr-container">
        <a href="<?php echo MOLONGUI_BUMP_OFFER_WEB; ?>">
            <img src="<?php echo MOLONGUI_BUMP_OFFER_URL . 'assets/img/common/footer_logo.png'; ?>" alt="Molongui" width="152" height="32">
        </a>
    </div>

    <?php if ( !empty( $args['links'] ) ) : ?>
        <ul class="m-page-footer__links">
            <?php foreach( $args['links'] as $link ) : ?>
                <?php if ( $link['display'] ) : ?>
                    <li class="m-page-footer__link-item">
                        <a rel="noopener noreferrer" class="m-page-footer__link"
                           target="<?php echo empty( $link['target'] ) ? '_blank' : $link['target']; ?>"
                           title="<?php echo empty( $link['tip'] ) ? '' : $link['tip']; ?>"
                           href="<?php echo $link['href']; ?>">
                            <?php echo $link['prefix']; ?>
                                <?php echo $link['label']; ?>
                            <?php echo $link['suffix']; ?>
                        </a>
                    </li>
                <?php endif; ?>
            <?php endforeach; ?>
        </ul>
    <?php endif; ?>

</div><!-- !m-page-footer -->