<?php

/**
 * Advanced tools page that contain all other plugins
 * Call back function for  advanced_tools function
 */

function saprfurl_advanced_tools()
{
?>


    <div class="rfurl-main-page">
        <!-- include promotional and header area -->
        <?php
        $admin_promotion_notice = SAPRFURL_TEMPLATES . 'admin-promotion-notice.php';

        if (file_exists($admin_promotion_notice)) {
            require_once $admin_promotion_notice;
        }
        ?>

        <!-- include promotional and header area -->
        <?php
        $saprfurl_promotional_header_template = SAPRFURL_TEMPLATES . 'global-header-design.php';

        if (file_exists($saprfurl_promotional_header_template)) {
            require_once $saprfurl_promotional_header_template;
        }
        ?>

        <div class="wrap">

            <!-- Page heading starts here -->
            <div class="saprfurl-page-heading">
                <h1><?php echo esc_html__('Advanced Tools that Help You Work Smarter from Us', 'refineurl'); ?></h1>
                <p><?php echo esc_html__('A set of smart handpicked tools built to make your daily tasks faster, easier, and more effective.', 'refineurl'); ?></p>
            </div>
            <!-- Page heading ends here -->

            <div class="saprfurl-plugin-promotion-area saprfurl-advanced-tools-body">
                <div class="container">
                    <div class="row">
                        <div class="saprfurl-plugin-row-one saprfurl-plugin-refine-url">
                            <!-- Logo -->
                            <div style="text-align: center;">
                                <img src="<?php echo esc_url(SAPRFURL_ASSETS . 'images/minifly-logo-white.png'); ?>" alt="Plugin Logo" style="max-width: 100px; height: auto;">
                            </div>

                            <!-- Heading -->
                            <h2 style="text-align: center; margin-bottom: 10px;"><?php echo esc_html__('Minifly', 'refineurl'); ?></h2>

                            <!-- Description -->
                            <p style="text-align: center; margin-bottom: 30px;">
                                <?php echo esc_html__('Site Enhancement, White Label and Custom Dashboard Solution for both WordPress and WooCommerce.', 'refineurl'); ?>
                            </p>

                            <!-- Buttons -->
                            <div style="display: flex; justify-content: space-between;">
                                <a href="https://brainywp.com/minifly/" target="_blank" class="button button-primary">
                                    <?php echo esc_html__('Explore Advanced Options', 'refineurl'); ?>
                                </a>
                                <a href="https://wordpress.org/plugins/minifly/" target="_blank" class="button">
                                    <?php echo esc_html__('Get Free', 'refineurl'); ?>
                                </a>
                            </div>

                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
<?php
}
