<?php
require_once plugin_dir_path( __FILE__ ) .'header/header-main.php';
require_once plugin_dir_path( __FILE__ ) .'ch-auto-content-tabs.php';
global $wpdb;
?>
<div class="content_hero_container">
<div class="container-fluid" style="margin-top: 15px;padding-left: 0;padding-right: 15px;">
<div class="row">
<div class="postbox" style="width:100%;min-height:150px;">
		<div style="padding:0px 10px;">
		<h3>This area is for PRO users only, if you purchased only the main product without upgrading to PRO. Your license is already active. To start importing click to "Add New Page or New Post" tab and Use the Gutenberg Editor "Block" to see the Plugin Blocks. Watch this import guide to learn how to import <a href="https://training.affiembed.com/imports/">https://training.affiembed.com/imports/</a></h3>
       </div>
		<div style="padding:0px 10px;">
		<h3>If you want to see over 300% increase in your affiliate store conversion <a href="https://affiembed.com/pro">click here to upgrade to PRO</a>
		</h3>	
		</div>
		<div style="padding:0px 10px;">
		<h5>if you already purchased pro version, Please Refresh your token below</h5>
		<form method="post" action="options.php">
		<?php 
			$license = get_option( 'affiembed_license_key' );
		?>
		<tr valign="top">	
			<th scope="row" valign="top">
		        <input style="visibility:hidden;" id="affiembed_license_key" name="affiembed_license_key" type="text" class="regular-text" value="<?php esc_attr_e( $license ); ?>" />
			    <?php _e('Refresh License'); ?>
			</th>
			<td>
				<?php wp_nonce_field( 'affiembed_nonce', 'affiembed_nonce' ); ?>
				<input type="submit" class="button-secondary" name="affiembed_license_activate" value="<?php _e('Refresh My License again'); ?>"/>
			</td>
		</tr>
		</form>
		</div>

</div>
</div>
</div>
</div>