HEX
Server: Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/7.2.34
System: Linux atalantini.com 3.10.0-1127.13.1.el7.x86_64 #1 SMP Tue Jun 23 15:46:38 UTC 2020 x86_64
User: root (0)
PHP: 7.2.34
Disabled: NONE
Upload Files
File: //opt/plugins/wpdiscuz/options/tools-layouts/options-import.php
<?php
if (!defined('ABSPATH')) {
    exit();
}
?>
<div>
    <h2 style="padding:5px 10px 10px 10px; margin:0px;"><?php _e('Import options', 'wpdiscuz'); ?></h2>
    <p style="font-size:13px; color:#999999; width:90%; padding-left:0px; margin-left:10px;">
        <?php _e('Here you can import and restore wpDiscuz options. You just need to choose backup file and click import options.', 'wpdiscuz'); ?> 
    </p>
    <form action="" method="post" class="wc-tools-settings-form wc-form" enctype="multipart/form-data">
        <?php wp_nonce_field('wc_tools_form'); ?>
        <table class="wp-list-table widefat plugins"  style="margin-top:10px; border:none;">
            <tbody>
                <tr>
                    <td>
                        <input type="file" name="wpdiscuz-options-file" class=""/>
                    </td>
                </tr>
                <tr>
                    <td style="text-align:right;">
                        <input type="submit" name="wpdiscuz-import-submit" class="button button-primary" value="<?php _e('Import Options', 'wpdiscuz'); ?>">
                        <input type="hidden" name="tools-action" value="import-options" />
                    </td>
                </tr>
            </tbody>
        </table>
    </form>
</div>