'.($promos ? '' : '').'

'.$title.'

Review Pagelayer

'; $promos = apply_filters('pagelayer_right_bar_promos', true); if($promos){ echo ' '; } echo '
'; } // The Pagelayer Settings footer function popularfx_page_footer(){ global $popularfx; echo ' '; echo '

The best WordPress page builder :
  • 30+ Free Widgets
  • 60+ Premium Widgets
  • 400+ Premium Sections
  • Theme Builder
  • WooCommerce Builder
  • Theme Creator and Exporter
  • Form Builder
  • Popup Builder
  • And many more ...
Upgrade
'; echo '

Secure your website with the following features :
  • PasswordLess Login
  • Two Factor Auth - Email
  • Two Factor Auth - App
  • Login Challenge Question
  • reCAPTCHA
  • Rename Login Page
  • Disable XML-RPC
  • And many more ...
Upgrade
'; echo '

Manage all your WordPress sites from 1 dashboard :
  • 1-click Admin Access
  • Update WordPress
  • Update Themes
  • Update Plugins
  • Backup your WordPress Site
  • Plugins & Theme Management
  • Post Management
  • And many more ...
Visit wpCentral

'; if(empty($GLOBALS['sitepad'])){ echo '
Let your followers know that you use PopularFX to build your website :
   


'.$popularfx['t']->get('Name').' v'.$popularfx['t']->get('Version').' You can report any bugs here.'; } echo '
'; } // The License Page function popularfx_license(){ global $popularfx, $pl_error; // 108 fixer option if(isset($_REQUEST['redownload'])){ pfx_redownload_template_fix(); } if(isset($_REQUEST['save_pfx_license'])){ check_admin_referer('popularfx-options'); } // Is there a license key ? if(isset($_POST['save_pfx_license'])){ $license = pfx_optpost('popularfx_license'); // Check if its a valid license if(empty($license)){ $pl_error['lic_invalid'] = __('The license key was not submitted', 'popularfx'); return popularfx_license_T(); } $resp = wp_remote_get(pfx_api_url().'license.php?license='.$license, array('timeout' => 30)); if(is_array($resp)){ $json = json_decode($resp['body'], true); //print_r($json); }else{ $pl_error['resp_invalid'] = __('The response was malformed
', 'popularfx').var_export($resp, true); return popularfx_license_T(); } // Save the License if(empty($json['license'])){ $pl_error['lic_invalid'] = __('The license key is invalid', 'popularfx'); return popularfx_license_T(); }else{ $json['last_update'] = time(); update_option('popularfx_license', $json); // Load license pfx_load_license(); // Mark as saved $GLOBALS['pl_saved'] = true; } } popularfx_license_T(); } // The License Page - THEME function popularfx_license_T(){ global $popularfx, $pagelayer, $pl_error; popularfx_page_header('PopularFX License'); // Saved ? if(!empty($GLOBALS['pl_saved'])){ echo '

'. __('The settings were saved successfully', 'popularfx'). '


'; } // Saved ? if(!empty($GLOBALS['pl_redownload'])){ echo '

'. __('The template was redownloaded successfully', 'popularfx'). '


'; } // If the license is active and you are the free version, then suggest to install the pro if(!empty($popularfx['license']['status']) && !defined('PAGELAYER_PREMIUM') && empty($_REQUEST['install_pro'])){ echo '

'. __('You have activated the license, but are using the Free version ! Install Pagelayer Pro Now', 'pagelayer'). '


'; } // Any errors ? if(!empty($pl_error)){ pagelayer_report_error($pl_error);echo '
'; } $slug = get_theme_mod('popularfx_template'); ?>

'; if(is_super_admin()){ echo ' '; } echo ''; if(file_exists(ABSPATH.'/.htaccess')){ echo ' '; } ?>
'.__('Theme Name', 'popularfx').' '.$popularfx['t']->get('Name').'
'.__('Theme Version', 'popularfx').' '.$popularfx['t']->get('Version').'
'.__('PopularFX Plugin Version', 'popularfx').' '.PFX_VERSION.'
'.__('PopularFX License', 'popularfx').' '.(empty($popularfx['license']) ? 'Free Version    ' : '').'   '; if(!empty($popularfx['license'])){ $expires = $popularfx['license']['expires']; $expires = substr($expires, 0, 4).'/'.substr($expires, 4, 2).'/'.substr($expires, 6); echo '
License Status : '.(empty($popularfx['license']['status_txt']) ? 'N.A.' : $popularfx['license']['status_txt']).'       License Expires : '.($popularfx['license']['expires'] <= date('Ymd') ? ''.$expires.'' : $expires).'
'; }else{ echo '
You are currently using the free version. If you have a Pro License, please enter it here to unlock the Pro features. You can buy a Pro license from our website.
'; } echo '
'.__('Pagelayer Version', 'popularfx').' '.PAGELAYER_VERSION.(defined('PAGELAYER_PREMIUM') ? ' (PRO Version)' : '').'
'.__('Current Template', 'popularfx').' '.(empty($slug) ? 'N.A.' : ucfirst($slug).'   Re-Download Template').'
'.__('URL', 'popularfx').' '.home_url().'
'.__('Path', 'popularfx').' '.ABSPATH.'
'.__('Server\'s IP Address', 'popularfx').' '.$_SERVER['SERVER_ADDR'].'
'.__('wp-config.php is writable', 'popularfx').' '.(is_writable(ABSPATH.'/wp-config.php') ? 'Yes' : 'No').'
'.__('.htaccess is writable', 'popularfx').' '.(is_writable(ABSPATH.'/.htaccess') ? 'Yes' : 'No').'