/**
  * The global page load
  * 
  */
 public function load_AmazonAutoLinks_AdminPage()
 {
     // Check the support rate and ads visibility
     if (!(isset($_GET['tab'], $_GET['bounce_url']) && $_GET['tab'] == 'support') && !$this->oOption->arrOptions['aal_settings']['support']['agreed'] && $this->oOption->isSupportMissing()) {
         $strBounceURL = htmlspecialchars_decode(AmazonAutoLinks_WPUtilities::getCurrentAdminURL());
         $strBounceURL = str_replace('tab=support', '', $strBounceURL);
         // prevent infinite redirects            ;
         $strBounceURL = remove_query_arg('aal-option-upgrade', $strBounceURL);
         AmazonAutoLinks_WPUtilities::setTransient('AAL_BounceURL', $strBounceURL, 60 * 10);
         exit(wp_redirect(admin_url('edit.php?post_type=' . AmazonAutoLinks_Commons::PostTypeSlug . '&page=aal_settings&tab=support&bounce_url=AAL_BounceURL')));
     }
     // Check the v1 options exist and redirect to the v1 options importer.
     if (!(isset($_GET['tab'], $_GET['bounce_url']) && ($_GET['tab'] == 'import_v1_options' || $_GET['tab'] == 'support')) && !$this->oOption->arrOptions['aal_settings']['import_v1_options']['dismiss'] && false !== get_option('amazonautolinks')) {
         $strBounceURL = htmlspecialchars_decode(AmazonAutoLinks_WPUtilities::getCurrentAdminURL());
         $strBounceURL = str_replace('tab=import_v1_options', '', $strBounceURL);
         // prevent infinite redirects
         AmazonAutoLinks_WPUtilities::setTransient('AAL_BounceURL_Importer', $strBounceURL, 60 * 10);
         $this->setAdminNotice(sprintf(__('Please upgrade the options of previous versions of the plugin by clicking <a href="%1$s">here</a>.', 'amazon-auto-links') . ' ' . __('Before you do it, please <strong>back up</strong> the database.', 'amazon-auto-links') . ' ' . __('Dismiss this message by clicking <a href="%2$s">here</a>.', 'amazon-auto-links'), admin_url('edit.php?post_type=' . AmazonAutoLinks_Commons::PostTypeSlug . '&page=aal_settings&tab=import_v1_options&bounce_url=AAL_BounceURL_Importer'), admin_url('edit.php?post_type=' . AmazonAutoLinks_Commons::PostTypeSlug . '&page=aal_settings&tab=import_v1_options&action=dismiss&bounce_url=AAL_BounceURL_Importer')), 'error');
         return;
     }
     // Check v1 option importer messages
     if (isset($_GET['aal-option-upgrade'])) {
         switch ($_GET['aal-option-upgrade']) {
             case 'not-found':
                 $this->setAdminNotice(__('Could not find the options to import.', 'amazon-auto-links'), 'error');
                 break;
             case 'succeed':
                 $this->setAdminNotice(sprintf(__('Options have been imported. ( %1$s unit(s) )', 'amazon-auto-links'), $_GET['count']), 'updated');
                 break;
             case 'partial':
                 $this->setAdminNotice(sprintf(__('Options been partially imported. ( %1$s unit(s) )', 'amazon-auto-links'), $_GET['count']), 'error');
                 break;
             case 'failed':
                 $this->setAdminNotice(__('No unit was imported.', 'amazon-auto-links'), 'error');
                 break;
         }
     }
     // 3+ Add a setting notice to upgrade the options to v3
     $_sBounceURL = htmlspecialchars_decode(AmazonAutoLinks_WPUtilities::getCurrentAdminURL());
     $_sBounceURL = str_replace('tab=create_v3_options', '', $_sBounceURL);
     // prevent infinite redirects
     AmazonAutoLinks_WPUtilities::setTransient('AAL_BounceURL_Importer', $_sBounceURL, 60 * 10);
     $this->setAdminNotice('<strong>' . AmazonAutoLinks_Commons::Name . '</strong>: ' . sprintf(__('Please upgrade the options by clicking <strong><a href="%1$s">here</a></strong>.', 'amazon-auto-links') . ' ' . __('Before you do it, please <strong>back up</strong> the database.', 'amazon-auto-links'), admin_url('edit.php?post_type=' . AmazonAutoLinks_Commons::PostTypeSlug . '&page=aal_settings&tab=create_v3_options&bounce_url=AAL_BounceURL_Importer')), 'error');
 }