| 1 |
<?php |
| 2 |
defined('ABSPATH') or die('Unauthorized Access'); |
| 3 |
$buy_url = 'https://exeebit.com/phpinfo-wp#pricing'; |
| 4 |
$license_url = admin_url('admin.php?page=phpinfowp-license'); |
| 5 |
|
| 6 |
$pillars = [ |
| 7 |
[ |
| 8 |
'icon' => 'dashicons-shield', |
| 9 |
'name' => 'Safeguard', |
| 10 |
'tag' => "Don't break your site.", |
| 11 |
'items' => ['Update Guard (Core audit)', 'PHP Compatibility Scanner', 'Config Snapshots & diff', 'Security Headers audit'], |
| 12 |
], |
| 13 |
[ |
| 14 |
'icon' => 'dashicons-performance', |
| 15 |
'name' => 'Optimize', |
| 16 |
'tag' => 'Performance & Best Practices.', |
| 17 |
'items' => ['Full Config Grader with fixes', 'Web Server Snippet Library', 'Database health & autoload', 'OPcache dashboard'], |
| 18 |
], |
| 19 |
[ |
| 20 |
'icon' => 'dashicons-visibility', |
| 21 |
'name' => 'Monitor', |
| 22 |
'tag' => "Know what's wrong before clients call.", |
| 23 |
'items' => ['SSL certificate monitor', 'External API Monitor', 'Error Log viewer', 'WP Cron monitor', 'Mail deliverability'], |
| 24 |
], |
| 25 |
[ |
| 26 |
'icon' => 'dashicons-portfolio', |
| 27 |
'name' => 'Deliver', |
| 28 |
'tag' => 'Look professional to clients.', |
| 29 |
'items' => ['White-label PDF Audit Report', 'Email alerts on issues', 'Weekly health digest', 'Slack / Discord webhooks', 'Multi-site (Network) support'], |
| 30 |
], |
| 31 |
]; |
| 32 |
?> |
| 33 |
<div class="phpinfowp-upgrade-gate"> |
| 34 |
<div class="phpinfowp-upgrade-inner"> |
| 35 |
|
| 36 |
<div class="phpinfowp-upgrade-badge"><?php _e('PRO', 'phpinfo-wp'); ?></div> |
| 37 |
<h2 class="phpinfowp-upgrade-title"><?php _e('Upgrade to phpinfo() WP Pro', 'phpinfo-wp'); ?></h2> |
| 38 |
<p class="phpinfowp-upgrade-subtitle"><?php _e('The WordPress server health audit you can hand to clients.', 'phpinfo-wp'); ?></p> |
| 39 |
|
| 40 |
<div class="phpinfowp-upgrade-pillars"> |
| 41 |
<?php foreach ($pillars as $p): ?> |
| 42 |
<div class="phpinfowp-upgrade-pillar"> |
| 43 |
<div class="phpinfowp-upgrade-pillar-icon"> |
| 44 |
<span class="dashicons <?php echo esc_attr($p['icon']); ?>"></span> |
| 45 |
</div> |
| 46 |
<div class="phpinfowp-upgrade-pillar-name"><?php echo esc_html($p['name']); ?></div> |
| 47 |
<div class="phpinfowp-upgrade-pillar-tag"><?php echo esc_html($p['tag']); ?></div> |
| 48 |
<ul class="phpinfowp-upgrade-pillar-items"> |
| 49 |
<?php foreach ($p['items'] as $item): ?> |
| 50 |
<li><?php echo esc_html($item); ?></li> |
| 51 |
<?php endforeach; ?> |
| 52 |
</ul> |
| 53 |
</div> |
| 54 |
<?php endforeach; ?> |
| 55 |
</div> |
| 56 |
|
| 57 |
<div class="phpinfowp-upgrade-plans-header"> |
| 58 |
<h3 class="phpinfowp-upgrade-plans-title"><?php _e('Choose your plan', 'phpinfo-wp'); ?></h3> |
| 59 |
<p class="phpinfowp-upgrade-plans-note"><?php _e('Every plan unlocks <strong>every feature above</strong> — the only difference is the number of sites and update window.', 'phpinfo-wp'); ?></p> |
| 60 |
</div> |
| 61 |
|
| 62 |
<div class="phpinfowp-upgrade-pricing"> |
| 63 |
<div class="phpinfowp-upgrade-price-tier"> |
| 64 |
<div class="phpinfowp-upgrade-price-name"><?php _e('Single', 'phpinfo-wp'); ?></div> |
| 65 |
<div class="phpinfowp-upgrade-price-value">$29<small>/yr</small></div> |
| 66 |
<div class="phpinfowp-upgrade-price-sub"><?php _e('1 site · Essential features · Branded reports', 'phpinfo-wp'); ?></div> |
| 67 |
</div> |
| 68 |
<div class="phpinfowp-upgrade-price-tier is-featured"> |
| 69 |
<div class="phpinfowp-upgrade-price-name"><?php _e('Unlimited', 'phpinfo-wp'); ?></div> |
| 70 |
<div class="phpinfowp-upgrade-price-value">$69<small>/yr</small></div> |
| 71 |
<div class="phpinfowp-upgrade-price-sub"><?php _e('Unlimited sites · White-labeled · Weekly digests', 'phpinfo-wp'); ?></div> |
| 72 |
<div class="phpinfowp-upgrade-price-best"><?php _e('Best value', 'phpinfo-wp'); ?></div> |
| 73 |
</div> |
| 74 |
<div class="phpinfowp-upgrade-price-tier"> |
| 75 |
<div class="phpinfowp-upgrade-price-name"><?php _e('Lifetime', 'phpinfo-wp'); ?></div> |
| 76 |
<div class="phpinfowp-upgrade-price-value">$149<small>once</small></div> |
| 77 |
<div class="phpinfowp-upgrade-price-sub"><?php _e('Unlimited sites · Lifetime updates · White-labeled', 'phpinfo-wp'); ?></div> |
| 78 |
</div> |
| 79 |
</div> |
| 80 |
|
| 81 |
<div class="phpinfowp-upgrade-actions"> |
| 82 |
<a href="<?php echo esc_url($buy_url); ?>" target="_blank" class="phpinfowp-upgrade-cta"> |
| 83 |
Get Pro → |
| 84 |
</a> |
| 85 |
<a href="<?php echo esc_url($license_url); ?>" class="phpinfowp-upgrade-secondary"> |
| 86 |
I already have a license |
| 87 |
</a> |
| 88 |
</div> |
| 89 |
|
| 90 |
<p class="phpinfowp-upgrade-footer"><?php _e('14-day money-back guarantee · Instant delivery · Site-locked license', 'phpinfo-wp'); ?></p> |
| 91 |
</div> |
| 92 |
</div> |
| 93 |
|