| 1 |
<?php |
| 2 |
|
| 3 |
defined('ABSPATH') or die('Jog on!'); |
| 4 |
|
| 5 |
function sh_cd_page_upgrade() { |
| 6 |
?> |
| 7 |
<div class="wrap ws-ls-admin-page"> |
| 8 |
<div id="icon-options-general" class="icon32"></div> |
| 9 |
<div id="poststuff"> |
| 10 |
<div id="post-body" class="metabox-holder columns-2"> |
| 11 |
<div id="post-body-content"> |
| 12 |
|
| 13 |
<div class="meta-box-sortables ui-sortable"> |
| 14 |
<div class="postbox"> |
| 15 |
<h3 class="postbox-header"> |
| 16 |
<span> |
| 17 |
<i class="fa-regular fa-star"></i> <?php echo __( 'Upgrade to Premium and get much more!', SH_CD_SLUG ); ?> |
| 18 |
</span> |
| 19 |
</h3> |
| 20 |
<div class="inside"> |
| 21 |
<?php sh_cd_marketing_upgrade_page_text(); ?> |
| 22 |
</div> |
| 23 |
</div> |
| 24 |
</div> |
| 25 |
</div> |
| 26 |
|
| 27 |
<div id="postbox-container-1" class="postbox-container"> |
| 28 |
<div class="meta-box-sortables"> |
| 29 |
|
| 30 |
<div class="postbox"> |
| 31 |
<h3 class="postbox-header"> |
| 32 |
<span> |
| 33 |
<?php echo __( 'How to upgrade', SH_CD_SLUG ); ?> |
| 34 |
</span> |
| 35 |
</h3> |
| 36 |
<div class="inside"> |
| 37 |
<p><?php echo __( 'To upgrade, you must perform the following steps:', SH_CD_SLUG ); ?><p> |
| 38 |
</p><?php echo __( '1. Download, install and activate the Premium plugin.', SH_CD_SLUG ); ?> </p> |
| 39 |
<?php sh_cd_premium_shortcode_download() ?> |
| 40 |
<p><?php echo __( '2. Purchase a license for the plugin and apply it. In case you need, your <strong>Site Hash</strong> is', SH_CD_SLUG ); ?> <?php echo esc_html( sh_cd_generate_site_hash() ); ?>.</p> |
| 41 |
<?php sh_cd_upgrade_button(); ?> |
| 42 |
</div> |
| 43 |
</div> |
| 44 |
</div> |
| 45 |
</div> |
| 46 |
</div> |
| 47 |
<?php |
| 48 |
} |
| 49 |
?> |
| 50 |
|