| 1 |
<?php |
| 2 |
/** |
| 3 |
* The template for Subscription / Addons. |
| 4 |
* |
| 5 |
* This is the template that table, addons, packages |
| 6 |
* |
| 7 |
*/ |
| 8 |
|
| 9 |
if ( ! defined( 'ABSPATH' ) ) { |
| 10 |
exit; // Exit if accessed directly. |
| 11 |
} |
| 12 |
?> |
| 13 |
<!-- This file should primarily consist of HTML with a little bit of PHP. --> |
| 14 |
|
| 15 |
<div class="wrap wdk-wrap"> |
| 16 |
<h1 class="wp-heading-inline"><?php echo __('Subscription', 'wpdirectorykit'); ?></h1> |
| 17 |
<div class="wdk-pricing"> |
| 18 |
<div class="wdk-sec-header"> |
| 19 |
<h2 class="wdk-sec-title"> |
| 20 |
<span class="mark up"><?php echo esc_html__('SAVE MONEY!', 'wpdirectorykit'); ?></span> |
| 21 |
<?php echo esc_html__('Get all', 'wpdirectorykit'); ?> |
| 22 |
<span class="mark"><?php echo esc_html__('addons and premium', 'wpdirectorykit'); ?></span> |
| 23 |
<?php echo esc_html__('support from 8.25$/month in yearly subscription', 'wpdirectorykit'); ?> |
| 24 |
</h2> |
| 25 |
</div> |
| 26 |
<div class="wdk-row"> |
| 27 |
<div class="wdk-col-md-4"> |
| 28 |
<div class="wdk-pac"> |
| 29 |
<div class="header"> |
| 30 |
<h4><?php echo esc_html__('Personal Monthly', 'wpdirectorykit'); ?></h4> |
| 31 |
<div class="pricing-value"><span class="price"><span class="before">$</span>19<span class="after"></span></span></div> |
| 32 |
<p><?php echo esc_html__('Include all functionalities for single website installation', 'wpdirectorykit'); ?></p> |
| 33 |
</div> |
| 34 |
<ul class="list-items"> |
| 35 |
<li class="item"><?php echo esc_html__('All Our Themes', 'wpdirectorykit'); ?></li> |
| 36 |
<li class="item"><?php echo esc_html__('All Addons', 'wpdirectorykit'); ?></li> |
| 37 |
<li class="item"><?php echo esc_html__('All Upcoming Addons', 'wpdirectorykit'); ?></li> |
| 38 |
<li class="item"><?php echo esc_html__('1 month Chat Support (Telegram)', 'wpdirectorykit'); ?></li> |
| 39 |
<li class="item"><?php echo esc_html__('1 month Updates', 'wpdirectorykit'); ?></li> |
| 40 |
</ul> |
| 41 |
<div class="wdk-pac-footer"><a target="_blank" href="https://swit.gumroad.com/l/wp-directory-kit-addons?monthly=true" class="btn btn-outline-secondary"><?php echo esc_html__('Buy now', 'wpdirectorykit'); ?></a></div> |
| 42 |
</div> |
| 43 |
</div> |
| 44 |
<div class="wdk-col-md-4"> |
| 45 |
<div class="wdk-pac featured"> |
| 46 |
<div class="header"> |
| 47 |
<h4><?php echo esc_html__('Personal 3 Months', 'wpdirectorykit'); ?></h4> |
| 48 |
<div class="pricing-value"><span class="price"><span class="before">$</span>49<span class="after"></span></span></div> |
| 49 |
<p><?php echo esc_html__('Include all functionalities for single website installation', 'wpdirectorykit'); ?></p> |
| 50 |
</div> |
| 51 |
<ul class="list-items"> |
| 52 |
<li class="item"><?php echo esc_html__('All Our Themes', 'wpdirectorykit'); ?></li> |
| 53 |
<li class="item"><?php echo esc_html__('All Addons', 'wpdirectorykit'); ?></li> |
| 54 |
<li class="item"><?php echo esc_html__('All Upcoming Addons', 'wpdirectorykit'); ?></li> |
| 55 |
<li class="item"><?php echo esc_html__('3 months Chat Support (Telegram)', 'wpdirectorykit'); ?></li> |
| 56 |
<li class="item"><?php echo esc_html__('3 months Updates', 'wpdirectorykit'); ?></li> |
| 57 |
</ul> |
| 58 |
<div class="wdk-pac-footer"><a target="_blank" href="https://swit.gumroad.com/l/wp-directory-kit-addons?quarterly=true" class="btn btn-primary"><?php echo esc_html__('Buy now', 'wpdirectorykit'); ?></a></div> |
| 59 |
</div> |
| 60 |
</div> |
| 61 |
<div class="wdk-col-md-4"> |
| 62 |
<div class="wdk-pac"> |
| 63 |
<div class="header"> |
| 64 |
<h4><?php echo esc_html__('Personal Yearly', 'wpdirectorykit'); ?></h4> |
| 65 |
<div class="pricing-value"><span class="price"><span class="before">$</span>99<span class="after"></span></span></div> |
| 66 |
<p><?php echo esc_html__('Include all functionalities for single website installation', 'wpdirectorykit'); ?></p> |
| 67 |
</div> |
| 68 |
<ul class="list-items"> |
| 69 |
<li class="item"><?php echo esc_html__('All Our Themes', 'wpdirectorykit'); ?></li> |
| 70 |
<li class="item"><?php echo esc_html__('All Addons', 'wpdirectorykit'); ?></li> |
| 71 |
<li class="item"><?php echo esc_html__('All Upcoming Addons', 'wpdirectorykit'); ?></li> |
| 72 |
<li class="item"><?php echo esc_html__('1 year Chat Support (Telegram)', 'wpdirectorykit'); ?></li> |
| 73 |
<li class="item"><?php echo esc_html__('1 year Updates', 'wpdirectorykit'); ?></li> |
| 74 |
</ul> |
| 75 |
<div class="wdk-pac-footer"><a target="_blank" href="https://swit.gumroad.com/l/wp-directory-kit-addons?yearly=true" class="btn btn-outline-secondary"><?php echo esc_html__('Buy now', 'wpdirectorykit'); ?></a></div> |
| 76 |
</div> |
| 77 |
</div> |
| 78 |
</div> |
| 79 |
</div> |
| 80 |
|
| 81 |
<h1 class="wp-heading-inline"><?php echo __('Addons', 'wpdirectorykit'); ?></h1> |
| 82 |
<br style="clear:both"/> |
| 83 |
<br style="clear:both"/> |
| 84 |
<div class="wp-list-table widefat plugin-install"> |
| 85 |
<div id="the-list"> |
| 86 |
<?php foreach ($addons as $addon):?> |
| 87 |
<div class="plugin-card plugin-card-classic-editor"> |
| 88 |
<div class="plugin-card-top"> |
| 89 |
<div class="name column-name"> |
| 90 |
<h3> |
| 91 |
<a target="_blank" href="<?php echo esc_url(wmvc_show_data('link', $addon));?>" class="open-plugin-details-modal"> |
| 92 |
<?php echo esc_html(wmvc_show_data('title', $addon));?> |
| 93 |
<img style="object-fit: contain;object-position: top;" src="<?php echo esc_url(wmvc_show_data('thumbnail', $addon));?>" class="plugin-icon" alt="<?php echo esc_html(wmvc_show_data('title', $addon));?>"> |
| 94 |
</a> |
| 95 |
</h3> |
| 96 |
</div> |
| 97 |
<div class="action-links"> |
| 98 |
<ul class="plugin-action-buttons"> |
| 99 |
<li> |
| 100 |
<?php if(wmvc_show_data('is_activated_slug', $addon, false) && function_exists(wmvc_show_data('is_activated_slug', $addon))):?> |
| 101 |
<button type="button" class="button button-disabled" disabled="disabled"><?php echo esc_html__('Active', 'wpdirectorykit'); ?></button> |
| 102 |
<?php elseif(wmvc_show_data('is_exists_slug', $addon, false) && file_exists(WP_PLUGIN_DIR.'/'.wmvc_show_data('is_exists_slug', $addon))):?> |
| 103 |
<?php |
| 104 |
$activate_url = add_query_arg( |
| 105 |
array( |
| 106 |
'_wpnonce' => wp_create_nonce( 'activate-plugin_' . wmvc_show_data('is_exists_slug', $addon, false) ), |
| 107 |
'action' => 'activate', |
| 108 |
'plugin' => wmvc_show_data('is_exists_slug', $addon, false), |
| 109 |
), |
| 110 |
network_admin_url( 'plugins.php' ) |
| 111 |
); |
| 112 |
?> |
| 113 |
<a class="button activate-now" href="<?php echo esc_url($activate_url);?>"><?php echo esc_html__('Activate', 'wpdirectorykit'); ?></a> |
| 114 |
<?php else:?> |
| 115 |
<?php if(stripos(wmvc_show_data('link', $addon), 'sweet-energy-efficiency') === FALSE):?> |
| 116 |
<a target="_blank" class="install-now button btn-danger" data-slug="classic-editor" href="<?php echo esc_url(wmvc_show_data('link', $addon));?>" title="<?php echo esc_html(wmvc_show_data('title', $addon));?>"><?php echo esc_html__('Buy Now', 'wpdirectorykit'); ?></a> |
| 117 |
<?php else:?> |
| 118 |
<a target="_blank" class="install-now button btn-info" data-slug="classic-editor" href="<?php echo esc_url(wmvc_show_data('link', $addon));?>" title="<?php echo esc_html(wmvc_show_data('title', $addon));?>"><?php echo esc_html__('Download Free', 'wpdirectorykit'); ?></a> |
| 119 |
<?php endif;?> |
| 120 |
<?php endif;?> |
| 121 |
</li> |
| 122 |
<li><a target="_blank" href="<?php echo esc_url(wmvc_show_data('link_info', $addon));?>" class="open-plugin-details-modal"><?php echo esc_html__('More Details', 'wpdirectorykit'); ?></a></li> |
| 123 |
</ul> |
| 124 |
</div> |
| 125 |
<div class="desc column-description"> |
| 126 |
<p><?php echo esc_html(wmvc_show_data('description', $addon));?></p> |
| 127 |
<p class="authors"><cite><?php echo esc_html__('By', 'wpdirectorykit'); ?> <a target="_blank" href="https://wpdirectorykit.com/"><?php echo esc_html__('WP Directory Kit', 'wpdirectorykit'); ?></a></cite></p> |
| 128 |
</div> |
| 129 |
</div> |
| 130 |
</div> |
| 131 |
<?php endforeach;?> |
| 132 |
<br style="clear:both"/> |
| 133 |
</div> |
| 134 |
<br style="clear:both"/> |
| 135 |
<div class="text-center"> |
| 136 |
<a href="https://wpdirectorykit.com/plugins.html" class="button button-primary xl" target="_blank"><?php echo esc_html__('More Plugins', 'wpdirectorykit');?></a> |
| 137 |
</div> |
| 138 |
|
| 139 |
|
| 140 |
</div> |
| 141 |
</div> |
| 142 |
|
| 143 |
|
| 144 |
<script> |
| 145 |
jQuery(document).ready(function($) { |
| 146 |
|
| 147 |
}) |
| 148 |
</script> |
| 149 |
|
| 150 |
<?php $this->view('general/footer', $data); ?> |