<div class="wrap about-wrap getbowtied-about-wrap getbowtied-registration-wrap">
	
    <?php 
require_once 'global/pages-header.php';
?>

    <?php 
if ($_SERVER['REQUEST_METHOD'] == 'POST' && !empty($_POST['getbowtied_key'])) {
    $rsp = Getbowtied_Admin_Pages::validate_license(trim($_POST['getbowtied_key']));
} elseif ($_SERVER['REQUEST_METHOD'] == 'POST' && empty($_POST['getbowtied_key']) && empty($_POST['action'])) {
    $rsp = 'Please fill out the product key.';
} elseif ($_SERVER['REQUEST_METHOD'] == 'POST' && $_POST['action'] == 'delkey') {
    delete_option("getbowtied_" . THEME_SLUG . "_license");
    delete_option("getbowtied_" . THEME_SLUG . "_license_expired");
    delete_option("getbowtied_" . THEME_SLUG . "_intercom_email");
}
?>


    <?php 
$activated = get_option("getbowtied_" . THEME_SLUG . "_license");
$expired = get_option("getbowtied_" . THEME_SLUG . "_license_expired");
if ($activated == '') {
    ?>

    	<div class="getbowtied-registration-form">
        	<form id="getbowtied_product_registration" action="" method="POST">
                
                <input type="hidden" name="register" value="true" />
                
                <h2 for="getbowtied_key"><?php