<?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>