# floating-button/5.1.1/admin/page-tools.php

Floating Button – Easily Create Sticky, Fixed &amp; Floating Buttons, version 5.1.1. 67 lines.

- Page: https://pluginprobe.com/plugins/floating-button/5.1.1/code/admin/page-tools.php
- Raw: https://pluginprobe.com/plugins/floating-button/5.1.1/raw/admin/page-tools.php
- Modified: 2021-11-08T13:54:56+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/floating-button/5.1.1/code/admin/page-tools.php#L10-L20`.

```php
<?php

/**
 * Tools page
 *
 * @package     Wow_Plugin
 * @subpackage  Admin/Main_page
 * @author      Wow-Company <helper@wow-company.com>
 * @copyright   2019 Wow-Company
 * @license     GNU Public License
 * @version     1.0
 */

if ( ! defined( 'ABSPATH' ) ) {
	exit;
}

?>

    <div class="wrap">
        <div class="box">
            <h3><span><?php esc_attr_e( 'Export Settings', $this->plugin['text'] ); ?></span></h3>
            <div class="inside">
                <p><?php
					printf( esc_attr__( 'Export the  settings for %s as a .json file. This allows you to easily import the configuration into another site.', $this->plugin['text'] ), '<b>' . esc_attr( $this->plugin['name'] ) . '</b>' );; ?></p>
                <form method="post" action="">
                    <p><input type="hidden" name="wow_action" value="export_database"/></p>
                    <p>
						<?php wp_nonce_field( $this->plugin['slug'] . '_export_nonce', $this->plugin['slug'] . '_export_nonce' ); ?><?php submit_button( __( 'Export', $this->plugin['text'] ), 'secondary', 'submit', false ); ?>
                    </p>
                </form>
            </div>
        </div>

        <div class="box">
            <h3><span><?php esc_attr_e( 'Import Settings', $this->plugin['text'] ); ?></span></h3>
            <div class="inside">
                <p><?php
					printf( esc_attr__( 'Import the %s settings from a .json file. This file can be obtained by exporting the settings on another site using the form above.', $this->plugin['text'] ), '<b>' . esc_attr( $this->plugin['name'] ) . '</b>    ' );; ?></p>
                <form method="post" enctype="multipart/form-data" action="">
                    <p>
                        <input type="file" name="import_file"/>
                    </p>
                    <p>
                        <label>
                            <input type="checkbox" name="wow_import_update" value="1">
							<?php esc_attr_e( 'Update item if item already exists.' ); ?>
                        </label>

                    </p>

                    <p>
                        <input type="hidden" name="wow_action" value="import_database"/>
						<?php wp_nonce_field( $this->plugin['slug'] . '_import_nonce', $this->plugin['slug'] . '_import_nonce' ); ?>
						<?php submit_button( __( 'Import', $this->plugin['text'] ), 'secondary', 'submit', false ); ?>
                    </p>
                </form>
            </div>
        </div>


    </div>

<?php



```
