admin_head.php
2 months ago
admin_init.php
2 months ago
admin_menu.php
2 months ago
admin_notices.php
2 months ago
init.php
2 months ago
pmxe_after_export.php
2 months ago
pmxe_before_export.php
2 months ago
pmxe_exported_post.php
2 months ago
wp_ajax_dismiss_export_warnings.php
2 months ago
wp_ajax_dismiss_review_modal.php
2 months ago
wp_ajax_dismiss_warnings.php
2 months ago
wp_ajax_generate_zapier_api_key.php
2 months ago
wp_ajax_redirect_after_addon_installed.php
2 months ago
wp_ajax_save_scheduling.php
2 months ago
wp_ajax_scheduling_dialog_content.php
2 months ago
wp_ajax_scheduling_subscribe_dialog_content.php
2 months ago
wp_ajax_send_feedback.php
2 months ago
wp_ajax_wpae_available_rules.php
2 months ago
wp_ajax_wpae_filtering.php
2 months ago
wp_ajax_wpae_filtering_count.php
2 months ago
wp_ajax_wpae_get_scheduling_connection_icon.php
2 months ago
wp_ajax_wpae_preview.php
2 months ago
wp_ajax_wpae_upgrade_notice.php
2 months ago
wp_ajax_wpallexport.php
2 months ago
wp_loaded.php
2 months ago
wpmu_new_blog.php
2 months ago
wp_ajax_wpae_upgrade_notice.php
111 lines
| 1 | <?php |
| 2 | |
| 3 | defined( 'ABSPATH' ) || exit; |
| 4 | |
| 5 | |
| 6 | function pmxe_wp_ajax_wpae_upgrade_notice() |
| 7 | { |
| 8 | if (!check_ajax_referer('wp_all_export_secure', 'security', false)) { |
| 9 | exit(json_encode(array('html' => __('Security check', 'wp-all-export')))); |
| 10 | } |
| 11 | |
| 12 | if (!current_user_can(PMXE_Plugin::$capabilities)) { |
| 13 | exit(json_encode(array('html' => __('Security check', 'wp-all-export')))); |
| 14 | } |
| 15 | |
| 16 | ?> |
| 17 | <style type="text/css"> |
| 18 | .easing-spinner { |
| 19 | width: 30px; |
| 20 | height: 30px; |
| 21 | position: relative; |
| 22 | display: inline-block; |
| 23 | |
| 24 | margin-top: 7px; |
| 25 | margin-left: -25px; |
| 26 | |
| 27 | float: left; |
| 28 | } |
| 29 | |
| 30 | .double-bounce1, .double-bounce2 { |
| 31 | width: 100%; |
| 32 | height: 100%; |
| 33 | border-radius: 50%; |
| 34 | background-color: #fff; |
| 35 | opacity: 0.6; |
| 36 | position: absolute; |
| 37 | top: 0; |
| 38 | left: 0; |
| 39 | |
| 40 | -webkit-animation: sk-bounce 2.0s infinite ease-in-out; |
| 41 | animation: sk-bounce 2.0s infinite ease-in-out; |
| 42 | } |
| 43 | |
| 44 | .double-bounce2 { |
| 45 | -webkit-animation-delay: -1.0s; |
| 46 | animation-delay: -1.0s; |
| 47 | } |
| 48 | |
| 49 | .wpai-save-button svg { |
| 50 | margin-top: 7px; |
| 51 | margin-left: -215px; |
| 52 | display: inline-block; |
| 53 | position: relative; |
| 54 | } |
| 55 | |
| 56 | @-webkit-keyframes sk-bounce { |
| 57 | 0%, 100% { |
| 58 | -webkit-transform: scale(0.0) |
| 59 | } |
| 60 | 50% { |
| 61 | -webkit-transform: scale(1.0) |
| 62 | } |
| 63 | } |
| 64 | |
| 65 | @keyframes sk-bounce { |
| 66 | 0%, 100% { |
| 67 | transform: scale(0.0); |
| 68 | -webkit-transform: scale(0.0); |
| 69 | } |
| 70 | 50% { |
| 71 | transform: scale(1.0); |
| 72 | -webkit-transform: scale(1.0); |
| 73 | } |
| 74 | } |
| 75 | </style> |
| 76 | <div id="post-preview" class="wpallexport-preview wpallexport-upgrade-notice"> |
| 77 | <a class="custom-close" href="#"></a> |
| 78 | <div class="upgrade"> |
| 79 | <h1><?php esc_html_e( 'Exporting Users is a Pro Feature', 'wp-all-export' ); ?></h1> |
| 80 | <h2><?php echo wp_kses( __( 'Purchase a Pro package to export users, along with<br>many other powerful features.', 'wp-all-export' ), array( 'br' => array() ) ); ?></h2> |
| 81 | |
| 82 | <div class="features"> |
| 83 | <div class="column list"> |
| 84 | <span><?php esc_html_e( 'Export all user data', 'wp-all-export' ); ?></span> |
| 85 | <span><?php esc_html_e( 'Drag & drop interface', 'wp-all-export' ); ?></span> |
| 86 | <span><?php esc_html_e( 'Create any CSV or XML', 'wp-all-export' ); ?></span> |
| 87 | <span><?php esc_html_e( 'WooCommerce, ACF and more', 'wp-all-export' ); ?></span> |
| 88 | </div> |
| 89 | <div class="column cta"> |
| 90 | <div class="button upgrade-button"> |
| 91 | <span class="subscribe-button-text"><?php esc_html_e( 'Upgrade to Pro', 'wp-all-export' ); ?></span> |
| 92 | </div> |
| 93 | <span class="trusted"><?php esc_html_e( 'Trusted by over 200,000 happy users', 'wp-all-export' ); ?></span> |
| 94 | </div> |
| 95 | </div> |
| 96 | <ul class="perks"> |
| 97 | <li class="guarantee"><span><?php esc_html_e( '90 Day Guarantee', 'wp-all-export' ); ?></span><small><?php echo wp_kses( __( 'No questions,<br> full refund.', 'wp-all-export' ), array( 'br' => array() ) ); ?></small></li> |
| 98 | <li class="updates"><span><?php esc_html_e( 'Lifetime Updates', 'wp-all-export' ); ?></span><small><?php echo wp_kses( __( 'Pay once and get<br>updates for life.', 'wp-all-export' ), array( 'br' => array() ) ); ?></small></li> |
| 99 | <li class="support"><span><?php esc_html_e( 'World Class Support', 'wp-all-export' ); ?></span><small><?php echo wp_kses( __( 'Get help from a team<br>of experts.', 'wp-all-export' ), array( 'br' => array() ) ); ?></small></li> |
| 100 | <li class="license"><span><?php esc_html_e( 'Unlimited Sites', 'wp-all-export' ); ?></span><small><?php echo wp_kses( __( 'Install on as many sites<br>as you like.', 'wp-all-export' ), array( 'br' => array() ) ); ?></small></li> |
| 101 | </ul> |
| 102 | <p class="already-have"><a class="already-have-link"><?php esc_html_e( 'Already own the Pro version?', 'wp-all-export' ); ?></a></p> |
| 103 | </div> |
| 104 | <div class="install"> |
| 105 | <h1><?php esc_html_e( 'User Export Add-On is not installed', 'wp-all-export' ); ?></h1> |
| 106 | <p><?php echo 'You can download the User Export Add-On from the customer portal: <a href="https://www.wpallimport.com/portal/">https://www.wpallimport.com/portal/</a>. Once you install it, you\'ll be able to export users.'; ?></p> |
| 107 | </div> |
| 108 | </div> |
| 109 | <?php |
| 110 | wp_die(); |
| 111 | } |