<?php defined('ABSPATH') or die('No script kiddies please!'); ?>
<div class="wrap wpwab-wrap">

    <div class="wpwab-content-wrap">
        <div class="wpwab-position-setting">
            <div class="wpwab-field-wrap ">
                <label><?php _e('Button Position', wpwab_TD); ?></label>
                <div class="wpwab-field ">
                    <select name=wpwab_settings[multi][button_location] value="<?php if (!empty($wpwab_settings['multi']['button_location'])) selected($wpwab_settings['multi']['button_location']); ?>" id="wpwab-button-location">
                        <option data-img ='<?php echo wpwab_IMG_DIR . '/position-1/' . 'bottom_left' . '.png' ?>' value="bottom_left" id="wpwab-bottom-left" <?php if (isset($wpwab_settings['multi']['button_location']) && $wpwab_settings['multi']['button_location'] == 'bottom_left') echo 'selected=="selected"'; ?>><?php _e('Bottom Left', wpwab_TD); ?></option>
                        <option data-img ='<?php echo wpwab_IMG_DIR . '/position-1/' . 'bottom_right' . '.png' ?>' value="bottom_right" id="wpwab-bottom-right" <?php if (isset($wpwab_settings['multi']['button_location']) && $wpwab_settings['multi']['button_location'] == 'bottom_right') echo 'selected=="selected"'; ?>><?php _e('Bottom Right', wpwab_TD) ?></option>
                    </select>

                    <div class="wpwab-position-common" id="wpwab-position-demo-<?php echo $wpwab_settings['button_location'] ?>" >
                        <div class="button-position-preview wpwab-border-design">
                            <img src="<?php echo wpwab_IMG_DIR . '/position-1/' . $wpwab_settings['button_location'] . '.png' ?>"/>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
