PluginProbe ʕ •ᴥ•ʔ
Superb Addons: Blocks, Patterns, Pre-built Pages, Sliders, Popups, Free Forms, Animations & More / 3.0.7
Superb Addons: Blocks, Patterns, Pre-built Pages, Sliders, Popups, Free Forms, Animations & More v3.0.7
4.0.7 4.0.6 4.0.5 4.0.4 4.0.3 4.0.2 4.0.1 4.0.0 trunk 1.0.0 2.0.0 2.0.1 2.0.2 2.0.3 3.0 3.0.1 3.0.2 3.0.5 3.0.6 3.0.7 3.0.8 3.0.9 3.1.0 3.1.2 3.1.3 3.2.0 3.2.1 3.2.2 3.2.4 3.2.5 3.2.7 3.2.8 3.2.9 3.3.0 3.3.1 3.3.2 3.4.0 3.4.1 3.4.2 3.4.5 3.4.6 3.5.0 3.5.1 3.5.2 3.5.3 3.5.4 3.5.6 3.5.7 3.5.8 3.5.9 3.6.0 3.6.1 3.6.2 3.7.0 3.7.1
superb-blocks / src / components / admin / class-premium-box-large.php
superb-blocks / src / components / admin Last commit date
class-content-box-large.php 2 years ago class-input-checkbox.php 2 years ago class-link-box.php 2 years ago class-modal-feedback.php 2 years ago class-modal.php 2 years ago class-navigation.php 2 years ago class-premium-box-large.php 2 years ago class-premium-box.php 2 years ago class-premium-feature-list.php 2 years ago class-review-box.php 2 years ago class-support-box.php 2 years ago class-support-link-boxes.php 2 years ago
class-premium-box-large.php
51 lines
1 <?php
2
3 namespace SuperbAddons\Components\Admin;
4
5 defined('ABSPATH') || exit();
6
7 use SuperbAddons\Data\Controllers\KeyController;
8
9 class PremiumBoxLarge
10 {
11 public function __construct()
12 {
13 if (KeyController::HasPremiumKey()) {
14 $this->RenderHasPremium();
15 return;
16 }
17
18 $this->Render();
19 }
20
21 private function Render()
22 {
23 ?>
24 <div class="superbaddons-admindashboard-content-box-large superbaddons-admindashboard-settings-premium-image-box-large superbaddons-admindashboard-content-box-large-connected-bottom" style="background-image:url(<?= esc_url(SUPERBADDONS_ASSETS_PATH . '/img/asset-medium-pro.jpg'); ?>);">
25 <div class="superbaddons-admindashboard-content-box-large-inner">
26 <h3 class="superbaddons-element-text-md superbaddons-element-text-800 superbaddons-element-text-dark"><?= esc_html__("Premium Subscription", "superbaddons"); ?></h3>
27 <p class="superbaddons-element-text-xs superbaddons-element-text-gray">
28 <?= esc_html__("You're currently on our free plan. Upgrade to premium and access all of the benefits for building top class websites.", "superbaddons"); ?>
29 </p>
30 <span class="superbaddons-element-text-xs superbaddons-element-text-800 superbaddons-element-text-dark"><?= esc_html__("All this included", "superbaddons"); ?><img src="<?= esc_url(SUPERBADDONS_ASSETS_PATH . '/img/pointing_arrow.png'); ?>" /></span>
31 <?php new PremiumFeatureList(); ?>
32 <a class="superbaddons-element-button-pro" target="_blank" href="https://superbthemes.com/superb-addons/"><?= esc_html__("Upgrade to Premium", "superbaddons"); ?></a>
33 </div>
34 </div>
35 <?php
36 }
37
38 private function RenderHasPremium()
39 {
40 new ContentBoxLarge(
41 array(
42 "title" => __("Superb Addons Premium", "superbaddons"),
43 "description" => __("You're currently on our premium plan. Please contact us if you're in need of assistance. Thank you for your support!", "superbaddons"),
44 "image" => "asset-medium-pro.jpg",
45 "connected_bottom" => true,
46 "class" => 'superbaddons-admindashboard-settings-premium-image-box-large'
47 )
48 );
49 }
50 }
51