<?php if (!defined('PARENT')) { exit; }
if ($SETTINGS->prodkey == '' || strlen($SETTINGS->prodkey) != 60) {
  $productKey = mswPK();
  $DB->db_query("UPDATE `" . DB_PREFIX . "settings` SET
  `prodkey` = '{$productKey}'
  ");
  $SETTINGS->prodkey = $productKey;
}
?>
  <div class="panel panel-default">
    <div class="panel-heading">
      Purchase Information - Please Read
    </div>
    <div class="panel-body">
      If you would like show your support for this software and enjoy the benefits of the commercial version of <?php echo SCRIPT_NAME; ?>, please consider purchasing a licence. Thank you.<br><br>
      <span class="badge">1</span> Please visit the <a href="https://www.<?php echo SCRIPT_URL; ?>" title="<?php echo mswSH(SCRIPT_NAME); ?>" onclick="window.open(this);return false"><?php echo SCRIPT_NAME; ?> website</a> to <a href="https://www.<?php echo SCRIPT_URL; ?>/#purchase_scroll_area" title="<?php echo mswSH(SCRIPT_NAME); ?>" onclick="window.open(this);return false">purchase a commercial licence</a>.<br><br>
      <span class="badge">2</span> Once payment has been completed you will be redirected to the <a href="https://www.maianmedia.com/accounts/view/dashboard" onclick="window.open(this);return false">Maian Media Licence Centre</a>.<br><br>
      <span class="badge">3</span> Generate your &#039;<span class="highlighter">licence.lic</span>&#039; licence file using the onscreen instructions. To generate a licence file you will need the unique <span class="highlighter">60 character product key</span> shown below.<br><br>
      <span class="badge">4</span> Upload the &#039;<span class="highlighter">licence.lic</span>&#039; file into your software installation folder and replace the default one.<br><br>
      <span class="badge">5</span> Enter your footer information on the main <a href="index.php?p=settings">settings</a> page (This is unavailable in the free version).
    </div>
  </div>

  <div class="panel panel-default">
    <div class="panel-heading">
      Commercial Version Benefits
    </div>
    <div class="panel-body" style="line-height:25px">
      Besides unlocking ALL the <a href="https://www.<?php echo SCRIPT_URL; ?>/licence-free" onclick="window.open(this);return false">free restrictions</a>, the full version has the following benefits:<br><br>
      <i class="fa fa-check-circle fa-fw"></i> ALL Future upgrades FREE of Charge<br>
      <i class="fa fa-check-circle fa-fw"></i> Notifications of new version releases<br>
      <i class="fa fa-check-circle fa-fw"></i> All features unlocked and unlimited<br>
      <i class="fa fa-check-circle fa-fw"></i> Copyright removal included in price<br>
      <i class="fa fa-check-circle fa-fw"></i> Free 3 months personal support<br>
      <i class="fa fa-check-circle fa-fw"></i> No links in email footers<br>
      <i class="fa fa-check-circle fa-fw"></i> One off payment, no subscriptions<br><br>
      A <a href="https://www.<?php echo SCRIPT_URL; ?>/licence-white-label" onclick="window.open(this);return false">white label licence</a> is also available for you to sell the system as your own with no reference to Maian Media.<br><br>
      Check out the <a href="https://www.<?php echo SCRIPT_URL; ?>/licence-standard" onclick="window.open(this);return false">feature comparison matrix</a> on the <?php echo SCRIPT_NAME; ?> website. If you have any questions, please <a href="https://www.maianmedia.com/support" onclick="window.open(this);return false">contact us</a>.
    </div>
  </div>

  <div class="panel panel-default" style="margin-bottom:50px">
    <div class="panel-heading">
      Unique Product Key
    </div>
    <div class="panel-body" style="overflow-y:auto">
      <?php echo strtoupper($SETTINGS->prodkey); ?>
    </div>
  </div>
